/* tokens.css */
/* ═══════════════════════════════════════════════════
   0. DESIGN TOKENS
   ═══════════════════════════════════════════════════ */
:root {
  --bg0:#050810; --bg1:#0a0f1e; --bg2:#111829;
  --surface: rgba(255,255,255,.04);
  --glass: rgba(255,255,255,.06);
  --stroke: rgba(255,255,255,.10);
  --text:#eaf0ff; --muted:#8899c2;
  --accentA:#7C5CFF; --accentB:#00D4FF; --accentC:#FF3DCE;
  --body-bg:var(--bg0);
  --radius:20px;
  --ease-out-expo: cubic-bezier(.16,1,.3,1);
  --ease-out-quart: cubic-bezier(.25,1,.5,1);
  color-scheme:dark;
}
html[data-theme="light"]{
  --bg0:#f7f4ed;
  --bg1:#fffdf8;
  --bg2:#eaf2ff;
  --surface:rgba(255,255,255,.6);
  --glass:rgba(255,255,255,.68);
  --stroke:rgba(98,122,171,.16);
  --text:#162541;
  --muted:#64738f;
  --accentA:#4b6cff;
  --accentB:#08bce7;
  --accentC:#ff8a65;
  --body-bg:
    radial-gradient(circle at 8% 10%,rgba(109,91,255,.18),transparent 24%),
    radial-gradient(circle at 92% 86%,rgba(8,188,231,.14),transparent 26%),
    linear-gradient(180deg,#fffdf8 0%,#f8f3ea 44%,#eef4ff 100%);
  color-scheme:light;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{
  scroll-behavior:smooth;
  overflow-x:clip;
}
body{
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color:var(--text);
  background:var(--body-bg,var(--bg0));
  overflow-x:clip;
  -webkit-font-smoothing:antialiased;
  transition:background .45s ease,color .45s ease;
}


/* loader.css */
/* ═══════════════════════════════════════════════════
   C. CINEMATIC LOADER
   ═══════════════════════════════════════════════════ */
#loader{
  position:fixed;inset:0;z-index:9999;
  display:flex;flex-direction:column;
  align-items:center;justify-content:center;
  gap:22px;
  overflow:hidden;
  isolation:isolate;
  contain:layout paint style;
  overscroll-behavior:none;
  touch-action:none;
  background:
    radial-gradient(circle at 50% 40%,rgba(30,45,90,.22),rgba(0,0,0,.96) 52%,#000 80%),
    #000;
  pointer-events:all;
  will-change:opacity;
}
#loader.done{
  pointer-events:none;
  display:none!important;
}

/* Title — flex container for char spans */
.loader-title{
  position:relative;
  display:flex;
  gap:0;
  font-size:clamp(38px,7.5vw,90px);
  font-weight:800;
  letter-spacing:.01em;
  line-height:1;
  transform-origin:50% 50%;
  transform:translateZ(0);
  backface-visibility:hidden;
  will-change:transform,filter,opacity;
}

/* Individual char */
.loader-title .lc{
  display:inline-block;
  opacity:0;
  transform:translateY(105%) scale(.45);
  filter:blur(10px);
  backface-visibility:hidden;
  will-change:transform,filter,opacity;
  animation:lcIn .5s var(--ease-out-expo) var(--d) forwards;
}

html.is-loading,
html.is-loading body{
  overflow:hidden;
  overscroll-behavior:none;
}
@keyframes lcIn{
  0%{
    opacity:0;
    transform:translateY(105%) scale(.45);
    filter:blur(10px);
    text-shadow:0 0 50px rgba(0,212,255,.9),0 0 90px rgba(124,92,255,.7);
  }
  55%{
    opacity:1;
    transform:translateY(-6%) scale(1.04);
    filter:blur(0);
    text-shadow:0 0 28px rgba(0,212,255,.5),0 0 56px rgba(124,92,255,.35);
  }
  100%{
    opacity:1;
    transform:translateY(0) scale(1);
    filter:blur(0);
    text-shadow:0 0 0 transparent;
  }
}

/* Scanning light beam across title */
.loader-title::after{
  content:'';
  position:absolute;
  top:-30%;bottom:-30%;
  width:70px;
  background:linear-gradient(90deg,transparent,rgba(0,212,255,.18),rgba(255,255,255,.12),rgba(124,92,255,.18),transparent);
  filter:blur(10px);
  opacity:0;
  pointer-events:none;
  will-change:left,opacity;
}
#loader.phase-in .loader-title::after{
  animation:scanBeam .8s ease-in-out .05s forwards;
}
@keyframes scanBeam{
  0%{left:-70px;opacity:0}
  8%{opacity:1}
  88%{opacity:1}
  100%{left:calc(100% + 70px);opacity:0}
}

/* Subtitle */
.loader-sub{
  color:var(--muted);
  font-size:14px;
  letter-spacing:.12em;
  text-transform:uppercase;
  opacity:0;
  will-change:opacity,transform;
}
#loader.phase-in .loader-sub{
  animation:fadeUp .4s var(--ease-out-expo) .55s forwards;
}

/* Breathing glow while title is visible */
#loader.phase-in .loader-title{
  animation:titleBreathe 1.8s ease-in-out .9s infinite alternate;
}
@keyframes titleBreathe{
  0%{text-shadow:0 0 0 transparent}
  100%{text-shadow:0 0 22px rgba(0,212,255,.18),0 0 50px rgba(124,92,255,.12)}
}

/* ── Phase 2: clean cinematic zoom exit ── */
#loader.phase-out .loader-title{
  animation:loaderZoom .8s cubic-bezier(.22,.68,0,1) forwards!important;
}
#loader.phase-out .loader-sub{
  animation:subExit .3s ease forwards;
}
#loader.phase-out{
  animation:bgExit .45s ease .3s forwards;
}

/* Soft radial glow on exit */
#loader::before{
  content:'';
  position:absolute;
  width:180px;height:180px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(0,212,255,.35),rgba(124,92,255,.2) 40%,transparent 70%);
  opacity:0;
  pointer-events:none;
  will-change:transform,opacity;
}
#loader.phase-out::before{
  animation:glowPulse .65s ease-out forwards;
}
@keyframes glowPulse{
  0%{opacity:0;transform:scale(0)}
  30%{opacity:1}
  100%{opacity:0;transform:scale(14)}
}

@keyframes loaderZoom{
  0%{
    transform:translateZ(0) scale(1);
    filter:blur(0) brightness(1);
    opacity:1;
  }
  25%{
    filter:blur(0) brightness(1.5);
    opacity:1;
    text-shadow:0 0 30px rgba(0,212,255,.45),0 0 70px rgba(124,92,255,.3);
  }
  100%{
    transform:translateZ(0) scale(8);
    filter:blur(16px) brightness(2);
    opacity:0;
    text-shadow:0 0 80px rgba(0,212,255,.7),0 0 160px rgba(124,92,255,.5);
  }
}
@keyframes subExit{
  0%{opacity:1;transform:translateY(0)}
  100%{opacity:0;transform:translateY(-18px)}
}
@keyframes bgExit{
  0%{opacity:1}
  100%{opacity:0}
}

@keyframes fadeUp{
  from{opacity:0;transform:translateY(12px)}
  to{opacity:1;transform:translateY(0)}
}
html[data-theme="light"] #loader{
  background:
    radial-gradient(circle at 50% 38%,rgba(74,108,255,.12),rgba(255,255,255,.94) 48%,#f3efe7 78%),
    linear-gradient(180deg,#fffdf8,#eef4ff);
}


/* layout.css */
/* ═══════════════════════════════════════════════════
   SCROLL PROGRESS BAR (A)
   ═══════════════════════════════════════════════════ */
.scroll-progress{
  position:fixed;top:0;left:0;z-index:100;
  height:3px;width:0;
  background:linear-gradient(90deg,var(--accentA),var(--accentB),var(--accentC));
  transition:none;
  pointer-events:none;
}

/* ═══════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════ */
.topnav{
  position:fixed;
  top:12px;
  left:50%;
  right:auto;
  width:min(1160px,calc(100% - 26px));
  z-index:90;
  border:1px solid rgba(120,146,214,.28);
  border-radius:26px;
  backdrop-filter:blur(18px) saturate(140%);
  -webkit-backdrop-filter:blur(18px) saturate(140%);
  background:linear-gradient(110deg,rgba(6,11,26,.92),rgba(9,17,34,.78) 46%,rgba(18,24,44,.9));
  box-shadow:0 26px 55px rgba(4,8,20,.45),0 4px 18px rgba(40,84,193,.18),inset 0 1px 0 rgba(255,255,255,.18);
  transform:translate(-50%,-130%);
  opacity:0;
  transition:transform .72s var(--ease-out-expo),opacity .72s var(--ease-out-expo),box-shadow .3s ease,border-color .3s ease;
  overflow:hidden;
  background-clip:padding-box;
}
.topnav::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius:inherit;
  background:linear-gradient(120deg,rgba(64,126,255,.25),rgba(255,95,52,.18),rgba(255,170,62,.22),rgba(64,126,255,.22));
  filter:blur(26px);
  opacity:.55;
  z-index:-1;
  pointer-events:none;
}
.topnav::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(90deg,rgba(255,255,255,.07),transparent 26%,transparent 74%,rgba(255,255,255,.04)),radial-gradient(circle at 14% -32%,rgba(82,138,255,.2),transparent 54%),radial-gradient(circle at 88% 135%,rgba(255,115,67,.14),transparent 56%);
  pointer-events:none;
}
.topnav.visible{transform:translate(-50%,0);opacity:1}

.topnav-inner{
  position:relative;
  max-width:unset;
  margin:0;
  display:flex;align-items:center;justify-content:space-between;
  padding:10px 14px;
  gap:14px;
}
.topnav-start,
.topnav-actions{
  display:flex;
  align-items:center;
  gap:12px;
}
.topnav-start{min-width:0}
.topnav-actions{margin-left:auto}
.brand{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  display:inline-flex;align-items:center;gap:0;
  padding:10px 12px;
  border-radius:15px;
  font-weight:700;
  text-decoration:none;
  color:#e9f0ff;
  background:linear-gradient(125deg,rgba(64,126,255,.2),rgba(255,110,70,.16));
  border:1px solid rgba(132,161,232,.35);
  box-shadow:0 14px 30px rgba(7,16,34,.22),inset 0 1px 0 rgba(255,255,255,.2);
  background-clip:padding-box;
  white-space:nowrap;
  transition:transform .28s var(--ease-out-quart),border-color .25s ease,background .25s ease,box-shadow .25s ease;
}
.brand::before{
  content:"";
  position:absolute;
  inset:1px;
  border-radius:inherit;
  background:
    linear-gradient(128deg,rgba(77,137,255,.2),rgba(255,115,71,.1) 48%,rgba(255,193,96,.14)),
    radial-gradient(circle at 18% 24%,rgba(88,152,255,.18),transparent 42%);
  opacity:.95;
  pointer-events:none;
  z-index:0;
}
.brand::after{
  content:"";
  position:absolute;
  inset:-30% auto -30% -36%;
  width:44%;
  border-radius:24px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.6),transparent);
  transform:translateX(-165%) rotate(16deg);
  opacity:.5;
  mix-blend-mode:screen;
  pointer-events:none;
  z-index:0;
  transition:transform .6s cubic-bezier(.16,.92,.22,1),opacity .25s ease;
}
.brand-logo{
  position:relative;
  z-index:1;
  display:block;
  height:32px;
  width:auto;
  flex:0 0 auto;
  filter:drop-shadow(0 8px 18px rgba(255,180,76,.24));
}
.brand-name{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  min-height:30px;
  padding-left:12px;
  font-size:13px;
  line-height:1;
  letter-spacing:.08em;
  text-transform:uppercase;
  text-shadow:0 0 14px rgba(82,138,255,.14);
}
.brand-name::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  width:1px;
  height:18px;
  transform:translateY(-50%);
  background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.46),rgba(255,184,128,.28),rgba(255,255,255,.04));
  opacity:.72;
}
.brand:hover{
  transform:translateY(-1px);
  border-color:rgba(255,182,122,.55);
  background:linear-gradient(125deg,rgba(64,126,255,.26),rgba(255,120,75,.22));
  box-shadow:0 18px 34px rgba(8,18,38,.28),inset 0 1px 0 rgba(255,255,255,.24);
}
.brand:hover::after{
  transform:translateX(285%) rotate(16deg);
  opacity:.68;
}
.brand-dot{
  width:9px;height:9px;border-radius:50%;
  background:linear-gradient(135deg,#4693ff 0%,#ff6a43 70%,#ffb241 100%);
  box-shadow:0 0 0 6px rgba(70,147,255,.12),0 0 16px rgba(255,118,65,.42);
}
.theme-toggle{
  position:relative;
  width:58px;
  height:42px;
  flex:0 0 auto;
  border-radius:16px;
  border:1px solid rgba(132,161,232,.35);
  background:linear-gradient(125deg,rgba(15,25,48,.88),rgba(20,31,58,.76));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 12px 24px rgba(6,12,26,.24);
  color:#dce7ff;
  cursor:pointer;
  padding:0;
  overflow:hidden;
  background-clip:padding-box;
  transition:transform .28s var(--ease-out-quart),border-color .25s ease,box-shadow .25s ease,background .25s ease;
}
.theme-toggle:hover{
  transform:translateY(-1px);
  border-color:rgba(162,190,255,.5);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 16px 28px rgba(10,18,36,.3);
}
.theme-toggle-rail{
  position:relative;
  display:block;
  width:100%;
  height:100%;
  border-radius:inherit;
}
.theme-toggle-thumb{
  position:absolute;
  left:5px;
  top:5px;
  width:30px;
  height:30px;
  border-radius:12px;
  background:linear-gradient(135deg,rgba(72,133,255,.5),rgba(255,146,96,.4));
  box-shadow:0 10px 22px rgba(57,114,244,.26),inset 0 1px 0 rgba(255,255,255,.3);
  transition:transform .35s var(--ease-out-expo),background .25s ease,box-shadow .25s ease;
}
.theme-icon{
  position:absolute;
  top:50%;
  width:14px;
  height:14px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
  transform:translateY(-50%);
  pointer-events:none;
  transition:opacity .25s ease,color .25s ease,transform .35s var(--ease-out-expo);
}
.theme-icon-sun{
  right:10px;
  opacity:.35;
  color:#7f8baa;
}
.theme-icon-moon{
  left:10px;
  opacity:.96;
  color:#eef4ff;
}
.lang-toggle{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:7px;
  justify-content:center;
  height:42px;
  min-width:140px;
  padding:0 12px;
  flex:0 0 auto;
  border-radius:16px;
  border:1px solid rgba(132,161,232,.35);
  background:linear-gradient(125deg,rgba(14,24,46,.88),rgba(18,29,56,.76));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 12px 24px rgba(6,12,26,.24);
  color:#dce7ff;
  cursor:pointer;
  overflow:hidden;
  background-clip:padding-box;
  transition:transform .28s var(--ease-out-quart),border-color .25s ease,box-shadow .25s ease,background .25s ease;
}
.lang-toggle::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:
    linear-gradient(128deg,rgba(79,139,255,.16),rgba(255,115,72,.08) 48%,rgba(255,189,98,.16)),
    radial-gradient(circle at 18% 24%,rgba(85,152,255,.18),transparent 42%);
  opacity:.95;
  pointer-events:none;
}
.lang-toggle::after{
  content:"";
  position:absolute;
  top:5px;
  bottom:5px;
  left:6px;
  width:74px;
  border-radius:12px;
  background:linear-gradient(130deg,rgba(84,144,255,.28),rgba(255,115,72,.22),rgba(255,183,92,.22));
  box-shadow:0 10px 20px rgba(44,93,218,.16),inset 0 1px 0 rgba(255,255,255,.22);
  transition:left .36s var(--ease-out-expo),width .3s ease;
  pointer-events:none;
}
.lang-toggle:hover{
  transform:translateY(-1px);
  border-color:rgba(164,191,255,.48);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 16px 28px rgba(10,18,36,.3);
}
.lang-toggle-seg,
.lang-toggle-divider{
  position:relative;
  z-index:1;
}
.lang-toggle-seg{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  line-height:1;
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  opacity:.54;
  transition:opacity .25s ease,color .25s ease,transform .35s var(--ease-out-expo);
}
.lang-toggle-seg-original{min-width:74px}
.lang-toggle-seg-en{min-width:34px}
.lang-toggle-divider{
  font-size:11px;
  font-weight:700;
  opacity:.34;
}
html[data-lang="it"] .lang-toggle-seg-original,
html[data-lang="en"] .lang-toggle-seg-en{
  color:#fff;
  opacity:1;
  transform:translateY(-.5px);
  text-shadow:0 0 18px rgba(255,255,255,.22);
}
html[data-lang="en"] .lang-toggle::after{
  left:calc(100% - 6px - 34px);
  width:34px;
}
html[data-theme="light"] .theme-toggle{
  border-color:rgba(118,145,196,.24);
  background:linear-gradient(125deg,rgba(255,255,255,.9),rgba(242,247,255,.78));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.94),0 12px 24px rgba(126,146,181,.16);
  color:#5d6f8e;
}
html[data-theme="light"] .theme-toggle:hover{
  border-color:rgba(104,134,190,.34);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.98),0 16px 28px rgba(126,146,181,.22);
}
html[data-theme="light"] .theme-toggle-thumb{
  transform:translateX(18px);
  background:linear-gradient(135deg,rgba(255,213,122,.95),rgba(255,145,100,.82));
  box-shadow:0 10px 22px rgba(255,156,98,.22),inset 0 1px 0 rgba(255,255,255,.48);
}
html[data-theme="light"] .theme-icon-sun{
  opacity:1;
  color:#de7f33;
  transform:translateY(-50%) scale(1.04);
}
html[data-theme="light"] .theme-icon-moon{
  opacity:.28;
  color:#6b7a9f;
}
html[data-theme="light"] .lang-toggle{
  border-color:rgba(118,145,196,.24);
  background:linear-gradient(125deg,rgba(255,255,255,.9),rgba(242,247,255,.78));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.94),0 12px 24px rgba(126,146,181,.16);
  color:#566780;
}
html[data-theme="light"] .lang-toggle:hover{
  border-color:rgba(104,134,190,.34);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.98),0 16px 28px rgba(126,146,181,.22);
}
html[data-theme="light"] .lang-toggle::before{
  background:
    linear-gradient(128deg,rgba(74,108,255,.12),rgba(255,138,101,.08) 48%,rgba(255,196,103,.14)),
    radial-gradient(circle at 18% 24%,rgba(103,145,255,.14),transparent 42%);
}
html[data-theme="light"] .lang-toggle::after{
  background:linear-gradient(130deg,rgba(74,108,255,.18),rgba(255,144,100,.16),rgba(255,200,110,.16));
  box-shadow:0 10px 18px rgba(126,146,181,.14),inset 0 1px 0 rgba(255,255,255,.82);
}
html[data-theme="light"] .lang-toggle-seg{
  color:#5d6c86;
}
html[data-theme="light"] .lang-toggle-divider{
  color:#7182a2;
}
.nav-links{
  position:relative;
  display:flex;
  gap:8px;
  padding:6px;
  border-radius:18px;
  border:1px solid rgba(128,148,208,.3);
  background:linear-gradient(120deg,rgba(13,21,44,.72),rgba(8,13,29,.66));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 10px 22px rgba(2,6,20,.3);
  overflow:hidden;
  background-clip:padding-box;
}
.nav-links::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  background:radial-gradient(circle at 10% 0%,rgba(77,136,255,.2),transparent 42%),radial-gradient(circle at 88% 100%,rgba(255,122,76,.16),transparent 46%);
}
.nav-link{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  padding:10px 18px;
  border-radius:12px;
  color:#a8b7dc;
  text-decoration:none;
  font-size:14px;
  font-weight:600;
  letter-spacing:.01em;
  border:1px solid transparent;
  background-clip:padding-box;
  transition:color .25s ease,transform .3s var(--ease-out-quart),border-color .25s ease,background .25s ease,box-shadow .25s ease;
  cursor:pointer;
}
.nav-link::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:inherit;
  background:linear-gradient(125deg,rgba(80,145,255,.16),rgba(255,108,66,.14),rgba(255,171,75,.13));
  opacity:0;
  transition:opacity .24s ease;
  z-index:-1;
}
.nav-link:hover{
  color:#eef4ff;
  transform:translateY(-2px);
  border-color:rgba(153,184,255,.38);
  box-shadow:0 8px 16px rgba(39,88,200,.22);
}
.nav-link:hover::before{opacity:1}
.nav-link.active{
  color:#fff;
  border-color:rgba(255,186,133,.58);
  background:linear-gradient(122deg,rgba(63,122,255,.35),rgba(255,103,66,.36),rgba(255,159,58,.3));
  box-shadow:0 12px 22px rgba(255,103,66,.22),0 8px 18px rgba(53,107,241,.26),inset 0 1px 0 rgba(255,255,255,.35);
}
.nav-link.active::before{opacity:0}
.nav-link:active{transform:translateY(0) scale(.98)}
.brand:focus-visible,
.theme-toggle:focus-visible,
.lang-toggle:focus-visible,
.nav-link:focus-visible,
.btn-mag:focus-visible,
.btn-ghost:focus-visible,
.project-card:focus-visible,
.stat-link:focus-visible,
.hamburger:focus-visible,
.contact-close:focus-visible,
.mob-link:focus-visible,
.contact-send:focus-visible{
  outline:2px solid var(--accentB);
  outline-offset:3px;
}
html[data-theme="light"] .topnav{
  border-color:rgba(120,145,191,.26);
  background:linear-gradient(110deg,rgba(255,255,255,.86),rgba(248,250,255,.82) 46%,rgba(240,246,255,.9));
  box-shadow:0 26px 55px rgba(130,147,182,.18),0 4px 18px rgba(62,116,210,.12),inset 0 1px 0 rgba(255,255,255,.88);
}
html[data-theme="light"] .topnav::before{
  background:linear-gradient(120deg,rgba(74,108,255,.12),rgba(255,138,101,.08),rgba(255,193,93,.12),rgba(74,108,255,.08));
  opacity:.72;
}
html[data-theme="light"] .topnav::after{
  background:
    linear-gradient(90deg,rgba(255,255,255,.58),transparent 24%,transparent 76%,rgba(255,255,255,.42)),
    radial-gradient(circle at 14% -32%,rgba(74,108,255,.12),transparent 54%),
    radial-gradient(circle at 88% 135%,rgba(255,138,101,.1),transparent 56%);
}
html[data-theme="light"] .brand{
  color:#18304d;
  background:linear-gradient(125deg,rgba(255,255,255,.86),rgba(242,247,255,.74));
  border-color:rgba(113,140,196,.26);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 10px 24px rgba(120,145,188,.14);
}
html[data-theme="light"] .brand::before{
  background:
    linear-gradient(130deg,rgba(90,141,255,.12),rgba(255,119,86,.08) 48%,rgba(255,190,104,.12)),
    radial-gradient(circle at 16% 24%,rgba(111,166,255,.18),transparent 42%);
}
html[data-theme="light"] .brand-name::before{
  background:linear-gradient(180deg,rgba(113,140,196,.06),rgba(113,140,196,.36),rgba(255,154,112,.24),rgba(113,140,196,.06));
}
html[data-theme="light"] .brand:hover{
  border-color:rgba(255,153,110,.38);
  background:linear-gradient(125deg,rgba(255,255,255,.94),rgba(239,246,255,.82));
  box-shadow:0 16px 28px rgba(125,149,189,.16),inset 0 1px 0 rgba(255,255,255,.94);
}
html[data-theme="light"] .nav-links{
  border-color:rgba(122,145,196,.22);
  background:linear-gradient(120deg,rgba(255,255,255,.82),rgba(244,247,255,.72));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.82),0 10px 22px rgba(130,150,185,.14);
}
html[data-theme="light"] .nav-link{
  color:#566681;
}
html[data-theme="light"] .nav-link:hover{
  color:#20314f;
  border-color:rgba(122,154,217,.3);
  box-shadow:0 8px 16px rgba(108,140,201,.14);
}
html[data-theme="light"] .nav-link.active{
  color:#fff;
  border-color:rgba(255,171,122,.42);
  background:linear-gradient(122deg,rgba(74,108,255,.62),rgba(255,122,76,.52),rgba(255,171,75,.44));
  box-shadow:0 12px 22px rgba(118,142,214,.18),0 8px 18px rgba(255,124,82,.16),inset 0 1px 0 rgba(255,255,255,.42);
}

/* ═══════════════════════════════════════════════════
   B. PAGE TRANSITION OVERLAY
   ═══════════════════════════════════════════════════ */
.page-transition{
  position:fixed;inset:0;z-index:200;
  pointer-events:none;
  display:flex;
}
.page-transition .slab{
  flex:1;
  background:var(--bg0);
  transform:scaleY(0);
  transform-origin:bottom;
}
.page-transition.enter .slab{
  animation:slabUp .38s var(--ease-out-expo) forwards;
  animation-delay:var(--d);
}
.page-transition.exit .slab{
  transform:scaleY(1);
  transform-origin:top;
  animation:slabDown .38s var(--ease-out-expo) forwards;
  animation-delay:var(--d);
}
@keyframes slabUp{
  from{transform:scaleY(0);transform-origin:bottom}
  to{transform:scaleY(1);transform-origin:bottom}
}
@keyframes slabDown{
  from{transform:scaleY(1);transform-origin:top}
  to{transform:scaleY(0);transform-origin:top}
}

/* ═══════════════════════════════════════════════════
   PAGES CONTAINER
   ═══════════════════════════════════════════════════ */
.page{
  display:none;
  min-height:100vh;
}
.page.active{display:block}

/* ═══════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════ */
.wrap{max-width:1200px;margin:0 auto;padding:0 24px}
section{padding:80px 0}


/* easter-eggs.css */
.nav-link-g{
  display:inline-flex;
  align-items:center;
  position:relative;
  min-width:48px;
  justify-content:center;
  padding-inline:15px;
  overflow:hidden;
  border-color:rgba(151,177,244,.34);
  background:
    radial-gradient(120% 180% at 50% 0%,rgba(93,146,255,.18),transparent 54%),
    linear-gradient(135deg,rgba(18,28,52,.92),rgba(18,25,45,.84) 44%,rgba(30,18,40,.88));
  box-shadow:
    0 0 0 1px rgba(255,255,255,.03) inset,
    0 12px 24px rgba(15,30,72,.26),
    0 0 28px rgba(82,138,255,.16);
  font-family:inherit;
  appearance:none;
  will-change:transform,box-shadow;
  animation:eggGFloat 4.6s cubic-bezier(.16,.92,.22,1) infinite;
}
.nav-link-g::before{
  opacity:.8;
  background:
    radial-gradient(circle at 22% 20%,rgba(73,136,255,.36),transparent 34%),
    radial-gradient(circle at 84% 76%,rgba(255,118,82,.3),transparent 36%),
    linear-gradient(135deg,rgba(76,138,255,.22),rgba(255,126,77,.18),rgba(255,205,122,.14));
  animation:eggGHalo 5.8s ease-in-out infinite;
}
.nav-link-g::after{
  content:"";
  position:absolute;
  inset:-12% auto -12% -42%;
  width:38%;
  border-radius:22px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.7),transparent);
  transform:translateX(-180%) skewX(-26deg);
  opacity:.72;
  mix-blend-mode:screen;
  pointer-events:none;
  animation:eggGScan 3.2s cubic-bezier(.22,.9,.22,1) infinite;
}
.nav-link-g-mark{
  position:relative;
  z-index:2;
  display:block;
  font-size:15px;
  font-weight:900;
  letter-spacing:.03em;
  color:#f5f8ff;
  text-shadow:0 0 14px rgba(95,151,255,.32),0 0 18px rgba(255,128,89,.18);
  animation:eggGGlyph 4.6s ease-in-out infinite;
}
.nav-link-g-spark{
  position:absolute;
  top:6px;
  right:7px;
  z-index:2;
  width:7px;
  height:7px;
  border-radius:999px;
  background:radial-gradient(circle at 35% 35%,#fff,rgba(255,226,173,.88) 44%,rgba(255,124,88,.94));
  box-shadow:0 0 0 5px rgba(97,152,255,.1),0 0 18px rgba(255,128,88,.42);
  animation:eggGSpark 2.2s cubic-bezier(.16,.92,.22,1) infinite;
}
.nav-link-g.is-open,
.nav-link-g.has-active-egg{
  color:#fff;
  border-color:rgba(255,186,133,.58);
  background:linear-gradient(122deg,rgba(63,122,255,.35),rgba(255,103,66,.36),rgba(255,159,58,.3));
  box-shadow:0 12px 22px rgba(255,103,66,.22),0 8px 18px rgba(53,107,241,.26),inset 0 1px 0 rgba(255,255,255,.35);
  animation:none;
}
.nav-link-g.is-open::before,
.nav-link-g.has-active-egg::before{
  animation:none;
  opacity:1;
}
.nav-link-g.is-open::after,
.nav-link-g.has-active-egg::after{
  animation:none;
  opacity:.46;
  transform:translateX(148%) skewX(-26deg);
}
.nav-link-g.is-open .nav-link-g-mark,
.nav-link-g.has-active-egg .nav-link-g-mark{
  animation:none;
  text-shadow:0 0 16px rgba(255,152,110,.28),0 0 20px rgba(96,152,255,.22);
}
.nav-link-g.is-open .nav-link-g-spark,
.nav-link-g.has-active-egg .nav-link-g-spark{
  animation:none;
  transform:scale(1.06);
}

.egg-popover{
  position:fixed;
  top:86px;
  left:50%;
  width:min(680px,calc(100vw - 24px));
  z-index:94;
  border:1px solid rgba(126,150,213,.32);
  border-radius:28px;
  background:
    linear-gradient(142deg,rgba(8,14,30,.96),rgba(10,17,33,.92) 44%,rgba(17,24,43,.95)),
    radial-gradient(circle at 16% 0%,rgba(64,126,255,.18),transparent 42%),
    radial-gradient(circle at 88% 108%,rgba(255,114,72,.14),transparent 48%);
  box-shadow:
    0 32px 70px rgba(4,8,20,.48),
    0 12px 28px rgba(30,69,176,.18),
    inset 0 1px 0 rgba(255,255,255,.16);
  backdrop-filter:blur(22px) saturate(145%);
  -webkit-backdrop-filter:blur(22px) saturate(145%);
  overflow:hidden;
  background-clip:padding-box;
  opacity:0;
  pointer-events:none;
  transform:translate(-50%,-18px) scale(.985);
  transition:opacity .28s ease,transform .34s cubic-bezier(.16,.92,.22,1);
}
.egg-popover::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  background:
    linear-gradient(90deg,rgba(255,255,255,.06),transparent 28%,transparent 72%,rgba(255,255,255,.04)),
    radial-gradient(circle at 12% 12%,rgba(82,138,255,.18),transparent 40%),
    radial-gradient(circle at 84% 86%,rgba(255,128,84,.16),transparent 42%);
}
.egg-popover.is-open{
  opacity:1;
  pointer-events:auto;
  transform:translate(-50%,0) scale(1);
}
.egg-popover.is-disabled .egg-item{
  opacity:.62;
}

.egg-popover-head{
  position:relative;
  z-index:1;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding:22px 24px 18px;
  border-bottom:1px solid rgba(133,159,225,.18);
}
.egg-popover-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 12px;
  border-radius:999px;
  border:1px solid rgba(128,149,214,.26);
  background:rgba(255,255,255,.04);
  color:#b7c7ea;
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.egg-popover h3{
  margin:14px 0 8px;
  font-size:24px;
  letter-spacing:-.03em;
}
.egg-popover-hint{
  margin:0;
  max-width:48ch;
  color:rgba(186,202,232,.78);
  line-height:1.65;
  font-size:14px;
}
.egg-popover-tools{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
}
.egg-popover-state{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(123,151,220,.26);
  background:rgba(255,255,255,.05);
  color:#eaf0ff;
  font-size:12px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.egg-popover-state::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--accentA),var(--accentB));
  box-shadow:0 0 0 5px rgba(70,147,255,.12);
}

.egg-panel-btn,
.egg-close,
.egg-action{
  border:1px solid rgba(131,155,217,.22);
  background:rgba(255,255,255,.04);
  color:#dce8ff;
  font:inherit;
  cursor:pointer;
  appearance:none;
  transition:transform .22s cubic-bezier(.16,.92,.22,1),border-color .22s ease,background .22s ease,color .22s ease,opacity .22s ease;
}
.egg-panel-btn:hover,
.egg-close:hover,
.egg-action:hover{
  transform:translateY(-1px);
  border-color:rgba(165,193,255,.42);
  background:rgba(255,255,255,.08);
}
.egg-panel-btn:disabled,
.egg-action:disabled{
  cursor:not-allowed;
  opacity:.4;
  transform:none;
}
.egg-panel-btn{
  padding:10px 14px;
  border-radius:14px;
  font-size:13px;
  font-weight:600;
}
.egg-panel-btn-reset{
  background:linear-gradient(130deg,rgba(72,133,255,.18),rgba(255,131,86,.16));
}
.egg-close{
  width:42px;
  height:42px;
  border-radius:14px;
  font-size:24px;
  line-height:1;
}

.egg-popover-list{
  position:relative;
  z-index:1;
  display:grid;
  gap:14px;
  padding:20px 24px 24px;
}
.egg-item{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:18px;
  padding:18px;
  border-radius:22px;
  border:1px solid rgba(128,149,214,.2);
  background:
    linear-gradient(135deg,rgba(255,255,255,.05),rgba(255,255,255,.02)),
    radial-gradient(circle at 18% 12%,rgba(73,134,255,.12),transparent 42%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
.egg-item.is-active{
  border-color:rgba(255,186,133,.42);
  box-shadow:0 18px 38px rgba(255,104,66,.12),0 12px 26px rgba(53,107,241,.14),inset 0 1px 0 rgba(255,255,255,.14);
}
.egg-item-main{
  display:grid;
  grid-template-columns:52px minmax(0,1fr);
  gap:14px;
  align-items:flex-start;
}
.egg-item-icon{
  width:52px;
  height:52px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:18px;
  border:1px solid rgba(131,154,216,.24);
  background:linear-gradient(135deg,rgba(71,132,255,.15),rgba(255,112,73,.14));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14);
  font-size:22px;
}
.egg-item-topline{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:6px;
}
.egg-item strong{
  font-size:18px;
  letter-spacing:-.02em;
}
.egg-item-status{
  display:inline-flex;
  align-items:center;
  padding:5px 10px;
  border-radius:999px;
  border:1px solid rgba(129,150,214,.22);
  background:rgba(255,255,255,.04);
  color:#a9bcdf;
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.egg-item.is-active .egg-item-status{
  color:#fff3e7;
  border-color:rgba(255,186,133,.4);
  background:rgba(255,143,96,.12);
}
.egg-item p{
  margin:0;
  color:rgba(186,202,232,.74);
  line-height:1.65;
  font-size:14px;
}
.egg-item-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
}
.egg-action{
  min-width:88px;
  padding:10px 12px;
  border-radius:13px;
  font-size:13px;
  font-weight:600;
}
.egg-action-primary{
  background:linear-gradient(130deg,rgba(72,133,255,.2),rgba(255,131,86,.18));
}

.egg-fx-layer{
  position:fixed;
  inset:0;
  z-index:62;
  overflow:hidden;
  pointer-events:none;
}

#mainContent{
  transform-origin:50% 0;
  transition:transform .82s cubic-bezier(.16,.92,.22,1),filter .42s ease;
}

html[data-egg="askew"] #mainContent{
  transform:
    translate3d(var(--egg-askew-x,-12px),var(--egg-askew-y,8px),0)
    rotate(var(--egg-askew-rot,-1.1deg))
    skewY(var(--egg-askew-skew,-.24deg));
  filter:saturate(1.04) contrast(1.02);
}

html[data-egg="barrel-roll"] #mainContent{
  filter:saturate(1.04);
}
.egg-barrel-roll{
  animation:eggBarrelRoll 1.22s cubic-bezier(.2,.76,.22,1);
}

html[data-egg="blink"] .page.active h1,
html[data-egg="blink"] .page.active h2,
html[data-egg="blink"] .page.active h3,
html[data-egg="blink"] .page.active strong,
html[data-egg="blink"] .page.active .tag,
html[data-egg="blink"] .page.active .hero-form-kicker,
html[data-egg="blink"] .page.active .hero-form-status span,
html[data-egg="blink"] .page.active .hero-form-ribbon span,
html[data-egg="blink"] .page.active .btn-mag,
html[data-egg="blink"] .page.active .btn-ghost,
html[data-egg="blink"] .topnav .brand span,
html[data-egg="blink"] .topnav .nav-link:not(.nav-link-g){
  animation:eggBlinkText 1.04s steps(2,end) infinite;
  text-shadow:0 0 18px rgba(89,148,255,.2),0 0 26px rgba(255,120,80,.14);
}

.egg-gravity-piece{
  position:relative;
  transition:
    transform .92s cubic-bezier(.16,.92,.22,1.08) var(--egg-delay,0ms),
    filter .52s ease var(--egg-delay,0ms),
    box-shadow .52s ease var(--egg-delay,0ms),
    opacity .52s ease var(--egg-delay,0ms) !important;
  will-change:transform,filter;
  cursor:var(--cursor-grab,grab)!important;
  touch-action:none;
  user-select:none;
}
html[data-egg="gravity"] .egg-gravity-piece,
html[data-egg="gravity"] .egg-gravity-piece *{
  cursor:var(--cursor-grab,grab)!important;
}
html[data-egg="gravity"] .egg-gravity-piece{
  filter:brightness(.92) saturate(.9);
  box-shadow:0 28px 72px rgba(0,0,0,.34);
}
.egg-gravity-piece.is-dragging{
  cursor:var(--cursor-grabbing,grabbing)!important;
  filter:brightness(1.02) saturate(1.04);
  box-shadow:0 34px 84px rgba(0,0,0,.42),0 0 28px rgba(92,146,255,.16);
}
html[data-egg="gravity"] .egg-gravity-piece.is-dragging,
html[data-egg="gravity"] .egg-gravity-piece.is-dragging *{
  cursor:var(--cursor-grabbing,grabbing)!important;
}
html[data-egg="gravity"][data-egg-dragging="true"],
html[data-egg="gravity"][data-egg-dragging="true"] body,
html[data-egg="gravity"][data-egg-dragging="true"] #mainContent{
  cursor:var(--cursor-grabbing,grabbing)!important;
}

.egg-zerg-bug{
  position:absolute;
  left:0;
  top:0;
  width:16px;
  height:16px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.24);
  background:
    radial-gradient(circle at 35% 35%,rgba(255,255,255,.65),rgba(255,255,255,.02) 40%),
    linear-gradient(135deg,rgba(64,126,255,.9),rgba(255,110,70,.92),rgba(255,176,62,.85));
  box-shadow:0 0 18px rgba(70,147,255,.35),0 0 26px rgba(255,104,66,.18);
  transform:translate3d(var(--sx,0px),var(--sy,0px),0) scale(.72);
  animation:eggZergFly var(--dur,.9s) cubic-bezier(.2,.9,.2,1) forwards;
}
.egg-zerg-bug::before,
.egg-zerg-bug::after{
  content:"";
  position:absolute;
  inset:5px 1px;
  border-radius:999px;
  background:rgba(255,255,255,.26);
  transform:rotate(32deg);
}
.egg-zerg-bug::after{
  transform:rotate(-32deg);
}
.egg-zerg-hit{
  animation:eggZergHit .54s cubic-bezier(.2,.88,.2,1);
}

@keyframes eggBarrelRoll{
  0%{transform:rotate(0deg)}
  58%{transform:rotate(368deg)}
  78%{transform:rotate(354deg)}
  100%{transform:rotate(360deg)}
}
@keyframes eggGFloat{
  0%,100%{
    transform:scale(1);
    box-shadow:0 0 0 1px rgba(255,255,255,.03) inset,0 12px 24px rgba(15,30,72,.26),0 0 28px rgba(82,138,255,.16);
  }
  50%{
    transform:scale(1.018);
    box-shadow:0 0 0 1px rgba(255,255,255,.05) inset,0 14px 28px rgba(15,30,72,.34),0 0 42px rgba(82,138,255,.22),0 0 56px rgba(255,114,82,.14);
  }
}
@keyframes eggGHalo{
  0%,100%{
    transform:scale(1) rotate(0deg);
    opacity:.74;
    filter:saturate(1);
  }
  50%{
    transform:scale(1.05) rotate(4deg);
    opacity:.96;
    filter:saturate(1.18);
  }
}
@keyframes eggGScan{
  0%,12%{
    transform:translateX(-190%) skewX(-26deg);
    opacity:0;
  }
  28%{
    opacity:.88;
  }
  52%{
    transform:translateX(230%) skewX(-26deg);
    opacity:.86;
  }
  100%{
    transform:translateX(230%) skewX(-26deg);
    opacity:0;
  }
}
@keyframes eggGGlyph{
  0%,100%{
    transform:translateY(0) scale(1);
    letter-spacing:.03em;
  }
  50%{
    transform:translateY(0) scale(1.06);
    letter-spacing:.04em;
    text-shadow:0 0 18px rgba(95,151,255,.42),0 0 20px rgba(255,128,89,.2);
  }
}
@keyframes eggGSpark{
  0%,100%{
    transform:translate3d(0,0,0) scale(.88);
    opacity:.56;
  }
  35%{
    transform:translate3d(-2px,1px,0) scale(1.18);
    opacity:.94;
  }
  68%{
    transform:translate3d(1px,-1px,0) scale(.92);
    opacity:.72;
  }
}
@keyframes eggBlinkText{
  0%,46%{opacity:1}
  47%,100%{opacity:.14}
}
@keyframes eggZergFly{
  0%{
    transform:translate3d(var(--sx,0px),var(--sy,0px),0) scale(.72);
    opacity:0;
  }
  10%,74%{
    opacity:1;
  }
  100%{
    transform:translate3d(var(--tx,0px),var(--ty,0px),0) scale(.16);
    opacity:0;
  }
}
@keyframes eggZergHit{
  0%{
    filter:none;
    box-shadow:none;
  }
  45%{
    filter:brightness(1.08) saturate(1.12);
    box-shadow:0 0 0 1px rgba(255,117,83,.34),0 0 24px rgba(73,132,255,.16),inset 0 0 0 1px rgba(255,255,255,.12);
  }
  100%{
    filter:none;
    box-shadow:none;
  }
}

html[data-theme="light"] .nav-link-g.is-open{
  color:#1f2e47;
  border-color:rgba(228,150,108,.42);
  background:linear-gradient(122deg,rgba(92,128,255,.18),rgba(255,166,124,.22),rgba(255,207,159,.2));
  box-shadow:0 16px 26px rgba(126,146,181,.18),inset 0 1px 0 rgba(255,255,255,.8);
}
html[data-theme="light"] .nav-link-g.has-active-egg{
  color:#1f2e47;
  border-color:rgba(228,150,108,.42);
  background:linear-gradient(122deg,rgba(92,128,255,.18),rgba(255,166,124,.22),rgba(255,207,159,.2));
  box-shadow:0 16px 26px rgba(126,146,181,.18),inset 0 1px 0 rgba(255,255,255,.8);
}
html[data-theme="light"] .nav-link-g{
  border-color:rgba(118,145,196,.24);
  background:
    radial-gradient(120% 180% at 50% 0%,rgba(93,146,255,.1),transparent 54%),
    linear-gradient(135deg,rgba(255,255,255,.92),rgba(246,249,255,.88) 44%,rgba(252,246,241,.94));
  box-shadow:0 12px 24px rgba(126,146,181,.14),0 0 24px rgba(96,151,255,.1),inset 0 1px 0 rgba(255,255,255,.94);
}
html[data-theme="light"] .nav-link-g-mark{
  color:#21314c;
  text-shadow:0 0 14px rgba(96,151,255,.18),0 0 18px rgba(255,128,89,.1);
}
html[data-theme="light"] .nav-link-g::before{
  background:
    radial-gradient(circle at 22% 20%,rgba(73,136,255,.2),transparent 34%),
    radial-gradient(circle at 84% 76%,rgba(255,118,82,.18),transparent 36%),
    linear-gradient(135deg,rgba(76,138,255,.1),rgba(255,126,77,.1),rgba(255,205,122,.08));
}
html[data-theme="light"] .egg-popover{
  border-color:rgba(118,145,196,.22);
  background:
    linear-gradient(142deg,rgba(255,255,255,.96),rgba(245,249,255,.94) 44%,rgba(250,246,240,.95)),
    radial-gradient(circle at 16% 0%,rgba(64,126,255,.08),transparent 42%),
    radial-gradient(circle at 88% 108%,rgba(255,114,72,.08),transparent 48%);
  box-shadow:
    0 30px 60px rgba(126,146,181,.18),
    0 10px 24px rgba(126,146,181,.12),
    inset 0 1px 0 rgba(255,255,255,.96);
}
html[data-theme="light"] .egg-popover-kicker,
html[data-theme="light"] .egg-popover-state,
html[data-theme="light"] .egg-item-status{
  border-color:rgba(118,145,196,.18);
  background:rgba(255,255,255,.74);
}
html[data-theme="light"] .egg-popover-kicker,
html[data-theme="light"] .egg-item-status,
html[data-theme="light"] .egg-item p,
html[data-theme="light"] .egg-popover-hint{
  color:#647591;
}
html[data-theme="light"] .egg-popover-state,
html[data-theme="light"] .egg-item strong,
html[data-theme="light"] .egg-popover h3{
  color:#1d2e49;
}
html[data-theme="light"] .egg-panel-btn,
html[data-theme="light"] .egg-close,
html[data-theme="light"] .egg-action{
  border-color:rgba(118,145,196,.2);
  background:rgba(255,255,255,.72);
  color:#30415f;
  box-shadow:0 10px 22px rgba(126,146,181,.12);
}
html[data-theme="light"] .egg-item{
  border-color:rgba(118,145,196,.18);
  background:
    linear-gradient(135deg,rgba(255,255,255,.76),rgba(245,249,255,.6)),
    radial-gradient(circle at 18% 12%,rgba(73,134,255,.08),transparent 42%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.94);
}
html[data-theme="light"] .egg-item.is-active{
  border-color:rgba(228,150,108,.32);
  box-shadow:0 16px 32px rgba(126,146,181,.16),inset 0 1px 0 rgba(255,255,255,.98);
}
html[data-theme="light"] .egg-item-icon{
  border-color:rgba(118,145,196,.18);
  background:linear-gradient(135deg,rgba(71,132,255,.08),rgba(255,112,73,.08));
}

@media(max-width:900px){
  .egg-item{
    grid-template-columns:1fr;
  }
  .egg-item-actions{
    justify-content:flex-start;
  }
}

@media(max-width:768px){
  .nav-link-g,
  .egg-popover{
    display:none!important;
  }
}

@media(prefers-reduced-motion:reduce){
  .nav-link-g,
  .nav-link-g::before,
  .nav-link-g::after,
  .nav-link-g-mark,
  .nav-link-g-spark{
    animation:none!important;
    transform:none!important;
  }
}


/* animations.css */
/* ═══════════════════════════════════════════════════
   A. SCROLL-DRIVEN — REVEAL
   ═══════════════════════════════════════════════════ */
.reveal{
  opacity:0;
  transform:translateY(30px);
  filter:blur(6px);
  transition:
    opacity .9s var(--ease-out-expo),
    transform .9s var(--ease-out-expo),
    filter .9s var(--ease-out-expo);
  transition-delay:var(--d,0ms);
}
.reveal.in{opacity:1;transform:translateY(0);filter:blur(0)}

/* Reveal from left / right */
.reveal-left{
  opacity:0;transform:translateX(-42px);filter:blur(4px);
  transition:opacity .9s var(--ease-out-expo),transform .9s var(--ease-out-expo),filter .9s var(--ease-out-expo);
  transition-delay:var(--d,0ms);
}
.reveal-left.in{opacity:1;transform:translateX(0);filter:blur(0)}
.reveal-right{
  opacity:0;transform:translateX(42px);filter:blur(4px);
  transition:opacity .9s var(--ease-out-expo),transform .9s var(--ease-out-expo),filter .9s var(--ease-out-expo);
  transition-delay:var(--d,0ms);
}
.reveal-right.in{opacity:1;transform:translateX(0);filter:blur(0)}

/* Scale reveal */
.reveal-scale{
  opacity:0;transform:scale(.88);filter:blur(6px);
  transition:opacity .9s var(--ease-out-expo),transform .9s var(--ease-out-expo),filter .9s var(--ease-out-expo);
  transition-delay:var(--d,0ms);
}
.reveal-scale.in{opacity:1;transform:scale(1);filter:blur(0)}

/* ═══════════════════════════════════════════════════
   A. SCROLL-DRIVEN — PARALLAX SECTION
   ═══════════════════════════════════════════════════ */
.parallax-section{
  position:relative;overflow:hidden;
  min-height:80vh;
  display:flex;align-items:center;
}
.parallax-bg{
  position:absolute;inset:-20% 0;
  background-size:cover;background-position:center;
  will-change:transform;
  filter:brightness(.45) saturate(1.2);
}
.parallax-content{
  position:relative;z-index:2;
  width:100%;
}

/* A. SCROLL-DRIVEN — Horizontal scroll section */
.hscroll-track{
  position:relative;
  /* height set by JS: panels * 100vh */
}
.hscroll-sticky{
  position:sticky;top:0;
  height:100vh;
  overflow:hidden;
  display:flex;align-items:center;
}
.hscroll-tape{
  display:flex;gap:32px;
  padding:0 48px;
  will-change:transform;
}
.hscroll-panel{
  flex:0 0 min(80vw,520px);
  min-height:55vh;
  position:relative;
  isolation:isolate;
  border-radius:var(--radius);
  border:1px solid var(--stroke);
  background:var(--glass);
  overflow:hidden;
  background-clip:padding-box;
  display:flex;flex-direction:column;
}
.hscroll-panel .glow{z-index:0}
.hscroll-panel > *:not(.glow){
  position:relative;
  z-index:1;
}
.hscroll-panel-media{
  position:relative;
  height:220px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:48px;
  border-bottom:1px solid var(--stroke);
  overflow:hidden;
}
.hscroll-panel-media::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(255,255,255,.08),transparent 46%);
  pointer-events:none;
}
.hscroll-panel img{
  width:100%;height:220px;object-fit:cover;
  border-bottom:1px solid var(--stroke);
}
.hscroll-panel .body{
  padding:28px;
  flex:1;
  display:flex;
  flex-direction:column;
  transform:translateZ(22px);
}
.hscroll-panel h3{font-size:20px;margin-bottom:8px;letter-spacing:-.02em}
.hscroll-panel p{color:var(--muted);line-height:1.7;font-size:14px}
.hscroll-source{
  margin-top:10px;
  color:var(--muted);
  font-size:12px;
}

/* A. SCROLL-DRIVEN — Progress ring */
.scroll-ring-wrap{
  position:fixed;bottom:28px;right:28px;z-index:80;
  width:48px;height:48px;
  opacity:0;transition:opacity .3s ease;
  pointer-events:none;
}
.scroll-ring-wrap.show{opacity:1}
.scroll-ring{
  transform:rotate(-90deg);
}
.scroll-ring circle{
  fill:none;stroke-width:3;
}
.scroll-ring .track{stroke:rgba(255,255,255,.08)}
.scroll-ring .fill{
  stroke:url(#ringGrad);
  stroke-dasharray:126;
  stroke-dashoffset:126;
  stroke-linecap:round;
  transition:stroke-dashoffset .1s linear;
}


/* abyss-hover.css */
/* Global ABYSS / CANVAS pointer field. Desktop fine pointers only. */
.site-abyss-hover{
  --abyss-core:rgba(255,255,255,.98);
  --abyss-hot:rgba(255,255,255,.5);
  --abyss-mid:rgba(123,151,255,.2);
  --abyss-edge:rgba(0,212,255,.08);
  position:fixed;
  inset:0;
  z-index:94;
  overflow:hidden;
  pointer-events:none;
  opacity:0;
  visibility:hidden;
  contain:strict;
  transition:opacity .3s ease,visibility 0s linear .3s;
}

.site-abyss-hover.is-visible{
  opacity:1;
  visibility:visible;
  transition-delay:0s;
}

.site-abyss-hover__position{
  position:absolute;
  top:0;
  left:0;
  width:240px;
  height:240px;
  margin:-120px 0 0 -120px;
  border-radius:50%;
  transform:translate3d(-300px,-300px,0);
  will-change:transform;
}

.site-abyss-hover__field,
.site-abyss-hover__ring,
.site-abyss-hover__origin{
  position:absolute;
  top:50%;
  left:50%;
  border-radius:50%;
  pointer-events:none;
}

.site-abyss-hover__field{
  width:220px;
  height:220px;
  margin:-110px 0 0 -110px;
  background:
    radial-gradient(circle,
      var(--abyss-hot) 0,
      var(--abyss-mid) 20%,
      var(--abyss-edge) 42%,
      transparent 70%);
  box-shadow:0 0 70px rgba(255,255,255,.08);
  mix-blend-mode:screen;
  opacity:.28;
  transform:scale(.06);
  transition:
    transform .8s var(--ease-out-expo),
    opacity .42s ease,
    box-shadow .8s ease;
  will-change:transform,opacity;
}

.site-abyss-hover__ring{
  width:34px;
  height:34px;
  margin:-17px 0 0 -17px;
  border:1px solid rgba(255,255,255,.38);
  box-shadow:0 0 24px rgba(255,255,255,.16),inset 0 0 16px rgba(255,255,255,.08);
  opacity:0;
  transform:scale(.12);
  transition:transform .8s var(--ease-out-expo),opacity .3s ease;
}

.site-abyss-hover__origin{
  width:5px;
  height:5px;
  margin:-2.5px 0 0 -2.5px;
  background:var(--abyss-core);
  box-shadow:0 0 8px rgba(255,255,255,.95),0 0 26px rgba(255,255,255,.7);
  transform:scale(.82);
  transition:transform .8s var(--ease-out-expo),box-shadow .35s ease;
}

.site-abyss-hover.is-active .site-abyss-hover__field{
  opacity:1;
  transform:scale(1);
  box-shadow:0 0 100px rgba(255,255,255,.15);
}

.site-abyss-hover.is-active .site-abyss-hover__ring{
  opacity:.72;
  transform:scale(1);
}

.site-abyss-hover.is-active .site-abyss-hover__origin{
  transform:scale(1.5);
  box-shadow:0 0 10px rgba(255,255,255,1),0 0 34px rgba(255,255,255,.9);
}

.site-abyss-hover.is-pressing .site-abyss-hover__field{
  transform:scale(1.12);
  opacity:.84;
}

.site-abyss-hover.is-pressing .site-abyss-hover__ring{
  transform:scale(.68);
  opacity:1;
}

html[data-theme="light"] .site-abyss-hover{
  --abyss-core:rgba(31,48,94,.96);
  --abyss-hot:rgba(65,91,166,.32);
  --abyss-mid:rgba(65,111,220,.15);
  --abyss-edge:rgba(0,145,190,.06);
}

html[data-theme="light"] .site-abyss-hover__field{
  mix-blend-mode:multiply;
  box-shadow:0 0 72px rgba(46,77,152,.08);
}

html[data-theme="light"] .site-abyss-hover__ring{
  border-color:rgba(38,64,130,.28);
  box-shadow:0 0 24px rgba(44,76,154,.12),inset 0 0 16px rgba(44,76,154,.08);
}

html[data-theme="light"] .site-abyss-hover__origin{
  box-shadow:0 0 8px rgba(39,67,136,.7),0 0 24px rgba(65,105,205,.4);
}

html[data-egg] .site-abyss-hover{
  opacity:0!important;
}

@media not all and (hover:hover) and (pointer:fine){
  .site-abyss-hover{display:none!important}
}

@media(max-width:900px){
  .site-abyss-hover{display:none!important}
}

@media(prefers-reduced-motion:reduce){
  .site-abyss-hover{display:none!important}
}


/* components.css */
/* ═══════════════════════════════════════════════════
   D. REUSABLE COMPONENTS
   ═══════════════════════════════════════════════════ */

/* --- Gradient text --- */
.grad{
  --grad-ink:
    radial-gradient(140% 150% at 88% 8%, rgba(255,248,238,.98) 0%, rgba(255,205,160,.82) 18%, rgba(255,123,82,.42) 40%, rgba(255,82,82,.18) 62%, transparent 82%),
    radial-gradient(170% 180% at 0% 100%, #09249a 0%, #071a78 24%, #081251 48%, #220d33 70%, #14070d 100%),
    repeating-linear-gradient(116deg, rgba(255,221,175,.32) 0 5px, rgba(255,94,76,.14) 5px 13px, transparent 13px 22px),
    conic-gradient(from 0deg at 52% 50%, #ffe4cb 0deg, #ff9a40 60deg, #ff4d49 132deg, #2c55ff 224deg, #0b1d90 300deg, #ffe4cb 360deg),
    linear-gradient(126deg, #4c70ff 0%, #8aa7ff 20%, #ffb15a 42%, #ff5e45 62%, #d32732 78%, #0f257f 100%);
  display:inline;
  vertical-align:baseline;
  line-height:inherit;
  background-image:var(--grad-ink);
  background-size:230% 230%,240% 240%,340% 340%,260% 260%,210% 210%;
  background-position:94% 8%,0% 100%,0% 0%,20% 34%,8% 50%;
  -webkit-background-clip:text;background-clip:text;
  color:transparent;
  -webkit-text-fill-color:transparent;
  filter:drop-shadow(0 0 10px rgba(90,132,255,.3)) drop-shadow(0 0 24px rgba(255,118,64,.26));
  animation:gradStorm 1.9s cubic-bezier(.22,.61,.36,1) infinite,gradPulse 1.1s ease-in-out infinite alternate;
}
@keyframes gradStorm{
  0%{
    background-position:94% 8%,0% 100%,0% 0%,20% 34%,8% 50%;
    background-size:230% 230%,240% 240%,340% 340%,260% 260%,210% 210%;
  }
  25%{
    background-position:70% 20%,14% 90%,32% 20%,44% 42%,30% 44%;
    background-size:245% 245%,224% 224%,306% 306%,272% 272%,196% 196%;
  }
  50%{
    background-position:98% 4%,4% 100%,64% 48%,74% 56%,58% 62%;
    background-size:214% 214%,252% 252%,350% 350%,248% 248%,220% 220%;
  }
  75%{
    background-position:82% 12%,0% 88%,88% 78%,90% 74%,82% 82%;
    background-size:238% 238%,232% 232%,320% 320%,266% 266%,206% 206%;
  }
  100%{
    background-position:94% 8%,0% 100%,100% 96%,100% 86%,100% 90%;
    background-size:230% 230%,240% 240%,340% 340%,260% 260%,210% 210%;
  }
}
@keyframes gradPulse{
  0%{
    filter:drop-shadow(0 0 8px rgba(116,156,255,.24)) drop-shadow(0 0 18px rgba(255,109,68,.2));
  }
  100%{
    filter:drop-shadow(0 0 18px rgba(144,181,255,.5)) drop-shadow(0 0 38px rgba(255,102,64,.42));
  }
}
.split-text .grad{
  display:inline;
  vertical-align:baseline;
  transform:none!important;
}

/* --- Split text (reusable) --- */
.split-text .word{
  display:inline-block;overflow:hidden;margin-right:0;
  vertical-align:baseline;
  line-height:1em;
}
.grad .word,
.grad .char-wrap{
  display:inline!important;
  margin:0!important;
  padding:0!important;
  line-height:inherit!important;
  vertical-align:baseline!important;
  transform:none!important;
  opacity:1!important;
}
.grad .word{
  margin-right:0;
  overflow:visible;
}
.split-text .word .char-wrap{
  display:inline-block;
  vertical-align:baseline;
  line-height:1em;
  transform:translateY(110%);
  opacity:0;
  transition:transform .7s var(--ease-out-expo),opacity .5s ease;
  transition-delay:var(--d);
}
.grad .word .char-wrap{
  display:inline;
}
.split-text.in .word .char-wrap{
  transform:translateY(0);opacity:1;
}

/* --- Glass card --- */
.glass-card{
  position:relative;
  border-radius:var(--radius);
  border:1px solid var(--stroke);
  background:var(--glass);
  overflow:hidden;
  background-clip:padding-box;
  transform-style:preserve-3d;
  transition:border-color .22s ease,box-shadow .22s ease,background .22s ease;
}
.glass-card:hover{border-color:rgba(255,255,255,.18)}
.glass-card .glow{
  position:absolute;inset:-80%;
  background:
    radial-gradient(circle at var(--gx,50%) var(--gy,50%),rgba(0,212,255,.16),transparent 40%),
    radial-gradient(circle at calc(var(--gx,50%) + 8%) calc(var(--gy,50%) + 8%),rgba(255,61,206,.12),transparent 44%);
  opacity:0;transition:opacity .22s ease;pointer-events:none;
}
.glass-card:hover .glow{opacity:1}
.glass-card .inner{position:relative;padding:28px;transform:translateZ(24px)}
.tilt{
  transform-origin:center center;
  transform-style:preserve-3d;
  backface-visibility:hidden;
}

/* --- Magnetic button --- */
.btn-mag{
  position:relative;display:inline-flex;align-items:center;gap:10px;
  padding:14px 28px;border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(120% 150% at 30% 20%,rgba(124,92,255,.32),rgba(124,92,255,.06) 55%,rgba(255,255,255,.02)),
    linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.02));
  color:var(--text);font-weight:600;font-size:15px;
  text-decoration:none;cursor:pointer;
  box-shadow:0 16px 60px rgba(124,92,255,.12);
  overflow:hidden;user-select:none;
  background-clip:padding-box;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease;
  font-family:inherit;
  appearance:none;
}
.btn-mag:active{transform:scale(.985)!important}
.btn-mag .shine{
  position:absolute;inset:-50%;
  background:radial-gradient(circle at 30% 30%,rgba(255,255,255,.16),transparent 42%);
  transform:translate3d(var(--mx,0),var(--my,0),0);
  transition:transform .16s cubic-bezier(.22,.61,.36,1);pointer-events:none;
}
.btn-mag .ripple{
  position:absolute;width:12px;height:12px;border-radius:50%;
  background:rgba(255,255,255,.35);
  transform:translate(-50%,-50%) scale(0);
  animation:btnRipple .6s ease-out;pointer-events:none;
}
@keyframes btnRipple{to{transform:translate(-50%,-50%) scale(20);opacity:0}}

.hero-cta-main{
  isolation:isolate;
  padding:16px 30px;
  border-color:rgba(255,203,147,.34);
  background:
    radial-gradient(140% 160% at 18% 22%, rgba(92,129,255,.42), transparent 54%),
    radial-gradient(150% 170% at 88% 16%, rgba(255,156,86,.34), transparent 52%),
    linear-gradient(135deg, rgba(255,120,71,.32), rgba(88,126,255,.22) 54%, rgba(255,210,120,.18));
  box-shadow:
    0 24px 70px rgba(255,118,71,.18),
    0 28px 82px rgba(88,126,255,.18),
    inset 0 1px 0 rgba(255,255,255,.24);
  animation:heroCtaBreath 3.8s ease-in-out infinite;
}
.hero-cta-main::before{
  content:"";
  position:absolute;
  inset:-24%;
  background:
    radial-gradient(circle at 22% 40%, rgba(111,151,255,.36), transparent 34%),
    radial-gradient(circle at 82% 24%, rgba(255,167,102,.34), transparent 30%),
    radial-gradient(circle at 50% 88%, rgba(255,216,138,.16), transparent 36%);
  filter:blur(28px);
  opacity:.92;
  pointer-events:none;
  z-index:0;
  animation:heroCtaAura 3.2s ease-in-out infinite;
}
.hero-cta-main::after{
  content:"";
  position:absolute;
  inset:1px;
  border-radius:inherit;
  background:
    linear-gradient(110deg, rgba(255,255,255,.12), rgba(255,255,255,.02) 34%, rgba(255,255,255,.12)),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  pointer-events:none;
  z-index:0;
}
.hero-cta-main > *{
  position:relative;
  z-index:1;
}
.hero-cta-main .shine{
  inset:-65%;
  background:
    radial-gradient(circle at 24% 30%, rgba(255,255,255,.3), transparent 30%),
    radial-gradient(circle at 72% 72%, rgba(255,207,145,.22), transparent 36%);
  animation:heroCtaSweep 2.4s linear infinite;
}
.hero-cta-main > span:last-child{
  font-size:18px;
  line-height:1;
  transition:transform .24s cubic-bezier(.22,.61,.36,1);
  animation:heroCtaArrow 1.55s ease-in-out infinite;
}
.hero-cta-main:hover{
  border-color:rgba(255,225,176,.52);
  box-shadow:
    0 28px 86px rgba(255,118,71,.24),
    0 30px 98px rgba(88,126,255,.24),
    inset 0 1px 0 rgba(255,255,255,.28);
}
.hero-cta-main:hover > span:last-child{
  transform:translateX(4px) rotate(-8deg);
}
@keyframes heroCtaBreath{
  0%,100%{
    box-shadow:
      0 22px 62px rgba(255,118,71,.16),
      0 24px 72px rgba(88,126,255,.16),
      inset 0 1px 0 rgba(255,255,255,.22);
  }
  50%{
    box-shadow:
      0 30px 82px rgba(255,118,71,.24),
      0 32px 96px rgba(88,126,255,.22),
      inset 0 1px 0 rgba(255,255,255,.28);
  }
}
@keyframes heroCtaAura{
  0%,100%{opacity:.82;transform:scale(1)}
  50%{opacity:1;transform:scale(1.06)}
}
@keyframes heroCtaSweep{
  0%{transform:translate3d(-24%,0,0)}
  100%{transform:translate3d(24%,0,0)}
}
@keyframes heroCtaArrow{
  0%,100%{transform:translateX(0) rotate(0)}
  50%{transform:translateX(5px) rotate(-10deg)}
}

.btn-ghost{
  display:inline-flex;align-items:center;gap:8px;
  padding:14px 24px;border-radius:14px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.03);
  background-clip:padding-box;
  color:var(--muted);font-weight:500;font-size:15px;
  text-decoration:none;cursor:pointer;
  transition:all .2s ease;
  font-family:inherit;
  appearance:none;
}
.btn-ghost:hover{color:var(--text);border-color:rgba(255,255,255,.18);background:rgba(255,255,255,.06)}

/* --- Tag --- */
.tag{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 14px;border-radius:999px;
  border:1px solid var(--stroke);background:var(--surface);
  overflow:hidden;
  background-clip:padding-box;
  color:var(--muted);font-size:12px;font-weight:500;
}
.tag i{
  width:7px;height:7px;border-radius:50%;
  background:linear-gradient(135deg,var(--accentA),var(--accentB));
  box-shadow:0 0 0 4px rgba(0,212,255,.08);
}
html[data-theme="light"] .glass-card{
  border-color:rgba(118,145,196,.18);
  background:linear-gradient(180deg,rgba(255,255,255,.74),rgba(245,249,255,.6));
  box-shadow:0 18px 44px rgba(129,148,183,.12),inset 0 1px 0 rgba(255,255,255,.88);
}
html[data-theme="light"] .glass-card:hover{border-color:rgba(112,142,199,.28)}
html[data-theme="light"] .btn-mag{
  color:#fff;
  border-color:rgba(103,132,191,.18);
  box-shadow:0 16px 48px rgba(102,129,190,.16);
}
html[data-theme="light"] .hero-cta-main{
  border-color:rgba(233,168,105,.34);
  box-shadow:
    0 22px 58px rgba(244,147,84,.2),
    0 26px 74px rgba(109,143,208,.18),
    inset 0 1px 0 rgba(255,255,255,.42);
}
html[data-theme="light"] .btn-ghost{
  color:#50627f;
  border-color:rgba(121,145,193,.18);
  background:rgba(255,255,255,.64);
  box-shadow:0 10px 24px rgba(126,148,184,.12);
}
html[data-theme="light"] .btn-ghost:hover{
  color:#1b2d49;
  border-color:rgba(104,134,190,.26);
  background:rgba(255,255,255,.82);
}


/* pages.css */
/* ═══════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════ */
.hero{
  min-height:100vh;
  display:flex;
  align-items:center;
  position:relative;
  overflow:hidden;
  padding:120px 0 72px;
  isolation:isolate;
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 14% 18%,rgba(124,92,255,.18),transparent 26%),
    radial-gradient(circle at 84% 24%,rgba(0,212,255,.15),transparent 24%),
    linear-gradient(140deg,rgba(255,255,255,.03),transparent 42%,rgba(255,255,255,.02));
  pointer-events:none;
}
.hero::after{
  content:"";
  position:absolute;
  left:8%;
  right:8%;
  top:112px;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.16),transparent);
  opacity:.54;
  pointer-events:none;
}
.hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.04fr) minmax(360px,.96fr);
  gap:56px;
  align-items:center;
  position:relative;
  z-index:1;
}
@media(max-width:980px){
  .hero-grid{grid-template-columns:1fr;gap:38px}
}

.hero-copy{position:relative}

.hero h1{
  font-size:clamp(36px,5vw,66px);
  line-height:.97;
  letter-spacing:-.045em;
  font-weight:800;
  margin:18px 0 16px;
  max-width:11ch;
}
.hero .lead{
  color:rgba(211,223,247,.84);
  font-size:17px;
  line-height:1.8;
  max-width:60ch;
  margin-bottom:0;
}

.hero-offer-list{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin:30px 0 20px;
}
.hero-offer{
  position:relative;
  min-height:100%;
  isolation:isolate;
  border-radius:var(--radius);
  border:1px solid var(--stroke);
  background:var(--glass);
  padding:0;
  box-shadow:0 20px 60px rgba(0,0,0,.24);
  overflow:hidden;
  background-clip:padding-box;
}
.hero-offer::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(180deg,rgba(255,255,255,.05),transparent 38%);
  pointer-events:none;
}
.hero-offer .glow{z-index:0}
.hero-offer .inner{
  position:relative;
  z-index:1;
  padding:28px;
  transform:translateZ(24px);
}
.hero-offer strong{
  display:block;
  margin-bottom:8px;
  font-size:18px;
  letter-spacing:-.02em;
}
.hero-offer span{
  display:block;
  margin-top:0;
  color:rgba(188,205,236,.8);
  font-size:14px;
  line-height:1.65;
}

.hero-proof{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:28px;
}
.hero-proof-chip{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:180px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(174,198,243,.16);
  background:rgba(255,255,255,.04);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
  overflow:hidden;
  background-clip:padding-box;
}
.hero-proof-chip strong{
  font-size:13px;
  letter-spacing:.02em;
}
.hero-proof-chip span{
  color:rgba(185,202,234,.72);
  font-size:12px;
  line-height:1.55;
}

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.hero-visual{
  position:relative;
  min-height:664px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:18px;
  padding:34px 54px 38px;
  overflow:visible;
  isolation:isolate;
}
.hero-blob{
  position:absolute;
  border-radius:44% 56% 55% 45% / 43% 40% 60% 57%;
  pointer-events:none;
  opacity:1;
  filter:saturate(142%) brightness(1.05) drop-shadow(0 40px 125px rgba(7,13,28,.58)) drop-shadow(0 0 42px rgba(104,152,255,.14));
  will-change:transform;
}
.hero-blob::before,
.hero-blob::after{
  content:"";
  position:absolute;
  border-radius:inherit;
  pointer-events:none;
}
.hero-blob::before{
  inset:11%;
  background:
    radial-gradient(circle at 28% 24%,rgba(255,255,255,.34),transparent 24%),
    radial-gradient(circle at 72% 76%,rgba(255,255,255,.12),transparent 34%);
  mix-blend-mode:screen;
  opacity:.78;
  animation:heroBlobSheen 8.2s ease-in-out infinite alternate;
}
.hero-blob::after{
  inset:-12%;
  background:radial-gradient(circle at 50% 50%,rgba(143,181,255,.22),transparent 62%);
  filter:blur(38px);
  opacity:.82;
  animation:heroBlobAura 7.6s ease-in-out infinite alternate;
}
.hero-blob-a{
  top:-38px;
  right:-92px;
  width:592px;
  height:592px;
  background:
    radial-gradient(circle at 28% 24%,rgba(255,255,255,.42),transparent 24%),
    radial-gradient(circle at 68% 24%,rgba(146,117,255,.98),transparent 34%),
    radial-gradient(circle at 54% 68%,rgba(82,190,255,.78),transparent 44%),
    linear-gradient(135deg,rgba(92,78,255,.98),rgba(0,212,255,.62));
  animation:heroBlobFloatA 11.2s ease-in-out infinite alternate;
}
.hero-blob-b{
  left:-54px;
  bottom:-34px;
  width:402px;
  height:402px;
  background:
    radial-gradient(circle at 30% 28%,rgba(255,246,236,.42),transparent 24%),
    radial-gradient(circle at 62% 36%,rgba(255,95,123,.82),transparent 38%),
    radial-gradient(circle at 48% 72%,rgba(255,186,118,.34),transparent 42%),
    linear-gradient(145deg,rgba(255,96,120,.68),rgba(255,122,84,.28));
  animation:heroBlobFloatB 12.6s ease-in-out infinite alternate;
  animation-delay:-2.6s;
}
@keyframes heroBlobFloatA{
  0%{transform:translate3d(0,0,0) scale(1) rotate(0deg)}
  45%{transform:translate3d(28px,-30px,0) scale(1.1) rotate(10deg)}
  100%{transform:translate3d(-22px,24px,0) scale(.98) rotate(-8deg)}
}
@keyframes heroBlobFloatB{
  0%{transform:translate3d(0,0,0) scale(1) rotate(0deg)}
  50%{transform:translate3d(-24px,-18px,0) scale(1.12) rotate(-9deg)}
  100%{transform:translate3d(18px,24px,0) scale(.97) rotate(7deg)}
}
@keyframes heroBlobSheen{
  0%{opacity:.62;transform:translate3d(-4px,0,0) scale(.96)}
  100%{opacity:.9;transform:translate3d(10px,-8px,0) scale(1.04)}
}
@keyframes heroBlobAura{
  0%{opacity:.48;transform:scale(.94)}
  100%{opacity:.9;transform:scale(1.08)}
}

.hero-orbit{
  position:absolute;
  border-radius:50%;
  border:1px solid rgba(171,204,255,.22);
  pointer-events:none;
}
.hero-orbit::before{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  width:12px;
  height:12px;
  margin:-6px 0 0 -6px;
  border-radius:50%;
  background:linear-gradient(135deg,#8aa7ff,#8df3ff);
  box-shadow:0 0 22px rgba(120,216,255,.62),0 0 40px rgba(255,122,90,.14);
  transform-origin:0 -155px;
}
.hero-orbit-a::before{transform-origin:0 -296px}
.hero-orbit-b::before{transform-origin:0 -184px}
.hero-orbit-a{
  top:-26px;
  right:-86px;
  width:612px;
  height:612px;
  animation:heroOrbitSpin 18s linear infinite;
}
.hero-orbit-b{
  left:-18px;
  bottom:-46px;
  width:392px;
  height:392px;
  animation:heroOrbitSpinReverse 14s linear infinite;
}
@keyframes heroOrbitSpin{
  from{transform:rotate(0deg)}
  to{transform:rotate(360deg)}
}
@keyframes heroOrbitSpinReverse{
  from{transform:rotate(360deg)}
  to{transform:rotate(0deg)}
}

.hero-float-strip{
  position:relative;
  z-index:2;
  width:min(100%,540px);
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.hero-float-card{
  position:relative;
  min-height:68px;
  padding:14px 16px;
  border-radius:16px;
  border:1px solid rgba(176,209,255,.28);
  background:linear-gradient(145deg,rgba(10,19,36,.88),rgba(15,29,54,.72));
  backdrop-filter:blur(20px);
  box-shadow:0 18px 48px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.08);
  color:#f4f7ff;
  font-size:13px;
  font-weight:600;
  line-height:1.6;
  letter-spacing:.02em;
  text-shadow:0 2px 16px rgba(6,12,28,.55);
  overflow:hidden;
  background-clip:padding-box;
  animation:heroCardFloat 4.8s ease-in-out infinite;
}
.hero-float-card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:
    radial-gradient(circle at 14% 20%,rgba(255,255,255,.12),transparent 30%),
    linear-gradient(180deg,rgba(255,255,255,.06),transparent 42%);
  pointer-events:none;
}
.hero-float-card-primary{
  background:
    linear-gradient(145deg,rgba(19,31,57,.92),rgba(16,34,67,.72)),
    linear-gradient(135deg,rgba(124,92,255,.2),transparent);
}
.hero-float-card-secondary{
  animation-delay:-2.4s;
  background:
    linear-gradient(145deg,rgba(16,27,52,.92),rgba(12,37,63,.72)),
    linear-gradient(135deg,rgba(0,212,255,.14),transparent);
}
@keyframes heroCardFloat{
  0%,100%{
    box-shadow:0 18px 48px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.08);
    border-color:rgba(176,209,255,.28);
  }
  50%{
    box-shadow:0 24px 58px rgba(0,0,0,.3),0 0 24px rgba(116,180,255,.14),inset 0 1px 0 rgba(255,255,255,.1);
    border-color:rgba(196,223,255,.42);
  }
}

.hero-glass{
  position:relative;
  width:min(100%,540px);
  border-radius:30px;
  border:1px solid rgba(164,190,255,.23);
  background:linear-gradient(145deg,rgba(9,16,32,.9),rgba(11,19,37,.86) 58%,rgba(12,23,42,.88));
  padding:26px;
  box-shadow:0 28px 90px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.14);
  overflow:hidden;
  background-clip:padding-box;
  z-index:2;
}
.hero-glass::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:
    radial-gradient(circle at 12% -30%,rgba(120,176,255,.24),transparent 46%),
    radial-gradient(circle at 92% 130%,rgba(0,212,255,.2),transparent 54%);
  pointer-events:none;
}
.hero-glass::after{
  content:"";
  position:absolute;
  left:-28%;
  top:-2px;
  width:46%;
  height:calc(100% + 4px);
  border-radius:inherit;
  background:linear-gradient(100deg,transparent,rgba(167,218,255,.22),transparent);
  filter:blur(10px);
  opacity:.42;
  transform:translateX(-120%);
  animation:consoleBeam 5.6s linear infinite;
  pointer-events:none;
}
@keyframes consoleBeam{
  0%{transform:translateX(-120%)}
  55%,100%{transform:translateX(420%)}
}

.hero-form-shell{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.hero-form-shell > *{
  position:relative;
  z-index:2;
}
.hero-form-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
}
.hero-form-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 12px;
  border-radius:999px;
  border:1px solid rgba(166,192,240,.24);
  background:rgba(255,255,255,.05);
  overflow:hidden;
  background-clip:padding-box;
  color:rgba(206,223,251,.84);
  font-size:11px;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.hero-form-head h2{
  margin:12px 0 0;
  font-size:clamp(24px,2.7vw,34px);
  line-height:1.02;
  letter-spacing:-.03em;
}
.hero-form-status{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 12px;
  border-radius:999px;
  border:1px solid rgba(143,198,255,.28);
  background:rgba(66,132,255,.1);
  overflow:hidden;
  background-clip:padding-box;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.09em;
  color:#deecff;
  white-space:nowrap;
}
.hero-form-status i{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#61ccff;
  box-shadow:0 0 0 0 rgba(97,204,255,.7);
  animation:dashPulse 1.7s ease-out infinite;
}
.hero-form-ribbon{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.hero-form-ribbon span{
  border-radius:999px;
  border:1px solid rgba(170,197,241,.18);
  background:rgba(255,255,255,.04);
  padding:8px 12px;
  color:rgba(214,226,248,.86);
  font-size:12px;
  line-height:1.2;
  overflow:hidden;
  background-clip:padding-box;
}

.hero-lead-form{
  display:flex;
  flex-direction:column;
  gap:16px;
}
.lead-field-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.lead-field{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.lead-field span{
  font-size:11px;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:rgba(192,209,240,.7);
}
.lead-field input,
.lead-field select,
.lead-field textarea{
  width:100%;
  border:1px solid rgba(162,187,231,.18);
  border-radius:15px;
  background:rgba(255,255,255,.04);
  color:var(--text);
  padding:14px 15px;
  font:inherit;
  line-height:1.4;
  transition:border-color .22s ease,box-shadow .22s ease,transform .22s ease,background .22s ease;
}
.lead-field select{
  color-scheme:dark;
}
.lead-field select option,
.lead-field select optgroup{
  background:#0f1728;
  color:#eaf0ff;
}
.lead-field input::placeholder,
.lead-field textarea::placeholder{
  color:rgba(176,194,228,.42);
}
.lead-field input:focus,
.lead-field select:focus,
.lead-field textarea:focus{
  outline:none;
  border-color:rgba(143,198,255,.58);
  box-shadow:0 0 0 3px rgba(0,212,255,.08),0 10px 30px rgba(0,0,0,.14);
  background:rgba(255,255,255,.06);
  transform:translateY(-1px);
}
.lead-field-full textarea{
  min-height:132px;
  resize:vertical;
}
.lead-form-footer{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
}
.lead-form-note{
  max-width:320px;
  color:rgba(206,220,246,.78);
  font-size:12px;
  line-height:1.65;
  text-align:center;
  text-wrap:balance;
}
.lead-submit{
  justify-content:center;
  min-width:220px;
}
.lead-inline-ok{
  opacity:0;
  transform:translateY(8px);
  border-radius:16px;
  border:1px solid rgba(143,198,255,.28);
  background:rgba(55,124,255,.1);
  padding:12px 14px;
  color:#deecff;
  font-size:13px;
  line-height:1.55;
  pointer-events:none;
  transition:opacity .22s ease,transform .22s ease;
}
.lead-inline-ok.show{
  opacity:1;
  transform:translateY(0);
}

.tech-dashboard{
  position:relative;
  z-index:2;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.tech-dashboard::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:inherit;
  pointer-events:none;
  background:
    linear-gradient(transparent 97%,rgba(153,196,255,.1) 97%),
    linear-gradient(90deg,transparent 97%,rgba(153,196,255,.08) 97%);
  background-size:100% 28px,28px 100%;
  opacity:.17;
  mix-blend-mode:screen;
}

.dash-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  position:relative;
  z-index:2;
}
.dash-node{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 11px;
  border-radius:999px;
  border:1px solid rgba(148,198,255,.38);
  background:rgba(72,132,255,.12);
  color:#deecff;
  font-size:11px;
  letter-spacing:.09em;
  font-weight:700;
}
.dash-node b{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#61ccff;
  box-shadow:0 0 0 0 rgba(97,204,255,.7);
  animation:dashPulse 1.7s ease-out infinite;
}
@keyframes dashPulse{
  0%{box-shadow:0 0 0 0 rgba(97,204,255,.7)}
  100%{box-shadow:0 0 0 12px rgba(97,204,255,0)}
}
.dash-clock{
  font-family:"SFMono-Regular","Menlo","Consolas","Liberation Mono",monospace;
  font-size:12px;
  font-weight:600;
  color:rgba(188,210,246,.86);
  letter-spacing:.08em;
}

.dash-grid{
  display:grid;
  grid-template-columns:1.18fr .82fr;
  gap:12px;
  position:relative;
  z-index:2;
}
.dash-panel{
  border:1px solid rgba(165,192,238,.23);
  border-radius:16px;
  background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.02));
  padding:14px;
  overflow:hidden;
  background-clip:padding-box;
}
.dash-label{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.11em;
  color:rgba(182,201,236,.78);
  margin-bottom:8px;
}
.dash-title{
  margin:0;
  font-size:clamp(18px,1.9vw,25px);
  line-height:1.12;
  letter-spacing:-.02em;
  font-weight:800;
}
.dash-copy{
  margin:10px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.7;
}
.dash-actions{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:14px;
}
.console-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  padding:10px 13px;
  border:1px solid rgba(167,191,241,.34);
  background:rgba(255,255,255,.02);
  overflow:hidden;
  background-clip:padding-box;
  color:#d8e6ff;
  font-size:12px;
  font-weight:600;
  text-decoration:none;
  transition:transform .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease;
}
.console-btn:hover{
  transform:translateY(-1px);
  border-color:rgba(185,217,255,.56);
}
.console-btn.primary{
  border-color:rgba(143,198,255,.52);
  background:linear-gradient(130deg,rgba(66,132,255,.38),rgba(0,212,255,.24));
  box-shadow:0 8px 24px rgba(58,136,255,.24);
}
.console-btn:focus-visible{
  outline:2px solid rgba(141,207,255,.9);
  outline-offset:2px;
}

.dash-flags{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:12px;
}
.dash-flags span{
  border-radius:999px;
  border:1px solid rgba(172,197,237,.28);
  background:rgba(255,255,255,.03);
  padding:5px 9px;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:rgba(185,207,243,.84);
  overflow:hidden;
  background-clip:padding-box;
}

.dash-stream{
  min-height:100%;
}
.event-feed{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:9px;
}
.event-feed li{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:8px;
  border:1px solid rgba(163,194,245,.14);
  background:rgba(255,255,255,.02);
  border-radius:12px;
  padding:8px 9px;
  overflow:hidden;
  background-clip:padding-box;
  transform:translateY(0);
  opacity:1;
  transition:transform .35s var(--ease-out-quart),opacity .35s ease,border-color .35s ease;
}
.event-feed li.is-entering{
  opacity:0;
  transform:translateY(-8px);
}
.event-feed li i{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#66d0ff;
  box-shadow:0 0 10px rgba(102,208,255,.55);
}
.event-feed li[data-level="warn"] i{
  background:#ffc365;
  box-shadow:0 0 10px rgba(255,195,101,.52);
}
.event-feed li[data-level="ok"] i{
  background:#6af1b2;
  box-shadow:0 0 10px rgba(106,241,178,.52);
}
.event-feed li span{
  font-size:12px;
  color:#e0edff;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.event-feed li time{
  font-family:"SFMono-Regular","Menlo","Consolas","Liberation Mono",monospace;
  font-size:10px;
  letter-spacing:.03em;
  color:rgba(174,198,235,.86);
}

.dash-metrics{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.dash-metric{
  border:1px solid rgba(163,190,233,.24);
  border-radius:14px;
  background:linear-gradient(145deg,rgba(255,255,255,.05),rgba(255,255,255,.015));
  padding:11px 12px;
  overflow:hidden;
  background-clip:padding-box;
  transition:border-color .24s ease,background .24s ease,transform .24s var(--ease-out-quart);
}
.dash-metric:hover{
  border-color:rgba(185,217,255,.52);
  background:linear-gradient(145deg,rgba(255,255,255,.085),rgba(255,255,255,.03));
  transform:translateY(-1px);
}
.stat-link{
  display:block;
  text-decoration:none;
  color:inherit;
}
.metric-name{
  color:rgba(182,201,236,.78);
  font-size:10px;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.metric-value{
  display:flex;
  align-items:flex-end;
  gap:4px;
  margin-top:7px;
}
.metric-value strong{
  font-size:27px;
  line-height:1;
  letter-spacing:-.02em;
}
.metric-value span{
  font-size:11px;
  color:rgba(183,205,241,.88);
  text-transform:uppercase;
  letter-spacing:.08em;
  padding-bottom:3px;
}
.stat-meter{
  margin-top:10px;
  height:5px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  overflow:hidden;
}
.stat-meter span{
  display:block;
  height:100%;
  width:54%;
  border-radius:inherit;
  background:linear-gradient(90deg,#7C5CFF,#00D4FF);
  box-shadow:0 0 16px rgba(0,212,255,.35);
  transition:width .48s var(--ease-out-quart);
}

.dash-sparkline{
  position:relative;
  z-index:2;
  border-top:1px solid rgba(159,182,229,.2);
  padding-top:11px;
}
.dash-sparkline svg{
  display:block;
  width:100%;
  height:68px;
}
#aiSparklineLine{
  fill:none;
  stroke:#73ccff;
  stroke-width:2.4;
  stroke-linejoin:round;
  stroke-linecap:round;
  filter:drop-shadow(0 0 12px rgba(102,209,255,.28));
  transition:points .36s ease;
}

@media(max-width:900px){
  .hero{
    min-height:auto;
    padding:112px 0 58px;
  }
  .hero h1{max-width:12ch}
  .hero-offer-list{grid-template-columns:1fr}
  .hero-visual{
    min-height:0;
    padding:30px 24px 20px;
  }
  .hero-blob-a{
    left:calc(50% - 222px);
    right:auto;
    top:-8px;
    width:454px;
    height:454px;
  }
  .hero-blob-b{
    left:-18px;
    bottom:-8px;
    width:306px;
    height:306px;
  }
  .hero-orbit-a{
    left:calc(50% - 244px);
    right:auto;
    top:-16px;
    width:488px;
    height:488px;
  }
  .hero-orbit-a::before{transform-origin:0 -236px}
  .hero-orbit-b{
    left:-6px;
    bottom:-16px;
    width:314px;
    height:314px;
  }
  .hero-orbit-b::before{transform-origin:0 -146px}
  .dash-grid{grid-template-columns:1fr}
  .dash-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
  .hero::after{top:98px}
  .hero h1{
    font-size:clamp(32px,10vw,48px);
    max-width:13ch;
  }
  .hero .lead{font-size:15px}
  .hero-proof-chip{width:100%}
  .hero-offer{
    padding:0;
    border-radius:16px;
  }
  .hero-offer .inner{padding:16px 14px}
  .hero-proof{
    gap:8px;
    margin-bottom:24px;
  }
  .hero-actions{
    width:100%;
  }
  .hero-actions .btn-mag,
  .hero-actions .btn-ghost{
    width:100%;
    justify-content:center;
  }
  .hero-form-ribbon{
    display:grid;
    grid-template-columns:1fr;
  }
  .lead-field span{
    letter-spacing:.08em;
  }
  .lead-field input,
  .lead-field select,
  .lead-field textarea{
    padding:13px 14px;
    border-radius:14px;
  }
  .lead-field-full textarea{
    min-height:152px;
  }
  .hero-glass{padding:22px;border-radius:24px}
  .hero-form-head{
    flex-direction:column;
    align-items:flex-start;
  }
  .hero-form-status{white-space:normal}
  .hero-form-ribbon span{width:100%}
  .lead-field-grid{grid-template-columns:1fr}
  .lead-form-footer{
    align-items:center;
    gap:12px;
  }
  .lead-form-note{
    max-width:none;
    font-size:12px;
    text-align:center;
  }
  .lead-submit{
    width:100%;
    min-width:0;
    max-width:320px;
  }
  .dash-head{
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
  }
  .dash-title{font-size:22px}
  .dash-copy{font-size:13px}
  .dash-actions{
    flex-direction:column;
    align-items:stretch;
  }
  .console-btn{width:100%}
  .dash-metrics{grid-template-columns:1fr}
  .metric-value strong{font-size:24px}
  .event-feed li span{font-size:11px}
}

/* ═══════════════════════════════════════════════════
   FEATURES GRID
   ═══════════════════════════════════════════════════ */
.features-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:18px;
}
@media(max-width:900px){.features-grid{grid-template-columns:1fr}}
.feature-card{min-height:200px}
.feature-card h3{margin:14px 0 8px;font-size:18px}
.feature-card p{color:var(--muted);line-height:1.7;font-size:14px}

/* ═══════════════════════════════════════════════════
   SHARED PAGE HELPERS
   ═══════════════════════════════════════════════════ */
.page-top-section{padding-top:120px}
.page-hero-title{
  font-size:clamp(32px,5vw,60px);
  font-weight:800;
  letter-spacing:-.03em;
  margin-top:14px;
  margin-bottom:8px;
}
.page-hero-lead{
  color:var(--muted);
  line-height:1.8;
  font-size:16px;
}
.page-hero-lead-narrow{max-width:52ch}
.page-hero-lead-wide{max-width:58ch}
.page-hero-lead-spaced{margin-bottom:48px}

.features-grid.features-grid-two{grid-template-columns:repeat(2,1fr)}
@media(max-width:900px){.features-grid.features-grid-two{grid-template-columns:1fr}}

.site-footer{
  padding:40px 0 60px;
  border-top:1px solid var(--stroke);
}
.site-footer.spaced{margin-top:60px}
.site-footer-copy{color:var(--muted)}
.site-footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.site-footer-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
@media(max-width:640px){
  .site-footer-inner{
    flex-direction:column;
    align-items:flex-start;
  }
}

/* ═══════════════════════════════════════════════════
   LIGHT THEME
   ═══════════════════════════════════════════════════ */
html[data-theme="light"] .hero::before{
  background:
    radial-gradient(circle at 14% 18%,rgba(75,108,255,.12),transparent 26%),
    radial-gradient(circle at 84% 24%,rgba(8,188,231,.1),transparent 24%),
    linear-gradient(140deg,rgba(255,255,255,.4),transparent 42%,rgba(255,255,255,.22));
}
html[data-theme="light"] .hero::after{
  background:linear-gradient(90deg,transparent,rgba(94,121,176,.18),transparent);
}
html[data-theme="light"] .hero .lead,
html[data-theme="light"] .page-hero-lead,
html[data-theme="light"] .feature-card p,
html[data-theme="light"] .site-footer-copy{
  color:rgba(72,86,114,.9);
}
html[data-theme="light"] .hero-offer{
  border-color:rgba(118,145,196,.18);
  background:linear-gradient(145deg,rgba(255,255,255,.8),rgba(242,247,255,.66));
  box-shadow:0 18px 42px rgba(129,148,183,.14);
}
html[data-theme="light"] .hero-offer span,
html[data-theme="light"] .hero-proof-chip span{
  color:rgba(80,95,124,.84);
}
html[data-theme="light"] .hero-proof-chip{
  border-color:rgba(123,147,192,.18);
  background:rgba(255,255,255,.62);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.88),0 12px 26px rgba(127,147,181,.1);
}
html[data-theme="light"] .hero-blob{
  filter:saturate(138%) brightness(1.04) drop-shadow(0 38px 108px rgba(88,118,178,.3)) drop-shadow(0 0 34px rgba(115,146,219,.14));
}
html[data-theme="light"] .hero-glass{
  border-color:rgba(113,140,196,.22);
  background:linear-gradient(145deg,rgba(255,255,255,.82),rgba(246,249,255,.8) 58%,rgba(241,247,255,.86));
  box-shadow:0 28px 76px rgba(128,146,180,.18),inset 0 1px 0 rgba(255,255,255,.94);
}
html[data-theme="light"] .hero-glass::before{
  background:
    radial-gradient(circle at 12% -30%,rgba(75,108,255,.12),transparent 46%),
    radial-gradient(circle at 92% 130%,rgba(8,188,231,.12),transparent 54%);
}
html[data-theme="light"] .hero-glass::after{
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.72),transparent);
  opacity:.5;
}
html[data-theme="light"] .hero-form-kicker{
  border-color:rgba(114,141,194,.2);
  background:rgba(255,255,255,.72);
  color:#5d6e90;
}
html[data-theme="light"] .hero-form-status{
  border-color:rgba(100,137,203,.2);
  background:rgba(74,108,255,.08);
  color:#30456f;
}
html[data-theme="light"] .hero-form-status i{background:#3cb7ea}
html[data-theme="light"] .hero-form-ribbon span{
  border-color:rgba(120,145,196,.18);
  background:rgba(255,255,255,.74);
  color:#566883;
}
html[data-theme="light"] .lead-field span{
  color:rgba(74,88,116,.76);
}
html[data-theme="light"] .lead-field input,
html[data-theme="light"] .lead-field select,
html[data-theme="light"] .lead-field textarea{
  border-color:rgba(119,144,193,.22);
  background:rgba(255,255,255,.76);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
}
html[data-theme="light"] .lead-field select{
  color-scheme:light;
}
html[data-theme="light"] .lead-field select option,
html[data-theme="light"] .lead-field select optgroup{
  background:#ffffff;
  color:#162541;
}
html[data-theme="light"] .lead-field input::placeholder,
html[data-theme="light"] .lead-field textarea::placeholder{
  color:rgba(99,114,144,.58);
}
html[data-theme="light"] .lead-field input:focus,
html[data-theme="light"] .lead-field select:focus,
html[data-theme="light"] .lead-field textarea:focus{
  box-shadow:0 0 0 3px rgba(8,188,231,.1),0 12px 28px rgba(129,148,183,.12);
  background:rgba(255,255,255,.92);
}
html[data-theme="light"] .lead-form-note{
  color:rgba(71,86,114,.84);
}
html[data-theme="light"] .lead-inline-ok{
  border-color:rgba(94,127,188,.2);
  background:rgba(74,108,255,.08);
  color:#2c446d;
}
html[data-theme="light"] .project-card{
  background:linear-gradient(180deg,rgba(255,255,255,.78),rgba(244,248,255,.64));
  box-shadow:0 20px 56px rgba(128,145,178,.16);
}
html[data-theme="light"] .project-card:hover{
  box-shadow:0 24px 64px rgba(128,145,178,.18);
}
html[data-theme="light"] .project-thumb{
  background:linear-gradient(135deg,rgba(74,108,255,.16),rgba(8,188,231,.12));
}
html[data-theme="light"] .project-thumb::after{
  background:linear-gradient(180deg,transparent 60%,rgba(255,255,255,.68));
}
html[data-theme="light"] .site-footer{
  border-top-color:rgba(118,145,196,.16);
}
.site-footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:16px;
}
.site-footer-copy{
  color:var(--muted);
  font-size:14px;
}
.site-footer-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.btn-ghost-sm{
  padding:10px 18px;
  font-size:13px;
}
.btn-ghost-chip{
  padding:10px 14px;
  font-size:13px;
}

/* ═══════════════════════════════════════════════════
   WORK PAGE — PROJECT CARDS
   ═══════════════════════════════════════════════════ */
.projects-grid{
  display:grid;grid-template-columns:repeat(2,1fr);gap:20px;
}
@media(max-width:800px){.projects-grid{grid-template-columns:1fr}}

.project-card{
  position:relative;
  border-radius:var(--radius);
  border:1px solid var(--stroke);
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.02));
  overflow:hidden;
  cursor:pointer;
  transition:transform .3s var(--ease-out-expo),box-shadow .3s ease;
  display:block;
  color:inherit;
  text-decoration:none;
  transform-style:preserve-3d;
  will-change:transform;
  box-shadow:0 20px 70px rgba(0,0,0,.35);
}
.project-card:hover{
  transform:translateY(-4px);
  box-shadow:0 24px 80px rgba(0,0,0,.4);
}
.project-card .glow{
  z-index:0;
}
.project-thumb{
  width:100%;height:220px;
  background:linear-gradient(135deg,rgba(124,92,255,.2),rgba(0,212,255,.15));
  display:flex;align-items:center;justify-content:center;
  font-size:48px;border-bottom:1px solid var(--stroke);
  position:relative;overflow:hidden;
  z-index:1;
  transform:translateZ(18px);
}
.project-thumb::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,transparent 60%,rgba(5,8,16,.5));
}
.project-body{
  padding:24px;
  position:relative;
  z-index:1;
  transform:translateZ(18px);
}
.project-body h3{font-size:20px;margin-bottom:6px}
.project-body p{color:var(--muted);line-height:1.7;font-size:14px}
.project-card.project-empty{
  min-height:360px;
}

/* ABYSS / CANVAS — anteprima dal nero alla tela */
.project-thumb.project-thumb-abyss{
  isolation:isolate;
  background:#020203;
  color:#fff;
}
.project-thumb.project-thumb-abyss::before{
  content:"";
  position:absolute;
  z-index:0;
  width:126px;
  height:126px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 0 70px rgba(255,255,255,.2);
  transform:scale(.06);
  transition:transform .8s var(--ease-out-expo),box-shadow .8s ease;
}
.project-thumb.project-thumb-abyss::after{
  z-index:1;
  background:linear-gradient(90deg,rgba(2,2,3,.28),transparent 45%,rgba(255,255,255,.08));
}
.abyss-project-preview{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:1fr 34px 1fr;
  align-items:center;
  width:min(82%,430px);
  color:rgba(255,255,255,.56);
  font-size:clamp(16px,2.2vw,24px);
  font-weight:760;
  letter-spacing:.22em;
}
.abyss-project-word:first-child{
  justify-self:end;
}
.abyss-project-word-canvas{
  justify-self:start;
  color:rgba(255,255,255,.9);
}
.abyss-project-origin{
  justify-self:center;
  width:5px;
  height:5px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 0 22px rgba(255,255,255,.9);
  transition:transform .8s var(--ease-out-expo);
}
.project-card-abyss:hover .project-thumb-abyss::before{
  transform:scale(1);
  box-shadow:0 0 100px rgba(255,255,255,.34);
}
.project-card-abyss:hover .abyss-project-origin{
  transform:scale(1.5);
}
html[data-theme="light"] .project-thumb.project-thumb-abyss{
  background:#020203;
}
@media(max-width:520px){
  .abyss-project-preview{
    grid-template-columns:1fr 22px 1fr;
    width:88%;
    font-size:15px;
    letter-spacing:.14em;
  }
}
@media(prefers-reduced-motion:reduce){
  .project-thumb.project-thumb-abyss::before,
  .abyss-project-origin{
    transition:none;
  }
}

/* SwissDashcam — camera neon e strada in prospettiva */
.project-thumb.project-thumb-swissdashcam{
  isolation:isolate;
  background:
    radial-gradient(circle at 78% 20%,rgba(255,42,95,.34),transparent 38%),
    radial-gradient(circle at 18% 82%,rgba(0,243,255,.28),transparent 42%),
    #050609;
}
.project-thumb.project-thumb-swissdashcam::before{
  content:"";
  position:absolute;
  z-index:0;
  left:50%;
  bottom:-52px;
  width:76%;
  height:128px;
  border:1px solid rgba(0,243,255,.2);
  background:repeating-linear-gradient(90deg,transparent 0 18%,rgba(255,255,255,.12) 18% 18.6%);
  transform:translateX(-50%) perspective(180px) rotateX(62deg);
  transform-origin:center bottom;
}
.project-thumb.project-thumb-swissdashcam::after{
  z-index:1;
  background:linear-gradient(180deg,transparent 48%,rgba(5,6,9,.7));
}
.swissdashcam-project-preview{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  gap:26px;
  color:#fff;
  transition:transform .7s var(--ease-out-expo);
}
.swissdashcam-project-camera{
  position:relative;
  width:82px;
  height:54px;
  border:2px solid rgba(255,255,255,.82);
  border-radius:16px;
  background:linear-gradient(145deg,rgba(255,255,255,.16),rgba(255,255,255,.03));
  box-shadow:0 0 34px rgba(0,243,255,.18);
}
.swissdashcam-project-camera::before{
  content:"";
  position:absolute;
  left:16px;
  top:-10px;
  width:28px;
  height:10px;
  border:2px solid rgba(255,255,255,.82);
  border-bottom:0;
  border-radius:8px 8px 0 0;
}
.swissdashcam-project-camera span{
  position:absolute;
  inset:9px 23px;
  border:3px solid #fff;
  border-radius:50%;
  background:radial-gradient(circle,#050609 0 25%,#00f3ff 28% 42%,#ff2a5f 46% 62%,#10131b 65%);
  box-shadow:0 0 24px rgba(0,243,255,.55),0 0 42px rgba(255,42,95,.28);
  transition:transform .7s var(--ease-out-expo),box-shadow .7s ease;
}
.swissdashcam-project-copy{
  max-width:150px;
  font-size:clamp(15px,2vw,22px);
  font-weight:780;
  letter-spacing:.13em;
  line-height:1.25;
}
.swissdashcam-project-copy b{
  display:block;
  color:#00f3ff;
  text-shadow:0 0 22px rgba(0,243,255,.48);
}
.project-card-swissdashcam:hover .swissdashcam-project-preview{
  transform:translateY(-3px) scale(1.04);
}
.project-card-swissdashcam:hover .swissdashcam-project-camera span{
  transform:rotate(28deg) scale(1.08);
  box-shadow:0 0 34px rgba(0,243,255,.72),0 0 58px rgba(255,42,95,.45);
}
@media(max-width:520px){
  .swissdashcam-project-preview{gap:18px}
  .swissdashcam-project-camera{width:70px;height:48px}
  .swissdashcam-project-camera span{inset:8px 20px}
}
@media(prefers-reduced-motion:reduce){
  .swissdashcam-project-preview,
  .swissdashcam-project-camera span{transition:none}
}

/* ═══════════════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════════════ */
.about-hero{
  min-height:60vh;display:flex;align-items:center;
  padding-top:100px;
}
.about-hero .wrap{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.about-hero h1{
  font-size:clamp(32px,5vw,60px);
  font-weight:800;letter-spacing:-.03em;
  line-height:1.08;
  margin-bottom:18px;
}
.about-cols{
  display:grid;grid-template-columns:1fr 1fr;gap:40px;
  align-items:start;
}
@media(max-width:800px){.about-cols{grid-template-columns:1fr}}
.about-cols p{color:var(--muted);line-height:1.8;font-size:15px}

.marquee{
  overflow:hidden;white-space:nowrap;
  border-top:1px solid var(--stroke);
  border-bottom:1px solid var(--stroke);
  padding:18px 0;
}
.marquee-inner{
  display:inline-flex;gap:40px;
  animation:marquee 20s linear infinite;
}
.marquee-inner span{
  font-size:clamp(28px,4vw,48px);
  font-weight:800;letter-spacing:-.03em;
  color:rgba(255,255,255,.06);
}
html[data-theme="light"] .marquee{
  border-top-color:rgba(118,145,196,.16);
  border-bottom-color:rgba(118,145,196,.16);
  background:linear-gradient(180deg,rgba(255,255,255,.26),rgba(255,255,255,.08));
}
html[data-theme="light"] .marquee-inner span{
  color:rgba(76,96,136,.14);
}
@keyframes marquee{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}


/* base.css */
/* ═══════════════════════════════════════════════════
   NOISE + AMBIENCE
   ═══════════════════════════════════════════════════ */
.noise{
  pointer-events:none;position:fixed;inset:0;z-index:9990;
  opacity:.06;mix-blend-mode:overlay;
  background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency=".85" numOctaves="3" stitchTiles="stitch"/></filter><rect width="200" height="200" filter="url(%23n)" opacity=".55"/></svg>');
  animation:noiseDrift 1.45s steps(2) infinite;
}
@keyframes noiseDrift{0%{transform:translate(0)}100%{transform:translate(-8px,6px)}}

.ambient-orb{
  position:fixed;border-radius:50%;pointer-events:none;
  filter:blur(120px);opacity:.18;z-index:-1;
  animation:orbDrift 12s ease-in-out infinite alternate;
}
@keyframes orbDrift{
  0%{transform:translate(0,0) scale(1)}
  33%{transform:translate(40px,-30px) scale(1.1)}
  66%{transform:translate(-30px,20px) scale(.95)}
  100%{transform:translate(20px,-10px) scale(1.05)}
}
html[data-theme="light"] .noise{
  opacity:.03;
  mix-blend-mode:multiply;
}
html[data-theme="light"] .ambient-orb{
  opacity:.14;
  filter:blur(130px) saturate(118%);
}

/* ═══════════════════════════════════════════════════
   DESKTOP CURSOR
   ═══════════════════════════════════════════════════ */
@media(hover:hover) and (pointer:fine){
  :root{
    --cursor-default:url('cursor-default.svg?v=20260408b') 8 6, auto;
    --cursor-pointer:url('cursor-pointer.svg?v=20260408b') 10 6, pointer;
    --cursor-text:url('cursor-text.svg?v=20260408b') 24 24, text;
    --cursor-vertical-text:url('cursor-vertical-text.svg?v=20260408b') 24 24, vertical-text;
    --cursor-help:url('cursor-help.svg?v=20260408b') 24 24, help;
    --cursor-wait:url('cursor-wait.svg?v=20260408b') 24 24, wait;
    --cursor-progress:url('cursor-progress.svg?v=20260408b') 10 6, progress;
    --cursor-crosshair:url('cursor-crosshair.svg?v=20260408b') 24 24, crosshair;
    --cursor-move:url('cursor-move.svg?v=20260408b') 24 24, move;
    --cursor-all-scroll:url('cursor-all-scroll.svg?v=20260408b') 24 24, all-scroll;
    --cursor-grab:url('cursor-grab.svg?v=20260408b') 24 10, grab;
    --cursor-grabbing:url('cursor-grabbing.svg?v=20260408b') 24 10, grabbing;
    --cursor-not-allowed:url('cursor-not-allowed.svg?v=20260408b') 24 24, not-allowed;
    --cursor-no-drop:url('cursor-no-drop.svg?v=20260408b') 24 24, no-drop;
    --cursor-copy:url('cursor-copy.svg?v=20260408b') 24 24, copy;
    --cursor-alias:url('cursor-alias.svg?v=20260408b') 10 6, alias;
    --cursor-context-menu:url('cursor-context-menu.svg?v=20260408b') 10 6, context-menu;
    --cursor-cell:url('cursor-cell.svg?v=20260408b') 24 24, cell;
    --cursor-zoom-in:url('cursor-zoom-in.svg?v=20260408b') 20 20, zoom-in;
    --cursor-zoom-out:url('cursor-zoom-out.svg?v=20260408b') 20 20, zoom-out;
    --cursor-ew-resize:url('cursor-ew-resize.svg?v=20260408b') 24 24, ew-resize;
    --cursor-ns-resize:url('cursor-ns-resize.svg?v=20260408b') 24 24, ns-resize;
    --cursor-nesw-resize:url('cursor-nesw-resize.svg?v=20260408b') 24 24, nesw-resize;
    --cursor-nwse-resize:url('cursor-nwse-resize.svg?v=20260408b') 24 24, nwse-resize;
    --cursor-col-resize:url('cursor-col-resize.svg?v=20260408b') 24 24, col-resize;
    --cursor-row-resize:url('cursor-row-resize.svg?v=20260408b') 24 24, row-resize;
  }
  html,
  body{
    cursor:var(--cursor-default)!important;
  }
  #loader,
  #loader *{
    cursor:var(--cursor-progress)!important;
  }
  a,
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  input[type="checkbox"],
  input[type="radio"],
  input[type="range"],
  .clickable,
  [role="button"],
  summary,
  .brand,
  .nav-link,
  .theme-toggle,
  .lang-toggle,
  .btn-mag,
  .btn-ghost,
  .project-card,
  .hamburger,
  .egg-action,
  .egg-close,
  .contact-close,
  .contact-send{
    cursor:var(--cursor-pointer)!important;
  }
  a,
  button,
  img,
  svg,
  .brand,
  .brand *,
  .nav-link,
  .project-card,
  .project-card *,
  .btn-mag,
  .btn-ghost,
  .theme-toggle,
  .lang-toggle,
  .egg-action,
  .egg-close{
    -webkit-user-drag:none;
  }
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  input[type="number"],
  input[type="search"],
  textarea,
  [contenteditable="true"]{
    cursor:var(--cursor-text)!important;
  }
  .vertical-text{
    cursor:var(--cursor-vertical-text)!important;
  }
  .crosshair{
    cursor:var(--cursor-crosshair)!important;
  }
  .move,
  .move-cursor{
    cursor:var(--cursor-move)!important;
  }
  .all-scroll{
    cursor:var(--cursor-all-scroll)!important;
  }
  [draggable="true"],
  .is-draggable,
  .drag-handle,
  .grab{
    cursor:var(--cursor-grab)!important;
  }
  [draggable="true"]:active,
  .is-draggable:active,
  .drag-handle:active,
  .grabbing{
    cursor:var(--cursor-grabbing)!important;
  }
  select{
    cursor:var(--cursor-pointer)!important;
  }
  button:disabled,
  input:disabled,
  select:disabled,
  textarea:disabled,
  [aria-disabled="true"]{
    cursor:var(--cursor-not-allowed)!important;
  }
  [data-help],
  abbr[title],
  [role="tooltip"]{
    cursor:var(--cursor-help)!important;
  }
  .wait{
    cursor:var(--cursor-wait)!important;
  }
  .loading,
  .progress,
  [aria-busy="true"]{
    cursor:var(--cursor-progress)!important;
  }
  .cell{
    cursor:var(--cursor-cell)!important;
  }
  .alias{
    cursor:var(--cursor-alias)!important;
  }
  .copy{
    cursor:var(--cursor-copy)!important;
  }
  .context-menu{
    cursor:var(--cursor-context-menu)!important;
  }
  .zoom-in{
    cursor:var(--cursor-zoom-in)!important;
  }
  .zoom-out{
    cursor:var(--cursor-zoom-out)!important;
  }
  .ew-resize,
  .col-resize{
    cursor:var(--cursor-ew-resize)!important;
  }
  .ns-resize,
  .row-resize{
    cursor:var(--cursor-ns-resize)!important;
  }
  .nesw-resize{
    cursor:var(--cursor-nesw-resize)!important;
  }
  .nwse-resize{
    cursor:var(--cursor-nwse-resize)!important;
  }
  .no-drop{
    cursor:var(--cursor-no-drop)!important;
  }
  html[data-cursor-lock="pointer"],
  html[data-cursor-lock="pointer"] body,
  html[data-cursor-lock="pointer"] body *{
    cursor:var(--cursor-pointer)!important;
  }
  html[data-cursor-lock="grabbing"],
  html[data-cursor-lock="grabbing"] body,
  html[data-cursor-lock="grabbing"] body *{
    cursor:var(--cursor-grabbing)!important;
  }
}

/* ═══════════════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════════════ */
@media(prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important}
  .reveal,.reveal-left,.reveal-right,.reveal-scale{opacity:1;transform:none;filter:none}
  .split-text .word .char-wrap{transform:none;opacity:1}
}


/* modal.css */
/* ═══════════════════════════════════════════════════
   CONTACT MODAL
   ═══════════════════════════════════════════════════ */
.contact-overlay{
  position:fixed;inset:0;z-index:9990;
  background:rgba(0,0,0,.0);
  backdrop-filter:blur(0);
  pointer-events:none;
  transition:background .5s ease,backdrop-filter .5s ease;
  display:flex;align-items:center;justify-content:center;
}
.contact-overlay.open{
  background:rgba(0,0,0,.55);
  backdrop-filter:blur(12px);
  pointer-events:all;
}
.contact-glass{
  position:relative;
  width:min(480px,90vw);
  border-radius:var(--radius);
  border:1px solid var(--stroke);
  background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.02));
  box-shadow:0 32px 100px rgba(0,0,0,.6),0 0 60px rgba(124,92,255,.12);
  padding:36px 32px 32px;
  overflow:hidden;
  background-clip:padding-box;
  transform:perspective(800px) rotateX(12deg) translateY(60px) scale(.88);
  opacity:0;
  filter:blur(6px);
  transition:transform .65s cubic-bezier(.16,1.2,.3,1),
             opacity .45s ease,
             filter .5s ease;
  will-change:transform,opacity,filter;
}
.contact-overlay.open .contact-glass{
  transform:perspective(800px) rotateX(0deg) translateY(0) scale(1);
  opacity:1;
  filter:blur(0);
}
.contact-glass .tag{margin-bottom:18px}
.contact-glass h2{
  font-size:22px;font-weight:800;letter-spacing:-.02em;margin-bottom:6px;
}
.contact-glass .contact-sub{
  color:var(--muted);font-size:13px;line-height:1.6;margin-bottom:24px;
}
.contact-glass label{
  display:block;color:var(--muted);font-size:12px;
  font-weight:600;letter-spacing:.04em;text-transform:uppercase;
  margin-bottom:6px;margin-top:16px;
}
.contact-glass label:first-of-type{margin-top:0}
.contact-glass input,
.contact-glass textarea{
  width:100%;padding:12px 14px;
  border-radius:12px;border:1px solid var(--stroke);
  background:rgba(255,255,255,.04);
  color:var(--text);font-size:14px;font-family:inherit;
  outline:none;transition:border-color .2s ease,box-shadow .2s ease;
  resize:vertical;
}
.contact-glass input:focus,
.contact-glass textarea:focus{
  border-color:var(--accentB);
  box-shadow:0 0 0 3px rgba(0,212,255,.15);
}
.contact-glass textarea{min-height:100px}
.contact-glass .contact-send{
  margin-top:22px;width:100%;padding:14px;
  border:none;border-radius:14px;cursor:pointer;
  font-size:15px;font-weight:700;font-family:inherit;
  color:#fff;
  background:linear-gradient(135deg,var(--accentA),var(--accentB));
  box-shadow:0 8px 30px rgba(124,92,255,.3);
  transition:transform .2s ease,box-shadow .2s ease;
}
.contact-glass .contact-send:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 40px rgba(124,92,255,.45);
}
.contact-glass .contact-send:active{transform:translateY(0)}
.contact-close{
  position:absolute;top:14px;right:14px;
  width:32px;height:32px;border-radius:50%;
  border:1px solid var(--stroke);background:rgba(255,255,255,.06);
  color:var(--muted);font-size:18px;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;transition:all .2s ease;
  padding:0;
  font-family:inherit;
  line-height:1;
}
.contact-close:hover{color:var(--text);background:rgba(255,255,255,.12)}
.contact-glass .contact-ok{
  display:none;text-align:center;padding:30px 0 10px;
}
.contact-glass .contact-ok svg{
  width:48px;height:48px;color:var(--accentB);margin-bottom:14px;
}
.contact-glass .contact-ok h3{font-size:18px;font-weight:700;margin-bottom:6px}
.contact-glass .contact-ok p{color:var(--muted);font-size:13px;line-height:1.6}
html[data-theme="light"] .contact-overlay.open{
  background:rgba(211,220,237,.42);
}
html[data-theme="light"] .contact-glass{
  border-color:rgba(119,144,193,.2);
  background:linear-gradient(180deg,rgba(255,255,255,.86),rgba(245,249,255,.76));
  box-shadow:0 32px 86px rgba(128,145,178,.18),0 0 44px rgba(74,108,255,.08);
}
html[data-theme="light"] .contact-glass input,
html[data-theme="light"] .contact-glass textarea{
  border-color:rgba(119,144,193,.2);
  background:rgba(255,255,255,.78);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.88);
}
html[data-theme="light"] .contact-glass input:focus,
html[data-theme="light"] .contact-glass textarea:focus{
  box-shadow:0 0 0 3px rgba(8,188,231,.1);
}
html[data-theme="light"] .contact-close{
  background:rgba(255,255,255,.78);
}
html[data-theme="light"] .contact-close:hover{
  background:rgba(255,255,255,.94);
}


/* mobile.css */
/* ═══════════════════════════════════════════════════
   HAMBURGER + MOBILE MENU
   ═══════════════════════════════════════════════════ */
.hamburger{
  display:none;
  width:36px;height:36px;
  border:1px solid var(--stroke);border-radius:10px;
  background:rgba(255,255,255,.05);
  cursor:pointer;position:relative;
  flex-direction:column;align-items:center;justify-content:center;gap:5px;
  transition:background .2s ease;
  z-index:102;
  padding:0;
  font-family:inherit;
}
.hamburger:hover{background:rgba(255,255,255,.1)}
.hamburger span{
  display:block;width:18px;height:2px;
  background:var(--text);border-radius:2px;
  transition:transform .35s cubic-bezier(.16,1.2,.3,1),opacity .2s ease;
  transform-origin:center;
}
.hamburger.active span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hamburger.active span:nth-child(2){opacity:0;transform:scaleX(0)}
.hamburger.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.mobile-menu{
  position:fixed;inset:0;z-index:95;
  background:rgba(5,8,16,.96);
  backdrop-filter:blur(24px);
  display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:0;
  opacity:0;pointer-events:none;
  transition:opacity .4s ease;
}
.mobile-menu.open{opacity:1;pointer-events:all}
.mobile-menu .mob-link{
  display:block;
  padding:18px 32px;
  font-size:clamp(22px,5vw,32px);font-weight:700;
  color:var(--muted);text-decoration:none;
  letter-spacing:-.01em;
  border:0;
  background:none;
  transform:translateY(30px);
  opacity:0;
  transition:transform .5s cubic-bezier(.16,1.2,.3,1),
             opacity .4s ease,
             color .2s ease;
  cursor:pointer;
  font-family:inherit;
}
.mobile-menu.open .mob-link{
  transform:translateY(0);opacity:1;
}
.mobile-menu .mob-link:nth-of-type(1){transition-delay:.05s}
.mobile-menu .mob-link:nth-of-type(2){transition-delay:.1s}
.mobile-menu .mob-link:nth-of-type(3){transition-delay:.15s}
.mobile-menu .mob-link:nth-of-type(4){transition-delay:.22s}
.mobile-menu .mob-link:nth-of-type(5){transition-delay:.28s}
.mobile-menu .mob-link:hover,
.mobile-menu .mob-link.active{color:var(--text)}
.mobile-menu .mob-link.active{
  background:linear-gradient(90deg,rgba(124,92,255,.12),transparent);
  border-radius:16px;
}
.mobile-menu .mob-lang-toggle{
  padding:16px 24px;
  margin:6px 0 2px;
  border:1px solid var(--stroke);
  border-radius:18px;
  background:linear-gradient(125deg,rgba(255,255,255,.06),rgba(255,255,255,.02));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
  font-size:15px;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.mobile-menu .mob-lang-toggle .mob-lang-label{
  pointer-events:none;
}
html[data-lang="en"] .mobile-menu .mob-lang-toggle{
  color:var(--text);
  border-color:rgba(149,180,255,.26);
}
.mobile-menu .mob-divider{
  width:60px;height:1px;background:var(--stroke);margin:12px 0;
}
.mobile-menu .mob-brand{
  position:absolute;top:18px;left:24px;
  font-weight:700;font-size:15px;color:var(--muted);
  display:flex;align-items:center;gap:8px;
}
.mobile-menu .mob-brand-logo{
  display:block;
  height:24px;
  width:auto;
  flex:0 0 auto;
}
.mobile-menu .mob-brand .brand-dot{
  width:8px;height:8px;border-radius:50%;
  background:linear-gradient(135deg,var(--accentA),var(--accentB));
}
.mobile-menu .mob-close{
  position:absolute;top:14px;right:20px;
  width:40px;height:40px;
  display:flex;align-items:center;justify-content:center;
  font-size:28px;color:var(--muted);
  border:1px solid var(--stroke);border-radius:12px;
  background:rgba(255,255,255,.05);
  cursor:pointer;
  transition:color .2s ease,background .2s ease;
  padding:0;
  font-family:inherit;
  line-height:1;
}
.mobile-menu .mob-close:hover{color:var(--text);background:rgba(255,255,255,.1)}
html[data-theme="light"] .hamburger{
  border-color:rgba(118,145,196,.22);
  background:rgba(255,255,255,.76);
  box-shadow:0 8px 22px rgba(129,148,183,.14);
}
html[data-theme="light"] .hamburger:hover{background:rgba(255,255,255,.92)}
html[data-theme="light"] .mobile-menu{
  background:rgba(248,246,241,.96);
}
html[data-theme="light"] .mobile-menu .mob-link{
  color:#5b6984;
}
html[data-theme="light"] .mobile-menu .mob-link:hover,
html[data-theme="light"] .mobile-menu .mob-link.active{color:#1e2f4b}
html[data-theme="light"] .mobile-menu .mob-link.active{
  background:linear-gradient(90deg,rgba(74,108,255,.12),transparent);
}
html[data-theme="light"] .mobile-menu .mob-lang-toggle{
  border-color:rgba(118,145,196,.22);
  background:rgba(255,255,255,.78);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92),0 8px 20px rgba(130,150,185,.12);
}
html[data-theme="light"] .mobile-menu .mob-brand,
html[data-theme="light"] .mobile-menu .mob-close{
  color:#4f5e7a;
}
html[data-theme="light"] .mobile-menu .mob-close{
  border-color:rgba(118,145,196,.22);
  background:rgba(255,255,255,.76);
}
html[data-theme="light"] .mobile-menu .mob-close:hover{
  color:#1b2d49;
  background:rgba(255,255,255,.92);
}

/* ═══════════════════════════════════════════════════
   MOBILE RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media(max-width:768px){
  html,
  body{
    overflow-x:hidden;
    overflow-x:clip;
  }
  #page-home{
    overflow-x:hidden;
    overflow-x:clip;
  }
  .topnav{
    top:10px;
    width:calc(100% - 14px);
    border-radius:18px;
  }
  .topnav-inner{
    padding:9px 10px;
    gap:10px;
  }
  .topnav-start{
    gap:8px;
  }
  .brand{
    padding:6px 8px;
    border-radius:12px;
  }
  .brand-logo{
    height:24px;
  }
  .brand-name{
    display:none;
  }
  .theme-toggle{
    width:46px;
    height:36px;
    border-radius:12px;
  }
  .lang-toggle{
    min-width:auto;
    height:36px;
    padding:0 10px;
    gap:5px;
    border-radius:12px;
  }
  .lang-toggle::after{
    top:4px;
    bottom:4px;
    left:5px;
    width:46px;
    border-radius:9px;
  }
  .lang-toggle-seg,
  .lang-toggle-divider{
    font-size:9.5px;
    letter-spacing:.06em;
  }
  html[data-lang="en"] .lang-toggle::after{
    left:calc(100% - 5px - 30px);
    width:30px;
  }
  .theme-toggle-thumb{
    left:4px;
    top:4px;
    width:20px;
    height:20px;
    border-radius:8px;
  }
  html[data-theme="light"] .theme-toggle-thumb{
    transform:translateX(18px);
  }
  .theme-icon{
    width:12px;
    height:12px;
  }
  .theme-icon-sun{right:8px}
  .theme-icon-moon{left:8px}
  .hamburger{display:flex}
  .nav-links{display:none!important}

  .scroll-ring-wrap{
    left:auto!important;right:20px!important;bottom:40px!important;
    z-index:92!important;
    opacity:1!important;
  }
  .scroll-ring-wrap:not(.show){
    opacity:.3!important;
  }

  .hamburger span{
    transition:transform .35s cubic-bezier(.16,1.2,.3,1),opacity .2s ease!important;
  }
  .mobile-menu{
    transition:opacity .4s ease!important;
  }
  .mobile-menu .mob-link{
    transition:transform .5s cubic-bezier(.16,1.2,.3,1),opacity .4s ease,color .2s ease!important;
  }
  .scroll-ring-wrap{
    transition:opacity .3s ease!important;
  }

  .hscroll-sticky{
    height:100vh;
    height:100svh;
  }
  .hscroll-tape{
    gap:20px;
    padding:0 20px;
  }
  .hscroll-panel{
    flex:0 0 min(86vw,420px)!important;
    min-height:52vh;
  }
  .hscroll-panel-media{
    height:200px;
    font-size:44px;
  }
  .hscroll-panel .body{
    padding:22px;
  }
  .hscroll-panel h3{
    font-size:18px;
  }

  .aitracker-iframe-wrap{
    left:12px!important;
    right:auto!important;
    bottom:82px!important;
    max-width:calc(100vw - 24px)!important;
  }
  .aitracker-iframe-wrap.minimized{
    left:12px!important;
    right:auto!important;
    bottom:82px!important;
  }
  [id^="aitracker-badge-pill-"]{
    left:12px!important;
    right:auto!important;
    bottom:12px!important;
  }
  [id^="aitracker-badge-panel-"]{
    left:12px!important;
    right:auto!important;
    bottom:82px!important;
    max-width:calc(100vw - 24px)!important;
  }
}

@media(hover:none),(pointer:coarse){
  .tilt,
  [data-magnet]{
    transform:none!important;
  }
}


/* aitracker-badge.css */
/* ═══════════════════════════════════════════════════
   AITRACKER BADGE POSITIONING
   ═══════════════════════════════════════════════════ */
[id^="aitracker-badge-pill-"]{
  left:24px!important;
  right:auto!important;
  bottom:12px!important;
}
[id^="aitracker-badge-panel-"]{
  left:24px!important;
  right:auto!important;
  bottom:80px!important;
}
.aitracker-iframe-wrap{
  left:24px!important;
  right:auto!important;
  bottom:80px!important;
}
.aitracker-iframe-wrap.minimized{
  left:24px!important;
  right:auto!important;
  bottom:80px!important;
}


/* anti-inspect.css */
/* ═══════════════════════════════════════════════════
   ANTI-INSPECT SHIELD
   ═══════════════════════════════════════════════════ */
#antiInspectShield{
  position:fixed;
  inset:0;
  z-index:2147483647;
  display:none;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:28px;
  background:
    radial-gradient(circle at 50% 38%,rgba(45,64,120,.18),rgba(0,0,0,.92) 45%,#000 75%),
    #000;
  color:#fff;
  text-align:center;
  padding:24px;
}
#antiInspectShield .anti-title{
  font-size:clamp(28px,6vw,76px);
  font-weight:800;
  letter-spacing:.02em;
  text-shadow:0 10px 40px rgba(0,212,255,.2),0 0 18px rgba(124,92,255,.25);
  transform-origin:50% 50%;
  will-change:transform,filter,opacity,letter-spacing;
}
#antiInspectShield .anti-reload{
  position:relative;
  border:none;
  border-radius:999px;
  padding:15px 34px;
  cursor:pointer;
  font-family:inherit;
  font-size:15px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#fff;
  background:
    linear-gradient(120deg,#7C5CFF 0%,#00D4FF 45%,#FF3DCE 100%);
  background-size:220% 100%;
  box-shadow:
    0 14px 40px rgba(124,92,255,.35),
    0 6px 20px rgba(0,212,255,.2),
    inset 0 1px 0 rgba(255,255,255,.35);
  transform:translateY(0) scale(1);
  transition:transform .28s cubic-bezier(.16,1,.3,1),box-shadow .28s ease;
  animation:antiBtnShift 3.2s linear infinite,antiBtnFloat 2.8s ease-in-out infinite;
  overflow:hidden;
}
#antiInspectShield .anti-reload::before{
  content:"";
  position:absolute;
  inset:-120% auto -120% -35%;
  width:42%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.55),transparent);
  transform:rotate(18deg);
  animation:antiBtnShine 1.8s ease-in-out infinite;
}
#antiInspectShield .anti-reload::after{
  content:"";
  position:absolute;
  inset:-3px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.45);
  opacity:.35;
  animation:antiBtnHalo 1.7s ease-out infinite;
  pointer-events:none;
}
#antiInspectShield .anti-reload:hover{
  transform:translateY(-3px) scale(1.03);
  box-shadow:
    0 20px 52px rgba(124,92,255,.5),
    0 10px 26px rgba(0,212,255,.3),
    inset 0 1px 0 rgba(255,255,255,.45);
}
#antiInspectShield .anti-reload:active{
  transform:translateY(1px) scale(.97);
}
#antiInspectShield.reloading .anti-title{
  animation:antiTitleFlash 1.08s cubic-bezier(.16,.94,.22,1) forwards;
}
#antiInspectShield.reloading .anti-reload{
  pointer-events:none;
  animation:antiBtnBlast .7s cubic-bezier(.16,1,.3,1) forwards;
}
body.locked-by-anti{
  overflow:hidden!important;
}
body.locked-by-anti > *:not(#antiInspectShield){
  pointer-events:none!important;
  user-select:none!important;
}
body.locked-by-anti > iframe[src*="aitracker.ch"],
body.locked-by-anti > iframe[id*="aitracker"],
body.locked-by-anti > iframe[class*="aitracker"],
body.locked-by-anti > div[id*="aitracker"],
body.locked-by-anti > div[class*="aitracker"],
body.locked-by-anti > div[style*="2147483647"]:not(#antiInspectShield),
body.locked-by-anti > iframe[style*="2147483647"]{
  display:none!important;
  visibility:hidden!important;
}
@keyframes antiBtnShift{
  0%{background-position:0% 50%}
  100%{background-position:200% 50%}
}
@keyframes antiBtnFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-2px)}
}
@keyframes antiBtnShine{
  0%{left:-42%}
  100%{left:122%}
}
@keyframes antiBtnHalo{
  0%{transform:scale(1);opacity:.55}
  100%{transform:scale(1.08);opacity:0}
}
@keyframes antiTitleFlash{
  0%{
    transform:translate3d(0,0,0) scale(1);
    filter:blur(0);
    opacity:1;
  }
  100%{
    transform:translate3d(0,0,0) scale(7.4);
    filter:blur(10px);
    opacity:.88;
  }
}
@keyframes antiBtnBlast{
  0%{transform:scale(1);filter:brightness(1)}
  45%{transform:scale(1.12);filter:brightness(1.22)}
  100%{transform:scale(.06);opacity:0;filter:brightness(1.55)}
}

