/* ProxiesVault theme: dark (default) and light (sky blue). Set by theme.js through <html data-theme="light">. */
html[data-theme="light"] {
    color-scheme: light;
    --gold: #0284C7; --gold-light: #0369A1; --gold-pale: #075985; --gold-bright: #0EA5E9;
    --gold-dim: #0284C7; --gold-dark: #075985; --gold-deeper: #0C4A6E;
    --gold-glow: rgba(14,165,233,0.20); --gold-glow-sm: rgba(14,165,233,0.10); --gold-glow-lg: rgba(14,165,233,0.07);
    --bg: #E6F4FF; --bg-card: #FFFFFF; --bg-elevated: #F2FAFF; --bg-glass: rgba(255,255,255,0.86);
    --bg-input: #F5FBFF; --bg-hover: rgba(14,165,233,0.08);
    --text: #0B2540; --text-sub: #35557A; --muted: #587694; --muted-light: #46688A; --ink: #FFFFFF;
    --border: rgba(2,132,199,0.24); --border-soft: rgba(11,37,64,0.08);
    --border-hover: rgba(2,132,199,0.5); --border-glow: rgba(2,132,199,0.7);
    --shadow: 0 4px 24px rgba(11,37,64,0.10); --shadow-gold: 0 8px 32px rgba(14,165,233,0.18);
    --shadow-gold-lg: 0 20px 60px rgba(14,165,233,0.22); --shadow-card: 0 2px 12px rgba(11,37,64,0.08), 0 10px 32px rgba(14,165,233,0.10);
    --cream: #E6F4FF; --white: #FFFFFF; --charcoal: #0B2540;
    --card: #FFFFFF; --txt: #0B2540; --mut: #46688A; --line: rgba(2,132,199,0.3);
    --error: #C2410C; --success: #15803D;
}
html[data-theme="light"] body { background: linear-gradient(180deg, #D8EEFF 0%, #E6F4FF 40%, #F2FAFF 100%) fixed; color: var(--text); }
/* Surfaces that were hard-coded dark */
html[data-theme="light"] nav, html[data-theme="light"] .navbar, html[data-theme="light"] header.site-header { background: rgba(255,255,255,0.88) !important; border-color: var(--border) !important; }
html[data-theme="light"] footer { background: #D3EBFB !important; border-color: var(--border) !important; }
html[data-theme="light"] .btn-gold, html[data-theme="light"] .btn-primary { background: linear-gradient(135deg, #0EA5E9, #0284C7) !important; color: #fff !important; box-shadow: 0 6px 20px rgba(2,132,199,0.28) !important; }
html[data-theme="light"] .btn-outline, html[data-theme="light"] .btn-ghost { color: #0369A1 !important; border-color: rgba(2,132,199,0.45) !important; }
html[data-theme="light"] input, html[data-theme="light"] select, html[data-theme="light"] textarea { background: #F5FBFF; color: var(--text); border-color: rgba(2,132,199,0.3); }
html[data-theme="light"] ::placeholder { color: #6B87A3; }
html[data-theme="light"] .trust-pill, html[data-theme="light"] .hero-pill, html[data-theme="light"] .stat-pill { background: #FFFFFF !important; color: #0B2540 !important; border-color: rgba(2,132,199,0.3) !important; }
html[data-theme="light"] #fx-canvas, html[data-theme="light"] .fx-layer { opacity: .35; }
html[data-theme="light"] #otherServicesList { background: #FFFFFF !important; border-color: rgba(2,132,199,0.35) !important; color: #0B2540 !important; box-shadow: 0 8px 24px rgba(2,132,199,0.2) !important; }
html[data-theme="light"] #otherServicesList * { color: #0B2540; }
html[data-theme="light"] #askbot-btn { background: linear-gradient(135deg, #0EA5E9, #0284C7) !important; color: #fff !important; border-color: transparent !important; }
html[data-theme="light"] #askbot-btn * { color: #fff !important; }
/* Toggle button: in the header next to the menu on phones, bottom-left on desktop */
#pvThemeToggle { position: fixed; top: 9px; right: 74px; z-index: 9990; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-hover, rgba(201,168,76,.4)); background: var(--bg-card, #0A1120); color: var(--gold-light, #F0D078); font-size: 20px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,.35); padding: 0; }
html[data-theme="light"] #pvThemeToggle { background: #fff; color: #0284C7; box-shadow: 0 6px 20px rgba(2,132,199,.25); }
@media (min-width: 900px) { #pvThemeToggle { top: auto; right: auto; left: 14px; bottom: 14px; } }
#pvThemeToggle:focus-visible { outline: 2px solid #38BDF8; outline-offset: 2px; }
html[data-theme="light"] .shop-filter { background: linear-gradient(180deg, rgba(230,244,255,0.97), rgba(230,244,255,0.9)) !important; }
html[data-theme="light"] .shop-search, html[data-theme="light"] .shop-chip { background: #FFFFFF; }
html[data-theme="light"] .shop-mobile-banner span { color: #0B2540; }
html[data-theme="light"] .shop-mobile-banner { color: #0369A1; background: rgba(14,165,233,0.1); }
html[data-theme="light"] .lp-btn { background: linear-gradient(180deg, #38BDF8, #0284C7); color: #fff; }
html[data-theme="light"] .lp-pills li { background: rgba(14,165,233,0.1); color: #075985; }
html[data-theme="light"] details { border-top-color: rgba(11,37,64,0.1); }
/* Pages without a fixed header: keep the toggle bottom-left so it never covers a button */
body:has(.lp-top) #pvThemeToggle, body:has(.mp-hero) #pvThemeToggle, body:has(.seo-hero) #pvThemeToggle { top: auto; right: auto; left: 14px; bottom: 14px; }

/* ================= Light mode: sky-blue glass and depth ================= */
html[data-theme="light"] body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(520px 420px at 12% 8%, rgba(56,189,248,0.38), transparent 70%),
        radial-gradient(560px 460px at 92% 22%, rgba(125,211,252,0.42), transparent 70%),
        radial-gradient(620px 520px at 30% 96%, rgba(14,165,233,0.22), transparent 70%); }
html[data-theme="light"] :is(.card, .card-featured, .card-glass, .proxy-card, .vpn-card, .plan-card, .why-card, .testi-card, .use-case-card, .plan-seo-card, .lp-sec, .learn-step, .learn-video-block, .mp-card, .mp-plan, .mp-group, .mp-summary, .mp-step, .mp-chip, .mp-order, .stat-card, .guide-card, .modal-box, .pv-wallet, .pg-msg, .pg-search, .shop-search, .shop-chip, .faq-item, .table-card, .trust-pill, .hero-pill, .lp-price) {
    background: linear-gradient(145deg, rgba(255,255,255,0.82), rgba(255,255,255,0.46)) !important;
    -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%);
    border: 1px solid rgba(255,255,255,0.85) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), inset 0 -1px 0 rgba(2,132,199,0.12),
                0 2px 6px rgba(11,37,64,0.07), 0 14px 34px rgba(2,132,199,0.17) !important;
    transition: box-shadow .25s ease, transform .25s ease; }
html[data-theme="light"] :is(.proxy-card, .vpn-card, .plan-card, .why-card, .testi-card, .use-case-card, .plan-seo-card, .guide-card, .stat-card, .lp-price):hover {
    box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(2,132,199,0.16), 0 4px 10px rgba(11,37,64,0.08), 0 22px 48px rgba(2,132,199,0.28) !important; }
html[data-theme="light"] :is(nav, .navbar, header.site-header, .shop-filter) { -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%); box-shadow: 0 8px 28px rgba(2,132,199,0.14) !important; }
/* 3D glossy buttons */
html[data-theme="light"] :is(.btn-gold, .btn-primary, .lp-btn, .mp-btn, .mp-tab.on) {
    background: linear-gradient(180deg, #7DD3FC 0%, #38BDF8 38%, #0284C7 100%) !important; color: #fff !important; text-shadow: 0 1px 1px rgba(3,105,161,0.5);
    border: 1px solid rgba(255,255,255,0.55) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.75), inset 0 -3px 0 rgba(3,105,161,0.45), 0 8px 18px rgba(2,132,199,0.35) !important; }
html[data-theme="light"] :is(.btn-gold, .btn-primary, .lp-btn, .mp-btn):active { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), inset 0 -1px 0 rgba(3,105,161,0.45), 0 3px 8px rgba(2,132,199,0.3) !important; }
html[data-theme="light"] :is(.btn-outline, .btn-ghost, .back-btn, .mp-ghost, .mp-tab) { background: rgba(255,255,255,0.6) !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 #fff, 0 4px 12px rgba(2,132,199,0.15); }
html[data-theme="light"] #pvThemeToggle { background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(186,230,253,0.7)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid #fff; box-shadow: inset 0 1px 0 #fff, 0 8px 20px rgba(2,132,199,0.3); }
html[data-theme="light"] :is(input, select, textarea) { background: rgba(255,255,255,0.7); box-shadow: inset 0 2px 5px rgba(11,37,64,0.08); }
@media (prefers-reduced-motion: reduce) { html[data-theme="light"] * { transition: none !important; } }
html[data-theme="light"] :is(.mp-opt, .mp-row, .mp-qb) { background: rgba(255,255,255,0.7); box-shadow: inset 0 1px 0 #fff, 0 3px 10px rgba(2,132,199,0.12); }
html[data-theme="light"] .mp-opt.on { background: linear-gradient(180deg, #7DD3FC, #0284C7) !important; color: #fff; }
html[data-theme="light"] .mp-plan.on { box-shadow: 0 0 0 3px rgba(14,165,233,0.28), 0 14px 34px rgba(2,132,199,0.25) !important; }
html[data-theme="light"] :is(.mp-stop.on .l, .mp-stop.on .s) { color: #0284C7; }
body:has(.mp-hero) #pvThemeToggle { bottom: 88px; }
