/* ==========================================================
   DENTFLIX — LIGHT "LIQUID GLASS" THEME
   Imports the full dark stylesheet for structure/layout,
   then overrides surfaces + color for an Apple-style light,
   frosted-glass aesthetic. All functionality preserved.
   ========================================================== */

@import url('styles.css');

:root {
  /* glass system */
  --glass:         rgba(255,255,255,0.55);
  --glass-2:       rgba(255,255,255,0.42);
  --glass-strong:  rgba(255,255,255,0.74);
  --glass-border:  rgba(255,255,255,0.9);
  --glass-edge:    rgba(17,20,28,0.08);
  --glass-blur:    saturate(180%) blur(22px);

  /* ink text on light */
  --ink:           #15151b;
  --ink-soft:      rgba(21,21,27,0.66);
  --ink-faint:     rgba(21,21,27,0.48);
  --ink-line:      rgba(17,20,28,0.10);

  --glass-shadow:  0 10px 40px rgba(17,20,28,0.10), 0 2px 8px rgba(17,20,28,0.05);
  --glass-inset:   inset 0 1px 0 rgba(255,255,255,0.85);
}

/* ===== page backdrop ===== */
html.theme-light, body.theme-light,
.theme-light {
  background: transparent;
  color: var(--ink);
}
body.theme-light {
  position: relative;
  background:
    radial-gradient(60% 50% at 18% 12%, rgba(255,206,193,0.55) 0%, rgba(255,206,193,0) 60%),
    radial-gradient(50% 45% at 88% 4%, rgba(219,46,29,0.12) 0%, rgba(219,46,29,0) 55%),
    radial-gradient(55% 55% at 75% 60%, rgba(206,222,255,0.5) 0%, rgba(206,222,255,0) 60%),
    radial-gradient(60% 60% at 12% 92%, rgba(255,228,214,0.55) 0%, rgba(255,228,214,0) 60%),
    linear-gradient(180deg, #f5f6f9 0%, #eef0f5 100%);
  background-attachment: fixed;
}
.theme-light .shell { background: transparent; }

/* kill the dark grain in hero */
.theme-light .hero-grain { opacity: 0.03; mix-blend-mode: multiply; }

/* ============================================================
   NAV
   ============================================================ */
.theme-light .nav-link { color: var(--ink-soft); }
.theme-light .nav-link:hover { color: var(--ink); }
.theme-light .nav.is-scrolled {
  background: var(--glass-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-bottom-color: var(--glass-edge);
  box-shadow: 0 6px 30px rgba(17,20,28,0.06);
}
.theme-light .btn-ghost {
  background: var(--glass);
  color: var(--ink);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-inset);
}
.theme-light .btn-ghost:hover { background: var(--glass-strong); }

/* ============================================================
   HERO
   ============================================================ */
.theme-light .hero,
.theme-light .section,
.theme-light .section.alt,
.theme-light .lib,
.theme-light .orient,
.theme-light .pricing,
.theme-light .faq,
.theme-light .cta { background: transparent; }

.theme-light .hero-bg {
  background:
    radial-gradient(50% 70% at 20% 35%, rgba(219,46,29,0.10) 0%, rgba(219,46,29,0) 60%),
    radial-gradient(60% 60% at 80% 70%, rgba(255,180,160,0.18) 0%, rgba(255,180,160,0) 65%),
    transparent;
}
.theme-light .hero-tooth-glow { opacity: 0.3; }
/* the big brand tooth: make it a soft tinted accent, not a solid red blob */
.theme-light .hero-tooth-bg {
  opacity: 0.16;
  filter: drop-shadow(0 30px 60px rgba(219,46,29,0.12));
}
.theme-light .float-tooth { opacity: 0.08 !important; }

.theme-light .hero-eyebrow {
  color: var(--ink-soft);
  border: 1px solid var(--glass-border);
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-inset);
}
.theme-light .hero-title { color: var(--ink); }
.theme-light .hero-title .stroke {
  -webkit-text-stroke: 2px var(--ink);
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.theme-light .hero-lede { color: var(--ink-soft); }
.theme-light .hero-trust-num { color: var(--ink); }
.theme-light .hero-trust-label { color: var(--ink-faint); }

/* hero TV stays a dark "screen" but framed in glass */
.theme-light .hero-tv {
  box-shadow:
    0 30px 70px rgba(17,20,28,0.22),
    0 8px 24px rgba(219,46,29,0.12),
    0 0 0 6px rgba(255,255,255,0.6),
    0 0 0 7px var(--glass-edge);
}

/* ============================================================
   FEATURES
   ============================================================ */
.theme-light .section-title { color: var(--ink); }
.theme-light .section-lede { color: var(--ink-soft); }

.theme-light .feat-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow), var(--glass-inset);
}
.theme-light .feat-card:hover {
  border-color: rgba(219,46,29,0.45);
  box-shadow: 0 26px 60px rgba(17,20,28,0.14), 0 0 0 1px rgba(219,46,29,0.2), var(--glass-inset);
}
.theme-light .feat-card::before {
  background: radial-gradient(80% 120% at 100% 0%, rgba(219,46,29,0.12) 0%, rgba(219,46,29,0) 60%);
}
.theme-light .feat-card.featured {
  background: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(255,236,232,0.5) 100%);
  border-color: rgba(219,46,29,0.28);
}
.theme-light .feat-card.featured::after { opacity: 0.16; }
.theme-light .feat-title { color: var(--ink); }
.theme-light .feat-text { color: var(--ink-soft); }
.theme-light .feat-card.featured .feat-text { color: var(--ink-soft); }
.theme-light .feat-num .arrow {
  background: rgba(17,20,28,0.06);
  color: var(--ink);
}
.theme-light .feat-card:hover .feat-num .arrow { background: var(--df-red); color: #fff; }

/* ============================================================
   MODAL
   ============================================================ */
.theme-light .modal-overlay { background: rgba(120,125,140,0.35); }
.theme-light .modal {
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: saturate(180%) blur(40px);
  backdrop-filter: saturate(180%) blur(40px);
  box-shadow: 0 40px 100px rgba(17,20,28,0.25), var(--glass-inset);
}
.theme-light .modal-banner {
  background: linear-gradient(180deg, rgba(219,46,29,0.12) 0%, rgba(219,46,29,0) 100%), rgba(255,255,255,0.4);
  border-bottom-color: var(--ink-line);
}
.theme-light .modal-title { color: var(--ink); }
.theme-light .modal-body p { color: var(--ink-soft); }
.theme-light .modal-list li { color: var(--ink-soft); }
.theme-light .modal-close {
  background: rgba(17,20,28,0.06);
  color: var(--ink);
}
.theme-light .modal-close:hover { background: var(--df-red); color: #fff; }
.theme-light .modal-foot {
  background: rgba(255,255,255,0.35);
  border-top-color: var(--ink-line);
}
.theme-light .modal-foot-meta { color: var(--ink-faint); }

/* ============================================================
   LIBRARY
   ============================================================ */
.theme-light .lib::before {
  background:
    radial-gradient(40% 50% at 90% 20%, rgba(219,46,29,0.10) 0%, rgba(219,46,29,0) 65%),
    radial-gradient(40% 50% at 10% 90%, rgba(206,222,255,0.4) 0%, rgba(206,222,255,0) 70%);
}
.theme-light .lib-tree {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow), var(--glass-inset);
}
.theme-light .lib-tree-head { color: var(--ink-soft); border-bottom-color: var(--ink-line); }
.theme-light .lib-tree-count { color: var(--ink-faint); }
.theme-light .lib-cat-head { color: var(--ink); }
.theme-light .lib-cat-head:hover { background: rgba(17,20,28,0.04); }
.theme-light .lib-cat-chev { color: var(--ink-faint); }
.theme-light .lib-cat-count { color: var(--ink-faint); background: rgba(17,20,28,0.05); }
.theme-light .lib-item { color: var(--ink-soft); }
.theme-light .lib-item:hover:not(:disabled) { background: rgba(17,20,28,0.04); color: var(--ink); }
.theme-light .lib-item.is-playing { background: rgba(219,46,29,0.12); color: var(--ink); }
.theme-light .lib-item.is-soon { color: var(--ink-faint); }
.theme-light .lib-item-soon { color: var(--ink-faint); border-color: var(--ink-line); background: rgba(17,20,28,0.02); }
/* player stays dark (it's a screen) but glass-framed */
.theme-light .lib-player {
  box-shadow: 0 30px 70px rgba(17,20,28,0.2), 0 0 0 6px rgba(255,255,255,0.6), 0 0 0 7px var(--glass-edge);
}
.theme-light .lib-controls {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-inset);
}
.theme-light .lib-ctrl-mute { background: rgba(17,20,28,0.06); color: var(--ink-soft); }
.theme-light .lib-ctrl-mute:hover { background: rgba(17,20,28,0.12); color: var(--ink); }
.theme-light .lib-time { color: var(--ink-faint); }
.theme-light .lib-time-dur { color: var(--ink-faint); }
.theme-light .lib-track { background: rgba(17,20,28,0.1); }
.theme-light .lib-meta { color: var(--ink-faint); }

/* ============================================================
   ORIENTATION
   ============================================================ */
.theme-light .orient::before {
  background: radial-gradient(36% 60% at 100% 50%, rgba(219,46,29,0.10) 0%, rgba(219,46,29,0) 70%);
}
.theme-light .orient-pt-h { color: var(--ink); }
.theme-light .orient-pt-t { color: var(--ink-soft); }
.theme-light .orient-pt-num { background: rgba(219,46,29,0.12); color: var(--df-red); }
.theme-light .orient-toggle {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-inset);
}
.theme-light .orient-tog { color: var(--ink-soft); }
.theme-light .orient-tog:hover { color: var(--ink); }
.theme-light .orient-tog.active { color: #fff; }
.theme-light .orient-caption { color: var(--ink-faint); }
.theme-light .orient-tv-rim {
  background: #fff;
  box-shadow: 0 24px 50px rgba(17,20,28,0.18), 0 0 0 1px var(--glass-edge);
}
.theme-light .orient-stand,
.theme-light .orient-base { background: #c7ccd6; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.theme-light .how-step {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-inset);
}
.theme-light .how-step:hover { background: rgba(255,236,232,0.6); border-color: rgba(219,46,29,0.3); }
.theme-light .how-step.active { background: rgba(219,46,29,0.1); border-color: rgba(219,46,29,0.35); }
.theme-light .how-step-title { color: var(--ink); }
.theme-light .how-step-text { color: var(--ink-soft); }
.theme-light .how-num { background: rgba(219,46,29,0.12); color: var(--df-red); }
.theme-light .how-photo {
  box-shadow: 0 40px 90px rgba(17,20,28,0.2), 0 0 0 6px rgba(255,255,255,0.6), 0 0 0 7px var(--glass-edge);
}

/* ============================================================
   LEGAL — stays a bold red anchor section (brand moment)
   ============================================================ */
/* legal section keeps its red bg + white text + dark fine-print card.
   Only soften the join with the light page. */
.theme-light .legal { box-shadow: 0 40px 80px rgba(219,46,29,0.18); }

/* ============================================================
   ADMIN — already light; glassify the chrome
   ============================================================ */
.theme-light .admin { background: transparent; }
.theme-light .admin-window {
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: saturate(180%) blur(30px);
  backdrop-filter: saturate(180%) blur(30px);
  box-shadow: 0 40px 90px rgba(17,20,28,0.16), var(--glass-inset);
}
.theme-light .admin-titlebar { background: rgba(255,255,255,0.5); }
.theme-light .admin-rail { background: rgba(255,255,255,0.4); }

/* ============================================================
   PRICING
   ============================================================ */
.theme-light .pricing-bg {
  background:
    radial-gradient(40% 50% at 80% 30%, rgba(219,46,29,0.10) 0%, rgba(219,46,29,0) 65%),
    radial-gradient(40% 50% at 10% 80%, rgba(206,222,255,0.45) 0%, rgba(206,222,255,0) 70%);
}
.theme-light .pc-panel {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow), var(--glass-inset);
}
.theme-light .pc-label { color: var(--ink-soft); }
.theme-light .pc-label .hint { color: var(--ink-faint); }
.theme-light .pc-tariff {
  background: rgba(255,255,255,0.5);
  border-color: var(--glass-border);
}
.theme-light .pc-tariff:hover { background: rgba(255,255,255,0.7); border-color: rgba(17,20,28,0.18); }
.theme-light .pc-tariff.active {
  background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, rgba(255,236,232,0.6) 100%);
  border-color: var(--df-red);
  box-shadow: 0 12px 32px rgba(219,46,29,0.18), 0 0 0 1px rgba(219,46,29,0.5);
}
.theme-light .pc-tariff-name { color: var(--ink); }
.theme-light .pc-tariff-price-now { color: var(--ink); }
.theme-light .pc-tariff-price-now small { color: var(--ink-faint); }
.theme-light .pc-tariff-price-old { color: var(--ink-faint); }
.theme-light .pc-tariff-list li { color: var(--ink-soft); }
.theme-light .pc-tariff-check { border-color: rgba(17,20,28,0.2); }
.theme-light .pc-term { background: rgba(255,255,255,0.5); border-color: var(--glass-border); }
.theme-light .pc-term:hover { background: rgba(255,255,255,0.7); border-color: rgba(17,20,28,0.18); }
.theme-light .pc-term.active { background: rgba(219,46,29,0.1); border-color: var(--df-red); }
.theme-light .pc-term-n { color: var(--ink); }
.theme-light .pc-term-l { color: var(--ink-faint); }
.theme-light .pc-term-disc.muted { color: var(--ink-faint); }
.theme-light .pc-step-btn {
  background: rgba(255,255,255,0.6);
  border-color: var(--glass-border);
  color: var(--ink);
}
.theme-light .pc-step-btn:hover:not(:disabled) { background: var(--df-red); border-color: var(--df-red); color: #fff; }
.theme-light .pc-step-val { background: rgba(255,255,255,0.5); border-color: var(--glass-border); }
.theme-light .pc-step-val .v { color: var(--ink); }
.theme-light .pc-step-val .u { color: var(--ink-faint); }
/* receipt stays red */

/* ============================================================
   FAQ
   ============================================================ */
.theme-light .faq-bg {
  background:
    radial-gradient(35% 50% at 0% 30%, rgba(219,46,29,0.08) 0%, rgba(219,46,29,0) 70%),
    radial-gradient(40% 60% at 100% 90%, rgba(206,222,255,0.4) 0%, rgba(206,222,255,0) 75%);
}
.theme-light .faq-item { border-top-color: var(--ink-line); }
.theme-light .faq-item:last-child { border-bottom-color: var(--ink-line); }
.theme-light .faq-q { color: var(--ink); }
.theme-light .faq-q:hover { color: var(--df-red); }
.theme-light .faq-a { color: var(--ink-soft); }
.theme-light .faq-q-icon { border-color: rgba(17,20,28,0.25); }

/* ============================================================
   CTA
   ============================================================ */
.theme-light .cta-bg {
  background:
    radial-gradient(50% 60% at 75% 50%, rgba(219,46,29,0.10) 0%, rgba(219,46,29,0) 65%),
    radial-gradient(40% 50% at 20% 50%, rgba(255,200,185,0.3) 0%, rgba(255,200,185,0) 70%);
}
.theme-light .cta-title { color: var(--ink); }
.theme-light .cta-lede { color: var(--ink-soft); }
.theme-light .cta-form {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow), var(--glass-inset);
}
.theme-light .cta-form-h { color: var(--ink); }
.theme-light .cta-input {
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--glass-border);
  color: var(--ink);
}
.theme-light .cta-input::placeholder { color: var(--ink-faint); }
.theme-light .cta-input:focus { background: #fff; border-color: var(--df-red); }
.theme-light .cta-fineprint { color: var(--ink-faint); }

/* ============================================================
   FOOTER — frosted light
   ============================================================ */
.theme-light .foot {
  background: var(--glass-strong);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  color: var(--ink-soft);
  border-top-color: var(--glass-edge);
}
.theme-light .foot-brand-blurb { color: var(--ink-faint); }
.theme-light .foot-col-h { color: var(--ink-faint); }
.theme-light .foot-link { color: var(--ink-soft); }
.theme-light .foot-link:hover { color: var(--df-red); }
.theme-light .foot-bottom { border-top-color: var(--ink-line); color: var(--ink-faint); }

/* ============================================================
   MISC
   ============================================================ */
.theme-light .marquee { box-shadow: 0 10px 40px rgba(219,46,29,0.18); }
