/* ===== Perqo light/dark theme: shared by every page ===== */

/* Toggle button */
.nav-right{display:flex;align-items:center;gap:10px}
.theme-toggle{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;cursor:pointer;
  background:rgba(255,255,255,.06);border:1px solid var(--line);color:var(--text);transition:background .2s,transform .15s}
.theme-toggle:hover{background:rgba(255,255,255,.12);transform:translateY(-1px)}
.theme-toggle svg{width:19px;height:19px}
.theme-toggle .sun{display:none}
html[data-theme="light"] .theme-toggle .sun{display:block}
html[data-theme="light"] .theme-toggle .moon{display:none}
:root{--axis:#8C89AE;--axis-strong:#F4F3FF;--grid:rgba(255,255,255,.07);--zero:rgba(255,255,255,.35);--dot-ring:#16142F}

/* ---------- Light theme ---------- */
html[data-theme="light"]{
  color-scheme:light;
  --bg:#F7F6FD; --bg-2:#EFEDFA; --card:#FFFFFF; --line:rgba(23,20,60,.10);
  --text:#17142E; --muted:#56536F; --faint:#77748F; --link:#5B3FD6;
  --base:#CFCBE6; --axis:#6E6B89; --axis-strong:#17142E; --grid:rgba(23,20,60,.08); --zero:rgba(23,20,60,.35); --dot-ring:#FFFFFF;
}
html[data-theme="light"] body{background:var(--bg);color:var(--text)}
html[data-theme="light"] nav{background:rgba(247,246,253,.82)}
html[data-theme="light"] .theme-toggle{background:#fff}
html[data-theme="light"] .theme-toggle:hover{background:#F0EEFB}
html[data-theme="light"] .btn-ghost{background:rgba(23,20,60,.04)}
html[data-theme="light"] .btn-ghost:hover{background:rgba(23,20,60,.08)}
html[data-theme="light"] .cta .btn-ghost,html[data-theme="light"] .contact .btn-ghost{background:rgba(255,255,255,.12)}
html[data-theme="light"] .eyebrow{color:#5B4BE0}
html[data-theme="light"] h1 .grad{background:linear-gradient(100deg,#5B4BE0,#7C3AED 60%,#9333EA);-webkit-background-clip:text;background-clip:text}
html[data-theme="light"] .glow{opacity:.18!important}
html[data-theme="light"] header:before,html[data-theme="light"] header:after{opacity:.16}
html[data-theme="light"] .pill{color:#4B3BBF;background:rgba(139,92,246,.10);border-color:rgba(139,92,246,.3)}
html[data-theme="light"] .chip{background:#fff}
html[data-theme="light"] .step .n{color:#5B3FD6;background:rgba(139,92,246,.12)}
html[data-theme="light"] .feat .ic svg{stroke:#5B4BE0}
html[data-theme="light"] .plan h3{color:#4A4766}
html[data-theme="light"] summary:after{color:#5B4BE0}
html[data-theme="light"] #check path{stroke:#16956A}
html[data-theme="light"] .tick{color:#16956A;background:rgba(34,168,116,.14)}
html[data-theme="light"] .cust-visual{background:#ECE9FA}
html[data-theme="light"] .float{background:rgba(255,255,255,.96);border-color:var(--line);color:var(--text);box-shadow:0 20px 40px -16px rgba(23,20,60,.35)}
html[data-theme="light"] .float span{color:var(--muted)}
html[data-theme="light"] a[style*="#C4B5FD"]{color:#5B3FD6!important}
html[data-theme="light"] .step,html[data-theme="light"] .feat,html[data-theme="light"] .plan,
html[data-theme="light"] details,html[data-theme="light"] .tile,html[data-theme="light"] .chart-card,
html[data-theme="light"] .panel,html[data-theme="light"] .line-card,html[data-theme="light"] .res{
  box-shadow:0 1px 2px rgba(23,20,60,.04),0 10px 28px -16px rgba(23,20,60,.18)}
html[data-theme="light"] .plan.best{box-shadow:0 30px 60px -30px rgba(139,92,246,.55)}
html[data-theme="light"] .phone,html[data-theme="light"] .track-grid img{box-shadow:0 0 0 2px #D9D5F0,0 40px 80px -30px rgba(23,20,60,.45),0 0 120px -40px rgba(139,92,246,.5)}

/* Benefits page */
html[data-theme="light"] .res,html[data-theme="light"] .line-card{background:#fff}
html[data-theme="light"] .res.hero{background:linear-gradient(140deg,rgba(110,106,240,.14),rgba(168,85,247,.12))}
html[data-theme="light"] .res .v.neg{color:#C62828}
html[data-theme="light"] .note{color:#3D2FA8;background:rgba(127,108,240,.08)}
html[data-theme="light"] .tip{background:#fff;border-color:var(--line);box-shadow:0 12px 30px -10px rgba(23,20,60,.3)}

/* Support & privacy pages */
html[data-theme="light"] main p,html[data-theme="light"] .policy ul,html[data-theme="light"] .policy ol{color:#33304F}
html[data-theme="light"] .policy h3{color:#2A2650}
html[data-theme="light"] details p{color:var(--muted)}
html[data-theme="light"] .card p{color:rgba(255,255,255,.9)}
html[data-theme="light"] .contact{box-shadow:0 30px 60px -30px rgba(91,63,214,.5)}
html[data-theme="light"] .back{background:#fff}
html[data-theme="light"] details.math{box-shadow:none}
