/* The Royal Seat Academy - Public Site Design System */
:root {
  --primary: #7e22ce;
  --primary-dark: #6b21a8;
  --primary-soft: #f3e8ff;
  --accent: #f59e0b;
  --bg: #ffffff;
  --bg-soft: #f8f9fc;
  --card: #ffffff;
  --border: #e2e8f0;
  --text: #0f172a;
  --muted: #64748b;
  --radius: 16px;
  --shadow: 0 20px 40px -18px rgba(126,34,206,.25);
  --nav-h: 72px;
}
html[data-theme="dark"] {
  --bg: #000000;
  --bg-soft: #0a0a0a;
  --card: #111111;
  --border: #222222;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --primary-soft: rgba(168,85,247,.15);
  --shadow: 0 20px 40px -18px rgba(0,0,0,.7);
}
* { box-sizing: border-box; }
/* Kill any horizontal page gap on mobile (rotated strips, full-bleed rows).
   `clip` (not `hidden`) preserves position: sticky elements like the navbar. */
html, body { overflow-x: clip; max-width: 100%; }
@supports not (overflow: clip) { html, body { overflow-x: hidden; } }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: var(--primary); }
img { max-width: 100%; }

/* Navbar */
.rsa-nav {
  position: sticky; top: 0; z-index: 1000;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.rsa-nav-inner {
  max-width: 1200px; margin: 0 auto; height: var(--nav-h);
  padding: 0 20px; display: flex; align-items: center; gap: 16px; justify-content: space-between;
}
.rsa-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); font-weight: 800; font-size: clamp(0.75rem, 4vw, 1.05rem); white-space: nowrap; }
.rsa-brand-mark {
  width: 42px; height: 42px; border-radius: 12px; background: var(--primary);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0;
}
.rsa-brand small { display: inline-block; margin-left: 6px; font-size: .72rem; font-weight: 600; color: var(--muted); }
.rsa-links { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.rsa-links a {
  text-decoration: none; color: var(--muted); font-weight: 700; font-size: .92rem;
  padding: 10px 14px; border-radius: 10px; transition: .2s;
}
.rsa-links a:hover { background: var(--primary-soft); color: var(--primary); }
.rsa-links a.active { background: var(--primary); color: #fff; }
.rsa-nav-cta { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
/* Mobile-menu auth links: hidden on desktop, shown inside the burger dropdown */
.rsa-mobile-auth { display: none; }
.btn-rsa {
  background: var(--primary); color: #fff !important; border: none; border-radius: 12px;
  padding: 11px 20px; font-weight: 800; font-size: .9rem; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; transition: .2s;
}
.btn-rsa:hover { background: var(--primary-dark); transform: translateY(-1px); color: #fff; }
.btn-ghost {
  background: transparent; color: var(--text); border: 1.5px solid var(--border);
  border-radius: 12px; padding: 10px 18px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.icon-btn {
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--card); color: var(--text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.icon-btn:hover { border-color: var(--primary); color: var(--primary); }
.rsa-burger { display: none; }
@media (max-width: 900px) {
  .rsa-nav-inner { padding: 0 12px; }
  .rsa-brand { gap: 6px; }
  .rsa-brand-mark { width: 32px; height: 32px; font-size: 0.9rem; border-radius: 8px; }
  .icon-btn { width: 36px; height: 36px; border-radius: 8px; font-size: 0.9rem; }
  .rsa-links {
    display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--card); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; padding: 12px; gap: 4px;
  }
  .rsa-links.open { display: flex; }
  .rsa-burger { display: inline-flex; }
  /* Hide top-bar auth buttons on phones so the burger menu stays reachable;
     Sign In / Register / Dashboard live inside the dropdown instead. */
  .rsa-nav-cta .btn-ghost, .rsa-nav-cta .btn-rsa { display: none; }
  .rsa-mobile-auth { display: block; text-align: center; border-top: 1px solid var(--border); margin-top: 4px; }
  a.rsa-mobile-register { background: var(--primary); color: #fff; }
  a.rsa-mobile-register:hover { background: var(--primary-dark); color: #fff; }
}

/* Hero */
.hero {
  background: radial-gradient(800px 400px at 15% 0%, var(--primary-soft), transparent),
              linear-gradient(135deg, var(--primary) 0%, #a855f7 60%, #6b21a8 100%);
  color: #fff; overflow: hidden; position: relative;
}
.hero-inner { max-width: 1200px; margin: 0 auto; padding: 72px 20px 64px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25); padding: 6px 14px; border-radius: 30px; font-size: .8rem; font-weight: 700; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; line-height: 1.05; margin: 16px 0; }
.hero p.lead { font-size: 1.05rem; opacity: .92; line-height: 1.6; max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-actions .btn-rsa { background: #fff; color: var(--primary) !important; }
.hero-actions .btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.hero-card {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  border-radius: 20px; padding: 24px; backdrop-filter: blur(10px);
}
.hero-card .row-stat { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.15); font-size: .9rem; }
.hero-card .row-stat:last-child { border: none; }
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; padding: 48px 20px; } }

/* Sections */
.section { max-width: 1200px; margin: 0 auto; padding: 64px 20px 8px; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 32px; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 8px; }
.section-head p { color: var(--muted); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; transition: .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: 14px; }
.course-thumb { height: 110px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #fff; margin-bottom: 16px; }
.course-thumb.purple { background: var(--primary); } .course-thumb.blue { background: #2563eb; }
.course-thumb.orange { background: #ea580c; } .course-thumb.green { background: #16a34a; }
.lock-note { background: var(--primary-soft); border-radius: 10px; padding: 10px 12px; font-size: .82rem; color: var(--primary); font-weight: 600; margin-top: 12px; }
html[data-theme="dark"] .lock-note { color: #d8b4fe; }

.trustbar { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 20px; }
.trust-pill { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25); padding: 8px 16px; border-radius: 30px; font-weight: 700; font-size: .85rem; }

.cta-banner {
  max-width: 1200px; margin: 56px auto; padding: 0 20px;
}
.cta-inner {
  background: linear-gradient(135deg, var(--primary), #a855f7); color: #fff;
  border-radius: 24px; padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}

/* Forms */
.form-card { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 28px; }
.form-label { font-weight: 700; font-size: .88rem; margin-bottom: 6px; display: block; }
.form-control, .form-select {
  width: 100%; border-radius: 12px; border: 1.5px solid var(--border);
  padding: 12px 14px; font-size: .95rem; font-family: inherit; background: var(--card); color: var(--text);
}
.form-control:focus, .form-select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }

/* Footer */
footer.rsa-footer { border-top: 1px solid var(--border); margin-top: 64px; background: var(--bg-soft); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 48px 20px 24px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.footer-inner h5 { font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 12px; }
.footer-inner a { display: block; color: var(--muted); text-decoration: none; font-size: .9rem; margin-bottom: 8px; }
.footer-inner a:hover { color: var(--primary); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 16px 20px 28px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--border); }
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-inner { grid-template-columns: 1fr; } }

.back-top { position: fixed; right: 20px; bottom: 20px; z-index: 900; display: none; }
.back-top.show { display: inline-flex; }

/* ===== HOME v2 PREMIUM ===== */
.announce { background: #0f172a; color: #fff; font-size: .82rem; font-weight: 600; text-align: center; padding: 9px 16px; }
.announce a { color: #facc15; font-weight: 800; text-decoration: none; }
html[data-theme="dark"] .announce { background: #1e1b4b; }
.hero-v2 { position: relative; overflow: hidden; background: var(--bg);
  background-image: radial-gradient(900px 480px at 85% -10%, var(--primary-soft), transparent),
                    radial-gradient(700px 420px at -10% 20%, rgba(245,158,11,.12), transparent); }
.hero-v2-inner { max-width: 1200px; margin: 0 auto; padding: 64px 20px 56px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--primary); background: var(--primary-soft); padding: 7px 14px; border-radius: 30px; }
.hero-v2 h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.02; font-weight: 800; letter-spacing: -1px; margin: 18px 0 14px; }
.grad-text { background: linear-gradient(90deg, var(--primary), #d946ef 60%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { color: var(--muted); font-size: 1.05rem; line-height: 1.65; max-width: 540px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.btn-xl { padding: 15px 28px; font-size: 1rem; border-radius: 14px; }
.social-proof { display: flex; align-items: center; gap: 12px; margin-top: 26px; }
.avatars { display: flex; }
.avatars span { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--bg); display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 800; color: #fff; margin-left: -10px; }
.avatars span:first-child { margin-left: 0; }
.proof-text { font-size: .85rem; color: var(--muted); } .proof-text strong { color: var(--text); }
.stars { color: #f59e0b; font-size: .85rem; letter-spacing: 2px; }
.hero-stats { display: flex; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats .hstat b { font-size: 1.5rem; display: block; } .hero-stats .hstat span { font-size: .82rem; color: var(--muted); }
/* Portal mockup */
.mock { position: relative; }
.mock-main { background: var(--card); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.mock-top { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.dot { width: 11px; height: 11px; border-radius: 50%; } .dot.r { background: #f87171; } .dot.y { background: #facc15; } .dot.g { background: #4ade80; }
.mock-body { padding: 20px; }
.mock-course { display: flex; gap: 12px; align-items: center; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; }
.mock-course .mc-ico { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.mock-bar { height: 8px; border-radius: 6px; background: var(--border); overflow: hidden; margin-top: 8px; }
.mock-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), #d946ef); border-radius: 6px; }
.float-card { position: absolute; background: var(--card); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); padding: 12px 16px; display: flex; gap: 10px; align-items: center; font-size: .82rem; font-weight: 700; animation: floaty 5s ease-in-out infinite; }
.float-card small { display: block; font-weight: 600; color: var(--muted); }
.fc-1 { top: -18px; right: -8px; } .fc-2 { bottom: -18px; left: -12px; animation-delay: 2.5s; }
.fc-check { width: 36px; height: 36px; border-radius: 50%; background: #dcfce7; color: #16a34a; display: flex; align-items: center; justify-content: center; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 960px) { .hero-v2-inner { grid-template-columns: 1fr; } .fc-1 { right: 6px; } .fc-2 { left: 6px; } }
/* Marquee */
.marquee { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-soft); overflow: hidden; padding: 14px 0; }
.marquee-track { display: flex; gap: 36px; width: max-content; animation: scroll 26s linear infinite; font-weight: 800; font-size: .85rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
@keyframes scroll { to { transform: translateX(-50%); } }
/* Bento */
.bento { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; }
.bento .card.big { background: linear-gradient(135deg, var(--primary), #6b21a8); color: #fff; border: none; }
.bento .card.big p { color: rgba(255,255,255,.85); }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } }
/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 8px; }
.step { padding: 24px 20px; border-left: 1px solid var(--border); position: relative; }
.step:first-child { border-left: none; }
.step-num { font-size: 2.4rem; font-weight: 800; color: var(--primary-soft); line-height: 1; -webkit-text-stroke: 1.5px var(--primary); }
html[data-theme="dark"] .step-num { color: transparent; }
.step h5 { margin: 10px 0 6px; } .step p { color: var(--muted); font-size: .88rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .step { border: 1px solid var(--border); border-radius: 14px; margin: 6px; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
/* Booking band */
.band { background: linear-gradient(135deg, #0f172a, #4c1d95); color: #fff; border-radius: 26px; padding: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.band::after { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(217,70,239,.35), transparent 70%); top: -160px; right: -120px; }
.band ul { list-style: none; padding: 0; } .band li { margin-bottom: 10px; font-size: .92rem; opacity: .92; }
@media (max-width: 900px) { .band { grid-template-columns: 1fr; padding: 32px 24px; } }
/* Testimonials */
.testi { position: relative; padding-left: 20px; }
.testi::before { content: '\201C'; position: absolute; left: -4px; top: -18px; font-size: 3.4rem; color: var(--primary); opacity: .3; font-family: Georgia, serif; }
.testi-who { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.testi-av { width: 42px; height: 42px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
/* Pricing */
.price-pop { border: 2px solid var(--primary) !important; position: relative; transform: scale(1.02); }
.price-flag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: .72rem; font-weight: 800; padding: 4px 16px; border-radius: 20px; letter-spacing: 1px; }
/* FAQ */
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; margin-bottom: 12px; }
.faq summary { font-weight: 800; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::after { content: '+'; font-size: 1.4rem; color: var(--primary); }
.faq details[open] summary::after { content: 'â€“'; }
.faq p { color: var(--muted); font-size: .92rem; margin: 10px 0 0; }
/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .marquee-track, .float-card { animation: none; } }

/* ===== HOME v3 ===== */
#scrollProgress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 2000;
  background: linear-gradient(90deg, var(--primary), #d946ef, var(--accent)); }
.rsa-nav.scrolled { box-shadow: 0 8px 30px -12px rgba(0,0,0,.25); }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; }
.orb-a { width: 420px; height: 420px; background: #d946ef; top: -140px; right: -100px; animation: drift 12s ease-in-out infinite; }
.orb-b { width: 340px; height: 340px; background: #f59e0b; bottom: -140px; left: -100px; opacity: .25; animation: drift 14s ease-in-out infinite reverse; }
@keyframes drift { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-30px,30px) scale(1.08); } }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: #4ade80; display: inline-block; animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.6); } 70% { box-shadow: 0 0 0 9px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
.hero-search { display: flex; gap: 8px; margin-top: 24px; background: var(--card); border: 1.5px solid var(--border);
  border-radius: 16px; padding: 6px; max-width: 520px; box-shadow: var(--shadow); }
.hero-search input { flex: 1; border: none; background: transparent; padding: 12px 14px; font-size: .95rem; font-family: inherit; color: var(--text); min-width: 0; }
.hero-search input:focus { outline: none; }
.hero-search button { white-space: nowrap; }
.hero-search-solo { align-items: center; }
.hero-search-solo i { color: var(--muted); margin-left: 10px; }
.hero-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.hero-tags a { font-size: .78rem; font-weight: 700; color: var(--muted); background: var(--card); border: 1px solid var(--border);
  padding: 6px 12px; border-radius: 20px; text-decoration: none; }
.hero-tags a:hover { color: var(--primary); border-color: var(--primary); }
/* Stats band */
.stats-band { background: linear-gradient(135deg, var(--primary), #6b21a8); color: #fff; }
.stats-band-inner { max-width: 1200px; margin: 0 auto; padding: 36px 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats-band b { font-size: 2rem; display: block; } .stats-band span { font-size: .85rem; opacity: .85; }
@media (max-width: 700px) { .stats-band-inner { grid-template-columns: 1fr 1fr; } }
/* Portal tabs */
.tabs-bar { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.tab-btn { border: 1.5px solid var(--border); background: var(--card); color: var(--muted); font-weight: 800; font-size: .88rem;
  padding: 10px 20px; border-radius: 30px; cursor: pointer; transition: .2s; font-family: inherit; }
.tab-btn.active, .tab-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.tab-pane { display: none; }
.tab-pane.active { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; animation: fadeUp .45s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.tab-pane h4 { font-weight: 800; margin-bottom: 8px; } .tab-pane p { color: var(--muted); }
.tab-pane ul { list-style: none; padding: 0; margin: 16px 0; }
.tab-pane li { margin-bottom: 10px; font-size: .92rem; }
@media (max-width: 900px) { .tab-pane.active { grid-template-columns: 1fr; } }
/* Mentors */
.mentor-card { text-align: center; }
.mentor-av { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 800; color: #fff; border: 3px solid var(--primary-soft); }
/* Testimonial carousel */
.testi-stage { position: relative; max-width: 760px; margin: 0 auto; }
.testi-slide { display: none; }
.testi-slide.active { display: block; animation: fadeUp .45s ease; }
.testi-dots { display: flex; gap: 8px; justify-content: center; margin-top: 20px; }
.testi-dots button { width: 10px; height: 10px; border-radius: 50%; border: none; background: var(--border); cursor: pointer; padding: 0; }
.testi-dots button.active { background: var(--primary); width: 28px; border-radius: 6px; }
/* Testimonials: dashing marquee */
.testi-marquee { overflow: hidden; padding: 8px 0 4px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.testi-track { display: flex; width: max-content; animation: testiDash 38s linear infinite; }
.testi-marquee:hover .testi-track { animation-play-state: paused; }
.testi-set { display: flex; gap: 20px; padding-right: 20px; }
.testi-card { flex: 0 0 360px; max-width: 82vw; }
.testi-card:hover { transform: translateY(-3px) rotate(-.4deg); }
@keyframes testiDash { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .testi-track { animation: none; flex-wrap: wrap; width: auto; } }
/* Newsletter */
.news-box { background: var(--card); border: 1px solid var(--border); border-radius: 22px; padding: 40px; display: grid;
  grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; box-shadow: var(--shadow); }
@media (max-width: 900px) { .news-box { grid-template-columns: 1fr; padding: 28px 22px; } }

/* ===== HERO IMPROVED ===== */
.hero-improved { isolation: isolate; }
.hero-improved-inner { position: relative; z-index: 2; padding-top: 72px; padding-bottom: 32px; }
.hero-bg-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(to right, var(--border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: .35;
  -webkit-mask-image: radial-gradient(700px 420px at 30% 10%, #000 30%, transparent 75%);
  mask-image: radial-gradient(700px 420px at 30% 10%, #000 30%, transparent 75%);
}
html[data-theme="dark"] .hero-bg-grid { opacity: .18; }
.orb-c { width: 280px; height: 280px; background: #22d3ee; top: 30%; left: 45%; opacity: .18; animation: drift 16s ease-in-out infinite; }
.hero-pill-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hero-live { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800;
  color: var(--text); background: var(--card); border: 1px solid var(--border);
  padding: 7px 13px; border-radius: 30px; box-shadow: 0 8px 20px -12px rgba(0,0,0,.25); }
.hero-improved h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); letter-spacing: -1.5px; }
.hero-solid { color: var(--primary); }
html[data-theme="dark"] .hero-solid { color: #c084fc; }
.hero-improved .hero-sub strong { color: var(--text); }
.hero-points { list-style: none; padding: 0; margin: 18px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; font-size: .83rem; font-weight: 700;
  background: var(--card); border: 1px solid var(--border); padding: 8px 13px; border-radius: 30px; color: var(--text); }
.hero-points i { width: 20px; height: 20px; border-radius: 50%; background: #dcfce7; color: #15803d;
  display: inline-flex; align-items: center; justify-content: center; font-size: .68rem; flex-shrink: 0; }
html[data-theme="dark"] .hero-points i { background: rgba(34,197,94,.2); color: #4ade80; }
.hero-search-improved { align-items: center; padding: 6px 6px 6px 6px; border-radius: 18px; border-width: 1.5px; }
.hero-search-improved i.fa-search { color: var(--muted); margin-left: 12px; }
.hero-search-improved input { padding: 14px 10px; }
.hero-search-improved .btn-rsa { border-radius: 13px; padding: 13px 22px; }
.hero-cta-main { box-shadow: 0 14px 30px -12px rgba(126,34,206,.55); position: relative; }
.hero-cta-main:hover .hero-cta-arrow, .hero-cta-main .fa-arrow-right { transition: .2s; }
.hero-cta-main:hover .fa-arrow-right { transform: translateX(4px); }
.hero-cta-secondary { background: var(--card); }
.hero-micro { margin-top: 12px; font-size: .8rem; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 7px; }
.social-proof-improved { background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  padding: 14px 16px; margin-top: 22px; max-width: 560px; box-shadow: 0 12px 30px -18px rgba(0,0,0,.25); }
.social-proof-improved .proof-text { display: flex; flex-direction: column; gap: 2px; }
.social-proof-improved .proof-sub { font-size: .78rem; }
.avatar-more { background: var(--text) !important; color: var(--bg) !important; font-size: .7rem; }
.proof-divider { width: 1px; align-self: stretch; background: var(--border); margin: 0 4px; }
.proof-mini { display: flex; gap: 14px; }
.proof-mini div { display: flex; flex-direction: column; line-height: 1.1; }
.proof-mini b { font-size: 1.05rem; }
.proof-mini span { font-size: .72rem; color: var(--muted); font-weight: 600; }
/* Visual side */
.hero-visual { position: relative; z-index: 2; }
.mock-glow { position: absolute; inset: 12% -6% -6% -6%; z-index: -1;
  background: linear-gradient(135deg, rgba(126,34,206,.28), rgba(217,70,239,.18), rgba(245,158,11,.14));
  filter: blur(36px); border-radius: 32px; }
.mock-improved-main { border-radius: 24px; overflow: hidden; border: 1px solid var(--border);
  background: linear-gradient(to bottom, var(--card), var(--card)) padding-box,
  linear-gradient(135deg, var(--primary), #d946ef, var(--accent)) border-box; }
.mock-live { font-size: .75rem; font-weight: 800; color: var(--muted); margin-left: 6px;
  display: inline-flex; align-items: center; gap: 7px; }
.mock-streak { margin-left: auto; font-size: .72rem; font-weight: 800; color: #b45309; background: #fef3c7;
  border-radius: 20px; padding: 5px 11px; display: inline-flex; align-items: center; gap: 6px; }
html[data-theme="dark"] .mock-streak { background: rgba(245,158,11,.18); color: #fbbf24; }
.mock-welcome { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px 4px; }
.mock-welcome strong { display: block; font-size: 1.05rem; margin-top: 2px; }
.mock-avatar { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), #d946ef); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center; border: 2px solid var(--primary-soft); }
.mock-course-improved { align-items: flex-start; }
.mock-course-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mock-meta { font-size: .72rem; color: var(--muted); font-weight: 600; margin-top: 4px; display: block; }
.mock-inline-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.mock-quiz { display: flex; gap: 10px; align-items: center; background: #f0fdf4; border: 1px solid #bbf7d0;
  border-radius: 14px; padding: 10px 12px; font-size: .8rem; }
html[data-theme="dark"] .mock-quiz { background: rgba(34,197,94,.12); border-color: rgba(34,197,94,.25); }
.mock-quiz strong { display: block; font-size: .8rem; }
.mock-quiz small { color: var(--muted); font-weight: 600; }
.mock-cta { justify-content: center; border-radius: 14px; font-size: .83rem; }
.hero-visual .fc-3 { top: 42%; right: -14px; animation-delay: 1.2s; }
.hero-bottom-strip { position: relative; z-index: 2; max-width: 1200px; margin: 8px auto 0; padding: 0 20px 54px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: .83rem; font-weight: 700; }
.hero-bottom-strip i { color: var(--primary); margin-right: 6px; }
.dot-sep { opacity: .4; }
@media (max-width: 960px) {
  .hero-improved-inner { padding-top: 48px; }
  .hero-visual .fc-3 { right: 6px; top: auto; bottom: 42%; }
  .mock-inline-row { grid-template-columns: 1fr; }
  .proof-divider { display: none; }
  .social-proof-improved { flex-wrap: wrap; }
  .hero-bottom-strip { padding-bottom: 36px; }
}
@media (prefers-reduced-motion: reduce) { .orb-c { animation: none; } }

/* Abstract Identity Cards */
.abstract-visual { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 24px; align-items: flex-end; padding-top: 20px; }
.abstract-glow { position: absolute; inset: -20%; z-index: -1; background: radial-gradient(circle, rgba(126,34,206,.3) 0%, rgba(217,70,239,.1) 50%, transparent 70%); filter: blur(40px); animation: float-glow 8s ease-in-out infinite alternate; }

.identity-card { background: rgba(255,255,255,.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.4); border-radius: 20px; padding: 20px 24px; display: flex; align-items: center; gap: 18px; width: 100%; max-width: 360px; box-shadow: 0 20px 40px -15px rgba(0,0,0,.15); position: relative; animation: float-card-margin 6s ease-in-out infinite; }
html[data-theme="dark"] .identity-card { background: rgba(20,20,30,.85); border-color: rgba(255,255,255,.1); box-shadow: 0 20px 40px -15px rgba(0,0,0,.5); }

.ic-1 { animation-delay: 0s; transform: translateX(0); }
.ic-2 { animation-delay: -2s; transform: translateX(-40px); }
.ic-3 { animation-delay: -4s; transform: translateX(-10px); }

.ic-icon { width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(135deg, var(--primary), #d946ef); color: white; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; box-shadow: 0 8px 20px -8px var(--primary); }
.ic-2 .ic-icon { background: linear-gradient(135deg, #16a34a, #10b981); box-shadow: 0 8px 20px -8px #16a34a; }
.ic-3 .ic-icon { background: linear-gradient(135deg, #ea580c, #f59e0b); box-shadow: 0 8px 20px -8px #ea580c; }

.ic-text { display: flex; flex-direction: column; }
.ic-text strong { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.3px; margin-bottom: 3px; color: var(--text); }
.ic-text span { font-size: 0.85rem; color: var(--muted); font-weight: 600; }

@keyframes float-card-margin { 0%, 100% { margin-top: 0; margin-bottom: 0; } 50% { margin-top: -16px; margin-bottom: 16px; } }
@keyframes float-glow { 0% { opacity: 0.5; transform: scale(0.9); } 100% { opacity: 1; transform: scale(1.1); } }

@media (max-width: 960px) {
  .abstract-visual { align-items: center; }
  .ic-1, .ic-2, .ic-3 { transform: none; }
}

/* Premium Hero */
.premium-hero { position: relative; padding: 140px 20px 100px; overflow: hidden; }
.premium-hero-glow { position: absolute; inset: -30%; background: radial-gradient(circle at right center, rgba(126,34,206,.2) 0%, rgba(217,70,239,.1) 30%, transparent 60%); filter: blur(80px); animation: pulse-glow 10s infinite alternate; z-index: -1; }
.premium-hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 60px; max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.premium-hero-content { flex: 1; max-width: 580px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--primary); margin-bottom: 24px; padding: 6px 14px; background: rgba(126,34,206,0.1); border-radius: 20px; border: 1px solid rgba(126,34,206,0.2); }
.premium-hero-title { font-size: 4rem; font-weight: 800; line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 30px; color: var(--text); }
.premium-hero-text { font-size: 1.25rem; line-height: 1.7; color: var(--muted); margin-bottom: 40px; }
.premium-hero-actions { display: flex; gap: 16px; }

/* Royal Seal Visual */
.premium-hero-visual { flex: 1; display: flex; justify-content: flex-end; position: relative; perspective: 1000px; }
.royal-seal { position: relative; width: 340px; height: 340px; display: flex; align-items: center; justify-content: center; animation: float-seal 8s ease-in-out infinite; transform-style: preserve-3d; }
.seal-inner { width: 140px; height: 140px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), #d946ef); display: flex; align-items: center; justify-content: center; font-size: 3rem; color: white; box-shadow: 0 20px 40px -10px rgba(126,34,206,0.6); position: relative; z-index: 3; }
.seal-ring { position: absolute; inset: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); z-index: 2; animation: spin-ring 20s linear infinite; }
.seal-ring.outer { inset: 0; border: 1px dashed rgba(255,255,255,0.15); animation: spin-ring-reverse 30s linear infinite; }
html[data-theme="light"] .seal-ring { border-color: rgba(126,34,206,0.2); }
html[data-theme="light"] .seal-ring.outer { border-color: rgba(126,34,206,0.15); }

.seal-float-badge { position: absolute; background: rgba(255,255,255,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 12px 20px; border-radius: 16px; display: flex; align-items: center; gap: 10px; font-weight: 700; box-shadow: 0 14px 30px -10px rgba(0,0,0,0.15); border: 1px solid rgba(255,255,255,0.4); z-index: 4; }
html[data-theme="dark"] .seal-float-badge { background: rgba(30,30,40,0.85); border-color: rgba(255,255,255,0.1); box-shadow: 0 14px 30px -10px rgba(0,0,0,0.5); color: var(--text); }
.seal-float-badge i { color: var(--primary); font-size: 1.2rem; }
.badge-1 { top: 20px; left: -40px; animation: float-badge 6s ease-in-out infinite 1s; }
.badge-2 { bottom: 40px; right: -20px; animation: float-badge 7s ease-in-out infinite 2s; }

@keyframes float-seal { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes float-badge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin-ring { 100% { transform: rotate(360deg); } }
@keyframes spin-ring-reverse { 100% { transform: rotate(-360deg); } }

@media (max-width: 960px) {
  .premium-hero-inner { flex-direction: column; text-align: center; gap: 40px; }
  .premium-hero-visual { justify-content: center; margin-top: 40px; }
  .premium-hero-title { font-size: 2.8rem; }
  .premium-hero { padding: 80px 20px 60px; }
  .badge-1 { left: 0; }
}

/* Manifesto Section */
.manifesto-section { position: relative; text-align: center; padding: 100px 20px; overflow: hidden; margin: 60px 0; border-radius: 32px; background: rgba(20, 20, 30, 0.4); border: 1px solid rgba(255, 255, 255, 0.05); }
.manifesto-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at center, rgba(126,34,206,.2) 0%, transparent 60%); filter: blur(60px); animation: pulse-glow 8s infinite alternate; }
.manifesto-content { max-width: 860px; margin: 0 auto; position: relative; z-index: 2; }
.manifesto-title { font-size: 3.2rem; font-weight: 800; line-height: 1.15; margin-bottom: 30px; letter-spacing: -1.5px; color: var(--text); }
.manifesto-text { font-size: 1.3rem; line-height: 1.7; color: var(--muted); margin-bottom: 24px; font-weight: 500; }
.manifesto-cta { margin-top: 40px; }
.manifesto-btn { box-shadow: 0 14px 30px -12px rgba(126,34,206,.6); }
html[data-theme="light"] .manifesto-section { background: rgba(250, 250, 250, 0.6); border-color: rgba(0,0,0,0.05); }
@keyframes pulse-glow { 0% { opacity: 0.4; transform: scale(0.85); } 100% { opacity: 1; transform: scale(1.1); } }
@media (max-width: 768px) {
  .manifesto-title { font-size: 2.2rem; }
  .manifesto-text { font-size: 1.1rem; }
  .manifesto-section { padding: 60px 20px; margin: 30px 0; }
}

/* ===========================
   MOBILE RESPONSIVE â€” PUBLIC SITE
   =========================== */

/* ---------- 900px: tablet (many already handled above with grid breakpoints) ---------- */
@media (max-width: 900px) {
    /* Navbar: burger menu */
    .rsa-nav-cta .btn-ghost { display: none; }

    /* Hero: single column (already exists, adding font tweak) */
    .hero-v2 h1 { letter-spacing: -0.5px; }

    /* Stats band */
    .stats-band-inner { grid-template-columns: 1fr 1fr; gap: 16px; }

    /* Band: single col (already handled), more padding fix */
    .band { padding: 28px 20px; }

    /* CTA banner */
    .cta-inner { padding: 32px 24px; flex-direction: column; gap: 18px; }

    /* Social proof */
    .social-proof-improved { max-width: 100%; }

    /* Newsletter */
    .news-box { padding: 24px 20px; }

    /* Footer: 2 cols (already handled) */
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---------- 700px: large phone ---------- */
@media (max-width: 700px) {
    /* Section padding */
    .section { padding: 40px 16px 4px; }
    .section-head { margin-bottom: 24px; }

    /* Hero search: stack */
    .hero-search { flex-direction: column; padding: 10px; }
    .hero-search button { width: 100%; justify-content: center; }

    /* Booking band */
    .booking-hero-stats { flex-direction: column; gap: 12px; }
    .band ul { margin-top: 16px; }

    /* Steps grid already 2-col at 900, keep on phones */
    .steps { grid-template-columns: 1fr; }
    .step { border-left: none !important; border-bottom: 1px solid var(--border); border-radius: 0 !important; margin: 0 !important; }

    /* Tab pane: stack (already 1fr) */
    .tab-pane.active img { width: 100%; border-radius: 14px; }

    /* Hero micro: wrap */
    .hero-micro { flex-wrap: wrap; gap: 6px; }

    /* Bottom strip: stack */
    .hero-bottom-strip { flex-direction: column; gap: 6px; padding-bottom: 24px; }

    /* Stats band: single col */
    .stats-band-inner { grid-template-columns: 1fr 1fr; }

    /* Eyebrow: smaller */
    .eyebrow { font-size: 0.7rem; }
}

/* ---------- 480px: small phone ---------- */
@media (max-width: 480px) {
    /* Nav brand: hide tagline */
    .rsa-brand small { display: none; }
    .rsa-brand { font-size: 0.92rem; }

    /* Hero */
    .hero-v2-inner, .hero-improved-inner { padding: 40px 14px 30px; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn-rsa, .hero-cta .btn-ghost { width: 100%; justify-content: center; }
    .hero-points { gap: 6px; }

    /* Stats band: 2 cols still */
    .stats-band-inner { grid-template-columns: 1fr 1fr; padding: 24px 14px; }

    /* Social proof: compact */
    .social-proof-improved { padding: 10px 12px; }

    /* CTA */
    .cta-inner { padding: 24px 16px; }
    .cta-inner .btn-rsa { width: 100%; justify-content: center; }

    /* Footer: full single col */
    .footer-inner { padding: 32px 14px 16px; gap: 18px; }

    /* Form cards */
    .form-card { padding: 20px 14px; }

    /* Bento: always single col on small */
    .bento { grid-template-columns: 1fr; }

    /* Pricing pop: no scale on small */
    .price-pop { transform: scale(1); }

    /* Testi card: full width */
    .testi-card { flex: 0 0 calc(100vw - 32px); }

    /* Section head */
    .section-head h2 { font-size: 1.4rem; }
}

/* ==========================================================================
   PRELOADER (wearecheck.co Inspired)
   ========================================================================== */
#rsa-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background-color: #f8f9fa; /* Stark bright background */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.8s ease;
}

#rsa-preloader.hide {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.preloader-text-wrap {
  text-align: center;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  color: #000;
  line-height: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.preloader-line {
  font-size: clamp(3rem, 8vw, 9rem);
  font-weight: 700;
  letter-spacing: -2px;
  position: relative;
  display: inline-block;
  white-space: nowrap;
  margin: -10px 0;
  opacity: 0;
  transform: translateY(30px);
  animation: plSlideUp 0.6s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

.preloader-line.line-1 { animation-delay: 0.1s; }
.preloader-line.line-2 { animation-delay: 0.4s; }
.preloader-line.line-3 { animation-delay: 0.7s; }

@keyframes plSlideUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.pl-badge {
  display: inline-block;
  font-size: clamp(1rem, 2.5vw, 2.5rem);
  padding: 5px 15px;
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  transform: rotate(-8deg);
  box-shadow: 4px 4px 0 rgba(0,0,0,0.1);
  position: relative;
  top: -15px;
  margin-left: 10px;
}

.badge-blue { background-color: #2563eb; }
.badge-orange { background-color: #ea580c; transform: rotate(5deg) translateY(-5px); }
.badge-purple { background-color: #7e22ce; transform: rotate(-5deg); }

/* ==========================================================================
   MARQUEE (SCROLLING TICKER)
   ========================================================================== */
.marquee {
    overflow: hidden;
    white-space: nowrap;
    background: var(--primary);
    color: #fff;
    padding: 20px 0;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    position: relative;
    width: 100%;
    max-width: 100%;
    box-shadow: 0 10px 30px rgba(126, 34, 206, 0.2);
    transform: rotate(-1.5deg) scale(1.02);
    margin-top: 40px;
    margin-bottom: 60px;
    z-index: 10;
}
@media (max-width: 700px) {
    /* Un-tilt on phones: the rotated strip poked past the viewport edge. */
    .marquee { transform: none; margin-top: 24px; margin-bottom: 40px; }
}

[data-theme="dark"] .marquee {
    background: var(--surface);
    color: var(--primary);
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.marquee-track {
    display: flex;
    animation: scrollMarquee 25s linear infinite;
    gap: 3rem;
}

.marquee-track span {
    display: inline-flex;
    align-items: center;
    gap: 3rem;
    color: rgba(255,255,255,0.9);
}
[data-theme="dark"] .marquee-track span {
    color: var(--primary);
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   FAQ ACCORDION UPGRADE
   ========================================================================== */
.faq details {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    overflow: hidden;
}

[data-theme="dark"] .faq details {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

.faq details:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

[data-theme="dark"] .faq details:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

.faq details[open] {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

[data-theme="dark"] .faq details[open] {
    background: var(--surface);
}

.faq summary {
    font-weight: 700;
    font-size: 1.1rem;
    padding: 20px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dark);
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: '\f067'; /* FontAwesome Plus */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq details[open] summary::after {
    transform: rotate(45deg);
}

.faq details p {
    padding: 0 20px 20px;
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}


