/* ============================================================
   GLN Choice Filling Support Center — Premium Theme
   Ink navy + warm gold accent, editorial education aesthetic
   ============================================================ */

:root {
  --ink:        #0e1b33;
  --ink-2:      #16284a;
  --ink-soft:   #243a63;
  --paper:      #f6f3ec;
  --paper-2:    #fffdf8;
  --gold:       #c8962a;
  --gold-2:     #e0b552;
  --gold-soft:  #f4e7c6;
  --eng:        #2f6fed;
  --med:        #18a07a;
  --ayu:        #d9772a;
  --line:       #e4ddcf;
  --text:       #1c2536;
  --muted:      #5c667a;
  --white:      #ffffff;
  --radius:     18px;
  --shadow-sm:  0 4px 16px rgba(14,27,51,.06);
  --shadow:     0 18px 50px rgba(14,27,51,.12);
  --shadow-lg:  0 30px 80px rgba(14,27,51,.20);
  --serif:      "Fraunces", "Noto Sans Devanagari", Georgia, serif;
  --sans:       "Manrope", "Noto Sans Devanagari", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4 { font-family: var(--serif); letter-spacing: -.02em; }
::selection { background: var(--gold); color: #fff; }

/* ---------- Buttons ---------- */
.btn { font-family: var(--sans); font-weight: 700; border-radius: 999px; padding: .7rem 1.4rem; transition: .25s; border: none; }
.btn-lg { padding: .95rem 1.9rem; font-size: 1.02rem; }
.btn i { vertical-align: -1px; }

.btn-gln-primary { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #2a1d05; box-shadow: 0 10px 26px rgba(200,150,42,.35); }
.btn-gln-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(200,150,42,.45); color: #2a1d05; }

.btn-gln-dark { background: var(--ink); color: #fff; }
.btn-gln-dark:hover { background: var(--ink-2); color: #fff; transform: translateY(-2px); }

.btn-gln-wa { background: #1faf54; color: #fff; box-shadow: 0 10px 26px rgba(31,175,84,.3); }
.btn-gln-wa:hover { background: #18994a; color: #fff; transform: translateY(-2px); }

.btn-gln-outline { background: transparent; color: var(--ink); border: 1.6px solid var(--ink); }
.btn-gln-outline:hover { background: var(--ink); color: #fff; }

.btn-gln-ghost { background: transparent; color: var(--muted); border: 1.6px solid var(--line); }
.btn-gln-ghost:hover { background: #fff; color: var(--ink); border-color: var(--ink); }

/* ---------- Navbar ---------- */
.gln-nav { background: rgba(246,243,236,.82); backdrop-filter: blur(14px); padding: .7rem 0; transition: .3s; border-bottom: 1px solid transparent; }
.gln-nav.scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--line); padding: .45rem 0; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; background: var(--ink); color: var(--gold-2); font-family: var(--serif); font-weight: 900; border-radius: 12px; font-size: 1.05rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 1.02rem; color: var(--ink); font-family: var(--serif); }
.brand-text small { font-size: .68rem; color: var(--muted); letter-spacing: .02em; }
.gln-nav .nav-link { color: var(--ink); font-weight: 600; font-size: .95rem; padding: .5rem .9rem; border-radius: 999px; }
.gln-nav .nav-link:hover, .gln-nav .nav-link.active { color: var(--gold); }
.navbar-toggler { border: none; font-size: 1.5rem; color: var(--ink); }
.navbar-toggler:focus { box-shadow: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 9.5rem 0 0; background: radial-gradient(1200px 600px at 80% -10%, #fbf6ea 0%, var(--paper) 55%); overflow: hidden; }
.hero-glow { position: absolute; top: -180px; right: -120px; width: 560px; height: 560px; background: radial-gradient(circle, rgba(200,150,42,.22), transparent 65%); filter: blur(20px); z-index: 0; }
.hero .container { position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: .4rem; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: .8rem; padding: .45rem 1rem; border-radius: 999px; box-shadow: var(--shadow-sm); }
.eyebrow i { color: var(--gold); }
.hero-title { font-size: clamp(2.1rem, 4.5vw, 3.55rem); line-height: 1.08; font-weight: 600; color: var(--ink); margin: 1.3rem 0; }
.hero-title em { font-style: italic; color: var(--gold); font-weight: 500; }
.hero-sub { font-size: 1.15rem; color: var(--muted); max-width: 560px; line-height: 1.6; }
.hero-sub strong { color: var(--ink); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 2rem; }
.trust-line { display: flex; align-items: center; gap: .9rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.trust-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--gold-2); display: grid; place-items: center; font-family: var(--serif); font-weight: 800; }
.trust-line strong { display: block; color: var(--ink); }
.trust-line span { font-size: .85rem; color: var(--muted); }

.hero-card { background: var(--ink); border-radius: 24px; padding: 1.8rem; color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.hero-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 200px at 100% 0%, rgba(224,181,82,.18), transparent 60%); }
.hero-card-head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; position: relative; }
.hero-card-head span:first-child i { color: var(--gold-2); margin-right: .4rem; }
.badge-live { background: rgba(224,181,82,.2); color: var(--gold-2); font-size: .68rem; padding: .25rem .6rem; border-radius: 999px; font-weight: 700; }
.hero-checklist { list-style: none; padding: 0; margin: 1.4rem 0; position: relative; }
.hero-checklist li { display: flex; align-items: center; gap: .7rem; padding: .55rem 0; border-bottom: 1px dashed rgba(255,255,255,.1); font-weight: 500; }
.hero-checklist li i { color: var(--gold-2); }
.hero-card-foot { font-size: .82rem; color: rgba(255,255,255,.6); position: relative; }
.hero-card-foot i { color: var(--gold-2); }

/* marquee */
.hero-marquee { margin-top: 4rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-2); overflow: hidden; padding: .9rem 0; }
.marquee-track { display: flex; gap: 2.4rem; white-space: nowrap; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { font-weight: 700; color: var(--ink-soft); font-size: .9rem; opacity: .55; position: relative; }
.marquee-track span::after { content: "·"; position: absolute; right: -1.4rem; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section base ---------- */
.section { padding: 5.5rem 0; }
.section-tag { display: inline-block; font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: .8rem; }
.section-tag.light { color: var(--gold-2); }
.section-title { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 600; color: var(--ink); line-height: 1.15; }
.lead-text { font-size: 1.12rem; line-height: 1.65; color: var(--text); margin: 1.2rem 0; }
.muted-text { color: var(--muted); line-height: 1.65; }
.link-arrow { font-weight: 700; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; margin-top: .6rem; }
.link-arrow:hover { color: var(--gold); }
.link-arrow i { transition: .25s; }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Pain section ---------- */
.pain-section { background: var(--paper-2); }
.factor-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.factor-card h3 { font-size: 1.35rem; color: var(--ink); margin-bottom: .6rem; }
.factor-card > p { color: var(--muted); }
.factor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem 1rem; margin: 1.2rem 0; }
.factor-grid span { display: flex; align-items: center; font-weight: 600; font-size: .92rem; color: var(--text); }
.factor-grid i { color: var(--gold); font-size: 1.3rem; }
.strong-quote { font-family: var(--serif); font-style: italic; font-size: 1.08rem; color: var(--ink); border-left: 3px solid var(--gold); padding-left: 1rem; margin-top: 1rem; }

/* ---------- Mistakes ---------- */
.mistakes-section { background: var(--ink); color: #fff; }
.mistakes-section .section-tag { color: var(--gold-2); }
.mistakes-section .section-title { color: #fff; }
.mistake-card { background: var(--ink-2); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 1.3rem; height: 100%; display: flex; gap: .9rem; align-items: flex-start; transition: .25s; }
.mistake-card:hover { transform: translateY(-4px); border-color: var(--gold); background: var(--ink-soft); }
.mistake-card i { color: var(--gold-2); font-size: 1.3rem; flex-shrink: 0; }
.mistake-card p { margin: 0; color: rgba(255,255,255,.85); font-size: .96rem; font-weight: 500; }

/* ---------- Verticals ---------- */
.verticals-section { background: var(--paper); }
.vertical-block { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.4rem; margin-bottom: 1.5rem; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; scroll-margin-top: 90px; }
.vertical-block::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; }
.vertical-block.eng::before { background: var(--eng); }
.vertical-block.med::before { background: var(--med); }
.vertical-block.ayu::before { background: var(--ayu); }
.vertical-head { display: flex; gap: 1.1rem; margin-bottom: 1.4rem; }
.v-icon { flex-shrink: 0; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; color: #fff; }
.eng .v-icon { background: var(--eng); }
.med .v-icon { background: var(--med); }
.ayu .v-icon { background: var(--ayu); }
.vertical-head h3 { font-size: 1.5rem; color: var(--ink); margin-bottom: .4rem; }
.vertical-head p { color: var(--muted); margin: 0; line-height: 1.55; }
.chip-wrap { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-wrap span { background: var(--paper); border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .85rem; padding: .45rem .9rem; border-radius: 999px; transition: .2s; }
.eng .chip-wrap span:hover { border-color: var(--eng); color: var(--eng); }
.med .chip-wrap span:hover { border-color: var(--med); color: var(--med); }
.ayu .chip-wrap span:hover { border-color: var(--ayu); color: var(--ayu); }

/* ---------- Process ---------- */
.process-section { background: var(--paper-2); }
.step-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.6rem; height: 100%; box-shadow: var(--shadow-sm); transition: .3s; position: relative; }
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-no { font-family: var(--serif); font-size: 2.6rem; font-weight: 900; color: var(--gold-soft); line-height: 1; display: block; margin-bottom: .6rem; }
.step-card:hover .step-no { color: var(--gold); }
.step-card h4 { font-size: 1.18rem; color: var(--ink); margin-bottom: .5rem; }
.step-card p { color: var(--muted); margin: 0; font-size: .94rem; line-height: 1.55; }

/* ---------- FORM ---------- */
.form-section { background: var(--ink); position: relative; }
.form-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 400px at 50% 0%, rgba(224,181,82,.1), transparent 60%); }
.form-section .container { position: relative; }
.form-intro { color: rgba(255,255,255,.7); max-width: 560px; margin: .6rem auto 0; }
.form-shell { background: var(--paper-2); border-radius: 26px; padding: 2.6rem; max-width: 920px; margin: 2rem auto 0; box-shadow: var(--shadow-lg); }

.form-progress { display: flex; align-items: center; justify-content: center; margin-bottom: 2.4rem; }
.fp-step { display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.fp-step span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); color: var(--muted); font-weight: 800; transition: .3s; }
.fp-step label { font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.fp-step.active span, .fp-step.done span { background: var(--gold); border-color: var(--gold); color: #2a1d05; }
.fp-step.active label, .fp-step.done label { color: var(--ink); }
.fp-step.done span::after { content: "\F26E"; font-family: "bootstrap-icons"; }
.fp-step.done span { font-size: 0; }
.fp-line { flex: 1; max-width: 70px; height: 2px; background: var(--line); margin: 0 .3rem; margin-bottom: 1.4rem; }

.step-heading { font-size: 1.5rem; color: var(--ink); margin-bottom: 1.4rem; }
.form-label { font-weight: 700; font-size: .86rem; color: var(--ink); margin-bottom: .35rem; }
.group-label { font-size: 1rem; color: var(--ink); }
.form-control, .form-select { border: 1.5px solid var(--line); border-radius: 12px; padding: .7rem .9rem; font-size: .95rem; background: #fff; }
.form-control:focus, .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,150,42,.15); }
textarea.form-control { resize: vertical; }
.form-control.is-invalid, .form-select.is-invalid { border-color: #dc3545; }

/* vertical choice tiles */
.choice-tile { display: flex; flex-direction: column; align-items: center; gap: .4rem; padding: 1.8rem 1rem; border: 2px solid var(--line); border-radius: 18px; cursor: pointer; transition: .25s; background: #fff; text-align: center; height: 100%; }
.choice-tile i { font-size: 2.2rem; }
.choice-tile strong { font-size: 1.15rem; color: var(--ink); font-family: var(--serif); }
.choice-tile small { color: var(--muted); font-size: .8rem; }
.choice-tile.eng i { color: var(--eng); }
.choice-tile.med i { color: var(--med); }
.choice-tile.ayu i { color: var(--ayu); }
.choice-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.btn-check:checked + .choice-tile { border-color: var(--gold); background: var(--gold-soft); box-shadow: 0 0 0 3px rgba(200,150,42,.2); }

/* check grid */
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .55rem; }
.chk { position: relative; }
.chk input { position: absolute; opacity: 0; }
.chk label { display: flex; align-items: center; gap: .5rem; padding: .6rem .8rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font-size: .88rem; font-weight: 600; color: var(--text); cursor: pointer; transition: .2s; height: 100%; }
.chk label::before { content: ""; width: 16px; height: 16px; border: 1.5px solid var(--line); border-radius: 5px; flex-shrink: 0; transition: .2s; }
.chk input:checked + label { border-color: var(--gold); background: var(--gold-soft); color: var(--ink); }
.chk input:checked + label::before { background: var(--gold); border-color: var(--gold); content: "\F26E"; font-family: "bootstrap-icons"; color: #fff; font-size: 11px; display: grid; place-items: center; }

.step-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }

.consent { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1.8rem; padding: 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.consent label { font-size: .85rem; color: var(--muted); line-height: 1.5; }
.consent .form-check-input { margin-top: .2rem; flex-shrink: 0; }
.consent .form-check-input:checked { background-color: var(--gold); border-color: var(--gold); }

.submit-btn .btn-loader { display: inline-flex; align-items: center; gap: .5rem; }

/* success */
.form-success { text-align: center; padding: 2rem 1rem; }
.success-icon { width: 84px; height: 84px; margin: 0 auto 1.4rem; border-radius: 50%; background: linear-gradient(135deg, var(--med), #25c08f); color: #fff; display: grid; place-items: center; font-size: 2.6rem; box-shadow: 0 14px 36px rgba(24,160,122,.35); animation: pop .5s cubic-bezier(.2,1.4,.4,1); }
@keyframes pop { from { transform: scale(0); } }
.form-success h3 { color: var(--ink); font-size: 1.6rem; }
.form-success p { color: var(--muted); max-width: 480px; margin: .5rem auto; }
.lead-id { font-size: 1rem; }
.lead-id strong { color: var(--gold); font-family: var(--serif); font-size: 1.2rem; }
.success-cta { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

/* ---------- Trust ---------- */
.trust-section { background: var(--paper); }
.trust-tile { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem; height: 100%; display: flex; gap: .9rem; align-items: center; box-shadow: var(--shadow-sm); transition: .25s; }
.trust-tile:hover { transform: translateY(-4px); border-color: var(--gold); }
.trust-tile i { font-size: 1.7rem; color: var(--gold); flex-shrink: 0; }
.trust-tile p { margin: 0; font-weight: 600; color: var(--ink); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq-section { background: var(--paper-2); }
.gln-accordion .accordion-item { border: 1px solid var(--line); border-radius: 14px !important; margin-bottom: .8rem; overflow: hidden; background: #fff; }
.gln-accordion .accordion-button { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; color: var(--ink); padding: 1.2rem 1.4rem; background: #fff; }
.gln-accordion .accordion-button:not(.collapsed) { background: var(--gold-soft); color: var(--ink); box-shadow: none; }
.gln-accordion .accordion-button:focus { box-shadow: none; }
.gln-accordion .accordion-button::after { background-size: 1rem; }
.gln-accordion .accordion-body { color: var(--muted); line-height: 1.6; padding: 0 1.4rem 1.3rem; }

/* ---------- Final CTA ---------- */
.final-cta { background: linear-gradient(135deg, var(--ink), var(--ink-soft)); position: relative; overflow: hidden; }
.final-cta::before { content: ""; position: absolute; top: -100px; left: 50%; transform: translateX(-50%); width: 700px; height: 400px; background: radial-gradient(circle, rgba(224,181,82,.18), transparent 60%); }
.final-cta .container { position: relative; }
.final-text { color: rgba(255,255,255,.78); max-width: 620px; margin: 1.2rem auto 2rem; font-size: 1.1rem; line-height: 1.6; }

/* ---------- Footer ---------- */
.gln-footer { background: #0a1426; color: rgba(255,255,255,.6); padding: 3.5rem 0 1.8rem; }
.gln-footer p { line-height: 1.6; font-size: .92rem; }
.gln-footer h5 { color: #fff; font-family: var(--serif); font-size: 1.05rem; margin-bottom: 1rem; }
.gln-footer ul { list-style: none; padding: 0; }
.gln-footer ul li { margin-bottom: .55rem; }
.gln-footer a { color: rgba(255,255,255,.6); text-decoration: none; transition: .2s; }
.gln-footer a:hover { color: var(--gold-2); }
.gln-footer hr { border-color: rgba(255,255,255,.1); margin: 2.4rem 0 1.4rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .8rem; font-size: .82rem; }
.disclaimer { color: rgba(255,255,255,.4); max-width: 560px; }

/* ---------- WhatsApp Float ---------- */
.wa-float { position: fixed; bottom: 22px; right: 22px; width: 58px; height: 58px; background: #1faf54; color: #fff; border-radius: 50%; display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 10px 30px rgba(31,175,84,.45); z-index: 1000; animation: waPulse 2.4s infinite; }
.wa-float:hover { color: #fff; transform: scale(1.08); }
@keyframes waPulse { 0%,100% { box-shadow: 0 10px 30px rgba(31,175,84,.45); } 50% { box-shadow: 0 10px 30px rgba(31,175,84,.45), 0 0 0 12px rgba(31,175,84,.12); } }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .gln-nav .navbar-collapse { background: var(--paper-2); margin-top: .6rem; padding: 1rem; border-radius: 16px; box-shadow: var(--shadow); }
  .gln-nav .nav-item .btn { width: 100%; margin-top: .4rem; }
  .hero { padding-top: 7.5rem; }
  .form-shell { padding: 1.6rem; }
  .fp-step label { display: none; }
}
@media (max-width: 575px) {
  .section { padding: 3.8rem 0; }
  .hero-cta .btn, .success-cta .btn { width: 100%; }
  .check-grid { grid-template-columns: 1fr 1fr; }
  .vertical-block { padding: 1.6rem; }
  .footer-bottom { flex-direction: column; }
}
