:root {
  --bg: #eef3f6;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-strong: #ffffff;
  --text: #0f1f33;
  --muted: #63758a;
  --line: rgba(15, 31, 51, 0.12);
  --brand: #0ea5a4;
  --brand-strong: #0b7f86;
  --accent: #7c9cff;
  --accent-strong: #5373ff;
  --dark: #07111f;
  --dark-soft: #0f2138;
  --glow: rgba(83, 115, 255, 0.22);
  --shadow: 0 24px 80px rgba(7, 17, 31, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1180px, calc(100vw - 40px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(14, 165, 164, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(83, 115, 255, 0.12), transparent 26%),
    linear-gradient(180deg, #f6f9fb 0%, #edf2f7 100%);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.landing-shell {
  position: relative;
  overflow: clip;
}

.landing-shell::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 31, 51, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 31, 51, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 80%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 0;
  backdrop-filter: blur(18px);
  background: rgba(245, 249, 252, 0.78);
  border-bottom: 1px solid rgba(15, 31, 51, 0.07);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--dark);
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--dark));
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
}

.brand-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 999px;
  transition: 0.2s ease;
  white-space: nowrap;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
}

.nav-link-primary,
.nav-link-secondary,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-link-primary,
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--accent-strong));
  color: #fff;
  box-shadow: 0 18px 40px rgba(14, 165, 164, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.nav-link-secondary,
.btn-secondary {
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  border: 1px solid rgba(19, 34, 56, 0.1);
}

.site-nav .nav-link-primary {
  color: #ffffff !important;
  text-shadow: 0 1px 10px rgba(7, 17, 31, 0.16);
}

.site-nav .nav-link-secondary {
  color: var(--text) !important;
}

.nav-link-primary:hover,
.nav-link-secondary:hover,
.btn:hover {
  transform: translateY(-1px);
}

.nav-link-primary,
.nav-link-secondary {
  padding: 12px 18px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(19, 34, 56, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 6px auto;
  background: var(--dark);
  transition: 0.2s ease;
}

.hero-section {
  padding: 56px 0 26px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 34px;
  align-items: center;
}

.eyebrow,
.section-tag,
.float-kicker,
.timeline-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow,
.section-tag {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--brand-strong);
  border: 1px solid rgba(15, 118, 110, 0.12);
}

.hero-copy h1,
.section-copy h2,
.section-head h2,
.comparison-card h2,
.cta-box h2 {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.hero-copy h1 {
  font-size: clamp(2.1rem, 3.45vw, 3.6rem);
  max-width: 10.5ch;
  margin: 18px 0 18px;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.hero-lead,
.section-copy p,
.section-head p,
.cta-box p,
.comparison-card li,
.feature-card p,
.benefit-item p,
.timeline-card p,
.faq-item p,
.stat-card p {
  color: var(--muted);
  font-size: 1.04rem;
}

.hero-copy {
  padding-right: 8px;
}

.hero-lead {
  max-width: 56ch;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 28px;
}

.btn {
  min-height: 56px;
  padding: 0 24px;
  position: relative;
  overflow: hidden;
}

.btn::after,
.nav-link-primary::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 55%);
  pointer-events: none;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.hero-proof div,
.stat-card,
.benefit-item,
.timeline-card,
.feature-card,
.comparison-card,
.faq-item,
.cta-box,
.hero-panel {
  border: 1px solid rgba(19, 34, 56, 0.08);
  box-shadow: var(--shadow);
}

.hero-proof div {
  padding: 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 138px;
}

.hero-proof strong,
.stat-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.hero-proof span {
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-visual {
  position: relative;
}

.hero-panel {
  position: relative;
  min-height: 640px;
  border-radius: 34px;
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(83, 115, 255, 0.16), transparent 26%),
    linear-gradient(160deg, rgba(7, 17, 31, 0.98), rgba(12, 31, 53, 0.94)),
    linear-gradient(135deg, rgba(14, 165, 164, 0.2), transparent);
  overflow: hidden;
}

.hero-panel::after {
  content: '';
  position: absolute;
  inset: auto -10% -16% auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(14, 165, 164, 0.24), transparent 70%);
}

.hero-panel::before {
  content: '';
  position: absolute;
  inset: 22px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.panel-header {
  display: flex;
  gap: 8px;
}

.panel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
}

.hero-dashboard-card {
  margin-top: 28px;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.11);
  width: 100%;
}

.metric-block strong,
.cta-box h2,
.comparison-card h2,
.timeline-card h3,
.feature-card h3,
.benefit-item h3,
.section-copy h2,
.section-head h2 {
  color: inherit;
}

.metric-label,
.metric-block p {
  color: rgba(242, 245, 247, 0.78);
}

.metric-block strong {
  display: block;
  margin: 8px 0 10px;
  color: #fff;
  font-size: 1.9rem;
  line-height: 1.08;
  max-width: 12ch;
}

.hero-chart {
  display: grid;
  align-items: end;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
  height: 220px;
}

.chart-bar {
  border-radius: 22px 22px 8px 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(81, 212, 211, 0.54));
  box-shadow: inset 0 -18px 36px rgba(0, 0, 0, 0.14);
}

.chart-bar-1 { height: 42%; }
.chart-bar-2 { height: 60%; }
.chart-bar-3 { height: 78%; }
.chart-bar-4 { height: 96%; background: linear-gradient(180deg, #9eb0ff, #5373ff); }

.float-kicker,
.timeline-step {
  color: #f7d2a4;
  margin-bottom: 10px;
}

.hero-carousel {
  margin-top: 20px;
  position: relative;
  z-index: 2;
}

.hero-carousel-viewport {
  overflow: hidden;
  border-radius: 24px;
}

.hero-carousel-track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}

.hero-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-slide-media img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.hero-slide-content {
  min-width: 0;
  color: #ffffff;
}

.hero-slide-content strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1.12;
  margin-bottom: 10px;
}

.hero-slide-content p {
  margin: 0;
  color: rgba(232, 239, 246, 0.78);
  font-size: 1rem;
}

.hero-carousel-controls {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.hero-carousel-arrow {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.hero-carousel-arrow span {
  font-size: 1.4rem;
  line-height: 1;
}

.hero-carousel-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.26);
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease, background 0.2s ease, width 0.2s ease;
}

.hero-carousel-dots button.is-active {
  width: 28px;
  background: linear-gradient(135deg, var(--brand), var(--accent-strong));
}

.stats-section,
.section,
.cta-section {
  padding: 48px 0 40px;
}

.stats-grid,
.feature-grid,
.timeline-grid,
.comparison-grid {
  display: grid;
  gap: 18px;
}

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

.stat-card,
.benefit-item,
.timeline-card,
.feature-card,
.comparison-card,
.faq-item {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  padding: 26px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: start;
}

.section-copy h2,
.section-head h2,
.comparison-card h2,
.cta-box h2 {
  font-size: clamp(1.9rem, 3.3vw, 3.15rem);
  margin: 14px 0 16px;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.section-dark {
  color: #eef4f7;
}

.section-dark .container {
  padding: 44px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top left, rgba(83, 115, 255, 0.18), transparent 24%),
    radial-gradient(circle at bottom right, rgba(14, 165, 164, 0.14), transparent 30%),
    linear-gradient(160deg, #081321, #102944);
  box-shadow: 0 30px 90px rgba(16, 32, 49, 0.24);
}

.section-dark .section-tag {
  background: rgba(255, 255, 255, 0.08);
  color: #f7d2a4;
  border-color: rgba(255, 255, 255, 0.08);
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

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

.timeline-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
  min-height: 100%;
}

.timeline-card h3,
.feature-card h3,
.benefit-item h3,
.stat-card strong {
  font-size: 1.08rem;
  line-height: 1.3;
}

.timeline-card p {
  color: rgba(238, 244, 247, 0.74);
}

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

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

.comparison-before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(239, 244, 248, 0.92));
}

.comparison-after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(230, 247, 246, 0.96));
}

.comparison-card ul {
  margin: 20px 0 0;
  padding-left: 18px;
}

.comparison-card li + li {
  margin-top: 12px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 800;
  padding-right: 36px;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 1.5rem;
  color: var(--brand);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin: 14px 0 0;
}

.cta-box {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 36px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(83, 115, 255, 0.18), transparent 24%),
    radial-gradient(circle at bottom left, rgba(14, 165, 164, 0.12), transparent 26%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.88), rgba(245, 249, 252, 0.97));
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer {
  padding: 24px 0 40px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid rgba(19, 34, 56, 0.08);
}

.footer-row p,
.footer-links a {
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@media (max-width: 1100px) {
  .hero-grid,
  .section-grid,
  .comparison-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-right: 0;
  }

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

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

  .hero-panel {
    min-height: auto;
  }
}

@media (max-width: 820px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 64px rgba(16, 32, 49, 0.16);
    border: 1px solid rgba(19, 34, 56, 0.08);
  }

  .site-nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: inline-block;
  }

  .hero-proof,
  .benefit-list,
  .feature-grid,
  .timeline-grid,
  .stats-grid,
  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .hero-slide {
    grid-template-columns: 1fr;
  }

  .hero-slide-media img {
    height: 184px;
  }

  .hero-section {
    padding-top: 36px;
  }

  .hero-copy h1 {
    max-width: 10.5ch;
    font-size: clamp(2rem, 5.8vw, 3rem);
  }

  .section-dark .container {
    padding: 28px;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  :root {
    --container: min(100vw - 24px, 1180px);
  }

  .site-header {
    padding: 12px 0;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(1.85rem, 8.3vw, 2.7rem);
  }

  .hero-proof div,
  .stat-card,
  .benefit-item,
  .timeline-card,
  .feature-card,
  .comparison-card,
  .faq-item,
  .cta-box {
    padding: 22px;
  }

  .hero-panel {
    min-height: auto;
    padding: 22px;
  }

  .hero-dashboard-card {
    padding: 20px;
    width: 100%;
  }

  .metric-block strong {
    font-size: 1.6rem;
  }

  .hero-chart {
    height: 180px;
    gap: 10px;
  }

  .hero-slide {
    padding: 16px;
  }

  .hero-slide-media img {
    height: 160px;
  }

  .hero-slide-content strong {
    font-size: 1.22rem;
  }

  .hero-slide-content p {
    font-size: 0.94rem;
  }

  .btn,
  .nav-link-primary,
  .nav-link-secondary {
    width: 100%;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }
}
