/* GLOBAL */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #0f172a;
}

body {
  padding-top: 72px;
}

/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  z-index: 1000;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 60px;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: #0f172a;
  font-weight: 500;
  position: relative;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #2563eb;
}

/* HERO */
.hero {
  padding: 140px 24px;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(36px, 4.5vw, 48px);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-text p {
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 40px;
  color: #475569;
}

.primary-btn {
  padding: 16px 36px;
  background: #2563eb;
  color: #ffffff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

/* HERO IMAGE */
.hero-image img {
  width: 100%;
  max-width: 520px;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* SECTIONS */
.section {
  padding: 120px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.section.muted {
  background: #f8fafc;
}

.max {
  max-width: 760px;
}

/* ONBOARDING */
.onboarding-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 80px;
}

.onboarding-container {
  display: grid;
  grid-template-columns: 18px 1fr;
  column-gap: 48px;
  max-width: 900px;
  margin: 0 auto;
}

.progress-line {
  width: 4px;
  background: #e5e7eb;
  position: relative;
  margin-top: 36px;
  height: calc(100% - 36px);
  justify-self: center;
}

.progress-fill {
  position: absolute;
  top: 0;
  width: 100%;
  height: 0%;
  background: #2563eb;
  transition: height 0.6s ease;
}

.onboarding-steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.onboarding-step {
  background: #ffffff;
  padding: 32px;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 1s ease, transform 1s ease;
}

.onboarding-step.show {
  opacity: 1;
  transform: translateX(0);
}

.step-number {
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 10px;
}

/* NOTICE */
.notice {
  margin-top: 48px;
  padding: 24px;
  background: #f1f5f9;
  border-left: 4px solid #2563eb;
  font-size: 14px;
}

/* STICKY CTA */
.cta-wrapper {
  height: 50vh;
}

.cta-takeover {
  position: sticky;
  top: 0;
  height: 50vh;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  background: linear-gradient(135deg, #1e40af, #2563eb);
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-inner {
  text-align: center;
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.cta-inner h2 {
  font-size: clamp(32px, 5vw, 48px); /* bigger */
  color: #ffffff;                   /* white */
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 36px;
}


.cta-takeover.show .cta-inner {
  opacity: 1;
  transform: translateY(0);
}

.cta-btn {
  padding: 18px 44px;
  background: #fde047;
  color: #1e293b;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
}

/* FOOTER */
.cta-footer {
  background: linear-gradient(135deg, #1e40af, #2563eb);
  text-align: center;
  padding: 24px;
  color: #e5e7eb;
  font-size: 13px;
}

/* MOBILE */
@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .onboarding-container {
    flex-direction: column;
  }

  .progress-line {
    display: none;
  }
}
/* ============================
   MOBILE FIX: ONBOARDING
   ============================ */
@media (max-width: 768px) {

  /* Remove timeline layout */
  .onboarding-container {
    display: block;
    padding-left: 0;
  }

  /* Hide vertical progress line */
  .progress-line {
    display: none;
  }

  /* Stack steps cleanly */
  .onboarding-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  /* Full-width cards */
  .onboarding-step {
    width: 100%;
    margin: 0;
    padding: 24px;
    border-radius: 12px;
  }

  /* Step number inline instead of floating */
  .step-number {
    position: relative;
    display: inline-block;
    margin-bottom: 12px;
    font-size: 14px;
  }

  /* Center text slightly for mobile readability */
  .onboarding-step h3 {
    margin-top: 0;
  }
}
