/* ═══════════════════════════════════════════════════════════════
   TAXPILLAR · DESIGN SYSTEM
   Confidence in Every Submission
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Source+Sans+3:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&family=Noto+Sans+Arabic:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700&family=Noto+Sans+Devanagari:wght@400;500;600;700&family=Noto+Sans+Gurmukhi:wght@400;500;600;700&display=swap');

:root {
  --navy-950: #060D1A;
  --navy-900: #0F2139;
  --navy-800: #152D4A;
  --navy-700: #1E3D5E;
  --navy-600: #2A5078;
  --navy-100: #E2EAF3;
  --navy-50: #F2F5FA;

  --gold: #D4952B;
  --gold-dark: #B57D1F;
  --gold-light: #E8B44D;
  --gold-pale: #FFF8ED;

  --paper: #FAFAF8;
  --cream: #F3F1EC;
  --ivory: #FDFCFA;
  --border: #E3E0D8;
  --border-dark: #D0CBC0;

  --ink: #0F2139;
  --muted: #5A6678;
  --subtle: #8D96A5;
  --white: #FFFFFF;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  --container: 1280px;
  --container-narrow: 960px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--paper); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; letter-spacing: -0.02em; color: var(--ink); }
p { margin-bottom: 1em; }

/* ─── Utility ─── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 32px; }
section { padding: clamp(64px, 10vw, 140px) 0; }
.text-center { text-align: center; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--gold); }

.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--muted); max-width: 60ch; }

.display-xl { font-size: clamp(3rem, 8vw, 6.5rem); }
.display-lg { font-size: clamp(2.5rem, 6vw, 4.5rem); }
.display-md { font-size: clamp(2rem, 4.5vw, 3.25rem); }
.display-sm { font-size: clamp(1.5rem, 3vw, 2.25rem); }
.italic { font-style: italic; font-weight: 400; }
.accent { color: var(--gold); font-style: italic; font-weight: 400; }

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 24px;
}

/* Logo */
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 24px; font-weight: 600;
  color: var(--navy-900); letter-spacing: -0.01em; flex-shrink: 0;
}
.logo-pillar {
  width: 28px; height: 32px;
  fill: var(--navy-900);
}
.logo-gold { color: var(--gold); }

/* Nav links — single line */
.nav-links {
  display: flex; align-items: center; gap: 28px;
  white-space: nowrap; flex-shrink: 0;
}
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--navy-900);
  transition: color 0.2s var(--ease); position: relative;
  padding: 4px 0;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active::after {
  content: ""; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--gold);
}

/* Nav right */
.nav-cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* Hamburger */
.nav-hamburger {
  display: none; width: 32px; height: 32px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px; background: var(--navy-900);
  transition: all 0.3s var(--ease);
}

@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

@media (max-width: 600px) {
  .btn-ghost.nav-hide-sm { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; font-size: 14px; font-weight: 600;
  letter-spacing: 0.01em; border-radius: 4px;
  transition: all 0.25s var(--ease); white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn-primary { background: var(--navy-900); color: var(--white); }
.btn-primary:hover { background: var(--navy-700); transform: translateY(-1px); box-shadow: 0 8px 24px -8px rgba(15, 33, 57, 0.35); }

.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(212, 149, 43, 0.5); }

.btn-outline { background: transparent; color: var(--navy-900); border-color: var(--navy-900); }
.btn-outline:hover { background: var(--navy-900); color: var(--white); }

.btn-ghost { padding: 10px 14px; color: var(--navy-900); font-size: 14px; font-weight: 500; }
.btn-ghost:hover { color: var(--gold); }

.btn-lg { padding: 16px 28px; font-size: 15px; }
.btn-arrow::after { content: "→"; transition: transform 0.25s var(--ease); }
.btn-arrow:hover::after { transform: translateX(4px); }

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative; padding: clamp(80px, 12vw, 160px) 0 clamp(60px, 8vw, 120px);
  overflow: hidden; background: var(--paper);
}
.hero::before {
  content: ""; position: absolute; top: 0; right: -5%; width: 50%; height: 100%;
  background: radial-gradient(ellipse at top right, rgba(212, 149, 43, 0.08), transparent 60%);
  pointer-events: none;
}

/* Decorative pillar watermark */
.hero-pillar-bg {
  position: absolute; right: 5%; top: 50%; transform: translateY(-50%);
  width: clamp(200px, 25vw, 400px); height: auto;
  opacity: 0.04; pointer-events: none;
  animation: pillarFadeIn 1.5s var(--ease) forwards;
}
@keyframes pillarFadeIn {
  0% { opacity: 0; transform: translateY(-45%) scale(0.95); }
  100% { opacity: 0.04; transform: translateY(-50%) scale(1); }
}

.hero-grid {
  position: relative; display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 80px; align-items: end;
}
.hero h1 {
  font-size: clamp(3rem, 6.5vw, 5.5rem); line-height: 1;
  letter-spacing: -0.03em; margin: 24px 0 28px;
}
.hero .lead { max-width: 50ch; margin-bottom: 36px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-meta {
  display: flex; gap: 40px; padding-top: 28px;
  border-top: 1.5px solid var(--border); flex-wrap: wrap;
}
.hero-meta-item .num {
  font-family: var(--font-display); font-size: 36px; color: var(--navy-900);
  display: block; line-height: 1;
}
.hero-meta-item .label {
  font-family: var(--font-mono); font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--muted); margin-top: 6px; display: block;
}

@media (max-width: 1024px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } .hero-pillar-bg { display: none; } }

/* ═══════════════════════════════════════════════════════════════
   AUDIENCE SPLIT
   ═══════════════════════════════════════════════════════════════ */
.audience-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px;
}
.audience-card {
  background: var(--ivory); border: 1.5px solid var(--border);
  padding: 44px; border-radius: 8px;
  display: flex; flex-direction: column; gap: 16px;
  transition: all 0.35s var(--ease); position: relative; overflow: hidden;
}
.audience-card::after {
  content: ""; position: absolute; bottom: 0; left: 0; width: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width 0.4s var(--ease);
}
.audience-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 20px 50px -15px rgba(15, 33, 57, 0.12); }
.audience-card:hover::after { width: 100%; }

.audience-card .num { font-family: var(--font-mono); font-size: 11px; color: var(--gold); letter-spacing: 0.14em; }
.audience-card h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.15; }
.audience-card p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.audience-card .price-tag {
  font-family: var(--font-mono); font-size: 12px; color: var(--navy-900);
  padding: 10px 0 0; border-top: 1px dashed var(--border-dark); margin-top: 8px;
}
.audience-card .arrow { font-size: 22px; color: var(--gold); margin-top: auto; transition: transform 0.3s var(--ease); }
.audience-card:hover .arrow { transform: translateX(8px); }

@media (max-width: 820px) { .audience-split { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════
   STATS — properly styled cards
   ═══════════════════════════════════════════════════════════════ */
.stats-section { padding: clamp(48px, 7vw, 80px) 0; background: var(--navy-900); position: relative; overflow: hidden; }
.stats-section::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(212, 149, 43, 0.12), transparent 50%);
  pointer-events: none;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  position: relative; z-index: 1;
}
.stat-card {
  padding: 36px 28px; text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.stat-card:last-child { border-right: none; }

.stat-card .stat-icon {
  width: 48px; height: 48px; margin: 0 auto 16px;
  background: rgba(212, 149, 43, 0.15); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.stat-card .stat-num {
  font-family: var(--font-display); font-size: 48px;
  color: var(--white); line-height: 1; margin-bottom: 4px;
}
.stat-card .stat-num span { color: var(--gold); font-size: 0.6em; }
.stat-card .stat-label {
  font-size: 14px; color: rgba(255, 255, 255, 0.65);
  line-height: 1.4; max-width: 200px; margin: 0 auto;
}

@media (max-width: 900px) { .stats-grid { grid-template-columns: 1fr 1fr; } .stat-card { border-bottom: 1px solid rgba(255,255,255,0.1); } }
@media (max-width: 520px) { .stats-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════
   SECTION HEADER
   ═══════════════════════════════════════════════════════════════ */
.section-header { margin-bottom: 56px; max-width: 720px; }
.section-header h2 { margin-top: 16px; margin-bottom: 16px; }
.section-header h2 .italic { color: var(--gold); }

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

.feature {
  padding: 36px 28px; background: var(--ivory); border: 1px solid var(--border);
  border-radius: 8px; transition: all 0.3s var(--ease);
}
.feature:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 16px 40px -12px rgba(15, 33, 57, 0.1); }

.feature .num { font-family: var(--font-mono); font-size: 11px; color: var(--gold); letter-spacing: 0.1em; margin-bottom: 20px; display: block; }
.feature h3 { font-size: 20px; margin-bottom: 10px; line-height: 1.2; }
.feature p { font-size: 14px; line-height: 1.65; color: var(--muted); margin: 0; }

@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════
   DARK SECTION
   ═══════════════════════════════════════════════════════════════ */
.dark {
  background: var(--navy-900); color: var(--paper);
  position: relative; overflow: hidden;
}
.dark::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(212, 149, 43, 0.12), transparent 40%),
              radial-gradient(circle at 80% 70%, rgba(212, 149, 43, 0.06), transparent 50%);
  pointer-events: none;
}
.dark h1, .dark h2, .dark h3 { color: var(--paper); }
.dark .eyebrow { color: var(--gold-light); }
.dark .eyebrow::before { background: var(--gold-light); }
.dark .lead { color: rgba(250, 250, 248, 0.7); }
.dark p { color: rgba(250, 250, 248, 0.8); }

/* ═══════════════════════════════════════════════════════════════
   COMPARISON
   ═══════════════════════════════════════════════════════════════ */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; position: relative; z-index: 1; }

.compare-col {
  padding: 40px; background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px;
}
.compare-col.us {
  background: linear-gradient(180deg, rgba(212, 149, 43, 0.08), rgba(255, 255, 255, 0.03));
  border-color: rgba(212, 149, 43, 0.3);
}
.compare-col h3 { font-size: 22px; margin-bottom: 8px; }
.compare-col .sub {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--subtle); margin-bottom: 24px;
}
.compare-col.us .sub { color: var(--gold-light); }
.compare-col ul li {
  padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px; display: flex; gap: 12px; align-items: flex-start;
  color: rgba(250, 250, 248, 0.8);
}
.compare-col ul li::before { content: "✕"; color: var(--subtle); flex-shrink: 0; }
.compare-col.us ul li::before { content: "✓"; color: var(--gold-light); }

@media (max-width: 780px) { .compare { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════════════ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }

.price-card {
  background: var(--ivory); border: 1.5px solid var(--border); border-radius: 8px;
  padding: 36px 28px; display: flex; flex-direction: column; gap: 16px;
  transition: all 0.3s var(--ease);
}
.price-card:hover { border-color: var(--navy-800); transform: translateY(-4px); box-shadow: 0 20px 50px -20px rgba(15, 33, 57, 0.15); }

.price-card.featured {
  background: var(--navy-900); color: var(--paper); border-color: var(--navy-900);
}
.price-card.featured::before {
  content: "MOST POPULAR"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: white; font-family: var(--font-mono);
  font-size: 10px; padding: 5px 12px; letter-spacing: 0.14em; border-radius: 3px;
}
.price-card .tier-name { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold); }
.price-card.featured .tier-name { color: var(--gold-light); }
.price-card .tier-title { font-family: var(--font-display); font-size: 24px; line-height: 1.15; }
.price-card .price { font-family: var(--font-display); font-size: 44px; line-height: 1; margin: 6px 0; }
.price-card .price sub { font-size: 14px; font-family: var(--font-body); color: var(--muted); margin-left: 3px; }
.price-card.featured .price sub { color: rgba(250, 250, 248, 0.5); }
.price-card .tier-desc { font-size: 14px; color: var(--muted); line-height: 1.55; }
.price-card.featured .tier-desc { color: rgba(250, 250, 248, 0.7); }
.price-card ul { margin: 12px 0; flex: 1; }
.price-card ul li { padding: 8px 0; font-size: 14px; display: flex; gap: 10px; border-bottom: 1px dashed var(--border); }
.price-card.featured ul li { border-bottom-color: rgba(255, 255, 255, 0.08); color: rgba(250, 250, 248, 0.85); }
.price-card ul li::before { content: "✓"; color: var(--gold); font-weight: 700; }

@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════
   TESTIMONIAL
   ═══════════════════════════════════════════════════════════════ */
.testimonial { padding: 80px 0; background: var(--cream); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.testimonial-quote {
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  line-height: 1.3; max-width: 860px; margin: 0 auto; text-align: center;
  color: var(--navy-900); font-style: italic;
}
.testimonial-quote::before, .testimonial-quote::after { content: """; color: var(--gold); font-size: 1.3em; }
.testimonial-quote::after { content: """; }
.testimonial-author {
  text-align: center; margin-top: 28px; font-family: var(--font-mono);
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted);
}

/* ═══════════════════════════════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════════════════════════════ */
.cta-banner {
  background: var(--navy-900); color: var(--paper); padding: 100px 0;
  text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 120%; height: 120%;
  background: radial-gradient(ellipse at center, rgba(212, 149, 43, 0.18), transparent 55%);
  pointer-events: none;
}
.cta-banner-inner { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--paper); max-width: 800px; margin: 0 auto 20px; }
.cta-banner h2 .italic { color: var(--gold-light); }
.cta-banner p { color: rgba(250, 250, 248, 0.7); max-width: 580px; margin: 0 auto 36px; font-size: 18px; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER — proper grid with divider
   ═══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--navy-950); color: var(--paper); padding: 0;
}
.footer-divider {
  height: 1px; background: linear-gradient(90deg, transparent, rgba(212, 149, 43, 0.4), transparent);
}
.footer-main { padding: 64px 0 40px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 48px;
}
.footer-brand .logo { color: var(--paper); }
.footer-brand p { margin-top: 14px; color: rgba(250, 250, 248, 0.55); font-size: 14px; max-width: 280px; line-height: 1.6; }
.footer-col h4 {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--gold-light); margin-bottom: 18px; font-weight: 500;
}
.footer-col ul li { padding: 5px 0; }
.footer-col ul li a { color: rgba(250, 250, 248, 0.65); font-size: 14px; transition: color 0.2s var(--ease); }
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-contact { font-size: 13px; color: rgba(250, 250, 248, 0.55); line-height: 1.8; }

.footer-bottom {
  padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: rgba(250, 250, 248, 0.4);
}
.footer-bottom a { color: rgba(250, 250, 248, 0.4); }
.footer-bottom a:hover { color: var(--gold-light); }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ═══════════════════════════════════════════════════════════════
   PROCESS STEPS
   ═══════════════════════════════════════════════════════════════ */
.process-list { border-top: 1px solid var(--border); }
.process-step {
  display: grid; grid-template-columns: 80px 1fr 2fr; gap: 32px;
  padding: 36px 0; border-bottom: 1px solid var(--border);
  align-items: start; transition: all 0.3s var(--ease);
}
.process-step:hover { background: var(--cream); padding-left: 16px; padding-right: 16px; border-radius: 8px; }
.process-step .n { font-family: var(--font-mono); font-size: 13px; color: var(--gold); letter-spacing: 0.08em; }
.process-step h3 { font-size: 24px; line-height: 1.15; }
.process-step p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0; }

@media (max-width: 780px) { .process-step { grid-template-columns: 1fr; gap: 10px; } }

/* ═══════════════════════════════════════════════════════════════
   FAQ — better styled questions
   ═══════════════════════════════════════════════════════════════ */
.faq-category {
  margin-bottom: 64px;
}
.faq-category-title {
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 20px; color: var(--navy-900);
  padding-bottom: 12px; border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: var(--font-body); font-size: 17px; font-weight: 600;
  color: var(--navy-900); transition: color 0.25s var(--ease); line-height: 1.4;
}
.faq-q:hover { color: var(--gold); }
.faq-toggle {
  font-family: var(--font-mono); color: var(--gold); font-size: 18px;
  flex-shrink: 0; width: 32px; height: 32px; display: flex; align-items: center;
  justify-content: center; background: var(--gold-pale); border-radius: 6px;
  transition: all 0.3s var(--ease);
}
.faq-item.open .faq-toggle { background: var(--gold); color: var(--white); transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-item.open .faq-a { max-height: 600px; }
.faq-a-inner { padding: 0 0 28px 0; color: var(--muted); line-height: 1.7; font-size: 15px; max-width: 80ch; }

/* ═══════════════════════════════════════════════════════════════
   VALUES — styled cards, not plain text
   ═══════════════════════════════════════════════════════════════ */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.value-card {
  padding: 36px; background: var(--ivory); border: 1.5px solid var(--border);
  border-radius: 8px; position: relative; overflow: hidden;
  transition: all 0.3s var(--ease);
}
.value-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 16px 40px -12px rgba(15, 33, 57, 0.1); }

.value-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
  background: var(--gold); opacity: 0; transition: opacity 0.3s var(--ease);
}
.value-card:hover::before { opacity: 1; }

.value-card .value-num {
  font-family: var(--font-mono); font-size: 48px; font-weight: 500;
  color: var(--gold-pale); line-height: 1; margin-bottom: 16px;
  opacity: 0.6;
}
.value-card h3 { font-size: 22px; margin-bottom: 10px; line-height: 1.2; color: var(--navy-900); }
.value-card p { font-size: 15px; color: var(--muted); line-height: 1.6; margin: 0; }

@media (max-width: 700px) { .values-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════
   STORY / ABOUT
   ═══════════════════════════════════════════════════════════════ */
.story { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: start; }
.story-meta { position: sticky; top: 100px; }
.story-body p { font-size: 17px; line-height: 1.75; color: var(--navy-800); margin-bottom: 24px; }
.story-body p:first-of-type::first-letter {
  font-family: var(--font-display); font-size: 68px; float: left; line-height: 0.85;
  margin-right: 8px; margin-top: 6px; color: var(--gold);
}
.story-body blockquote {
  font-family: var(--font-display); font-size: 26px; line-height: 1.3;
  font-style: italic; color: var(--navy-900); margin: 36px 0;
  padding-left: 24px; border-left: 3px solid var(--gold);
}

@media (max-width: 900px) { .story { grid-template-columns: 1fr; gap: 36px; } .story-meta { position: static; } }

/* ═══════════════════════════════════════════════════════════════
   AUTH PAGE — completely redesigned
   ═══════════════════════════════════════════════════════════════ */
.auth-wrap {
  min-height: calc(100vh - 68px);
  display: grid; grid-template-columns: 1fr 1fr;
}
.auth-visual {
  background: var(--navy-900); color: var(--paper);
  padding: 72px 56px; display: flex; flex-direction: column;
  justify-content: space-between; position: relative; overflow: hidden;
}
.auth-visual::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(212, 149, 43, 0.2), transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(212, 149, 43, 0.1), transparent 55%);
}
.auth-visual > * { position: relative; z-index: 1; }
.auth-visual h1 { font-size: clamp(2.2rem, 3.5vw, 3.25rem); color: var(--paper); line-height: 1.05; margin-bottom: 16px; }
.auth-visual h1 .accent { color: var(--gold-light); }
.auth-visual .big-quote {
  font-family: var(--font-display); font-size: 20px; line-height: 1.4;
  font-style: italic; color: rgba(250, 250, 248, 0.85);
  border-left: 2px solid var(--gold); padding-left: 20px; max-width: 380px;
}
.auth-visual .auth-trust {
  font-family: var(--font-mono); font-size: 10px; color: rgba(250, 250, 248, 0.35);
  letter-spacing: 0.1em;
}
/* Pillar SVG in auth */
.auth-pillar {
  position: absolute; right: -20px; bottom: -40px; width: 260px; height: auto;
  opacity: 0.06; pointer-events: none;
}

.auth-form-side {
  background: var(--ivory); padding: 72px 56px;
  display: flex; align-items: center; justify-content: center;
}
.auth-form { width: 100%; max-width: 420px; }
.auth-form h2 { font-size: 32px; margin-bottom: 6px; }
.auth-form .sub { color: var(--muted); margin-bottom: 32px; font-size: 15px; }

.auth-tabs { display: flex; gap: 0; margin-bottom: 28px; border-bottom: 1.5px solid var(--border); }
.auth-tab {
  padding: 12px 20px; font-size: 14px; font-weight: 600; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -1.5px;
  transition: all 0.2s var(--ease);
}
.auth-tab.active { color: var(--navy-900); border-bottom-color: var(--gold); }

.auth-form form { display: flex; flex-direction: column; gap: 18px; }
.auth-form .btn { width: 100%; justify-content: center; margin-top: 8px; }

.form-field label {
  display: block; font-family: var(--font-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 6px;
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; background: var(--white);
  border: 1.5px solid var(--border); border-radius: 4px;
  font-family: var(--font-body); font-size: 15px; color: var(--ink);
  transition: border-color 0.2s var(--ease); outline: none;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--gold); }
.form-field textarea { resize: vertical; min-height: 100px; }

.auth-divider {
  display: flex; align-items: center; gap: 14px; margin: 20px 0;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em;
  color: var(--muted); text-transform: uppercase;
}
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }

.sso-btn {
  padding: 12px 18px; border: 1.5px solid var(--border); background: var(--white);
  border-radius: 4px; display: flex; align-items: center; justify-content: center;
  gap: 10px; font-size: 14px; font-weight: 500; color: var(--navy-900);
  transition: all 0.2s var(--ease); width: 100%;
}
.sso-btn:hover { border-color: var(--gold); background: var(--gold-pale); }

@media (max-width: 900px) {
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-visual { padding: 48px 32px; min-height: auto; }
  .auth-form-side { padding: 48px 32px; }
}

/* ═══════════════════════════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════════════════════════ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════
   DEMO
   ═══════════════════════════════════════════════════════════════ */
.demo-shell { background: var(--navy-950); min-height: calc(100vh - 68px); padding: 56px 0 100px; }
.demo-frame {
  max-width: 980px; margin: 0 auto; background: var(--ivory);
  border: 1px solid var(--border-dark); border-radius: 12px; overflow: hidden;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.5);
}
.demo-topbar {
  padding: 12px 20px; background: var(--cream); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.demo-dots { display: flex; gap: 6px; }
.demo-dots span { width: 12px; height: 12px; border-radius: 50%; background: var(--border-dark); }
.demo-dots span:nth-child(1) { background: #FF5F57; }
.demo-dots span:nth-child(2) { background: #FEBC2E; }
.demo-dots span:nth-child(3) { background: #28C840; }
.demo-url {
  font-family: var(--font-mono); font-size: 12px; color: var(--muted);
  background: var(--white); padding: 5px 14px; border-radius: 4px; border: 1px solid var(--border);
}
.demo-body { padding: 52px 44px; min-height: 480px; }
.demo-progress { display: flex; gap: 4px; margin-bottom: 36px; }
.demo-progress span { flex: 1; height: 3px; background: var(--border); border-radius: 2px; transition: background 0.3s var(--ease); }
.demo-progress span.active { background: var(--gold); }
.demo-progress span.done { background: var(--navy-700); }
.demo-step-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.demo-step-title { font-family: var(--font-display); font-size: 32px; line-height: 1.1; margin-bottom: 14px; color: var(--navy-900); }
.demo-step-desc { color: var(--muted); max-width: 56ch; margin-bottom: 28px; line-height: 1.6; }
.demo-options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 28px; }
.demo-option {
  padding: 20px; background: var(--white); border: 1.5px solid var(--border);
  cursor: pointer; transition: all 0.2s var(--ease); text-align: left; border-radius: 6px;
}
.demo-option:hover { border-color: var(--gold); background: var(--gold-pale); }
.demo-option h4 { font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--navy-900); margin-bottom: 4px; }
.demo-option p { font-size: 13px; color: var(--muted); margin: 0; }
.demo-actions { display: flex; gap: 12px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--border); }
.demo-chat { background: var(--white); border: 1px solid var(--border); padding: 20px; border-radius: 6px; margin-bottom: 20px; }
.chat-msg { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.chat-msg .avatar {
  width: 30px; height: 30px; border-radius: 50%; background: var(--navy-900);
  color: var(--paper); font-family: var(--font-display); font-size: 13px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.chat-msg.user .avatar { background: var(--gold); }
.chat-bubble { background: var(--cream); padding: 10px 14px; border-radius: 6px; font-size: 14px; color: var(--navy-900); max-width: 80%; line-height: 1.5; }
.chat-msg.user .chat-bubble { background: var(--navy-900); color: var(--paper); }
.demo-upload {
  border: 2px dashed var(--border-dark); padding: 36px; text-align: center;
  border-radius: 6px; background: var(--white); margin-bottom: 20px;
}
.demo-upload .icon { font-size: 36px; color: var(--gold); margin-bottom: 10px; display: block; }
.demo-upload .hint { font-size: 12px; color: var(--muted); }
.demo-review { background: var(--white); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.review-row { padding: 14px 18px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--border); font-size: 14px; }
.review-row:last-child { border-bottom: none; }
.review-row.total { background: var(--navy-900); color: var(--paper); font-family: var(--font-display); font-size: 18px; }
.review-row.total .amount { color: var(--gold-light); }
.review-row .label { color: var(--muted); }
.review-row .amount { font-weight: 600; color: var(--navy-900); }
.demo-toggle { display: flex; align-items: center; justify-content: space-between; padding: 18px; background: var(--cream); border-radius: 6px; margin: 20px 0; }
.demo-toggle .txt h4 { font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.demo-toggle .txt p { font-size: 13px; color: var(--muted); margin: 0; }
.toggle-switch {
  width: 46px; height: 24px; background: var(--border-dark); border-radius: 12px;
  position: relative; cursor: pointer; transition: background 0.2s var(--ease); flex-shrink: 0;
}
.toggle-switch::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px;
  background: white; border-radius: 50%; transition: transform 0.2s var(--ease);
}
.toggle-switch.on { background: var(--gold); }
.toggle-switch.on::after { transform: translateX(22px); }
.success-mark {
  width: 72px; height: 72px; border-radius: 50%; background: var(--gold);
  color: white; font-size: 38px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; animation: popIn 0.5s var(--ease);
}
@keyframes popIn { 0% { transform: scale(0); opacity: 0; } 60% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } }
.success-block { text-align: center; padding: 16px 0; }
.success-block h3 { font-size: 32px; margin-bottom: 10px; }
.success-block p { color: var(--muted); max-width: 48ch; margin: 0 auto 28px; }
.confirmation-details {
  background: var(--cream); padding: 20px; border-radius: 6px;
  display: inline-block; text-align: left; font-family: var(--font-mono);
  font-size: 13px; line-height: 1.8; color: var(--navy-900);
}

@media (max-width: 700px) { .demo-body { padding: 32px 24px; } .demo-step-title { font-size: 26px; } .demo-options { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════
   LANGUAGE SWITCHER — dropdown only
   ═══════════════════════════════════════════════════════════════ */
.lang-switcher { position: relative; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; font-size: 12px; font-weight: 500;
  color: var(--navy-900); background: transparent; border: 1px solid var(--border);
  border-radius: 4px; cursor: pointer; transition: all 0.2s var(--ease);
  white-space: nowrap;
}
.lang-toggle:hover { border-color: var(--gold); color: var(--gold); }
.lang-toggle .globe { font-size: 14px; }
.lang-toggle .chev { font-size: 9px; transition: transform 0.2s var(--ease); }
.lang-switcher.open .lang-toggle .chev { transform: rotate(180deg); }

.lang-menu {
  position: absolute; top: calc(100% + 6px); right: 0; min-width: 190px;
  background: var(--white); border: 1px solid var(--border); border-radius: 6px;
  box-shadow: 0 16px 40px -10px rgba(15, 33, 57, 0.2);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all 0.2s var(--ease); z-index: 200; padding: 6px 0;
  max-height: 340px; overflow-y: auto;
}
.lang-switcher.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.lang-option {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 8px 14px; font-size: 14px; color: var(--navy-900);
  text-align: left; cursor: pointer; background: transparent; border: none;
  transition: background 0.15s var(--ease);
}
.lang-option:hover { background: var(--cream); }
.lang-option.active { color: var(--gold); background: var(--gold-pale); }
.lang-option .native { font-weight: 500; }
.lang-option .english { font-family: var(--font-mono); font-size: 10px; color: var(--subtle); letter-spacing: 0.06em; }

/* RTL */
[dir="rtl"] { direction: rtl; }
[dir="rtl"] body { font-family: 'Noto Sans Arabic', 'Source Sans 3', sans-serif; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { font-family: 'Noto Sans Arabic', 'Playfair Display', serif; letter-spacing: 0; }
[dir="rtl"] .eyebrow::before { margin-left: 10px; margin-right: 0; }
[dir="rtl"] .btn-arrow::after { content: "←"; }
[dir="rtl"] .btn-arrow:hover::after { transform: translateX(-4px); }
[dir="rtl"] .lang-menu { right: auto; left: 0; }
[dir="rtl"] .accent, [dir="rtl"] .italic { font-style: normal; }

[lang="zh"] body, [lang="zh"] h1, [lang="zh"] h2, [lang="zh"] h3 { font-family: 'Noto Sans SC', 'Source Sans 3', sans-serif; letter-spacing: 0; }
[lang="hi"] body, [lang="hi"] h1, [lang="hi"] h2, [lang="hi"] h3 { font-family: 'Noto Sans Devanagari', 'Source Sans 3', sans-serif; letter-spacing: 0; }
[lang="pa"] body, [lang="pa"] h1, [lang="pa"] h2, [lang="pa"] h3 { font-family: 'Noto Sans Gurmukhi', 'Source Sans 3', sans-serif; letter-spacing: 0; }
