/* ============================================================
   ConnexSoul — brand stylesheet
   Palette: Indigo Ink / Midnight Plum / Saffron / Warm Paper
   Type: Fraunces (display) · Plus Jakarta Sans (body) · Hind (Devanagari)
   ============================================================ */

/* ---------- Self-hosted fonts ---------- */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/fraunces-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/jakarta-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/jakarta-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hind';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/hind-devanagari-600.woff2') format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF;
}
@font-face {
  font-family: 'Hind';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/hind-devanagari-700.woff2') format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF;
}

/* ---------- Tokens ---------- */
:root {
  /* Hybrid palette — warm Indian core (light) + Electric Indigo (dark bands) */
  --cx-ink: #0F0B2E;          /* Deep Electric Indigo (near-black) */
  --cx-indigo: #221759;       /* Rich Electric Indigo — primary dark surface */
  --cx-indigo-soft: #2E1F73;  /* Elevated dark surface */
  --cx-electric: #635BFF;     /* Electric Indigo — AI-era accent for dark bands */
  --cx-electric-glow: #8B85FF;
  --cx-saffron: #F58A1F;      /* Flag saffron — warm anchor kept */
  --cx-saffron-deep: #D96C06;
  --cx-green: #128807;        /* India green kept for tricolor moments */
  --cx-paper: #FFFFFF;        /* White base */
  --cx-paper-deep: #F5F3FA;   /* Warm-neutral off-white */
  --cx-lilac: #EEEBF8;        /* Soft electric-indigo tint */
  --cx-text: #1C1642;         /* Ink-tinted charcoal */
  --cx-muted: #5B5478;        /* Muted indigo-grey */
  --cx-line: rgba(15, 11, 46, 0.13);
  --cx-line-light: rgba(255, 255, 255, 0.18);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cx-paper);
  color: var(--cx-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, address, blockquote, figure { margin: 0; }
img, svg { display: inline-block; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
::selection { background: var(--cx-saffron); color: var(--cx-ink); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--cx-saffron-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap { max-width: 1152px; margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 896px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: #fff; color: var(--cx-indigo); padding: 8px 16px; border-radius: 6px; font-weight: 700;
}
.skip-link:focus { left: 8px; }

/* ---------- Typography ---------- */
.display {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 72, 'SOFT' 60, 'WONK' 1;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.08;
  color: inherit;
}
.hindi { font-family: 'Hind', var(--font-body); }
.h-hero { font-size: 42px; line-height: 1.04; }
.h-xl { font-size: 32px; }
.h-lg { font-size: 30px; }
.h-md { font-size: 24px; }
@media (min-width: 768px) {
  .h-hero { font-size: 72px; }
  .h-xl { font-size: 44px; }
  .h-lg { font-size: 40px; }
  .h-md { font-size: 26px; }
}
.eyebrow {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.28em; margin-bottom: 20px; color: var(--cx-saffron-deep);
}
.eyebrow--light { color: var(--cx-saffron); }
.lead { font-size: 17px; line-height: 1.75; }
@media (min-width: 768px) { .lead { font-size: 19px; } }
.body-text { font-size: 16px; line-height: 1.85; }
@media (min-width: 768px) { .body-text { font-size: 17px; } }
.muted { color: var(--cx-muted); }
.on-dark-muted { color: rgba(255, 255, 255, 0.82); }
.measure { max-width: 42rem; }
.measure-wide { max-width: 48rem; }
.text-saffron { color: var(--cx-saffron); }
.text-saffron-deep { color: var(--cx-saffron-deep); }
.text-indigo { color: var(--cx-indigo); }
.center { text-align: center; }

/* ---------- Bands & sections ---------- */
.section { padding: 80px 0; }
.section--tight { padding: 64px 0; }
@media (min-width: 768px) {
  .section { padding: 112px 0; }
  .section--tight { padding: 80px 0; }
}
.band-indigo { background: var(--cx-indigo); color: var(--cx-paper); position: relative; overflow: hidden; }
.band-ink { background: var(--cx-ink); color: var(--cx-paper); }
.band-paper-deep { background: var(--cx-paper-deep); }
.band-hero {
  background: linear-gradient(160deg, #0F0B2E 0%, #221759 45%, #3F2FB8 82%, #4A3AB8 100%);
  color: var(--cx-paper); position: relative; overflow: hidden;
}
.band-hero .wrap, .band-indigo .wrap { position: relative; }
.divider-b { border-bottom: 1px solid var(--cx-line); }
.knot-ambient { position: absolute; pointer-events: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; font-size: 15px; font-weight: 600; border-radius: 9999px;
  transition: background-color 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
}
.btn-saffron { background: var(--cx-saffron); color: var(--cx-ink); }
.btn-saffron:hover { background: var(--cx-saffron-deep); }
.btn-ghost-light { border: 1.5px solid var(--cx-line-light); color: var(--cx-paper); }
.btn-ghost-light:hover { border-color: var(--cx-saffron); }
.btn-ghost-dark { border: 1.5px solid var(--cx-line); color: var(--cx-text); }
.btn-ghost-dark:hover { border-color: var(--cx-saffron); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-row--center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, #F58A1F 0 33.3%, #FFFFFF 33.3% 66.6%, #128807 66.6% 100%) 1;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cx-line);
}
.nav { height: 70px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-text {
  font-family: var(--font-display); font-weight: 600;
  font-size: 21px; letter-spacing: -0.01em; color: var(--cx-indigo);
}
.nav-links { display: none; align-items: center; gap: 32px; }
.nav-link {
  font-size: 14px; font-weight: 600; color: var(--cx-muted);
  padding-bottom: 3px; border-bottom: 2px solid transparent; transition: color 0.2s ease;
}
.nav-link:hover { color: var(--cx-indigo); }
.nav-link[aria-current='page'] { color: var(--cx-indigo); border-bottom-color: var(--cx-saffron); }
.nav-cta {
  font-size: 14px; font-weight: 700; padding: 10px 20px; border-radius: 9999px;
  background: var(--cx-indigo); color: var(--cx-paper); transition: background-color 0.2s ease;
}
.nav-cta:hover { background: var(--cx-ink); }
.nav-toggle { padding: 8px; margin-right: -8px; color: var(--cx-indigo); }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded='true'] .icon-open { display: none; }
.nav-toggle[aria-expanded='true'] .icon-close { display: inline; }
.nav-mobile {
  display: none; flex-direction: column; gap: 16px;
  border-top: 1px solid var(--cx-line);
  padding: 16px 20px 20px; background: var(--cx-paper);
}
.nav-mobile.open { display: flex; }
.nav-mobile a { font-size: 16px; font-weight: 600; color: var(--cx-text); }
.nav-mobile a[aria-current='page'] { color: var(--cx-saffron-deep); }
.nav-mobile .nav-cta { text-align: center; padding: 12px 20px; font-size: 15px; }
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-toggle, .nav-mobile { display: none !important; }
}

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 24px; }
@media (min-width: 768px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}
.split { display: grid; gap: 40px; }
@media (min-width: 768px) {
  .split { grid-template-columns: 5fr 7fr; gap: 56px; }
  .split--forms { grid-template-columns: 7fr 5fr; gap: 48px; }
}
.card {
  background: #fff; border: 1px solid var(--cx-line); border-radius: 16px;
  padding: 32px; transition: transform 0.3s ease;
}
.card--pad-lg { padding: 32px; }
@media (min-width: 768px) { .card--pad-lg { padding: 40px; } }
.card--lilac { background: var(--cx-lilac); }
.card--indigo { background: var(--cx-indigo); color: var(--cx-paper); border-color: transparent; }
.card--hover:hover { transform: translateY(-4px); }
.card--flex { display: flex; flex-direction: column; height: 100%; }
.card--flex .grow { flex: 1; }

/* ---------- Home: the shift ---------- */
.shift-grid { display: grid; gap: 1px; background: var(--cx-line); }
@media (min-width: 768px) { .shift-grid { grid-template-columns: repeat(3, 1fr); } }
.shift-cell { background: var(--cx-paper); padding: 40px 28px; }
.shift-from {
  font-size: 20px; font-weight: 500; color: var(--cx-muted);
  text-decoration: line-through; text-decoration-thickness: 2px;
  text-decoration-color: var(--cx-saffron);
}
.shift-to { font-family: var(--font-display); font-weight: 600; font-size: 26px; color: var(--cx-indigo); }
@media (min-width: 768px) {
  .shift-from { font-size: 22px; }
  .shift-to { font-size: 30px; }
}
.shift-arrow { margin: 12px 0; }

.pullquote {
  font-family: var(--font-display); font-weight: 500;
  font-size: 21px; line-height: 1.5; color: var(--cx-indigo);
  border-left: 3px solid var(--cx-saffron); padding-left: 24px; margin-top: 16px;
}
@media (min-width: 768px) { .pullquote { font-size: 24px; } }

.stack > * + * { margin-top: 24px; }
.stack--sm > * + * { margin-top: 16px; }

/* ---------- Commitments ledger ---------- */
.ledger { display: grid; gap: 1px; background: var(--cx-line); }
.ledger-row { background: var(--cx-paper); padding: 32px 8px; display: grid; gap: 12px; }
@media (min-width: 768px) {
  .ledger-row { grid-template-columns: 3fr 9fr; gap: 32px; padding: 32px 16px; }
}
.ledger-row h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--cx-saffron-deep); }
@media (min-width: 768px) { .ledger-row h3 { font-size: 24px; } }
.ledger-row p { font-size: 15px; line-height: 1.85; }
@media (min-width: 768px) { .ledger-row p { font-size: 16px; } }

/* ---------- Category badge ---------- */
.badge {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.24em; color: var(--cx-saffron-deep); margin-bottom: 16px; display: block;
}
.badge--footer { margin: 24px 0 0; color: var(--cx-indigo); letter-spacing: 0.16em; font-size: 13px; }

/* ---------- Pills ---------- */
.pill-list { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; }
.pill {
  padding: 10px 20px; border-radius: 9999px; font-size: 14px; font-weight: 600;
  background: #fff; border: 1px solid var(--cx-line); color: var(--cx-indigo);
}

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 20px; }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid .full { grid-column: 1 / -1; }
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 13px; font-weight: 700; color: var(--cx-indigo); }
.form-field input, .form-field textarea {
  font: inherit; font-size: 15px; padding: 12px 16px; border-radius: 12px;
  background: #fff; border: 1.5px solid var(--cx-line); color: var(--cx-text);
}
.form-field textarea { resize: vertical; }
.form-note { font-size: 13.5px; line-height: 1.6; color: var(--cx-muted); }
.form-status { display: none; }
.form-status.show { display: block; }

.subscribe-form { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; max-width: 32rem; margin-left: auto; margin-right: auto; }
@media (min-width: 640px) { .subscribe-form { flex-direction: row; } }
.subscribe-form input {
  flex: 1; font: inherit; font-size: 15px; padding: 14px 20px; border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1); border: 1.5px solid var(--cx-line-light); color: var(--cx-paper);
}
.subscribe-form input::placeholder { color: rgba(255, 255, 255, 0.55); }
.subscribe-form button {
  padding: 14px 28px; border-radius: 9999px; font-size: 15px; font-weight: 700;
  background: var(--cx-saffron); color: var(--cx-ink); transition: background-color 0.2s ease;
}
.subscribe-form button:hover { background: var(--cx-saffron-deep); }

/* ---------- FAQ (native details) ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--cx-line); border-radius: 16px; overflow: hidden; }
.faq details[open] { background: var(--cx-lilac); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; padding: 20px 24px;
  font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--cx-indigo);
}
@media (min-width: 768px) { .faq summary { padding: 20px 32px; font-size: 19px; } }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex-shrink: 0; transition: transform 0.25s ease; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .faq-a { padding: 0 24px 24px; font-size: 15px; line-height: 1.8; color: var(--cx-muted); }
@media (min-width: 768px) { .faq .faq-a { padding: 0 32px 24px; } }

/* ---------- Legal ---------- */
.legal-body h2 { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--cx-indigo); margin: 42px 0 14px; }
.legal-body h3 { font-size: 16px; font-weight: 700; color: var(--cx-indigo); margin: 24px 0 8px; }
.legal-body p { font-size: 15.5px; line-height: 1.85; margin: 0 0 14px; }
.legal-body ul { margin: 0 0 16px; padding-left: 22px; }
.legal-body li { font-size: 15.5px; line-height: 1.8; margin-bottom: 7px; }
.legal-body a { color: var(--cx-saffron-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--cx-ink); color: var(--cx-paper); }
.footer-grid { display: grid; gap: 40px; padding: 64px 0 0; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 5fr 2fr 2fr 3fr; } }
.footer-heading { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.24em; color: var(--cx-saffron); margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-links a, .footer-address a { color: rgba(255, 255, 255, 0.82); }
.footer-links a:hover, .footer-address a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-address { font-style: normal; font-size: 14px; line-height: 1.65; color: rgba(255, 255, 255, 0.82); }
.footer-tagline { font-family: 'Hind', var(--font-body); font-weight: 600; font-size: 22px; color: var(--cx-saffron); margin: 20px 0 12px; }
.footer-desc { font-size: 14px; line-height: 1.65; max-width: 24rem; color: rgba(255, 255, 255, 0.66); }
.footer-bottom {
  margin-top: 56px; padding: 28px 0 56px; border-top: 1px solid var(--cx-line-light);
  display: flex; flex-direction: column; gap: 12px; font-size: 13px; color: rgba(255, 255, 255, 0.5);
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------- Motion ---------- */
.cx-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.cx-reveal.is-in { opacity: 1; transform: none; }
@keyframes cx-drift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(3deg); }
}
.cx-drift { animation: cx-drift 9s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cx-reveal { opacity: 1; transform: none; transition: none; }
  .cx-drift { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Utility spacing ---------- */
.mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; }
.mt-7 { margin-top: 28px; } .mt-9 { margin-top: 36px; } .mt-10 { margin-top: 40px; }
.mt-12 { margin-top: 48px; } .mt-14 { margin-top: 56px; } .mt-16 { margin-top: 64px; }
.mb-4 { margin-bottom: 16px; } .mb-5 { margin-bottom: 20px; } .mb-6 { margin-bottom: 24px; }
.mb-9 { margin-bottom: 36px; } .mb-10 { margin-bottom: 40px; } .mb-12 { margin-bottom: 48px; } .mb-14 { margin-bottom: 56px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Store pills & tricolor ---------- */
.store-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.store-pill {
  display: inline-flex; align-items: center; gap: 12px; text-align: left;
  padding: 12px 22px; border-radius: 14px; border: 1.5px solid var(--cx-line-light);
  color: var(--cx-paper); background: rgba(255, 255, 255, 0.06);
}
.store-pill small { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; opacity: 0.7; }
.store-pill strong { font-size: 16px; font-weight: 700; }
.tricolor {
  width: 96px; height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, #F58A1F 0 33.3%, #FFFFFF 33.3% 66.6%, #128807 66.6% 100%);
  border: 1px solid var(--cx-line);
}

/* ============================================================
   Refinement pass — typography, motion, premium cards
   ============================================================ */

/* ---------- Typography refinement ---------- */
body { font-size: 16.5px; font-kerning: normal; }
.display {
  letter-spacing: -0.015em;
  font-optical-sizing: auto;
  text-wrap: balance;
  font-feature-settings: 'kern' 1, 'liga' 1;
}
p { text-wrap: pretty; }
.h-hero { font-size: clamp(42px, 7.2vw, 74px); line-height: 1.03; }
.h-xl { font-size: clamp(31px, 4.6vw, 46px); line-height: 1.1; }
.h-lg { font-size: clamp(29px, 4vw, 40px); line-height: 1.12; }
.h-md { font-size: clamp(23px, 2.6vw, 26px); }
.eyebrow { font-size: 11.5px; letter-spacing: 0.3em; }
.lead { line-height: 1.72; }
.body-text { line-height: 1.82; }
.pullquote { letter-spacing: -0.01em; }

/* ---------- Premium cards ---------- */
.card {
  position: relative;
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(16, 26, 60, 0.05), 0 10px 28px rgba(16, 26, 60, 0.07);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.2, 0.7, 0.3, 1),
              border-color 0.3s ease;
}
.card--hover::after {
  content: "";
  position: absolute;
  top: 0; left: 9%; right: 9%; height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--cx-saffron), var(--cx-saffron-deep));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.card--hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 3px 6px rgba(16, 26, 60, 0.06), 0 20px 44px rgba(16, 26, 60, 0.15);
  border-color: rgba(245, 138, 31, 0.55);
}
.card--hover:hover::after { transform: scaleX(1); }

/* ---------- Subtle motion ---------- */
.photo { transition: box-shadow 0.4s ease; }
.photo img { transition: transform 0.65s cubic-bezier(0.2, 0.7, 0.3, 1); }
.photo:hover { box-shadow: 0 16px 40px rgba(16, 26, 60, 0.2); }
.photo:hover img { transform: scale(1.035); }
.btn svg { transition: transform 0.25s ease; }
.btn:hover svg { transform: translateX(4px); }
.pill { transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease; }
.pill:hover { border-color: var(--cx-saffron); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(16, 26, 60, 0.1); }
.nav-link { transition: color 0.2s ease, border-bottom-color 0.25s ease; }
.faq details, .faq summary svg { transition: background-color 0.3s ease, transform 0.25s ease; }
.store-pill { transition: border-color 0.25s ease, background-color 0.25s ease; }
.store-pill:hover { border-color: var(--cx-saffron); background: rgba(255, 255, 255, 0.1); }

@media (prefers-reduced-motion: reduce) {
  .card--hover:hover, .pill:hover, .photo:hover img, .btn:hover svg { transform: none; }
  .card--hover::after { transition: none; }
}

/* ============================================================
   GenZ / premium motion pass
   ============================================================ */

/* ---------- Subtle film grain (premium texture) ---------- */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
.site-header, main, footer { position: relative; z-index: 2; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 70;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--cx-saffron), #FFB25E);
  box-shadow: 0 0 12px rgba(245, 138, 31, 0.55);
}

/* ---------- Hero: gradient orbs + entrance ---------- */
.orb {
  position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(70px); opacity: 0.5;
}
.orb--a {
  width: 420px; height: 420px; left: -120px; top: -140px;
  background: radial-gradient(circle at 30% 30%, #635BFF, transparent 65%);
  animation: orbFloat 14s ease-in-out infinite;
}
.orb--b {
  width: 360px; height: 360px; right: 6%; bottom: -160px;
  background: radial-gradient(circle at 60% 40%, rgba(245, 138, 31, 0.65), transparent 65%);
  animation: orbFloat 18s ease-in-out infinite reverse;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -26px) scale(1.08); }
}
.band-hero .cx-reveal { transform: translateY(34px); transition-duration: 0.9s; }

/* ---------- Gradient headline text ---------- */
.grad-text {
  background: linear-gradient(90deg, #F58A1F 0%, #FFC46B 30%, #8B85FF 65%, #635BFF 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 7s ease-in-out infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ---------- Marquee ticker ---------- */
.marquee {
  overflow: hidden;
  background: var(--cx-ink);
  border-bottom: 1px solid var(--cx-line-light);
  padding: 14px 0;
}
.marquee-track {
  display: flex; align-items: center; gap: 34px; width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display); font-size: 16px; font-weight: 600;
  color: rgba(255, 255, 255, 0.85); white-space: nowrap; letter-spacing: 0.01em;
}
.marquee-track .mq-dot { color: var(--cx-saffron); font-size: 13px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Glass cards on dark bands ---------- */
.band-indigo .card, .band-ink .card {
  background: rgba(139, 133, 255, 0.06) !important;
  border: 1px solid rgba(139, 133, 255, 0.22) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ---------- Button gradient + shine sweep ---------- */
.btn { position: relative; overflow: hidden; }
.btn-saffron { background: linear-gradient(135deg, #F58A1F 0%, #FFA648 100%); }
.btn-saffron:hover { background: linear-gradient(135deg, #E07A10 0%, #F58A1F 100%); }
.btn::before {
  content: "";
  position: absolute; top: 0; bottom: 0; width: 44%;
  left: -60%; transform: skewX(-22deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transition: left 0.55s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.btn:hover::before { left: 130%; }

/* ---------- Custom scrollbar ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--cx-paper-deep); }
::-webkit-scrollbar-thumb { background: #C5CBDA; border-radius: 6px; border: 2px solid var(--cx-paper-deep); }
::-webkit-scrollbar-thumb:hover { background: var(--cx-electric); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .orb, .grad-text, .marquee-track { animation: none; }
  .btn::before { display: none; }
  .band-hero .cx-reveal { transform: none; }
}

/* ============================================================
   Announcement bar, live tag, step numbers, WA widget spacing
   ============================================================ */

/* ---------- Announcement bar ---------- */
.announce {
  position: relative;
  z-index: 55;
  background: linear-gradient(90deg, #F58A1F 0%, #FFB25E 50%, #F58A1F 100%);
  background-size: 220% 100%;
  color: #171233;
  border-bottom: 1px solid rgba(16, 26, 60, 0.15);
}
.announce.hidden { display: none !important; }

.announce-inner {
  position: relative;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.announce-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 10px 0;
  color: #171233;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  text-align: center;
}
.announce-link:hover { color: #171233; }
.announce-link:hover .announce-cta { text-decoration: underline; }

.announce-pulse {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #128807;
  box-shadow: 0 0 0 0 rgba(18, 136, 7, 0.7);
  animation: announcePulse 2s ease-in-out infinite;
}

.announce-txt { display: inline; }
.announce-txt strong { font-weight: 800; }
.announce-cta {
  display: inline-block;
  font-weight: 800;
  white-space: nowrap;
  margin-left: 6px;
}

.announce-close {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #171233;
  font-size: 22px;
  line-height: 1;
  font-weight: 400;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease, background-color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.announce-close:hover { opacity: 1; background: rgba(16, 26, 60, 0.1); }

@media (min-width: 700px) {
  .announce { animation: announceShimmer 8s ease-in-out infinite; }
}

@keyframes announceShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes announcePulse {
  0% { box-shadow: 0 0 0 0 rgba(18, 136, 7, 0.65); }
  70% { box-shadow: 0 0 0 10px rgba(18, 136, 7, 0); }
  100% { box-shadow: 0 0 0 0 rgba(18, 136, 7, 0); }
}

@media (max-width: 640px) {
  .announce-inner { padding: 0 44px 0 16px; }
  .announce-link { font-size: 13px; gap: 8px; padding: 8px 0; }
  .announce-sep { display: none; }
  .announce-sub { display: block; width: 100%; font-weight: 500; opacity: 0.85; }
  .announce-cta { margin-left: 0; margin-top: 2px; width: 100%; }
}

/* Live "applications open" tag on the ambassador hero */
.live-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 9999px;
  background: rgba(139, 133, 255, 0.14);
  border: 1px solid rgba(139, 133, 255, 0.55);
  color: var(--cx-electric-glow);
  box-shadow: 0 0 24px rgba(99, 91, 255, 0.28) inset;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cx-electric-glow);
  box-shadow: 0 0 0 0 rgba(139, 133, 255, 0.8);
  animation: announcePulse 1.6s ease-in-out infinite;
}

/* Numbered step cards */
.step-num {
  font-family: var(--font-display);
  font-size: 48px; font-weight: 700; line-height: 1;
  background: linear-gradient(135deg, #635BFF 0%, #8B85FF 60%, #F58A1F 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -0.03em;
}

/* Keep the WhatsApp widget from colliding with the site footer */
body { padding-bottom: env(safe-area-inset-bottom); }
@media (max-width: 768px) {
  .site-footer .footer-bottom { padding-bottom: 88px; }
}

/* ============================================================
   Google Form iframe embed (ambassador application)
   ============================================================ */
.gform-frame {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--cx-line);
  border-radius: 22px;
  padding: 8px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 11, 46, 0.05), 0 24px 60px rgba(15, 11, 46, 0.08);
}
.gform-frame iframe {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 16px;
  min-height: 1800px;
}
@media (max-width: 640px) {
  .gform-frame { padding: 4px; border-radius: 18px; }
  .gform-frame iframe { min-height: 2400px; border-radius: 14px; }
}

/* ============================================================
   Blog article page + post list on /blog/
   ============================================================ */
.post-crumbs {
  font-size: 13px; color: rgba(255, 255, 255, 0.7);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  letter-spacing: 0.02em;
}
.post-crumbs a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 1px;
}
.post-crumbs a:hover { color: var(--cx-saffron); border-bottom-color: var(--cx-saffron); }
.post-crumb-sep { color: rgba(255, 255, 255, 0.35); }

.post-header .eyebrow--light { margin-top: 24px; margin-bottom: 12px; }
.post-meta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: 14px; color: rgba(255, 255, 255, 0.7);
}
.post-meta-dot { color: rgba(255, 255, 255, 0.35); }
.post-meta time { color: rgba(255, 255, 255, 0.85); }

.post-body {
  max-width: 40rem; margin: 0 auto;
  padding: 72px 0 40px;
  font-size: 18px; line-height: 1.78; color: var(--cx-text);
}
.post-body p { margin: 0 0 22px; text-wrap: pretty; }
.post-body h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 30px; line-height: 1.2; color: var(--cx-indigo);
  margin: 48px 0 18px; letter-spacing: -0.01em;
}
.post-body h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 22px; line-height: 1.3; color: var(--cx-indigo);
  margin: 36px 0 14px;
}
.post-body ul { margin: 0 0 22px; padding-left: 22px; }
.post-body li { margin-bottom: 10px; line-height: 1.75; }
.post-body blockquote {
  margin: 32px 0; padding: 18px 24px;
  border-left: 3px solid var(--cx-saffron);
  background: var(--cx-lilac);
  border-radius: 0 12px 12px 0;
  font-family: var(--font-display); font-size: 20px; line-height: 1.55;
  color: var(--cx-indigo); font-style: normal;
}
.post-body strong { font-weight: 700; color: var(--cx-indigo); }
.post-body a { color: var(--cx-saffron-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.post-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  max-width: 40rem; margin: 0 auto;
  padding-top: 32px; border-top: 1px solid var(--cx-line);
}
.post-nav-item {
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px 20px; border-radius: 14px;
  background: #FFFFFF; border: 1px solid var(--cx-line);
  text-decoration: none; color: var(--cx-text);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.post-nav-item:hover {
  border-color: var(--cx-electric);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 11, 46, 0.08);
}
.post-nav-item--right { text-align: right; }
.post-nav-dir { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cx-saffron-deep); }
.post-nav-title { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--cx-indigo); line-height: 1.35; }

/* Post list (inside category card on /blog/) */
.post-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.post-list li { margin: 0; }
.post-list-link {
  display: block; padding: 12px 14px; margin: 0 -14px;
  border-radius: 10px; text-decoration: none;
  transition: background-color 0.2s ease;
}
.post-list-link:hover { background: rgba(99, 91, 255, 0.06); }
.post-list-title {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: 15.5px; color: var(--cx-indigo); line-height: 1.35; margin-bottom: 4px;
}
.post-list-excerpt { display: block; font-size: 13px; line-height: 1.6; color: var(--cx-muted); }

@media (max-width: 640px) {
  .post-body { padding: 48px 0 32px; font-size: 17px; }
  .post-body h2 { font-size: 25px; }
  .post-body blockquote { font-size: 18px; padding: 14px 18px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-item--right { text-align: left; }
}
