:root {
      --navy:        #0b2240;
      --navy-mid:    #123460;
      --blue:        #1a5fa8;
      --blue-light:  #2d8dd9;
      --sky:         #e8f4ff;
      --sky-mid:     #d0e8fa;
      --gold:        #f5a623;
      --gold-2:      #e09318;
      --gold-light:  #fef3dc;
      --green:       #16a96b;
      --green-light: #d4f5e8;
      --red:         #e84040;
      --bg:          #e8eff8;
      --bg2:         #dde8f5;
      --white:       #f4f9ff;
      --card:        #f4f9ff;
      --text:        #0d1f35;
      --muted:       #5a7490;
      --border:      rgba(11,34,64,0.08);
      --border2:     rgba(11,34,64,0.14);
      --shadow-sm:   0 2px 12px rgba(11,34,64,0.07);
      --shadow-md:   0 8px 30px rgba(11,34,64,0.12);
      --shadow-lg:   0 20px 60px rgba(11,34,64,0.18);
      --f-display: 'Playfair Display', Georgia, serif;
      --f-body:    'Plus Jakarta Sans', system-ui, sans-serif;
    }
    [data-theme="dark"] {
      --navy:        #dce8f8;
      --navy-mid:    #b8d0ee;
      --blue:        #5baaf5;
      --blue-light:  #7dbfff;
      --sky:         #1a2a3f;
      --sky-mid:     #1e3250;
      --gold:        #f5a623;
      --gold-light:  #2e2000;
      --green:       #2fd98a;
      --green-light: #0a2a1c;
      --red:         #ff6b6b;
      --bg:          #0d1826;
      --bg2:         #111f33;
      --white:       #0d1826;
      --card:        #152035;
      --text:        #dce8f8;
      --muted:       #7a9bbb;
      --border:      rgba(255,255,255,0.07);
      --border2:     rgba(255,255,255,0.12);
      --shadow-sm:   0 2px 12px rgba(0,0,0,0.3);
      --shadow-md:   0 8px 30px rgba(0,0,0,0.4);
      --shadow-lg:   0 20px 60px rgba(0,0,0,0.5);
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: var(--f-body);
      background: var(--bg);
      color: var(--text);
      min-height: 100vh;
      opacity: 0;
      transition: opacity 0.4s ease, background 0.35s, color 0.2s;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }
    body.loaded { opacity: 1; }

    /* ═══════════════════════════════════
       PAGE LOADER
    ═══════════════════════════════════ */
    #page-loader {
      position: fixed; inset: 0; z-index: 9999;
      background: #123460;
      display: flex; align-items: center; justify-content: center;
      transition: opacity 0.5s, visibility 0.5s;
    }
    #page-loader.hide { opacity: 0; visibility: hidden; }
    .loader-inner { text-align: center; animation: loaderPulse 1.4s infinite; }
    .loader-logo { width: 64px; height: 64px; border-radius: 50%; border: 3px solid rgba(255,255,255,0.15); padding: 4px; margin: 0 auto 1rem; }
    .loader-logo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
    .loader-text { color: rgba(255,255,255,0.7); font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; }
    .loader-bar { width: 120px; height: 2px; background: rgba(255,255,255,0.1); border-radius: 2px; margin: 0.8rem auto 0; overflow: hidden; }
    .loader-bar-fill { height: 100%; background: var(--gold); border-radius: 2px; animation: loadBar 1.1s ease forwards; }
    @keyframes loadBar { from{width:0} to{width:100%} }
    @keyframes loaderPulse { 0%,100%{opacity:1} 50%{opacity:0.6} }

    /* ═══════════════════════════════════
       NAVBAR
    ═══════════════════════════════════ */
    .navbar {
      position: fixed; top: 0; left: 0; right: 0; z-index: 200;
      padding: 0 1.5rem;
      transition: background 0.3s, box-shadow 0.3s;
    }
    .navbar.scrolled {
      background: var(--card);
      backdrop-filter: blur(20px);
      box-shadow: var(--shadow-sm);
    }
    .nav-inner {
      max-width: 1160px; margin: 0 auto;
      display: flex; align-items: center; justify-content: space-between;
      height: 72px;
    }
    .nav-brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
    .nav-brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: contain; box-shadow: 0 0 0 2px var(--gold), 0 0 0 4px rgba(245,166,35,0.18), 0 4px 14px rgba(245,166,35,0.25); transition: box-shadow 0.25s, transform 0.25s; }
    .nav-brand:hover img { transform: scale(1.08); box-shadow: 0 0 0 2px var(--gold), 0 0 0 6px rgba(245,166,35,0.28), 0 6px 22px rgba(245,166,35,0.35); }
    .navbar.scrolled .nav-brand img { box-shadow: 0 0 0 2px var(--gold), 0 0 0 4px rgba(245,166,35,0.18), 0 4px 14px rgba(245,166,35,0.25); }
    .brand-name { font-family: var(--f-display); font-size: 1.12rem; color: #fff; transition: color 0.3s; white-space: nowrap; }
    .navbar.scrolled .brand-name { color: var(--navy); }
    .nav-links { display: flex; align-items: center; gap: 0.15rem; list-style: none; }
    .nav-links a { display: block; padding: 0.45rem 0.85rem; border-radius: 8px; color: rgba(255,255,255,0.82); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: background 0.2s, color 0.2s; }
    .navbar.scrolled .nav-links a { color: var(--muted); }
    .nav-links a:hover { background: rgba(255,255,255,0.15); color: #fff; }
    .navbar.scrolled .nav-links a:hover { background: var(--sky); color: var(--blue); }
    .nav-links a.active { color: var(--gold) !important; font-weight: 700; }
    .nav-cta a { background: var(--gold) !important; color: #0b2240 !important; font-weight: 700 !important; padding: 0.5rem 1.2rem !important; border-radius: 8px; }
    .nav-cta a:hover { background: var(--gold-2) !important; }

    .nav-controls { display: flex; align-items: center; gap: 0.5rem; }
    .theme-toggle {
      width: 40px; height: 40px; border-radius: 50%;
      background: rgba(255,255,255,0.12); border: 1.5px solid rgba(255,255,255,0.2);
      color: #fff; font-size: 1rem; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: background 0.2s, color 0.2s, transform 0.2s;
    }
    .navbar.scrolled .theme-toggle { background: var(--sky); color: var(--blue); border-color: var(--border2); }
    .theme-toggle:hover { transform: rotate(20deg) scale(1.1); }
    .nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.4rem; cursor: pointer; width: 40px; height: 40px; border-radius: 8px; align-items: center; justify-content: center; transition: color 0.3s; }
    .navbar.scrolled .nav-toggle { color: var(--navy); }

    /* ═══════════════════════════════════
       HERO
    ═══════════════════════════════════ */
    .page-hero {
      position: relative;
      background: linear-gradient(150deg, #0b2240 0%, #123460 55%, #0f4d8a 100%);
      padding: 140px 1.5rem 110px;
      text-align: center; overflow: hidden;
    }
    .page-hero::before {
      content: ''; position: absolute; inset: 0;
      background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
                        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
      background-size: 48px 48px;
    }
    .hero-mesh { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
    .mesh-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.15; animation: blobFloat 12s ease-in-out infinite; }
    .mesh-blob:nth-child(1) { width: 400px; height: 400px; background: #2d8dd9; top: -80px; right: -40px; animation-duration: 14s; }
    .mesh-blob:nth-child(2) { width: 240px; height: 240px; background: #f5a623; bottom: -30px; left: -30px; animation-duration: 10s; animation-delay: -4s; }
    @keyframes blobFloat { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(16px,-20px) scale(1.06)} 66%{transform:translate(-10px,14px) scale(0.94)} }

    .hero-badge {
      display: inline-flex; align-items: center; gap: 0.5rem;
      background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
      border-radius: 50px; padding: 0.4rem 1.1rem;
      font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
      text-transform: uppercase; color: rgba(255,255,255,0.9);
      margin-bottom: 1.4rem; position: relative;
      animation: fadeUp 0.7s cubic-bezier(.2,.8,.3,1) 0.2s both;
    }
    .hero-badge i { color: var(--gold); }
    .page-hero h1 {
      font-family: var(--f-display);
      font-size: clamp(2.2rem, 5vw, 3.5rem);
      color: #fff; line-height: 1.12; letter-spacing: -0.02em;
      margin-bottom: 1rem; position: relative;
      animation: fadeUp 0.8s cubic-bezier(.2,.8,.3,1) 0.4s both;
    }
    .page-hero h1 em { font-style: italic; color: var(--gold); }
    .page-hero p {
      max-width: 540px; margin: 0 auto;
      font-size: 1rem; line-height: 1.8; font-weight: 300;
      color: rgba(255,255,255,0.72); position: relative;
      animation: fadeUp 0.8s cubic-bezier(.2,.8,.3,1) 0.6s both;
    }
    @keyframes fadeUp { from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:none} }

    /* ═══════════════════════════════════
       SEARCH FLOAT
    ═══════════════════════════════════ */
    .search-float {
      max-width: 820px; margin: -36px auto 0;
      padding: 0 1.5rem; position: relative; z-index: 50;
    }
    .search-card {
      background: var(--card); border-radius: 20px;
      box-shadow: var(--shadow-lg); border: 1px solid var(--border);
      padding: 1.5rem 1.7rem;
      display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
      transition: background 0.35s;
    }
    .search-wrap { position: relative; flex: 1; min-width: 220px; }
    .search-wrap i { position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 0.88rem; pointer-events: none; }
    .search-inp {
      width: 100%; padding: 0.75rem 1rem 0.75rem 2.6rem;
      border: 1.5px solid var(--border2); border-radius: 10px;
      font-family: var(--f-body); font-size: 0.92rem;
      color: var(--text); background: var(--bg); outline: none;
      transition: border-color 0.2s, box-shadow 0.2s, background 0.35s;
    }
    .search-inp:focus { border-color: var(--blue-light); box-shadow: 0 0 0 3px rgba(45,141,217,0.1); }
    .search-inp::placeholder { color: var(--muted); }
    .filter-chips { display: flex; gap: 0.45rem; flex-wrap: wrap; }
    .chip {
      padding: 0.4rem 0.95rem; border: 1.5px solid var(--border2);
      border-radius: 50px; background: transparent; color: var(--muted);
      font-family: var(--f-body); font-size: 0.8rem; font-weight: 600;
      cursor: pointer; transition: all 0.2s; white-space: nowrap;
    }
    .chip:hover, .chip.active { background: var(--navy, #0b2240); border-color: var(--navy, #0b2240); color: #fff; }
    [data-theme="dark"] .chip:hover, [data-theme="dark"] .chip.active { background: var(--blue); border-color: var(--blue); color: #fff; }

    /* ═══════════════════════════════════
       MAIN
    ═══════════════════════════════════ */
    .main { max-width: 820px; margin: 0 auto; padding: 2.5rem 1.5rem 5rem; }

    /* SCROLL REVEAL */
    .anim { opacity: 0; transform: translateY(24px); transition: opacity 0.6s cubic-bezier(.2,.8,.3,1), transform 0.6s cubic-bezier(.2,.8,.3,1); }
    .anim.in { opacity: 1; transform: none; }
    .d1{transition-delay:.08s} .d2{transition-delay:.16s} .d3{transition-delay:.24s}

    /* STATS */
    .faq-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0 2.5rem; }
    .faq-stat {
      background: var(--card); border: 1px solid var(--border);
      border-radius: 16px; padding: 1.2rem 1.3rem;
      box-shadow: var(--shadow-sm);
      display: flex; align-items: center; gap: 0.85rem;
      transition: box-shadow 0.25s, transform 0.25s, background 0.35s;
    }
    .faq-stat:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
    .faq-stat-ic { width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
    .ic-b { background: var(--sky); color: var(--blue); }
    .ic-g { background: var(--green-light); color: var(--green); }
    .ic-gold { background: var(--gold-light); color: #8a5e00; }
    [data-theme="dark"] .ic-gold { background: #2e2000; }
    .faq-stat-num { font-family: var(--f-display); font-size: 1.5rem; color: var(--navy); line-height: 1; }
    .faq-stat-lbl { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; margin-top: 0.15rem; }
    [data-theme="dark"] .faq-stat-num { color: #dce8f8; }

    /* RESULT BAR */
    .result-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.3rem; flex-wrap: wrap; gap: 0.5rem; }
    .result-count { font-size: 0.82rem; color: var(--muted); font-weight: 600; }
    .sort-sel {
      padding: 0.4rem 0.9rem; border: 1.5px solid var(--border2);
      border-radius: 8px; font-family: var(--f-body); font-size: 0.8rem;
      color: var(--muted); background: var(--card); outline: none; cursor: pointer;
      transition: border-color 0.2s, background 0.35s;
    }
    .sort-sel:focus { border-color: var(--blue-light); }

    /* FAQ ITEMS */
    .faq-list { list-style: none; }
    .faq-item {
      background: var(--card); border: 1px solid var(--border);
      border-radius: 16px; margin-bottom: 0.9rem; overflow: hidden;
      box-shadow: var(--shadow-sm);
      transition: box-shadow 0.25s, transform 0.25s, background 0.35s;
    }
    .faq-item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
    .faq-item.open-item { border-color: var(--border2); }

    .faq-head {
      padding: 1.2rem 1.4rem; display: flex; align-items: flex-start;
      justify-content: space-between; gap: 1rem; cursor: pointer; user-select: none;
    }
    .faq-head-left { display: flex; align-items: flex-start; gap: 0.8rem; flex: 1; }
    .faq-q-icon {
      width: 30px; height: 30px; border-radius: 8px;
      background: var(--sky); display: flex; align-items: center; justify-content: center;
      font-family: var(--f-display); font-size: 0.95rem; color: var(--blue);
      flex-shrink: 0; margin-top: 0.05rem;
      transition: background 0.35s;
    }
    .faq-item.open-item .faq-q-icon { background: var(--blue); color: #fff; }
    .faq-question {
      font-weight: 700; font-size: 0.93rem; color: var(--navy);
      line-height: 1.5; flex: 1;
    }
    [data-theme="dark"] .faq-question { color: #dce8f8; }
    .faq-chevron {
      color: var(--muted); font-size: 0.82rem;
      transition: transform 0.3s; flex-shrink: 0; margin-top: 0.3rem;
    }
    .faq-item.open-item .faq-chevron { transform: rotate(180deg); color: var(--blue); }

    .faq-body {
      max-height: 0; overflow: hidden;
      transition: max-height 0.4s cubic-bezier(.2,.8,.3,1);
    }
    .faq-body-inner { padding: 0 1.4rem 1.4rem; padding-left: calc(1.4rem + 30px + 0.8rem); }

    .faq-answer {
      font-size: 0.9rem; color: var(--green); font-weight: 600;
      line-height: 1.75; margin-bottom: 1rem;
    }

    /* divider */
    .faq-footer-divider { height: 1px; background: var(--border); margin-bottom: 0.9rem; }

    .faq-meta-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; }
    .faq-meta { font-size: 0.74rem; color: var(--muted); display: flex; align-items: center; gap: 0.5rem; }
    .faq-meta i { font-size: 0.68rem; }

    .helpful-row { display: flex; align-items: center; gap: 0.5rem; }
    .helpful-lbl { font-size: 0.74rem; color: var(--muted); font-weight: 600; }
    .helpful-btn {
      background: none; border: 1.5px solid var(--border2); border-radius: 50px;
      padding: 0.22rem 0.75rem; font-family: var(--f-body); font-size: 0.74rem;
      color: var(--muted); cursor: pointer;
      display: inline-flex; align-items: center; gap: 0.35rem;
      transition: all 0.2s;
    }
    .helpful-btn:hover { border-color: var(--blue-light); color: var(--blue); }
    .helpful-btn.yes.voted { background: var(--green-light); border-color: var(--green); color: var(--green); }
    .helpful-btn.no.voted  { background: #fde8e8; border-color: var(--red); color: var(--red); }
    [data-theme="dark"] .helpful-btn.no.voted { background: #2a0a0a; }

    /* LOADING & EMPTY */
    .loading-wrap { text-align: center; padding: 3.5rem 1rem; color: var(--muted); }
    .spin { display: inline-block; animation: spin 1s linear infinite; font-size: 1.8rem; color: var(--blue-light); }
    @keyframes spin { to{transform:rotate(360deg)} }
    .empty-state { text-align: center; padding: 3rem; color: var(--muted); }
    .empty-state i { font-size: 2.5rem; display: block; margin-bottom: 0.8rem; opacity: 0.3; }
    .empty-state p { font-size: 0.92rem; }

    /* HIGHLIGHT */
    mark { background: rgba(245,166,35,0.28); color: inherit; border-radius: 3px; padding: 0 2px; }

    /* CTA BANNER */
    .cta-banner {
      background: linear-gradient(135deg, #0b2240, #123460);
      border-radius: 22px; padding: 2.8rem 2rem;
      text-align: center; color: #fff; margin-top: 2.5rem;
      position: relative; overflow: hidden;
    }
    .cta-banner::before {
      content: ''; position: absolute; inset: 0;
      background: radial-gradient(circle at 80% 40%, rgba(45,141,217,0.18), transparent 55%);
    }
    .cta-title { font-family: var(--f-display); font-size: 1.6rem; margin-bottom: 0.5rem; position: relative; }
    .cta-sub { font-size: 0.9rem; color: rgba(255,255,255,0.68); margin-bottom: 1.8rem; line-height: 1.7; position: relative; max-width: 440px; margin-left: auto; margin-right: auto; }
    .cta-btn {
      display: inline-flex; align-items: center; gap: 0.5rem;
      background: var(--gold); color: #0b2240;
      padding: 0.8rem 2rem; border-radius: 10px;
      font-weight: 800; font-size: 0.95rem; text-decoration: none;
      transition: background 0.2s, transform 0.2s; position: relative;
    }
    .cta-btn:hover { background: var(--gold-2); transform: translateY(-2px); }

    /* FOOTER */
    footer { background: #07162a; color: rgba(255,255,255,0.5); padding: 2.5rem 1.5rem; text-align: center; }
    .footer-inner { max-width: 1160px; margin: 0 auto; }
    .footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 1.2rem; }
    footer a { color: rgba(255,255,255,0.45); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
    footer a:hover { color: var(--gold); }
    .footer-contact { display: flex; justify-content: center; flex-wrap: wrap; gap: 2rem; margin-bottom: 1.2rem; }
    .footer-ci { display: flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; }
    .footer-bottom { font-size: 0.8rem; }

    /* RESPONSIVE */
    @media (max-width: 680px) {
      .nav-links { display: none; flex-direction: column; position: fixed; top: 72px; left: 0; right: 0; background: var(--card); backdrop-filter: blur(20px); padding: 1rem 1.5rem 1.5rem; border-bottom: 1px solid var(--border); gap: 0.25rem; z-index: 199; }
      .nav-links.open { display: flex; }
      .nav-links a { color: var(--muted) !important; padding: 0.6rem 0.9rem; }
      .nav-links a:hover { background: var(--sky); color: var(--blue) !important; }
      .nav-toggle { display: flex; }
      .page-hero { padding: 120px 1.2rem 80px; }
      .search-float { padding: 0 1rem; }
      .search-card { flex-direction: column; padding: 1.2rem; }
      .faq-stats { grid-template-columns: 1fr 1fr; }
      .main { padding: 2rem 1rem 4rem; }
      .faq-body-inner { padding-left: 1.3rem; }
    }
    @media (max-width: 400px) {
      .faq-stats { grid-template-columns: 1fr; }
    }

    /* global transitions */
    *, *::before, *::after { transition: background-color 0.35s ease, border-color 0.35s ease, color 0.2s ease; }
    .anim { transition: opacity 0.6s cubic-bezier(.2,.8,.3,1), transform 0.6s cubic-bezier(.2,.8,.3,1) !important; }
    .faq-body { transition: max-height 0.4s cubic-bezier(.2,.8,.3,1) !important; }