/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0F1C2E;
  --navy-mid:   #162236;
  --blue:       #1D4ED8;
  --blue-light: #3B82F6;
  --blue-pale:  #EFF6FF;
  --orange:     #F97316;
  --violet:     #7C3AED;
  --green:      #059669;
  --text:       #1E293B;
  --text-muted: #64748B;
  --border:     #E2E8F0;
  --bg:         #F8FAFC;
  --white:      #FFFFFF;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.12);
  --transition: 0.22s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: var(--navy); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; color: var(--navy); }
h3 { font-size: 1.15rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
p  { color: var(--text-muted); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: inherit; font-size: 0.95rem; font-weight: 600;
  border-radius: 8px; border: none; cursor: pointer;
  text-decoration: none; transition: all var(--transition);
  padding: 10px 22px;
  white-space: nowrap;
}
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-full { width: 100%; margin-top: 24px; }

.btn-primary  { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: #1a44c0; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(29,78,216,.35); }

.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue-pale); }

.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { color: var(--blue); }

.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: #f0f4ff; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,.15); }

.btn-ghost-white { background: transparent; color: rgba(255,255,255,.85); border: 2px solid rgba(255,255,255,.3); }
.btn-ghost-white:hover { border-color: rgba(255,255,255,.7); color: var(--white); }

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-header p { margin-top: 16px; font-size: 1.05rem; line-height: 1.7; }

.section-tag {
  display: inline-block;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue); background: var(--blue-pale);
  padding: 5px 14px; border-radius: 100px;
  margin-bottom: 16px;
}

/* ===== NAVIGATION ===== */
.nav-wrapper {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.nav-wrapper.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}

.logo {
  font-size: 1.35rem; font-weight: 800; color: var(--navy);
  text-decoration: none; letter-spacing: -0.02em;
}
.logo span { color: var(--blue); }

.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500; color: var(--text-muted);
  text-decoration: none; transition: color var(--transition);
}
.nav-links a:hover { color: var(--navy); }

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

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: all var(--transition); }

/* ===== HERO ===== */
.hero {
  padding: 140px 0 80px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.hero-bg-shape {
  position: absolute; top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(59,130,246,0.07) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-content { max-width: 560px; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8rem; font-weight: 500;
  background: linear-gradient(135deg, #EFF6FF, #F5F3FF);
  color: var(--blue); border: 1px solid #C7D7FD;
  border-radius: 100px; padding: 6px 14px;
  margin-bottom: 24px;
}
.badge span { font-weight: 700; }

.hero-content h1 { margin-bottom: 20px; }

.hero-sub {
  font-size: 1.1rem; color: var(--text-muted); line-height: 1.75;
  margin-bottom: 32px;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }

.hero-note { font-size: 0.82rem; color: #94A3B8; }

/* Mockup */
.hero-visual { position: relative; }

.mockup-frame {
  background: var(--navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(15,28,46,.4), 0 0 0 1px rgba(255,255,255,.06);
}

.mockup-bar {
  background: #1a2d44; padding: 12px 16px;
  display: flex; gap: 8px; align-items: center;
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red    { background: #FF5F57; }
.dot.yellow { background: #FFBD2E; }
.dot.green  { background: #28CA41; }

.mockup-body { display: flex; }

.mock-sidebar {
  width: 130px; background: #162236;
  padding: 20px 0; flex-shrink: 0;
}
.mock-nav-item {
  padding: 10px 16px; font-size: 0.78rem;
  color: rgba(255,255,255,.45); cursor: default;
}
.mock-nav-item.active {
  color: var(--white);
  background: rgba(59,130,246,.15);
  border-left: 2px solid var(--blue-light);
}

.mock-content { flex: 1; padding: 20px; }

.mock-card {
  background: rgba(255,255,255,.05); border-radius: 10px;
  padding: 16px; margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,.08);
}
.mock-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--blue-light); margin-bottom: 6px; }
.mock-title { font-size: 0.9rem; font-weight: 600; color: var(--white); margin-bottom: 14px; }

.mock-step {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 6px;
  margin-bottom: 6px;
}
.mock-step.active-step { background: rgba(59,130,246,.15); }

.mock-step-num {
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 700; color: rgba(255,255,255,.6);
  flex-shrink: 0;
}
.mock-step.active-step .mock-step-num { background: var(--blue-light); color: var(--white); }
.mock-step-text { font-size: 0.75rem; color: rgba(255,255,255,.55); }
.mock-step.active-step .mock-step-text { color: rgba(255,255,255,.9); font-weight: 500; }

.mock-progress { height: 4px; background: rgba(255,255,255,.1); border-radius: 2px; margin-top: 14px; overflow: hidden; }
.mock-progress-bar { height: 100%; background: var(--blue-light); border-radius: 2px; }

.mock-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mock-stat {
  background: rgba(255,255,255,.05); border-radius: 8px;
  padding: 12px; border: 1px solid rgba(255,255,255,.06);
}
.mock-stat-val { font-size: 1.3rem; font-weight: 700; color: var(--white); }
.mock-stat-lbl { font-size: 0.65rem; color: rgba(255,255,255,.45); margin-top: 2px; }

.hero-glow {
  position: absolute; bottom: -60px; left: 50%;
  transform: translateX(-50%);
  width: 80%; height: 80px;
  background: radial-gradient(ellipse, rgba(29,78,216,.25), transparent 70%);
  pointer-events: none;
}

/* ===== SOCIAL PROOF ===== */
.social-proof {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.social-proof-label {
  text-align: center; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: #94A3B8; margin-bottom: 24px;
}
.logos-row {
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; gap: 40px;
}
.logo-placeholder {
  font-size: 0.9rem; font-weight: 600;
  color: #CBD5E1; letter-spacing: -0.01em;
}

/* ===== FEATURES ===== */
.features { background: var(--white); }

.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}

.feature-card {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  background: var(--white);
}
.feature-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: #C7D7FD;
  transform: translateY(-3px);
}

.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 24px; height: 24px; }

.icon-blue   { background: #EFF6FF; color: var(--blue); }
.icon-violet { background: #F5F3FF; color: var(--violet); }
.icon-green  { background: #ECFDF5; color: var(--green); }
.icon-orange { background: #FFF7ED; color: var(--orange); }

.feature-card p { font-size: 0.9rem; line-height: 1.65; margin-top: 8px; }

/* ===== HOW IT WORKS ===== */
.how-it-works { background: var(--bg); }

.steps {
  display: flex; align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
}

.step-connector {
  flex-shrink: 0; width: 48px;
  margin-top: 60px;
  height: 2px; background: var(--border);
  position: relative;
}
.step-connector::after {
  content: ''; position: absolute;
  right: -1px; top: -4px;
  width: 0; height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 6px solid var(--border);
}

.step-number {
  font-size: 2.5rem; font-weight: 800;
  color: var(--blue); opacity: 0.2;
  line-height: 1; margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.step-content h3 { margin-bottom: 10px; }
.step-content p { font-size: 0.9rem; line-height: 1.65; }

/* ===== PRICING ===== */
.pricing { background: var(--white); }

.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; align-items: start;
}

.pricing-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  background: var(--white);
  position: relative;
}
.pricing-card-featured {
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: var(--white);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 5px 16px; border-radius: 100px; white-space: nowrap;
}

.plan-name {
  font-size: 0.85rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 12px;
}
.pricing-card-featured .plan-name { color: rgba(255,255,255,.6); }

.plan-price { margin-bottom: 12px; }
.price-amount {
  font-size: 2rem; font-weight: 800; color: var(--navy); letter-spacing: -0.03em;
}
.pricing-card-featured .price-amount { color: var(--white); }
.price-period { font-size: 0.9rem; color: var(--text-muted); margin-left: 4px; }
.pricing-card-featured .price-period { color: rgba(255,255,255,.5); }

.plan-desc {
  font-size: 0.88rem; margin-bottom: 24px; line-height: 1.5;
}
.pricing-card-featured .plan-desc { color: rgba(255,255,255,.65); }

.plan-features { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.plan-features li {
  font-size: 0.88rem; color: var(--text);
  display: flex; align-items: center; gap: 10px;
}
.pricing-card-featured .plan-features li { color: rgba(255,255,255,.85); }
.plan-features li.muted { color: var(--text-muted); }

.check { color: var(--green); font-weight: 700; }
.cross { color: #CBD5E1; }

.pricing-card-featured .btn-primary { background: var(--orange); }
.pricing-card-featured .btn-primary:hover { background: #ea6c10; }

/* ===== FAQ ===== */
.faq { background: var(--white); }
.faq-container { max-width: 760px; }

.faq-list { display: flex; flex-direction: column; gap: 0; }

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  padding: 22px 0;
  background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 0.98rem; font-weight: 600;
  color: var(--navy); text-align: left;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--blue); }

.faq-icon {
  width: 18px; height: 18px; flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--text-muted);
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }

.faq-answer {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
  overflow: hidden;
}
.faq-answer.open { grid-template-rows: 1fr; }
.faq-answer > p {
  overflow: hidden;
  font-size: 0.9rem; line-height: 1.7;
  color: var(--text-muted);
  padding-bottom: 20px;
}

/* ===== CTA SECTION ===== */
.cta-section { background: var(--bg); }

.cta-box {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a6b 100%);
  border-radius: var(--radius-lg);
  padding: 80px 64px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(59,130,246,.15), transparent 70%);
  pointer-events: none;
}

.cta-box h2 { color: var(--white); margin-bottom: 16px; }
.cta-box > p { color: rgba(255,255,255,.65); font-size: 1.05rem; margin-bottom: 36px; }

.cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }

.cta-note { font-size: 0.8rem; color: rgba(255,255,255,.4); }

/* ===== FOOTER ===== */
.footer { background: var(--navy); padding: 64px 0 0; }

.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
}

.footer-brand .logo { color: var(--white); }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,.45); margin-top: 12px; line-height: 1.65; max-width: 260px; }

.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-title { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,.4); margin-bottom: 4px; }
.footer-col a { font-size: 0.88rem; color: rgba(255,255,255,.6); text-decoration: none; transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,.3); }

/* ===== FADE-IN ANIMATION ===== */
.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid  { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pricing-card-featured { transform: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero { padding: 120px 0 60px; }

  .nav-links { display: none; flex-direction: column; gap: 0;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 24px; border-radius: 0; }

  .nav-toggle { display: flex; }
  .nav-actions .btn-primary { display: none; }

  .steps { flex-direction: column; }
  .step-connector { display: none; }

  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { max-width: none; }

  .cta-box { padding: 48px 28px; }
  .footer-inner { grid-template-columns: 1fr; }

  .section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .btn-lg { width: 100%; }
}
