/* ════════════════════════════════════════════════════════════════════
   CYBERNYX V1.1 — Liquid Glass Design System
   Apple Liquid Glass-inspired material system, dark theme,
   brand green (#0ffa6f) preserved from the logo.
   Loaded AFTER each page's inline styles — acts as a design overlay.
   ════════════════════════════════════════════════════════════════════ */

:root {
  --green:        #0ffa6f;
  --green-soft:   #5ee8a4;
  --teal:         #0fd0a8;
  --grad-accent:  linear-gradient(135deg, #26ff85 0%, #0fd9a0 100%);
  --muted:        #61806f;
  --mid:          #92b29e;

  /* Liquid Glass material tokens */
  --glass-fill:        rgba(12, 20, 15, 0.52);
  --glass-fill-green:  rgba(10, 26, 16, 0.55);
  --glass-blur:        blur(28px) saturate(1.8) brightness(1.1);
  --glass-edge: linear-gradient(150deg,
                  rgba(255,255,255,0.22) 0%,
                  rgba(255,255,255,0.06) 30%,
                  rgba(15,250,111,0.12) 65%,
                  rgba(255,255,255,0.04) 100%);
  --glass-edge-green: linear-gradient(150deg,
                  rgba(15,250,111,0.45) 0%,
                  rgba(15,250,111,0.10) 40%,
                  rgba(15,208,168,0.28) 100%);
  --glass-shadow: 0 16px 40px rgba(0,0,0,0.38), inset 0 1px 0 rgba(255,255,255,0.10);

  --r-md:   18px;
  --r-lg:   24px;
  --r-pill: 100px;
}

/* ─── AMBIENT LIGHT LAYER ───
   Soft aurora glow fixed behind the page so backdrop-filter
   has actual light to refract — this is what makes the glass read. */
body {
  background: #020503;
  font-family: 'Inter', 'Raleway', sans-serif;
}
body::before,
body::after {
  content: '';
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
body::before {
  width: 72vmax; height: 72vmax;
  top: -28vmax; left: -20vmax;
  background: radial-gradient(circle,
    rgba(15,250,111,0.09) 0%,
    rgba(15,250,111,0.030) 42%,
    transparent 68%);
}
body::after {
  width: 62vmax; height: 62vmax;
  bottom: -26vmax; right: -16vmax;
  background: radial-gradient(circle,
    rgba(15,208,168,0.08) 0%,
    rgba(15,208,168,0.025) 42%,
    transparent 68%);
}

::selection { background: rgba(15,250,111,0.28); color: #fff; }

a:focus-visible, button:focus-visible {
  outline: 2px solid rgba(15,250,111,0.55);
  outline-offset: 2px;
}
/* Text fields signal focus via border + soft ring only — an offset
   outline would crowd the label sitting right above the input. */
input:focus, input:focus-visible, select:focus, select:focus-visible,
textarea:focus, textarea:focus-visible {
  outline: none;
}
input[type="checkbox"]:focus-visible, input[type="radio"]:focus-visible {
  outline: 2px solid rgba(15,250,111,0.55);
  outline-offset: 2px;
}
.m-field { gap: 8px; }

/* ─── NAV — floating glass pill ─── */
nav {
  border-radius: var(--r-pill);
  padding: 10px 14px 10px 24px;
  background: rgba(8,14,10,0.55);
  backdrop-filter: blur(30px) saturate(2) brightness(1.15);
  -webkit-backdrop-filter: blur(30px) saturate(2) brightness(1.15);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 12px 40px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.16),
    inset 0 -1px 0 rgba(255,255,255,0.04);
}

/* ─── PRIMARY ACTIONS — gradient glass pills ─── */
.nav-cta, .btn-g, .plan-btn.fl, .m-submit, .ck-accept,
.btn-start, .btn-next, .lf-submit, .gate-btn {
  border-radius: var(--r-pill);
  background: var(--grad-accent);
  color: #04140a;
  border: none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.40),
    inset 0 -1px 0 rgba(0,0,0,0.12),
    0 8px 24px rgba(15,250,111,0.16);
}
.nav-cta:hover, .btn-g:hover, .plan-btn.fl:hover, .m-submit:hover,
.ck-accept:hover, .btn-start:hover, .btn-next:hover,
.lf-submit:hover, .gate-btn:hover {
  background: linear-gradient(135deg, #4dffa0 0%, #1fe9b3 100%);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    0 14px 34px rgba(15,250,111,0.26);
}

/* ─── SECONDARY ACTIONS — neutral glass pills ─── */
.btn-o, .plan-btn.ol, .ck-decline, .btn-back {
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14);
}
.btn-o:hover, .plan-btn.ol:hover, .ck-decline:hover, .btn-back:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.24);
}
.plan-btn.ol:hover { color: var(--green); border-color: rgba(15,250,111,0.45); }

/* ─── HERO ─── */
.hero-fade {
  background: linear-gradient(to bottom,
    rgba(2,5,3,0.05) 0%, rgba(2,5,3,0) 20%,
    rgba(2,5,3,0.35) 60%, rgba(2,5,3,0.97) 100%);
}
.hero-h1 { letter-spacing: -2.2px; }
.hero-h1 .line2 {
  background: linear-gradient(100deg, #5ee8a4 0%, #0ffa6f 45%, #0fd0a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-pill {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.20),
    0 8px 24px rgba(0,0,0,0.30);
}

h2 { letter-spacing: -1px; }

/* ─── LIQUID GLASS CARD MATERIAL ───
   Translucent fill + gradient refraction edge + specular top line. */
.step, .plan.std, .p-card, .why-c, .cta-box, .assess-box,
.faq-item, .faq-cta, .q-card, .lf-card, .result-box, .gate-box,
.toc, .party-card, .service-card, .def-card, .rule-card, .cookie-card {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--glass-fill), var(--glass-fill)) padding-box,
    var(--glass-edge) border-box;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
}
.plan.feat {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--glass-fill-green), var(--glass-fill-green)) padding-box,
    var(--glass-edge-green) border-box;
  backdrop-filter: blur(32px) saturate(2) brightness(1.12);
  -webkit-backdrop-filter: blur(32px) saturate(2) brightness(1.12);
  box-shadow:
    0 0 70px rgba(15,250,111,0.10),
    0 16px 40px rgba(0,0,0,0.40),
    inset 0 1px 0 rgba(15,250,111,0.24);
}

/* Radii — softer, contemporary */
.step      { border-radius: var(--r-md); border-right: none; }
.plan      { border-radius: 22px; }
.p-card    { border-radius: 20px; position: relative; overflow: hidden; }
.why-c     { border-radius: var(--r-md); }
.cta-box   { border-radius: 28px; padding: 56px 52px; }
.cta-box .cta-fine { margin-bottom: 0; }
/* Tighten the gap between the assessment promo and the final CTA —
   the two bottom paddings stacked to ~192px of dead space. */
.assess-sec { padding-bottom: 40px; }
.cta-sec    { padding-top: 48px; }
.assess-box{ border-radius: var(--r-lg); }
.modal-box { border-radius: var(--r-lg); }
.faq-cta   { border-radius: var(--r-lg); }

/* Steps: detached floating cards instead of a fused strip */
.steps {
  gap: 16px;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}
.step { overflow: hidden; transition: transform .25s, box-shadow .25s; }
.step:hover {
  transform: translateY(-3px);
  background:
    linear-gradient(rgba(13,26,17,0.55), rgba(13,26,17,0.55)) padding-box,
    var(--glass-edge-green) border-box;
  box-shadow: 0 20px 48px rgba(0,0,0,0.45), inset 0 1px 0 rgba(15,250,111,0.16);
}

/* Specular sweep on hover — light travelling across the glass */
.plan::after, .p-card::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: -75%;
  width: 45%;
  background: linear-gradient(100deg,
    transparent 0%,
    rgba(255,255,255,0.04) 42%,
    rgba(255,255,255,0.10) 50%,
    rgba(255,255,255,0.04) 58%,
    transparent 100%);
  transform: skewX(-18deg);
  transition: left .7s ease;
  pointer-events: none;
}
.plan:hover::after, .p-card:hover::after { left: 135%; }

.why-c:hover {
  background:
    linear-gradient(rgba(13,26,17,0.55), rgba(13,26,17,0.55)) padding-box,
    var(--glass-edge-green) border-box;
  border-color: transparent;
}

/* Partners section: let the aurora through */
.partners-sec { background: transparent; }

/* ─── CONTROLS ─── */
.qty-ctrl  { border-radius: 12px; }
.tot-row   { border-radius: 14px; }
.ao-row, .srv-ao-header { border-radius: 10px; }
.m-input, .m-select, .m-textarea, .lf-input, .gate-input { border-radius: 12px; }
.m-input:focus, .m-select:focus, .m-textarea:focus,
.lf-input:focus, .gate-input:focus {
  border-color: rgba(15,250,111,0.45);
  box-shadow: 0 0 0 3px rgba(15,250,111,0.12);
}

/* ─── SECONDARY PAGE HERO — brighter ambient key light ─── */
.page-hero-bg {
  background: radial-gradient(ellipse 60% 85% at 50% 0%,
    rgba(15,250,111,0.10) 0%, transparent 72%);
}

/* ─── COOKIE BANNER ─── */
#cookieBanner {
  border-radius: var(--r-md);
  background: rgba(8,14,10,0.78);
  backdrop-filter: blur(32px) saturate(2) brightness(1.1);
  -webkit-backdrop-filter: blur(32px) saturate(2) brightness(1.1);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 12px 48px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.12);
}

/* ─── SCROLL REVEAL ─── */
@media (prefers-reduced-motion: no-preference) {
  .rev {
    opacity: 0;
    transform: translateY(18px);
    transition:
      opacity .7s cubic-bezier(.2,.6,.2,1),
      transform .7s cubic-bezier(.2,.6,.2,1);
    transition-delay: var(--rev-delay, 0s);
  }
  .rev.rev-in { opacity: 1; transform: none; }
}

/* ─── MOBILE ─── */
@media (max-width: 900px) {
  nav { border-radius: 26px; padding: 10px 14px 10px 18px; }
  .steps { gap: 12px; }
}
