/* ==========================================================================
   VidHorus System — foglio di stile principale
   ========================================================================== */

:root {
  --bg: #05080F;
  --bg-2: #080D18;
  --bg-3: #0C1322;
  --panel: rgba(255, 255, 255, .035);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);

  --white: #F3F5F9;
  --text: #A3AEC2;
  --muted: #6E7A91;

  --accent: #1F6FFF;
  --accent-2: #5B9BFF;
  --accent-3: #0A4FD6;
  --red: #FF4D4D;
  --green: #34D399;

  --font-head: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --header-h: 78px;
  --container: 1240px;
  --gutter: 28px;
  color-scheme: dark;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--white); margin: 0; line-height: 1.08; letter-spacing: -.03em; font-weight: 600; }
h1 { font-size: clamp(2.6rem, 5.4vw, 5.1rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { color: var(--white); font-weight: 600; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.accent { color: var(--accent-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-weight: 500; font-size: .76rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent-2);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--accent); border-radius: 2px; box-shadow: 0 0 12px var(--accent); transform: rotate(45deg); }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--text); }

/* ---------- Grain, progress ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 900; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-4%, 3%); } 50% { transform: translate(3%, -5%); } 75% { transform: translate(-2%, -2%); } 100% { transform: translate(4%, 4%); } }
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 950; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--accent-3), var(--accent), var(--accent-2)); box-shadow: 0 0 12px var(--accent); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: var(--bg);
  transition: clip-path 1s var(--ease-out), visibility 0s 1s;
  clip-path: inset(0 0 0 0);
  animation: preloader-failsafe 0s 6s forwards;
}
.preloader.is-done { clip-path: inset(0 0 100% 0); visibility: hidden; }
@keyframes preloader-failsafe { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
.preloader__logo { position: relative; width: 120px; filter: drop-shadow(0 0 22px rgba(31, 111, 255, .65)); }
.preloader__mark { width: 100%; height: auto; clip-path: inset(0 0 100% 0); animation: reveal-down 1.1s .15s var(--ease) forwards; }
.preloader__scan { position: absolute; left: -14%; right: -14%; top: 0; height: 2px; border-radius: 2px; background: var(--accent-2); box-shadow: 0 0 16px 3px var(--accent); animation: scan-down 1.1s .15s var(--ease) forwards; }
.preloader__word { width: 220px; height: auto; margin-top: 10px; opacity: 0; animation: fade-up .8s .9s var(--ease) forwards; }
.preloader__count { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .2em; color: var(--accent-2); font-variant-numeric: tabular-nums; opacity: 0; animation: fade-up .6s .3s var(--ease) forwards; }
.preloader__tagline { width: 250px; height: auto; opacity: 0; animation: fade-up .8s 1.1s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes reveal-down { to { clip-path: inset(0 0 0 0); } }
@keyframes scan-down { 0% { top: 0; opacity: 1; } 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; overflow: hidden; isolation: isolate;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; letter-spacing: -.005em;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent; background: none;
  cursor: pointer; white-space: nowrap;
  transition: background-color .3s, color .3s, border-color .3s, box-shadow .3s;
}
.btn > * { position: relative; z-index: 1; }
.btn .icon { transition: transform .3s var(--ease); }
.btn--lg { padding: 17px 30px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: #FFFFFF; box-shadow: 0 10px 30px -10px rgba(31, 111, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn--primary::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .55) 50%, transparent 80%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn--primary:hover { background: var(--accent-2); box-shadow: 0 16px 40px -10px rgba(31, 111, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn--primary:hover::before { transform: translateX(120%); }
.btn--glass { color: var(--white); background: rgba(255, 255, 255, .05); border-color: var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--white); border-radius: inherit; transform: scale(0); opacity: 0; transition: transform .5s var(--ease), opacity .3s; }
.btn--glass:hover { color: var(--bg); border-color: var(--white); }
.btn--glass:hover::before { transform: scale(1); opacity: 1; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  transition: transform .5s var(--ease), background-color .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { background: rgba(5, 8, 15, .72); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-color: var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--white); position: relative; z-index: 2; }
.logo__mark { width: auto; height: 34px; filter: drop-shadow(0 0 14px rgba(31, 111, 255, .55)); }
.logo__word { width: auto; height: 17px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav__list { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav__list a { display: block; position: relative; color: var(--text); font-weight: 500; font-size: .9rem; padding: 7px 15px; border-radius: 999px; transition: color .25s, background-color .25s; }
.nav__list a:hover { color: var(--white); background: rgba(255, 255, 255, .06); }
.nav__list a.is-active { color: var(--bg); background: var(--white); }
.nav__cta { padding: 11px 22px; }

.nav-toggle { display: none; position: relative; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); cursor: pointer; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--white); border-radius: 2px; transition: transform .4s var(--ease), top .4s var(--ease); }
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 26px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 40px) 0 0; background: radial-gradient(80% 60% at 70% 40%, #0E1730, var(--bg) 70%); }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__fallback { position: absolute; right: 12%; top: 50%; transform: translateY(-50%); z-index: -2; opacity: 0; transition: opacity .6s; }
.no-webgl .hero__fallback { opacity: .35; }
.hero__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(5, 8, 15, .92) 0%, rgba(5, 8, 15, .6) 38%, rgba(5, 8, 15, 0) 62%), linear-gradient(0deg, var(--bg) 0%, rgba(5, 8, 15, 0) 28%); }
.hero__inner { position: relative; flex: 1; display: flex; align-items: center; }
.hero__content { max-width: 640px; padding: 40px 0; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; margin-bottom: 28px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--white); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0; box-shadow: 0 0 10px var(--green); }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.2); opacity: 0; } }

.hero__title { margin-bottom: 28px; font-weight: 600; }
.hero__title em { font-style: normal; }
.hero__title em, .hero__title em .word__inner {
  background: linear-gradient(100deg, var(--accent-3) 0%, var(--accent) 25%, #BFD8FF 50%, var(--accent) 75%, var(--accent-3) 100%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }
.word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.word__inner { display: inline-block; will-change: transform; }
.hero__lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); max-width: 34em; color: #B5BFD0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.hud { position: absolute; inset: calc(var(--header-h) + 14px) 22px 22px; pointer-events: none; z-index: 0; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; color: rgba(243, 245, 249, .55); text-transform: uppercase; }
.hud__corner { position: absolute; width: 26px; height: 26px; border: 1.5px solid rgba(31, 111, 255, .55); }
.hud__corner--tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hud__corner--tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hud__corner--bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hud__corner--br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.hud__tl { position: absolute; top: 8px; left: 40px; display: flex; align-items: center; gap: 8px; }
.hud__tr { position: absolute; top: 8px; right: 40px; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.hud__br { position: absolute; bottom: 8px; right: 40px; display: flex; align-items: center; gap: 10px; }
.rec { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); animation: blink 1.2s steps(2, start) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.hud__bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.hud__bars i { width: 3px; background: var(--accent); animation: bars 1s ease-in-out infinite; }
.hud__bars i:nth-child(2) { animation-delay: .15s; } .hud__bars i:nth-child(3) { animation-delay: .3s; } .hud__bars i:nth-child(4) { animation-delay: .45s; } .hud__bars i:nth-child(5) { animation-delay: .6s; }
@keyframes bars { 0%, 100% { height: 30%; } 50% { height: 100%; } }

.hero__bottom { position: relative; padding-bottom: 46px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius-lg); background: rgba(10, 16, 30, .55); border: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); overflow: hidden; }
.stats li { padding: 24px 28px; border-left: 1px solid var(--line); }
.stats li:first-child { border-left: 0; }
.stats__num { display: block; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.8rem, 2.8vw, 2.4rem); color: var(--white); letter-spacing: -.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats__label { display: block; margin-top: 4px; font-size: .86rem; color: var(--muted); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 30px 0; border-block: 1px solid var(--line); background: var(--bg); }
.marquee__track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--font-head); font-weight: 600; font-size: clamp(2rem, 4.4vw, 3.8rem); letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1px rgba(243, 245, 249, .28); white-space: nowrap; }
.marquee i { font-style: normal; color: var(--accent-2); font-size: 1.4rem; }
@keyframes marquee { to { transform: translateX(calc(-50% - 20px)); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(96px, 12vw, 160px) 0; }
.section--alt { background: var(--bg-2); }
.section--alt::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; opacity: .35; mask-image: radial-gradient(60% 50% at 50% 0%, #000, transparent); -webkit-mask-image: radial-gradient(60% 50% at 50% 0%, #000, transparent); }
.section__head { position: relative; max-width: 780px; margin: 0 auto clamp(48px, 6vw, 80px); text-align: center; }
.section__head h2 { margin-bottom: 20px; }
.section__head--left { margin-left: 0; text-align: left; }

/* ---------- Statement ---------- */
.statement { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.8rem, 4vw, 3.6rem); line-height: 1.18; letter-spacing: -.03em; color: var(--white); max-width: 1100px; margin-bottom: clamp(80px, 10vw, 140px); }
.statement .w { opacity: .22; transition: opacity .2s linear; }
.statement:not([data-ready]) .w { opacity: 1; }
.statement .accent .w { color: var(--accent-2); }

.compare-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.compare-intro h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); margin-bottom: 20px; }
.compare { position: relative; border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015)); border: 1px solid var(--line); overflow: hidden; }
.compare table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.compare th, .compare td { padding: 15px 16px; text-align: center; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare tbody tr { transition: background-color .2s; }
.compare tbody tr:hover { background: rgba(255, 255, 255, .03); }
.compare thead th { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; color: var(--muted); padding-block: 20px; }
.compare tbody th { text-align: left; font-weight: 500; color: var(--white); }
.compare td .icon { margin: 0 auto; width: 20px; height: 20px; stroke-width: 2.4; }
.compare .yes { color: var(--green); }
.compare .no { color: rgba(255, 255, 255, .18); }
.compare .part { color: var(--accent-2); }
.compare .compare__us { background: rgba(31, 111, 255, .07); }
.compare thead .compare__us { color: var(--accent-2); font-weight: 700; background: rgba(31, 111, 255, .14); box-shadow: inset 0 2px 0 var(--accent); }
.compare td.compare__us .icon { color: var(--accent-2); filter: drop-shadow(0 0 6px rgba(31, 111, 255, .6)); }

/* ---------- Configurator ---------- */
.configurator { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: var(--bg); }
.configurator__stage { position: relative; min-height: 600px; background: radial-gradient(60% 60% at 50% 45%, rgba(31, 111, 255, .12), transparent 70%), radial-gradient(100% 80% at 50% 100%, #111C34, var(--bg) 70%); touch-action: pan-y; }
.configurator__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.configurator__hint { position: absolute; left: 22px; bottom: 20px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.configurator__hint .icon { animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.configurator__fallback { position: absolute; inset: 0; display: none; place-items: center; }
.no-webgl .configurator__fallback { display: grid; opacity: .5; }
.configurator__hotspots { position: absolute; inset: 0; pointer-events: none; }
.hotspot { position: absolute; top: 0; left: 0; pointer-events: auto; transition: opacity .4s; }
.hotspot.is-hidden { opacity: 0; pointer-events: none; }
.hotspot__dot { position: relative; display: block; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--accent); border: 3px solid rgba(5, 8, 15, .8); animation: hot 2s infinite; cursor: pointer; padding: 0; }
@keyframes hot { 0% { box-shadow: 0 0 0 0 rgba(31, 111, 255, .6); } 100% { box-shadow: 0 0 0 16px rgba(31, 111, 255, 0); } }
.hotspot__tip { position: absolute; left: 18px; top: -16px; width: 210px; padding: 12px 14px; border-radius: 12px; background: rgba(8, 13, 24, .92); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: .8rem; line-height: 1.45; opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s var(--ease); pointer-events: none; }
.hotspot--left .hotspot__tip { left: auto; right: 18px; transform: translateX(6px); }
.hotspot__tip strong { display: block; font-family: var(--font-head); font-size: .9rem; margin-bottom: 2px; }
.hotspot:hover .hotspot__tip, .hotspot:focus-within .hotspot__tip { opacity: 1; transform: none; }

.configurator__panel { padding: 40px; border-left: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .025), transparent); display: flex; flex-direction: column; gap: 28px; }
.tabs { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); padding: 5px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.tabs button { position: relative; z-index: 1; padding: 11px 8px; border: 0; background: none; font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--text); cursor: pointer; transition: color .3s; border-radius: 10px; }
.tabs button[aria-selected="true"] { color: #fff; }
.tabs__indicator { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / 2); border-radius: 10px; background: var(--accent); box-shadow: 0 6px 20px -6px rgba(31, 111, 255, .8); transition: transform .5s var(--ease-out); }
.model-info { display: flex; flex-direction: column; gap: 18px; flex: 1; }
.model-info > * { transition: opacity .35s, transform .35s var(--ease); }
.model-info.is-switching > * { opacity: 0; transform: translateY(8px); }
.badge { align-self: flex-start; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); padding: 5px 10px; border-radius: 6px; background: rgba(31, 111, 255, .1); border: 1px solid rgba(31, 111, 255, .3); }
.model-info h3 { font-size: 1.9rem; letter-spacing: -.03em; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; border-radius: 14px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.specs div { padding: 14px 16px; background: var(--bg-2); }
.specs dt { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.specs dd { margin: 2px 0 0; font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; color: var(--white); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-size: .95rem; color: #C8D0DD; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: rgba(31, 111, 255, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B9BFF' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 11px no-repeat; }
.model-info .btn { margin-top: auto; }

.banner { position: relative; display: flex; align-items: center; gap: 24px; margin-top: 24px; padding: 26px 30px; border-radius: var(--radius-lg); background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.banner__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(31, 111, 255, .12); color: var(--accent-2); flex-shrink: 0; }
.banner__icon .icon { width: 26px; height: 26px; }
.banner__text { flex: 1; }
.banner__text h3 { margin-bottom: 4px; }

/* ---------- Spotlight hover (generico) ---------- */
[data-spot] { position: relative; isolation: isolate; }
[data-spot]::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(31, 111, 255, .13), transparent 45%);
}
[data-spot]:hover::after { opacity: 1; }

/* ---------- How it works ---------- */
.how { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.how__sticky { position: sticky; top: calc(var(--header-h) + 60px); }
.how__sticky h2 { margin-bottom: 22px; }
.how__clock { margin-top: 40px; display: inline-flex; flex-direction: column; gap: 4px; padding: 18px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.how__clock-label { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.how__clock-time { font-family: var(--font-mono); font-weight: 700; font-size: 2.6rem; color: var(--accent-2); letter-spacing: -.02em; text-shadow: 0 0 24px rgba(31, 111, 255, .5); font-variant-numeric: tabular-nums; }
.timeline { position: relative; display: grid; gap: 28px; padding-left: 76px; --progress: 0; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; border-radius: 2px; }
.timeline::before { background: var(--line); }
.timeline::after { background: linear-gradient(var(--accent-2), var(--accent)); box-shadow: 0 0 12px var(--accent); transform-origin: top; transform: scaleY(var(--progress)); }
.tstep { position: relative; }
.tstep__node { position: absolute; left: -76px; top: 0; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); color: var(--muted); transition: background-color .5s, color .5s, border-color .5s, box-shadow .5s, transform .5s var(--ease); }
.tstep__node .icon { width: 24px; height: 24px; }
.tstep__card { padding: 30px 32px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--panel); transition: border-color .5s, background-color .5s, opacity .5s; opacity: .45; }
.no-scrub .tstep__card { opacity: 1; }
.tstep__time { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; color: var(--muted); transition: color .5s; }
.tstep h3 { font-size: 1.7rem; margin: 6px 0 10px; }
.tstep.is-active .tstep__node { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 0 0 8px rgba(31, 111, 255, .12), 0 0 30px rgba(31, 111, 255, .6); transform: scale(1.06); }
.tstep.is-active .tstep__card { opacity: 1; border-color: rgba(31, 111, 255, .3); background: rgba(31, 111, 255, .04); }
.tstep.is-active .tstep__time { color: var(--accent-2); }

/* ---------- Console (demo) ---------- */
.console { position: relative; border-radius: 26px; overflow: hidden; border: 1px solid var(--line-2); background: #070B14; box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .9), 0 0 120px -40px rgba(31, 111, 255, .25); }
.console__bar { display: flex; align-items: center; gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #2C3852; }
.dots i:first-child { background: #FF5F57; } .dots i:nth-child(2) { background: #FEBC2E; } .dots i:nth-child(3) { background: #28C840; }
.console__url { flex: 1; max-width: 340px; margin: 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-mono); font-size: .74rem; color: var(--muted); background: rgba(255, 255, 255, .04); border-radius: 8px; padding: 5px 12px; }
.console__url .icon { width: 13px; height: 13px; color: var(--green); }
.console__status { font-family: var(--font-mono); font-size: .7rem; font-weight: 700; letter-spacing: .12em; padding: 5px 10px; border-radius: 6px; color: var(--green); background: rgba(52, 211, 153, .12); transition: color .3s, background-color .3s; }
.console__status.is-alarm { color: #fff; background: var(--red); animation: blink .8s steps(2, start) infinite; }
.console__body { display: grid; grid-template-columns: 1fr 340px; }
.feed { position: relative; background: #000; }
.feed canvas { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.feed__modes { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 4px; padding: 4px; border-radius: 10px; background: rgba(0, 0, 0, .55); border: 1px solid var(--line-2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.feed__modes button { border: 0; background: none; padding: 7px 12px; border-radius: 7px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text); cursor: pointer; transition: background-color .25s, color .25s; }
.feed__modes button:hover { color: var(--white); }
.feed__modes button.is-active { background: var(--accent); color: #fff; font-weight: 700; }
.console__side { display: flex; flex-direction: column; gap: 16px; padding: 20px; border-left: 1px solid var(--line); min-width: 0; }
@media (min-width: 1025px) { .console__side { contain: size; overflow: hidden; } .log li:nth-child(n+5) { display: none; } }
.console__site small, .log small { display: block; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.console__site strong { display: block; font-family: var(--font-head); font-size: 1.1rem; }
.console__site span { font-size: .8rem; color: var(--muted); }
.operator { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); transition: border-color .3s, background-color .3s; }
.operator__avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .06); color: var(--muted); transition: background-color .3s, color .3s; }
.operator__text { flex: 1; min-width: 0; font-size: .78rem; line-height: 1.35; }
.operator__text strong { display: block; font-family: var(--font-head); font-size: .9rem; }
.operator__text span { color: var(--muted); }
.wave { display: inline-flex; align-items: center; gap: 3px; height: 26px; opacity: .25; transition: opacity .3s; }
.wave i { width: 3px; height: 20%; border-radius: 3px; background: var(--accent); }
.operator.is-live { border-color: rgba(31, 111, 255, .4); background: rgba(31, 111, 255, .06); }
.operator.is-live .operator__avatar { background: var(--accent); color: #fff; }
.operator.is-talking .wave { opacity: 1; }
.operator.is-talking .wave i { animation: wave .9s ease-in-out infinite; }
.operator.is-talking .wave i:nth-child(2) { animation-delay: .1s; } .operator.is-talking .wave i:nth-child(3) { animation-delay: .25s; } .operator.is-talking .wave i:nth-child(4) { animation-delay: .05s; } .operator.is-talking .wave i:nth-child(5) { animation-delay: .3s; } .operator.is-talking .wave i:nth-child(6) { animation-delay: .15s; } .operator.is-talking .wave i:nth-child(7) { animation-delay: .2s; }
@keyframes wave { 0%, 100% { height: 20%; } 50% { height: 100%; } }
.subtitle { min-height: 3.6em; margin: 0; font-family: var(--font-mono); font-size: .76rem; line-height: 1.55; color: var(--accent-2); }
.subtitle:empty::before { content: "—"; color: var(--muted); }
.log { flex: 1; min-height: 0; }
.log ul { display: grid; gap: 6px; }
.log li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 10px; background: rgba(255, 255, 255, .03); font-size: .76rem; color: #C3CCDA; animation: log-in .5s var(--ease-out); }
.log li time { font-family: var(--font-mono); font-size: .68rem; color: var(--muted); }
.log .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.log li[data-level="info"] .dot { background: var(--accent); }
.log li[data-level="alarm"] { background: rgba(255, 77, 77, .1); color: #FFD0D0; }
.log li[data-level="alarm"] .dot { background: var(--red); box-shadow: 0 0 8px var(--red); }
.log li[data-level="ok"] .dot { background: var(--green); }
@keyframes log-in { from { opacity: 0; transform: translateY(-8px); } }
.demo-note { margin-top: 16px; text-align: center; font-size: .8rem; color: var(--muted); }

/* ---------- Pricing ---------- */

#piani .section__head { margin-bottom: clamp(112px, 10vw, 136px); }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 920px; margin: 0 auto; align-items: stretch; perspective: 1400px; }
.plan {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative; border-radius: 26px; isolation: isolate;
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  transition: transform .6s var(--ease-out), box-shadow .5s;
}
.plan.is-tilting { transition: transform .12s linear, box-shadow .5s; }
.plan::before { content: ""; position: absolute; inset: 0; z-index: -2; border-radius: inherit; padding: 1px; background: radial-gradient(300px circle at var(--mx) var(--my), rgba(31, 111, 255, .9), transparent 60%), var(--line); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .7; transition: opacity .4s; }
.plan__inner { position: relative; height: 100%; display: flex; flex-direction: column; padding: 36px 32px 32px; border-radius: inherit; background: linear-gradient(180deg, rgba(20, 28, 46, .9), rgba(10, 15, 27, .95)); overflow: hidden; }
.plan__glow { position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(500px circle at var(--mx) var(--my), rgba(255, 255, 255, .09), transparent 40%); }
.plan:hover { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 60px -20px rgba(31, 111, 255, .35); }
.plan:hover::before { opacity: 1; }
.plan:hover .plan__glow { opacity: 1; }
.plan__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--white); margin-bottom: 22px; transition: transform .6s var(--ease-out), background-color .4s, color .4s; }
.plan__icon .icon { width: 24px; height: 24px; }
.plan:hover .plan__icon { transform: translateY(-4px) rotate(-8deg) scale(1.08); background: var(--accent); color: #fff; }
.plan h3 { font-size: 1.6rem; }
.plan__head { margin-bottom: 28px; padding: 0 150px 26px 0; border-bottom: 1px solid var(--line); }
.plan__head p { color: var(--muted); font-size: .94rem; margin-top: 6px; }
.plan__list { display: grid; gap: 12px; margin-bottom: 32px; }
.plan__list li { position: relative; padding-left: 30px; font-size: .94rem; color: #C8D0DD; transition: transform .4s var(--ease-out), color .3s; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 19px; height: 19px; border-radius: 6px; background: rgba(255, 255, 255, .06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B9BFF' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat; transition: background-color .3s, transform .4s var(--ease-out); }
.plan:hover .plan__list li { transform: translateX(4px); color: var(--white); }
.plan:hover .plan__list li::before { background-color: rgba(31, 111, 255, .18); transform: scale(1.1); }
.plan__list li:nth-child(2) { transition-delay: .03s; } .plan__list li:nth-child(3) { transition-delay: .06s; } .plan__list li:nth-child(4) { transition-delay: .09s; } .plan__list li:nth-child(5) { transition-delay: .12s; } .plan__list li:nth-child(6) { transition-delay: .15s; }
.plan__cta { margin-top: auto; }

.plan--featured .plan__inner { background: linear-gradient(180deg, rgba(10, 26, 64, .95), rgba(14, 14, 18, .97) 55%); }
.plan--featured::before { display: none; }
.plan__border { position: absolute; inset: -1px; z-index: -2; border-radius: 27px; overflow: hidden; }
.plan__border::before { content: ""; position: absolute; inset: -50%; background: conic-gradient(from 0deg, transparent 0 65%, var(--accent) 80%, #D6E6FF 85%, var(--accent) 90%, transparent 100%); animation: spin 5s linear infinite; }
.plan__border::after { content: ""; position: absolute; inset: 1px; border-radius: 26px; background: var(--bg); }
.plan--featured { box-shadow: 0 30px 80px -30px rgba(31, 111, 255, .35); }
.plan__badge { position: absolute; top: 50px; left: 100px; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; color: #fff; background: var(--accent); box-shadow: 0 0 24px rgba(31, 111, 255, .55); }
.plan__badge .icon { width: 12px; height: 12px; fill: currentColor; stroke: none; }
/* Torre 3D che compare nell'angolo del piano */
.plan__tower { position: absolute; z-index: 3; top: -104px; right: 0; width: 190px; height: 300px; pointer-events: none; opacity: 0; transform: translate3d(0, 30px, 30px) scale(.9); transform-origin: 50% 100%; transition: opacity .4s, transform .8s var(--ease-out); }
.plan__tower::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: 8px; height: 26px; border-radius: 50%; background: radial-gradient(closest-side, rgba(31, 111, 255, .55), transparent); filter: blur(6px); z-index: -1; }
.plan__tower canvas { display: block; width: 100%; height: 100%; }
.plan__tower.is-active { opacity: 1; transform: translate3d(0, 0, 70px) scale(1); }
.plan.is-selected::before { opacity: 1; background: var(--accent); }

/* ---------- Sectors ---------- */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border-radius: var(--radius-lg); overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.sector { position: relative; display: flex; flex-direction: column; min-height: 300px; padding: 34px; background: var(--bg-2); overflow: hidden; transition: background-color .4s; }
.sector:hover { background: #0B1222; }
.sector__num { position: absolute; top: 26px; right: 30px; font-family: var(--font-mono); font-size: .76rem; color: var(--muted); transition: color .3s; }
.sector__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; border: 1px solid var(--line-2); color: var(--accent-2); margin-bottom: auto; transition: transform .6s var(--ease-out), background-color .4s, color .4s, box-shadow .4s; }
.sector__icon .icon { width: 26px; height: 26px; }
.sector h3 { margin: 40px 0 10px; font-size: 1.35rem; padding-right: 40px; transition: transform .5s var(--ease-out); }
.sector p { color: var(--muted); font-size: .95rem; max-width: 30em; padding-right: 40px; transition: color .4s; }
.sector__go { position: absolute; right: 26px; bottom: 26px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--white); transform: scale(.7); opacity: 0; transition: transform .5s var(--ease-out), opacity .4s, background-color .3s; }
.sector:hover .sector__icon { transform: translateY(-4px) rotate(-6deg); background: var(--accent); color: #fff; box-shadow: 0 0 40px -6px rgba(31, 111, 255, .7); }
.sector:hover .sector__num { color: var(--accent-2); }
.sector:hover h3 { transform: translateX(4px); }
.sector:hover p { color: var(--text); }
.sector:hover .sector__go { transform: none; opacity: 1; background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: auto 1fr; gap: 72px; align-items: center; max-width: 1060px; margin: 0 auto clamp(64px, 8vw, 100px); }
.about__mark { position: relative; display: grid; place-items: center; width: 280px; height: 280px; }
.about__tile { position: relative; z-index: 1; display: grid; place-items: center; width: 132px; height: 132px; border-radius: 32px; background: #0B1320; border: 1px solid var(--line-2); box-shadow: 0 0 80px -10px rgba(31, 111, 255, .6); }
.about__tile img { width: 78px; height: auto; }
.about__orbit, .about__orbit span { position: absolute; inset: 0; border-radius: 50%; }
.about__orbit span { border: 1px dashed rgba(31, 111, 255, .3); animation: spin 30s linear infinite; }
.about__orbit span:nth-child(2) { inset: 30px; border-style: solid; border-color: var(--line-2); animation-duration: 20s; animation-direction: reverse; }
.about__orbit span:nth-child(3) { inset: -20px; border-color: rgba(255, 255, 255, .05); animation-duration: 45s; }
.about__orbit span::after { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.about h2 { margin-bottom: 22px; }

.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.perk { padding: 30px; border-radius: var(--radius-lg); background: var(--panel); border: 1px solid var(--line); transition: border-color .4s, transform .5s var(--ease-out); }
.perk:hover { border-color: rgba(31, 111, 255, .3); transform: translateY(-4px); }
.perk__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(31, 111, 255, .1); color: var(--accent-2); margin-bottom: 20px; transition: transform .5s var(--ease-out); }
.perk:hover .perk__icon { transform: scale(1.1) rotate(-6deg); }
.perk h3 { font-size: 1.12rem; margin-bottom: 8px; }
.perk p { color: var(--muted); font-size: .94rem; }


/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 40px); }
.faq__head h2 { margin-bottom: 20px; }
.faq__head a { color: var(--white); border-bottom: 1px solid var(--accent); }
.faq__list { display: grid; gap: 12px; }
.faq details { border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); transition: background-color .3s, border-color .3s; }
.faq details[open] { background: rgba(31, 111, 255, .04); border-color: rgba(31, 111, 255, .25); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 26px; cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--white); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); flex-shrink: 0; transition: transform .4s var(--ease), background-color .3s, border-color .3s, color .3s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .4s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq details[open] .faq__icon { transform: rotate(180deg); background: var(--accent); border-color: var(--accent); color: #fff; }
.faq details[open] .faq__icon::after { transform: rotate(0); }
.faq__body { overflow: hidden; }
.faq__body p { padding: 0 26px 24px; color: var(--text); }

/* ---------- Contact ---------- */
.section--contact { overflow: hidden; }
.contact__glow { position: absolute; width: 900px; height: 900px; left: -300px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(31, 111, 255, .14), transparent 60%); pointer-events: none; }
.contact { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.contact__info h2 { margin-bottom: 22px; }
.contact__list { display: grid; gap: 14px; margin-top: 40px; }
.contact__list li { display: flex; align-items: center; gap: 16px; color: var(--white); }
.contact__list li > span { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); color: var(--accent-2); flex-shrink: 0; }
.contact__list small { display: block; color: var(--muted); font-family: var(--font-mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .12em; }
.contact__list a { transition: color .2s; }
.contact__list a:hover { color: var(--accent-2); }

.form { position: relative; padding: 40px; border-radius: 28px; background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)); border: 1px solid var(--line-2); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.field { position: relative; display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .98rem; color: var(--white);
  background: rgba(0, 0, 0, .25); border: 1px solid var(--line-2); border-radius: 14px;
  padding: 26px 16px 10px; transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 120px; padding-top: 30px; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A3AEC2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; }
.field select option { background: var(--bg-3); color: var(--white); }
.field label { position: absolute; left: 17px; top: 18px; font-size: .96rem; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .25s var(--ease), color .25s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field--select label { transform: translateY(-10px) scale(.76); color: var(--accent-2); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, .25); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background-color: rgba(31, 111, 255, .04); box-shadow: 0 0 0 4px rgba(31, 111, 255, .14); }
.field.is-invalid input { border-color: var(--red); background-color: rgba(255, 77, 77, .06); }
.field__error { font-size: .78rem; color: #FF8A8A; margin-top: 6px; }
.field__error:empty { display: none; }
.field--check { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; }
.field--check input { width: 20px; height: 20px; margin-top: 2px; padding: 0; accent-color: var(--accent); cursor: pointer; }
.field--check label { position: static; transform: none !important; font-size: .86rem; color: var(--muted) !important; pointer-events: auto; cursor: pointer; }
.field--check label a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.field--check .field__error { grid-column: 2; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__error { margin-top: 14px; padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(255, 90, 90, .35); background: rgba(255, 90, 90, .08); color: #FFB4B4; font-size: .88rem; text-align: center; }
.form__error[hidden] { display: none; }
.form__error a { color: #fff; text-decoration: underline; }
.form__note { margin-top: 14px; text-align: center; font-size: .8rem; color: var(--muted); }
.form button[disabled] { opacity: .7; }
.form__success { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; border-radius: inherit; background: rgba(8, 13, 24, .97); animation: pop .6s var(--ease-out); }
.form__success[hidden] { display: none; }
.form__success-icon { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: rgba(52, 211, 153, .15); color: var(--green); margin-bottom: 22px; box-shadow: 0 0 0 10px rgba(52, 211, 153, .06), 0 0 50px rgba(52, 211, 153, .3); }
.form__success-icon .icon { width: 40px; height: 40px; stroke-width: 2.6; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .3s var(--ease) forwards; }
.form__success h3 { font-size: 1.7rem; margin-bottom: 8px; }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }

/* ---------- Footer ---------- */
.footer { position: relative; padding: 90px 0 0; background: var(--bg); border-top: 1px solid var(--line); font-size: .94rem; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__tagline { width: 250px; height: auto; margin-top: 22px; opacity: .75; }
.footer__brand p { margin-top: 16px; max-width: 30em; color: var(--muted); }
.footer h4 { font-family: var(--font-mono); font-size: .7rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.footer ul { display: grid; gap: 10px; }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--accent-2); }
.footer__word { margin: 60px 0 -2vw; text-align: center; font-family: var(--font-head); font-weight: 700; font-size: 19.5vw; line-height: .8; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgba(31, 111, 255, .25); background: linear-gradient(180deg, rgba(31, 111, 255, .16), transparent 80%); -webkit-background-clip: text; background-clip: text; user-select: none; white-space: nowrap; }
.footer__bottom { position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 28px; font-size: .84rem; color: var(--muted); }
.footer__bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line); }
.footer__bottom p { margin: 0; max-width: 760px; line-height: 1.6; }
.footer__bottom ul { display: flex; gap: 24px; }

/* ---------- Reveal ---------- */
.js .reveal { transform: translateY(36px); transition: transform 1s var(--ease-out); }
.js .reveal.is-visible { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__list a { padding: 7px 11px; font-size: .86rem; }
  .nav { gap: 18px; }
  .console__body { grid-template-columns: 1fr 300px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 70px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; align-items: stretch; gap: 32px;
    padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
    background: rgba(5, 8, 15, .97);
    clip-path: circle(0 at calc(100% - 46px) 35px); visibility: hidden;
    transition: clip-path .7s var(--ease-out), visibility 0s .7s;
  }
  .nav.is-open { clip-path: circle(150% at calc(100% - 46px) 35px); visibility: visible; transition: clip-path .8s var(--ease-out), visibility 0s; }
  .nav__list { flex-direction: column; gap: 0; padding: 0; border: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav__list a { padding: 14px 0; border-radius: 0; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.8rem, 7vw, 2.6rem); letter-spacing: -.03em; color: var(--white); border-bottom: 1px solid var(--line); background: none !important; }
  .nav__list a.is-active { color: var(--accent-2); }
  .nav__cta { padding: 18px; font-size: 1.05rem; }
  body.nav-open { overflow: hidden; }

  .hero { justify-content: flex-start; }
  .hero__shade { background: linear-gradient(0deg, var(--bg) 0%, rgba(5, 8, 15, .85) 45%, rgba(5, 8, 15, .15) 75%, rgba(5, 8, 15, .35) 100%); }
  .hero__inner { align-items: flex-end; padding-top: 34vh; }
  .hud__tr span:last-child { display: none; }

  .compare-wrap, .contact, .faq, .how { grid-template-columns: 1fr; gap: 48px; }
  .how__sticky, .faq__head { position: static; }
  .how__clock { display: none; }
  .configurator { grid-template-columns: 1fr; }
  .configurator__stage { min-height: 480px; }
  .configurator__panel { border-left: 0; border-top: 1px solid var(--line); }
  .console__body { grid-template-columns: 1fr; }
  .console__side { border-left: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .console__site, .operator, .subtitle { grid-column: 1; }
  .log { grid-column: 2; grid-row: 1 / span 3; }
  .plans { grid-template-columns: 1fr; row-gap: 120px; max-width: 520px; margin: 0 auto; }
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about__mark { width: 220px; height: 220px; }
  .about__tile { width: 104px; height: 104px; }
  .about__tile img { width: 60px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  :root { --gutter: 16px; }
  .hud { inset: calc(var(--header-h) + 6px) 10px 10px; font-size: .58rem; }
  .hud__tl { left: 30px; } .hud__tr { right: 30px; }
  .logo__mark { height: 30px; } .logo__word { height: 15px; }
  .hud__br, .hud__tr { display: none; }
  .hud__corner { width: 18px; height: 18px; }
  .hero__inner { padding-top: 30vh; }
  .hero__actions .btn { width: 100%; }
  .hero__bottom { padding-bottom: 24px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats li { padding: 18px; }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .marquee { padding: 20px 0; }

  .compare { margin: 0 calc(var(--gutter) * -1); border-radius: 0; border-inline: 0; }
  .compare th, .compare td { padding: 12px 6px; }
  .compare thead th { font-size: .6rem; letter-spacing: .02em; }
  .compare tbody th { font-size: .82rem; padding-left: 14px; }

  .configurator { margin: 0 calc(var(--gutter) * -1); border-radius: 0; border-inline: 0; }
  .configurator__stage { min-height: 400px; }
  .configurator__panel { padding: 28px var(--gutter); }
  .tabs button { font-size: .8rem; padding: 10px 4px; }
  .banner { flex-direction: column; align-items: flex-start; padding: 24px 20px; }
  .hotspot__tip { width: 170px; }

  .timeline { padding-left: 60px; }
  .timeline::before, .timeline::after { left: 21px; }
  .tstep__node { left: -60px; width: 44px; height: 44px; }
  .tstep__node .icon { width: 20px; height: 20px; }
  .tstep__card { padding: 24px 22px; }
  .tstep h3 { font-size: 1.4rem; }

  .console { margin: 0 calc(var(--gutter) * -1); border-radius: 0; border-inline: 0; }
  .console__url { display: none; }
  .console__bar { justify-content: space-between; }
  .console__side { grid-template-columns: 1fr; }
  .log { grid-column: 1; grid-row: auto; }
  .feed__modes { right: 8px; bottom: 8px; }
  .feed__modes button { padding: 6px 8px; font-size: .6rem; }

  .plan__inner { padding: 30px 24px 26px; }
  .plan__head { padding-right: 118px; }
  .plan__badge { top: 44px; left: 90px; }
  .plan__tower { top: -84px; right: -4px; width: 150px; height: 240px; }

  .sectors, .perks { grid-template-columns: 1fr; }
  .sector { min-height: 0; }
  .sector__go { opacity: 1; transform: none; }
  .form { padding: 26px 18px; }
  .form__grid { grid-template-columns: 1fr; }
  .faq summary { padding: 18px 20px; font-size: 1rem; }
  .faq__body p { padding: 0 20px 20px; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .grain { display: none; }
}
