/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Base */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #fff;
  color: #1e1b4b;
  line-height: 1.5;
}

/* ── NAV ── */
nav {
  background: #fff;
  border-bottom: 1px solid #e0e7ff;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  font-weight: 800;
  font-size: 17px;
  color: #3730a3;
  letter-spacing: -0.3px;
  text-decoration: none;
}

.nav-logo span { color: #6366f1; }

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: #4338ca;
  padding: 7px 14px;
  border-radius: 6px;
  transition: background 0.15s;
}

.nav-links a:hover { background: #eef2ff; }

.nav-cta {
  background: #4338ca;
  color: #fff !important;
  border-radius: 7px !important;
}

.nav-cta:hover { background: #3730a3 !important; }

/* ── HERO ── */
.hero {
  background: linear-gradient(160deg, #eef2ff 0%, #e0e7ff 60%, #ede9fe 100%);
  padding: 88px 40px 80px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: #ddd6fe;
  color: #4338ca;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.1;
  color: #1e1b4b;
  max-width: 640px;
  margin: 0 auto 18px;
  letter-spacing: -1.5px;
}

.hero h1 em {
  font-style: normal;
  color: #4338ca;
}

.hero p {
  font-size: 19px;
  color: #4338ca;
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-note {
  font-size: 13px;
  color: #6366f1;
  margin-top: 18px;
}

/* ── BUTTONS ── */
.btn-primary {
  background: #4338ca;
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  display: inline-block;
  transition: background 0.15s;
}

.btn-primary:hover { background: #3730a3; }

.btn-secondary {
  background: #fff;
  color: #4338ca;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid #c7d2fe;
  display: inline-block;
  transition: background 0.15s;
}

.btn-secondary:hover { background: #eef2ff; }

.btn-block {
  display: block;
  text-align: center;
}

.btn-light {
  background: #fff;
  color: #3730a3;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  display: inline-block;
  transition: background 0.15s;
}

.btn-light:hover { background: #eef2ff; }

.btn-outline {
  background: transparent;
  color: #fff;
  padding: 13px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  display: inline-block;
  transition: border-color 0.15s;
}

.btn-outline:hover { border-color: rgba(255, 255, 255, 0.7); }

/* ── SHARED SECTION STYLES ── */
.section-label {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #6366f1;
  margin-bottom: 12px;
}

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  color: #1e1b4b;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.section-sub {
  text-align: center;
  color: #6366f1;
  font-size: 17px;
  margin-bottom: 52px;
}

/* ── FEATURES ── */
.features {
  padding: 80px 40px;
  background: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.feature-card {
  background: #f5f3ff;
  border-radius: 12px;
  padding: 28px;
}

.feature-icon {
  font-size: 30px;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #1e1b4b;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: #4338ca;
  line-height: 1.65;
}

/* ── HOW IT WORKS ── */
.how {
  padding: 80px 40px;
  background: linear-gradient(160deg, #eef2ff 0%, #e0e7ff 100%);
}

.steps {
  display: flex;
  max-width: 780px;
  margin: 0 auto;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 80px;
  right: 80px;
  height: 2px;
  background: #c7d2fe;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 20px;
}

.step-num {
  width: 56px;
  height: 56px;
  background: #4338ca;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  margin: 0 auto 18px;
  position: relative;
  z-index: 1;
}

.step h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1e1b4b;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: #4338ca;
  line-height: 1.55;
}

/* ── PRICING ── */
.pricing {
  padding: 80px 40px;
  background: #fff;
}

.price-card {
  background: #f5f3ff;
  border: 2px solid #c7d2fe;
  border-radius: 16px;
  padding: 44px;
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
}

.price-badge {
  background: #ddd6fe;
  color: #4338ca;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 18px;
}

.price-amount {
  font-size: 52px;
  font-weight: 900;
  color: #1e1b4b;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 4px;
}

.price-amount span {
  font-size: 22px;
  font-weight: 600;
  color: #6366f1;
  vertical-align: top;
  margin-top: 10px;
  display: inline-block;
}

.price-period {
  font-size: 14px;
  color: #6366f1;
  margin-bottom: 28px;
}

.price-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}

.price-features li {
  font-size: 15px;
  color: #3730a3;
  padding: 8px 0;
  border-bottom: 1px solid #e0e7ff;
}

.price-features li::before {
  content: '✓ ';
  color: #4338ca;
  font-weight: 700;
}

.price-trial {
  font-size: 13px;
  color: #6366f1;
  margin-top: 16px;
}

/* ── BOTTOM CTA ── */
.bottom-cta {
  background: linear-gradient(135deg, #3730a3 0%, #4338ca 100%);
  padding: 88px 40px;
  text-align: center;
}

.bottom-cta h2 {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.bottom-cta p {
  color: #c7d2fe;
  font-size: 17px;
  margin-bottom: 36px;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── FOOTER ── */
footer {
  background: #1e1b4b;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-weight: 800;
  color: #a5b4fc;
  font-size: 15px;
}

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

.footer-links a {
  color: #818cf8;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover { color: #a5b4fc; }

.footer-copy {
  color: #4c4a8a;
  font-size: 12px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }

  /* Hide text nav links on mobile, keep Sign In + CTA */
  .nav-links a:not(.nav-cta):not([href*="login"]) { display: none; }

  .hero { padding: 60px 24px; }
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 16px; }

  .features,
  .how,
  .pricing { padding: 60px 24px; }

  .features-grid { grid-template-columns: 1fr; }

  .steps { flex-direction: column; gap: 32px; }
  .steps::before { display: none; }

  .bottom-cta { padding: 60px 24px; }
  .bottom-cta h2 { font-size: 26px; }

  footer {
    padding: 28px 24px;
    flex-direction: column;
    text-align: center;
  }

  .footer-links { justify-content: center; }
}
