/* NTX Apostille — site-wide design system
 * Modern light fintech aesthetic. Navy + gold palette.
 * Used by all interior pages and shared partials.
 */

/* ----------------------------------------------------- */
/* Font imports                                           */
/* ----------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Onest:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&family=Noto+Sans+Devanagari:wght@500&family=Noto+Nastaliq+Urdu:wght@500&family=Noto+Sans+Gurmukhi:wght@500&display=swap');

/* ----------------------------------------------------- */
/* Tokens                                                 */
/* ----------------------------------------------------- */
:root {
  --bg:           #FFFFFF;
  --bg-soft:      #F7F8FB;
  --bg-tint:      #F1F4FA;
  --surface:      #FFFFFF;
  --line:         #E8ECF2;
  --line-hi:      #D8DEE8;
  --ink:          #0D1B33;
  --ink-2:        #1B2C4F;
  --text:         #2A3551;
  --text-mute:    #5E6A82;
  --text-dim:     #94A0B6;
  --gold:         #B8860B;
  --gold-hi:      #9c7409;
  --gold-soft:    #FCD34D;
  --gold-tint:    #FDF8E8;
  --green:        #16A34A;
  --font:         'Onest', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --mono:         'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-hindi:   'Noto Sans Devanagari', var(--font);
  --font-urdu:    'Noto Nastaliq Urdu', var(--font);
  --font-punjabi: 'Noto Sans Gurmukhi', var(--font);
  --shadow-sm:    0 1px 2px rgba(13,27,51,0.06), 0 1px 3px rgba(13,27,51,0.04);
  --shadow-md:    0 4px 14px -2px rgba(13,27,51,0.08), 0 2px 6px rgba(13,27,51,0.04);
  --shadow-lg:    0 18px 40px -12px rgba(13,27,51,0.18), 0 6px 12px rgba(13,27,51,0.06);
  --shadow-xl:    0 30px 60px -20px rgba(13,27,51,0.22), 0 10px 20px rgba(13,27,51,0.08);
}

/* ----------------------------------------------------- */
/* Base                                                   */
/* ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { background: var(--bg); color: var(--text); }
body {
  font-family: var(--font);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}
::selection { background: var(--gold); color: white; }
html { scroll-behavior: smooth; }

/* Language utility classes (used on native script spans) */
.font-hindi    { font-family: var(--font-hindi); }
.font-urdu     { font-family: var(--font-urdu); }
.font-punjabi  { font-family: var(--font-punjabi); }
[dir="rtl"]    { text-align: right; }

/* ----------------------------------------------------- */
/* Layout                                                 */
/* ----------------------------------------------------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container { padding: 0 40px; } }

.section-pad { padding: 56px 0; }
@media (min-width: 768px) { .section-pad { padding: 88px 0; } }

/* Collapse padding when consecutive .section-pad sections stack (prevents big gaps) */
.section-pad + .section-pad,
.section-pad + .band-soft.section-pad,
.band-soft.section-pad + .section-pad,
.band-soft.section-pad + .band-soft.section-pad { padding-top: 0; }

/* ----------------------------------------------------- */
/* Utility colors                                         */
/* ----------------------------------------------------- */
.ink         { color: var(--ink); }
.mute        { color: var(--text-mute); }
.dim         { color: var(--text-dim); }
.gold        { color: var(--gold); }
.mono        { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ----------------------------------------------------- */
/* Typography                                             */
/* ----------------------------------------------------- */
h1, h2, h3, h4 {
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.08;
  font-weight: 700;
  margin: 0;
}
h1 { font-size: clamp(2.4rem, 5.8vw, 4.4rem); letter-spacing: -0.028em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.35rem; line-height: 1.2; font-weight: 600; }
h4 { font-size: 1.05rem; line-height: 1.25; font-weight: 600; }

/* Eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--gold);
  padding: 6px 12px; border-radius: 999px;
  background: var(--gold-tint);
  border: 1px solid rgba(184,134,11,0.18);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
}

/* Eyebrow on dark backgrounds */
.eyebrow-on-dark {
  background: rgba(184,134,11,0.14);
  border-color: rgba(252,211,77,0.35);
  color: var(--gold-soft);
}
.eyebrow-on-dark::before { background: var(--gold-soft); }

/* ----------------------------------------------------- */
/* Buttons                                                */
/* ----------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 10px;
  font-family: var(--font);
  font-weight: 600; font-size: 15px; letter-spacing: -0.005em;
  line-height: 1;
  transition: all .22s ease;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary { background: var(--ink); color: white; }
.btn-primary:hover { background: var(--ink-2); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-gold { background: var(--gold); color: white; }
.btn-gold:hover { background: var(--gold-hi); transform: translateY(-1px); box-shadow: 0 8px 24px -6px rgba(184,134,11,0.45); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-hi); }
.btn-ghost:hover { background: var(--bg-soft); border-color: var(--ink-2); transform: translateY(-1px); }
.btn-on-dark {
  background: rgba(255,255,255,0.10); color: white;
  border: 1px solid rgba(255,255,255,0.18);
}
.btn-on-dark:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.32); transform: translateY(-1px); }
.btn .arr { transition: transform .22s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* WhatsApp pill */
.wa {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; background: #25D366; color: white; border-radius: 999px;
  font-size: 12px; font-weight: 600;
  transition: all .25s ease;
  text-decoration: none;
}
.wa:hover { background: #1da955; transform: translateY(-1px); }
.wa-lg { padding: 14px 22px; font-size: 14px; gap: 8px; }

/* ----------------------------------------------------- */
/* Card                                                   */
/* ----------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line-hi);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all .3s ease;
  text-decoration: none;
  display: block;
  color: inherit;
}
.card:hover {
  border-color: var(--ink-2);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.card-tint {
  background: linear-gradient(180deg, #FFFFFF 0%, #F7F8FB 100%);
}
.card-dark {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}
.card-dark h1, .card-dark h2, .card-dark h3, .card-dark h4 { color: white; }

/* Stat icon (gold-tinted square) */
.stat-ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--gold-tint); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Step number badge */
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--ink); color: white;
  font-family: var(--mono); font-size: 14px; font-weight: 600;
}
.step-num-gold { background: var(--gold); color: white; }

/* ----------------------------------------------------- */
/* Hero patterns                                          */
/* ----------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 80px;
}
@media (min-width: 768px) {
  .hero { padding: 96px 0 112px; }
}
.hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle at 50% 50%, rgba(184,134,11,0.10), transparent 65%);
  top: -240px; right: -200px;
  z-index: 0;
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  width: 480px; height: 480px;
  background: radial-gradient(circle at 50% 50%, rgba(27,44,79,0.05), transparent 65%);
  bottom: -140px; left: -140px;
  z-index: 0;
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }

/* Dark CTA band */
.band-dark {
  position: relative; overflow: hidden;
  background: var(--ink);
  color: white;
  padding: 72px 0;
}
@media (min-width: 768px) { .band-dark { padding: 96px 0; } }
.band-dark::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(900px 500px at 70% 50%, rgba(184,134,11,0.15), transparent 60%);
}
.band-dark > .container { position: relative; z-index: 1; }

/* Soft band (light gray) */
.band-soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ----------------------------------------------------- */
/* Nav                                                    */
/* ----------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-link {
  font-size: 14px; font-weight: 500; color: var(--text);
  transition: color .2s ease;
  text-decoration: none;
}
.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--ink); }

/* Mobile menu panel */
.nav-mobile {
  border-top: 1px solid var(--line);
  background: var(--bg);
}

/* ----------------------------------------------------- */
/* Animations                                             */
/* ----------------------------------------------------- */
.anim { opacity: 0; animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.a1 { animation-delay: .05s; } .a2 { animation-delay: .15s; }
.a3 { animation-delay: .25s; } .a4 { animation-delay: .35s; }
.a5 { animation-delay: .45s; } .a6 { animation-delay: .55s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .anim, .reveal { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* ----------------------------------------------------- */
/* Misc                                                   */
/* ----------------------------------------------------- */
[x-cloak] { display: none !important; }

/* Trust strip stat cell */
.trust-cell .lbl { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); }
.trust-cell .num { font-size: 28px; font-weight: 700; color: var(--ink); margin-top: 4px; letter-spacing: -0.02em; }
.trust-cell .sub { font-size: 13px; color: var(--text-mute); margin-top: 2px; }

/* Compliance band */
.compliance-band {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}
