:root {
  --bg: #f6f9ff;
  --bg-soft: #eef3ff;
  --surface: #ffffff;
  --surface-2: #f9fbff;
  --text: #0f172a;
  --muted: #4b5565;
  --line: #dbe5ff;
  --brand: #2b63ff;
  --brand-deep: #1f4de0;
  --brand-soft: #dfe8ff;
  --accent: #00b8a5;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow: 0 12px 35px rgba(20, 50, 120, 0.11);
  --shadow-soft: 0 8px 20px rgba(20, 50, 120, 0.08);
  --container: min(1150px, calc(100% - 3rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f9fbff 0%, #f3f7ff 50%, #f9fbff 100%);
  line-height: 1.6;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(550px 350px at 10% 10%, rgba(43, 99, 255, 0.2), transparent 70%),
    radial-gradient(450px 320px at 90% 18%, rgba(0, 184, 165, 0.15), transparent 70%),
    linear-gradient(180deg, #fbfdff 0%, #f4f8ff 100%);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section-pad {
  padding: 6rem 0;
}

.alt {
  background: linear-gradient(180deg, rgba(238, 243, 255, 0.5), rgba(238, 243, 255, 0.15));
  border-top: 1px solid rgba(133, 162, 255, 0.15);
  border-bottom: 1px solid rgba(133, 162, 255, 0.12);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.3;
}

p {
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #2448b8;
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), #79a2ff);
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(248, 251, 255, 0.86);
  border-bottom: 1px solid rgba(153, 175, 255, 0.2);
}

.nav-inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
  font-size: 1.2rem;
}

.brand-dot {
  width: 13px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 0 0 5px rgba(43, 99, 255, 0.12);
}

.nav-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.4rem;
}

.nav-links a,
.footer-links a {
  color: #34435d;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--brand);
}

.nav-cta {
  display: inline-flex;
  gap: 0.65rem;
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  margin: 5px 0;
}

.btn {
  --btn-bg: transparent;
  --btn-color: var(--text);
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-color);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.93rem;
  border-radius: 12px;
  padding: 0.66rem 1.05rem;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  --btn-bg: linear-gradient(135deg, var(--brand), var(--brand-deep));
  --btn-color: #fff;
  --btn-border: transparent;
  box-shadow: 0 10px 22px rgba(43, 99, 255, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 14px 28px rgba(43, 99, 255, 0.34);
}

.btn-ghost {
  --btn-bg: rgba(255, 255, 255, 0.8);
  --btn-color: #1d2a44;
  --btn-border: #d5dffc;
}

.btn-outline {
  --btn-bg: transparent;
  --btn-color: #1f2e4e;
  --btn-border: #cfdbff;
}

.btn-lg {
  padding: 0.9rem 1.3rem;
  font-size: 1rem;
}

.hero {
  padding: 4.5rem 0 5.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.4rem;
  align-items: center;
}

.hero-sub {
  margin-top: 1.2rem;
  max-width: 58ch;
  font-size: 1.05rem;
}

.hero-cta-row {
  margin-top: 1.8rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-metrics {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.hero-metrics div {
  background: var(--surface);
  border: 1px solid #dce5ff;
  border-radius: var(--radius-sm);
  padding: 0.8rem;
  box-shadow: var(--shadow-soft);
}

.hero-metrics strong {
  display: block;
  color: #133680;
  font-size: 1.08rem;
}

.hero-metrics span {
  font-size: 0.83rem;
  color: #4f5f80;
}

.hero-visual {
  background: linear-gradient(155deg, #ffffff, #f0f5ff 50%, #ebf2ff);
  border: 1px solid #d8e4ff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.window-top {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.window-top span {
  width: 10px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #c9d7ff;
}

.window-top span:nth-child(2) {
  background: #b4e1ff;
}

.window-top span:nth-child(3) {
  background: #b8f0ea;
}

.dashboard-card,
.task-panel,
.showcase-mock,
.price-card,
.problem-card,
.step-card,
.feature-card,
.use-card,
.quote-card,
.faq-item {
  background: var(--surface);
  border: 1px solid #dce6ff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.dashboard-card {
  padding: 1rem;
}

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.dash-header p {
  color: #223252;
  font-weight: 700;
  font-size: 0.92rem;
}

.dash-header span {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  color: #2668f5;
  background: var(--brand-soft);
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
}

.dashboard-card ul {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.62rem;
}

.dashboard-card li {
  padding: 0.65rem;
  border-radius: 10px;
  background: #f5f8ff;
  color: #2f3d57;
  font-size: 0.9rem;
}

.task-panel {
  margin-top: 0.9rem;
  padding: 1rem;
}

.task-panel h3 {
  font-size: 0.97rem;
  margin-bottom: 0.75rem;
}

.task-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px dashed #d8e2ff;
}

.task-row:last-child {
  border-bottom: 0;
}

.task-row span {
  color: #263859;
  font-size: 0.9rem;
}

.task-row small {
  color: #5a7097;
  font-size: 0.77rem;
}

.trust-bar {
  padding: 1.3rem 0;
  border-top: 1px solid #e0e9ff;
  border-bottom: 1px solid #e0e9ff;
  background: rgba(255, 255, 255, 0.5);
}

.trust-inner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  justify-content: space-between;
}

.trust-inner p {
  font-size: 0.9rem;
  color: #475879;
}

.logo-strip {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.logo-strip span {
  font-weight: 700;
  color: #526789;
  font-size: 0.93rem;
  letter-spacing: 0.02em;
}

.section-head {
  margin-bottom: 2rem;
  max-width: 65ch;
}

.section-head.center {
  text-align: center;
  margin-inline: auto;
}

.split {
  display: grid;
  gap: 1.8rem;
}

.problem-grid,
.steps-grid,
.feature-grid,
.use-cases-grid,
.pricing-grid,
.testimonial-grid {
  display: grid;
  gap: 1rem;
}

.problem-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.use-cases-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.problem-card,
.step-card,
.feature-card,
.use-card {
  padding: 1.2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.problem-card:hover,
.step-card:hover,
.feature-card:hover,
.use-card:hover,
.price-card:hover,
.quote-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 26px rgba(21, 53, 128, 0.12);
}

.problem-card p,
.step-card p,
.feature-card p,
.use-card p {
  margin-top: 0.5rem;
  font-size: 0.94rem;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  aspect-ratio: 1;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.92rem;
  margin-bottom: 0.7rem;
}

.showcase-wrap {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 1.2rem;
  align-items: center;
}

.showcase-copy p + p {
  margin-top: 0.9rem;
}

.showcase-copy ul {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.showcase-copy li {
  padding-left: 1.3rem;
  position: relative;
  color: #334868;
  font-weight: 600;
}

.showcase-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}

.showcase-mock {
  padding: 1rem;
}

.showcase-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #dfE8ff;
}

.showcase-top span {
  font-weight: 800;
  color: #1e3152;
}

.showcase-top small {
  font-family: "IBM Plex Mono", monospace;
  color: #59739f;
}

.showcase-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}

.showcase-stats div {
  background: #f4f8ff;
  border: 1px solid #d8e4ff;
  border-radius: 10px;
  padding: 0.65rem;
}

.showcase-stats strong {
  display: block;
  color: #173f95;
}

.showcase-stats span {
  color: #4d658d;
  font-size: 0.8rem;
}

.timeline-row {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid #dce6ff;
  border-radius: 10px;
  margin-top: 0.6rem;
}

.timeline-row span {
  color: #2a3b5c;
  font-size: 0.9rem;
}

.timeline-row small {
  color: #6882a8;
  font-size: 0.76rem;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card {
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border: 2px solid #5888ff;
  box-shadow: 0 16px 30px rgba(43, 99, 255, 0.18);
  transform: translateY(-4px);
}

.tier {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: #eef3ff;
  color: #2f58b3;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  margin-bottom: 0.7rem;
}

.price-card h3 {
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.price-card h3 span {
  font-size: 0.9rem;
  color: #607291;
  font-weight: 600;
}

.price-sub {
  margin-top: 0.5rem;
  min-height: 44px;
}

.price-card ul {
  margin: 1rem 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.52rem;
  flex-grow: 1;
}

.price-card li {
  position: relative;
  padding-left: 1.1rem;
  color: #314765;
  font-size: 0.92rem;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 7px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quote-card {
  padding: 1.3rem;
  font-size: 1rem;
  color: #253757;
}

.quote-card cite {
  display: block;
  margin-top: 0.9rem;
  font-style: normal;
  color: #597195;
  font-size: 0.86rem;
  font-weight: 600;
}

.faq-wrap {
  display: grid;
  gap: 0.8rem;
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  overflow: clip;
}

.faq-trigger {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: #1f2f4f;
  cursor: pointer;
}

.faq-trigger span:last-child {
  color: #6581b2;
  font-size: 1.3rem;
  line-height: 1;
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-panel p {
  overflow: hidden;
  padding: 0 1.1rem;
  margin: 0;
  color: #4b6186;
}

.faq-item.open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-panel p {
  padding: 0 1.1rem 1rem;
}

.faq-item.open .faq-trigger span:last-child {
  transform: rotate(45deg);
}

.final-cta {
  text-align: center;
  border: 1px solid #d5e1ff;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, #ffffff, #edf3ff);
  box-shadow: var(--shadow);
  padding: clamp(1.2rem, 4vw, 3rem);
}

.final-cta p {
  margin-top: 0.8rem;
}

.final-cta .hero-cta-row {
  justify-content: center;
}

.footer {
  padding: 2rem 0;
  border-top: 1px solid #d9e5ff;
  background: rgba(255, 255, 255, 0.8);
}

.footer-inner {
  display: grid;
  gap: 0.8rem;
}

.footer-inner p {
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.copyright {
  color: #657898;
  font-size: 0.85rem;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.delay-1 {
  transition-delay: 0.08s;
}

.reveal.delay-2 {
  transition-delay: 0.16s;
}

.js .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .hero-grid,
  .showcase-wrap,
  .problem-grid,
  .steps-grid,
  .feature-grid,
  .pricing-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .use-cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-copy,
  .showcase-copy {
    grid-column: span 2;
  }

  .hero-visual,
  .showcase-mock {
    max-width: 760px;
  }
}

@media (max-width: 860px) {
  .nav-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links,
  .nav-cta {
    grid-column: 1 / -1;
    display: none;
  }

  .top-nav.open .nav-links,
  .top-nav.open .nav-cta {
    display: flex;
  }

  .top-nav.open .nav-links {
    margin: 0.3rem 0 0.2rem;
    justify-content: flex-start;
  }

  .top-nav.open .nav-cta {
    padding-bottom: 0.85rem;
  }

  .hero {
    padding-top: 3.2rem;
  }

  .trust-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 1.4rem, 1150px);
  }

  .section-pad {
    padding: 4rem 0;
  }

  .hero-grid,
  .showcase-wrap,
  .problem-grid,
  .steps-grid,
  .feature-grid,
  .use-cases-grid,
  .pricing-grid,
  .testimonial-grid,
  .hero-metrics,
  .showcase-stats {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .showcase-copy {
    grid-column: auto;
  }

  .price-card.featured {
    transform: none;
  }
}
