/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(245,166,35,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,166,35,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,0.12) 0%, transparent 65%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-sun {
  position: absolute;
  top: -120px; right: -80px;
  width: 480px; height: 480px;
  opacity: 0.06;
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,166,35,0.12);
  border: 1px solid rgba(245,166,35,0.25);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 32px;
  animation: fadeUp 0.6s ease both;
}

.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-headline {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.08;
  color: var(--white);
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero-headline em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(250,250,248,0.6);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 40px;
  font-weight: 400;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-actions {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.3s ease both;
}

.hero-social {
  margin-top: 56px;
  display: flex; align-items: center; justify-content: center; gap: 32px;
  animation: fadeUp 0.6s 0.4s ease both;
}

.hero-stat { text-align: center; }

.hero-stat-num {
  font-family: 'Instrument Serif', serif;
  font-size: 2rem;
  color: var(--white);
  line-height: 1;
}

.hero-stat-num span { color: var(--gold); }

.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(250,250,248,0.45);
  margin-top: 4px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-divider {
  width: 1px; height: 40px;
  background: rgba(255,255,255,0.1);
}

/* ── LOGO STRIP ── */
.logo-strip {
  background: var(--off);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 48px;
  display: flex; align-items: center; gap: 16px;
  overflow: hidden;
}

.logo-strip-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.carrier-scroll {
  display: flex; align-items: center; gap: 40px;
  animation: scroll 20s linear infinite;
  white-space: nowrap;
}

.carrier-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  opacity: 0.7;
  flex-shrink: 0;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── HOW IT WORKS ── */
.how { background: var(--white); }

.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 64px;
}

.how-steps { display: flex; flex-direction: column; gap: 0; }

.step {
  display: flex; gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.step:last-child { border-bottom: none; }

.step.active .step-num {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}

.step.active .step-title { color: var(--navy); }

.step-num {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  flex-shrink: 0;
  transition: all 0.25s;
  font-family: 'DM Sans', sans-serif;
}

.step-body { flex: 1; }

.step-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
  transition: color 0.25s;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  display: none;
}

.step.active .step-desc { display: block; color: var(--muted); }

.how-visual {
  background: var(--navy);
  border-radius: 20px;
  padding: 32px;
  min-height: 420px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
  overflow: hidden;
}

.how-visual::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(245,166,35,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,166,35,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

.doc-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 16px;
  position: relative; z-index: 1;
  animation: slideIn 0.4s ease both;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.doc-card-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px;
}

.doc-icon {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: rgba(245,166,35,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
}

.doc-title { font-size: 0.8rem; font-weight: 600; color: rgba(250,250,248,0.9); }
.doc-sub { font-size: 0.7rem; color: rgba(250,250,248,0.4); margin-top: 1px; }

.doc-fields {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
}

.doc-field {
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  padding: 6px 8px;
}

.doc-field-label { font-size: 0.62rem; color: rgba(250,250,248,0.35); text-transform: uppercase; letter-spacing: 0.06em; }
.doc-field-val { font-size: 0.78rem; font-weight: 500; color: rgba(250,250,248,0.85); margin-top: 2px; }
.doc-field-val.gold { color: var(--gold); }

.doc-status {
  display: flex; align-items: center; gap: 6px;
  margin-top: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #6EE7B7;
}

.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #6EE7B7; }

/* ── FEATURES ── */
.features { background: var(--off); }

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

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  opacity: 0;
  transition: opacity 0.25s;
}

.feature-card:hover { border-color: rgba(245,166,35,0.3); box-shadow: 0 8px 32px rgba(0,0,0,0.06); transform: translateY(-2px); }
.feature-card:hover::before { opacity: 1; }

.feature-card.featured {
  background: var(--navy);
  border-color: transparent;
  grid-column: span 1;
}

.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--gold-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
}

.feature-card.featured .feature-icon { background: rgba(245,166,35,0.15); }

.feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.feature-card.featured .feature-title { color: var(--white); }

.feature-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}

.feature-card.featured .feature-desc { color: rgba(250,250,248,0.55); }

.feature-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(245,166,35,0.1);
  padding: 3px 10px;
  border-radius: 4px;
}

/* ── DOCUMENT READER ── */
.docs { background: var(--white); }

.docs-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 64px;
}

.doc-types {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}

.doc-type-card {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  cursor: pointer;
  transition: all 0.2s;
}

.doc-type-card:hover, .doc-type-card.active {
  border-color: var(--gold);
  background: var(--gold-pale);
}

.doc-type-icon { font-size: 22px; margin-bottom: 8px; }
.doc-type-name { font-size: 0.85rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.doc-type-desc { font-size: 0.75rem; color: var(--muted); line-height: 1.4; }

.docs-demo {
  background: var(--navy);
  border-radius: 20px;
  padding: 28px;
  min-height: 380px;
}

.demo-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}

.demo-title { font-size: 0.8rem; font-weight: 600; color: rgba(250,250,248,0.5); letter-spacing: 0.06em; text-transform: uppercase; }

.demo-badge {
  font-size: 0.65rem; font-weight: 700;
  background: rgba(110,231,183,0.15);
  color: #6EE7B7;
  padding: 3px 8px; border-radius: 4px;
  letter-spacing: 0.06em; text-transform: uppercase;
}

.extracted-fields { display: flex; flex-direction: column; gap: 8px; }

.field-row {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 10px 14px;
  animation: slideIn 0.3s ease both;
}

.field-key { font-size: 0.75rem; color: rgba(250,250,248,0.4); }
.field-val { font-size: 0.8rem; font-weight: 600; color: rgba(250,250,248,0.9); }
.field-val.auto { color: var(--gold); }

.confidence-bar {
  margin-top: 16px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 12px 14px;
}

.confidence-label { font-size: 0.7rem; color: rgba(250,250,248,0.4); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.06em; }
.confidence-track { height: 4px; background: rgba(255,255,255,0.08); border-radius: 100px; overflow: hidden; }
.confidence-fill { height: 100%; border-radius: 100px; background: linear-gradient(90deg, #6EE7B7, #34D399); width: 94%; }
.confidence-pct { font-size: 0.75rem; font-weight: 700; color: #6EE7B7; margin-top: 6px; }

/* ── PRICING ── */
.pricing { background: var(--off); }

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

.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.25s;
}

.price-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.07); }

.price-card.popular {
  background: var(--navy);
  border-color: transparent;
  position: relative;
}

.popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 100px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.price-plan {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.price-card.popular .price-plan { color: rgba(250,250,248,0.5); }

.price-amount {
  display: flex; align-items: baseline; gap: 4px;
  margin-bottom: 6px;
}

.price-dollar {
  font-family: 'Instrument Serif', serif;
  font-size: 3rem;
  color: var(--text);
  line-height: 1;
  letter-spacing: -1px;
}

.price-card.popular .price-dollar { color: var(--white); }

.price-period { font-size: 0.875rem; color: var(--muted); }

.price-card.popular .price-period { color: rgba(250,250,248,0.4); }

.price-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.price-card.popular .price-desc { color: rgba(250,250,248,0.5); border-color: rgba(255,255,255,0.08); }

.price-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }

.price-feature {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.875rem;
  color: var(--text);
}

.price-card.popular .price-feature { color: rgba(250,250,248,0.8); }

.check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--gold-pale);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 10px;
  color: #92400E;
  font-weight: 700;
}

.price-card.popular .check { background: rgba(245,166,35,0.2); color: var(--gold-light); }

.btn-plan {
  width: 100%;
  padding: 13px;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid var(--navy);
  background: transparent;
  color: var(--navy);
  transition: all 0.2s;
  letter-spacing: -0.2px;
}
.btn-plan:hover { background: var(--navy); color: var(--white); }

.btn-plan.gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.btn-plan.gold:hover { background: var(--gold-light); border-color: var(--gold-light); }

/* ── TESTIMONIALS ── */
.testimonials { background: var(--white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.testimonial {
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.quote-mark {
  font-family: 'Instrument Serif', serif;
  font-size: 3rem;
  color: var(--gold);
  line-height: 0.8;
  margin-bottom: 16px;
  opacity: 0.6;
}

.quote-text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 20px;
  font-style: italic;
  font-family: 'Instrument Serif', serif;
}

.quote-author {
  display: flex; align-items: center; gap: 12px;
}

.author-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}

.author-name { font-size: 0.875rem; font-weight: 700; color: var(--text); }
.author-role { font-size: 0.75rem; color: var(--muted); }

/* ── CTA ── */
.cta-section {
  background: var(--navy);
  padding: 96px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(245,166,35,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,166,35,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}

.cta-content { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }

.cta-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white);
  letter-spacing: -0.8px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.cta-title em { font-style: italic; color: var(--gold); }

.cta-sub {
  font-size: 1rem;
  color: rgba(250,250,248,0.55);
  margin-bottom: 40px;
  line-height: 1.6;
}

.cta-form {
  display: flex; gap: 10px;
  max-width: 440px; margin: 0 auto;
}

.cta-input {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 13px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
}
.cta-input::placeholder { color: rgba(250,250,248,0.3); }
.cta-input:focus { border-color: rgba(245,166,35,0.4); }

/* ── INDEX RESPONSIVE ── */
@media (max-width: 900px) {
  .how-grid, .docs-layout { grid-template-columns: 1fr; gap: 40px; }
  .features-grid, .pricing-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .cta-form { flex-direction: column; }
}

@media (max-width: 600px) {
  .doc-types { grid-template-columns: 1fr 1fr; }
  .hero-social { flex-wrap: wrap; gap: 20px; }
}
