/* SOLID — tema redesign 2026 */
:root {
  --bg: #0f1226;
  --surface: #161a35;
  --surface2: #1c2144;
  --purple: #7b96ff;
  --purple-light: #a184ff;
  --cyan: #7b96ff;
  --pink: #a184ff;
  --green: #22c55e;
  --gold: #ffd166;
  --red: #ff3b5c;
  --text: #f2f3fb;
  --muted: #8b90b0;
  --line: #2a3058;
  --radius: 20px;
  --font-d: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --font-b: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pad: clamp(20px, 5vw, 56px);
  --max: 1100px;
  /* alias legacy */
  --ink: var(--bg);
  --ink-2: var(--surface);
  --ink-3: var(--surface2);
  --blue: var(--purple);
  --blue-hi: var(--purple-light);
  --violet: var(--purple-light);
  --sun: var(--gold);
  --text: #f2f3fb;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--font-b);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.has-sticky { padding-bottom: 84px; }
@media (min-width: 800px) { body.has-sticky { padding-bottom: 0; } }

img, video { max-width: 100%; display: block; }
a { color: var(--purple); text-underline-offset: 3px; }
a:hover { color: var(--purple-light); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-d); margin: 0; letter-spacing: -0.02em; overflow-wrap: break-word; }
h1 { font-size: clamp(2.1rem, 7vw, 4.5rem); line-height: 1.05; font-weight: 800; max-width: 16ch; text-transform: uppercase; }
h2 { font-size: clamp(1.55rem, 4.4vw, 2.85rem); line-height: 1.12; font-weight: 800; max-width: 22ch; text-transform: uppercase; letter-spacing: -1px; }
h3 { font-size: 1.3rem; line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; text-transform: none; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 2.4vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 48ch; }
.muted { color: var(--muted); }
.small { font-size: 0.95rem; }
.gradient {
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.sec { padding-block: clamp(56px, 9vw, 100px); position: relative; z-index: 1; }
.sec--soft { background: var(--surface); }
.sec__head { margin-bottom: clamp(28px, 5vw, 48px); }
.sec__label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--purple-light); margin-bottom: 14px;
}
.sec__cta-row { text-align: center; margin-top: 28px; }
.cta-row { text-align: center; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.segnaposto {
  background: rgba(255, 209, 102, 0.14);
  outline: 1.5px dashed var(--gold);
  color: var(--gold);
  border-radius: 6px;
  padding: 0.05em 0.4em;
}

/* ===== NAV ===== */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(15, 18, 38, 0.78);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(123, 150, 255, 0.12);
}
.top__in { display: flex; align-items: center; justify-content: space-between; min-height: 72px; position: relative; }
.logo {
  font: 800 1.55rem/1 var(--font-d); letter-spacing: -1px; text-decoration: none;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.logo:hover { opacity: 0.9; }
.menu-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; }
.menu-btn {
  cursor: pointer; font-weight: 600; font-size: 0.9rem;
  padding: 10px 16px; border: 1.5px solid rgba(123,150,255,0.4);
  border-radius: 50px; color: var(--text);
}
.menu-toggle:focus-visible + .menu-btn { outline: 3px solid var(--gold); outline-offset: 3px; }
.nav {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  flex-direction: column; gap: 4px;
  background: rgba(22, 26, 53, 0.98);
  border-bottom: 1px solid var(--line);
  padding: 16px var(--pad) 24px;
  backdrop-filter: blur(20px);
}
.menu-toggle:checked ~ .nav { display: flex; }
.nav a:not(.btn) {
  color: var(--muted); text-decoration: none; font-weight: 500;
  padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.nav a:not(.btn):hover { color: var(--purple-light); }
.nav .btn { margin-top: 12px; }
@media (min-width: 900px) {
  .menu-btn { display: none; }
  .nav {
    display: flex; position: static; flex-direction: row; align-items: center;
    gap: 28px; background: none; border: 0; padding: 0; backdrop-filter: none;
  }
  .nav a:not(.btn) { padding: 6px 0; font-size: 0.9rem; border: 0; }
  .nav .btn { margin-top: 0; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 14px 28px;
  font: 600 1rem var(--font-b);
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #0f1226;
  border: none; border-radius: 50px;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 4px 24px rgba(123, 150, 255, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(123, 150, 255, 0.55);
  color: #0f1226;
}
.btn--ghost {
  background: transparent; color: var(--purple-light);
  border: 1.5px solid rgba(123, 150, 255, 0.5);
  box-shadow: none;
}
.btn--ghost:hover {
  background: rgba(123, 150, 255, 0.1);
  border-color: var(--purple-light);
  color: var(--purple-light);
  box-shadow: none;
}
.btn--sm { min-height: 42px; padding: 10px 22px; font-size: 0.88rem; font-weight: 600; }
.btn--block { width: 100%; }
.textlink { font-weight: 600; color: var(--muted); }
.textlink:hover { color: var(--purple-light); }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding-block: clamp(110px, 16vw, 150px) clamp(48px, 8vw, 90px);
  text-align: center;
  overflow: hidden;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { margin-inline: auto; margin-bottom: 22px; max-width: 18ch; }
.hero .lead { margin-inline: auto; }
.hero__eyebrow {
  font: 700 0.85rem var(--font-b); letter-spacing: 0.04em;
  color: var(--purple-light); margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 20px;
  background: rgba(123,150,255,0.12);
  border: 1px solid rgba(123,150,255,0.25);
  border-radius: 50px;
}
.hero__eyebrow .pulse {
  width: 8px; height: 8px; background: var(--green); border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; box-shadow:0 0 0 0 rgba(34,197,94,0.4); }
  50% { opacity:0.8; box-shadow:0 0 0 8px rgba(34,197,94,0); }
}
.hero__accent { color: var(--purple-light); }
.hero__cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 14px 20px; margin: 32px 0 14px;
}
.hero__note { color: var(--muted); font-size: 0.98rem; margin: 0; }
.hero__note strong { color: var(--text); font-weight: 600; }
.lead--em { color: var(--text); font-weight: 500; }

.hero-bg-orb {
  position: absolute; border-radius: 50%;
  filter: blur(100px); opacity: 0.28;
  animation: orbFloat 8s ease-in-out infinite;
  pointer-events: none;
}
.orb-1 { width: 480px; height: 480px; background: var(--purple); top: -80px; left: -80px; }
.orb-2 { width: 400px; height: 400px; background: var(--purple-light); top: 30%; right: -60px; animation-delay: 2s; }
.orb-3 { width: 300px; height: 300px; background: var(--gold); bottom: 0; left: 30%; opacity: 0.1; animation-delay: 4s; }
@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px,-20px) scale(1.05); }
  66% { transform: translate(-20px,30px) scale(0.95); }
}

.hero-stats {
  display: flex; flex-wrap: wrap; gap: 28px 44px;
  justify-content: center; margin-top: 56px;
}
.stat { text-align: center; min-width: 110px; }
.stat-num, .hero__stat-n {
  font: 800 clamp(1.8rem, 4vw, 2.2rem)/1 var(--font-d);
  color: var(--purple-light); display: block;
}
.stat-label, .hero__stat-l {
  font-size: 0.75rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 1px; margin-top: 6px; display: block;
}
.hero__stats { display: flex; flex-wrap: wrap; gap: 24px 40px; }
.hero__stat { display: flex; flex-direction: column; gap: 4px; }

/* Countdown */
.countdown { margin: 0 auto 28px; text-align: center; max-width: 480px; }
.countdown__label { font: 500 0.85rem var(--font-b); color: var(--muted); margin-bottom: 10px; }
.countdown__timer {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface); border: 1px solid rgba(123,150,255,0.2);
  border-radius: 16px; padding: 14px 24px;
}
.countdown__block { display: flex; flex-direction: column; align-items: center; min-width: 52px; }
.countdown__n {
  font: 800 2rem/1 var(--font-d); color: var(--purple-light);
  animation: cd-pulse 1s ease-in-out infinite;
}
.countdown__unit {
  font: 500 0.62rem var(--font-b); color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px;
}
.countdown__sep { font: 800 1.5rem var(--font-d); color: var(--line); margin: 0 2px; padding-bottom: 16px; }
@keyframes cd-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@media (prefers-reduced-motion: reduce) { .countdown__n { animation: none; } }

/* ===== CLIP GRID (clip distribuite) ===== */
.clips-section { padding: clamp(48px, 8vw, 80px) var(--pad); position: relative; z-index: 1; }
.clips-head { text-align: center; margin-bottom: 40px; }
.clips-head h2 { margin-inline: auto; }
.format-group { max-width: var(--max); margin: 0 auto 36px; }
.format-group-label {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 16px; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--muted);
}
.format-group-label::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(123,150,255,0.35), transparent);
}
.format-badge {
  background: rgba(123,150,255,0.15);
  border: 1px solid rgba(123,150,255,0.35);
  color: var(--purple-light);
  padding: 4px 12px; border-radius: 50px;
  font-size: 0.72rem; letter-spacing: 1px;
}
.clips-row {
  display: flex; gap: 12px; flex-wrap: wrap;
  perspective: 800px; justify-content: flex-start;
}
@media (max-width: 559px) {
  .clip-card.s { width: calc(50% - 6px); height: auto; aspect-ratio: 1; }
  .clip-card.h { width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .clip-card.v { width: calc(50% - 6px); height: auto; aspect-ratio: 9 / 16; }
}
.clip-card {
  background: linear-gradient(145deg, var(--surface2), var(--surface));
  border: 1px solid rgba(123,150,255,0.18);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.5s ease, box-shadow 0.4s ease, border-color 0.3s;
  animation: clipFloat 4s ease-in-out infinite;
  cursor: pointer;
}
.clip-card:nth-child(1) { animation-delay: 0s; }
.clip-card:nth-child(2) { animation-delay: 0.6s; }
.clip-card:nth-child(3) { animation-delay: 1.2s; }
.clip-card:nth-child(4) { animation-delay: 1.8s; }
@keyframes clipFloat {
  0%,100% { transform: translateY(0) rotateX(0) rotateY(0); }
  50% { transform: translateY(-12px) rotateX(3deg) rotateY(-3deg); }
}
.clip-card:hover {
  transform: translateY(-18px) rotateX(5deg) rotateY(-5deg) !important;
  border-color: rgba(123,150,255,0.55);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45), 0 0 40px rgba(123,150,255,0.18);
  animation-play-state: paused;
  z-index: 2;
}
.clip-card.v { width: 150px; height: 266px; border-radius: 18px; }
.clip-card.s { width: 200px; height: 200px; border-radius: 18px; }
.clip-card.h { width: 300px; height: 168px; border-radius: 18px; }
.clip-thumb {
  flex: 1; position: relative; min-height: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 12px; overflow: hidden;
}
.clip-card.v .clip-thumb { background: linear-gradient(160deg, #2a3170 0%, #1a1f4a 55%, #12152e 100%); }
.clip-card.s .clip-thumb { background: linear-gradient(160deg, #1e3a5f 0%, #1a2450 55%, #12152e 100%); }
.clip-card.h .clip-thumb { background: linear-gradient(160deg, #3a2a60 0%, #1f1f4a 55%, #12152e 100%); }
.clip-thumb::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 70% 20%, rgba(123,150,255,0.35), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(161,132,255,0.25), transparent 45%);
}
.clip-thumb::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px; opacity: 0.6;
}
.clip-thumb video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1;
}
.clip-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(15,18,38,0.7);
  border: 2px solid rgba(255,255,255,0.85);
  display: flex; align-items: center; justify-content: center;
  z-index: 2; transition: transform 0.3s, background 0.3s;
}
.clip-card:hover .clip-play {
  transform: translate(-50%, -50%) scale(1.12);
  background: rgba(123,150,255,0.9); border-color: #fff;
}
.clip-play::after {
  content: ''; width: 0; height: 0;
  border-left: 12px solid #fff;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-left: 3px;
}
.clip-subs {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; gap: 5px; align-items: center;
}
.clip-subs span {
  display: block; height: 8px; border-radius: 4px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 0 12px rgba(255,255,255,0.25);
}
.clip-subs span:nth-child(1) { width: 72%; background: var(--gold); }
.clip-subs span:nth-child(2) { width: 55%; }
.clip-subs span:nth-child(3) { width: 40%; opacity: 0.7; }
.clip-meta {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 10px; font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.5px; text-transform: uppercase;
  color: var(--muted); background: rgba(0,0,0,0.4); gap: 6px;
}
.clip-meta .plat { color: var(--purple-light); }
.clip-meta .views { color: var(--green); }

/* ===== PIPELINE ===== */
.pipeline { max-width: var(--max); margin: 56px auto 0; }
.pipeline-stage {
  display: grid; grid-template-columns: 56px 1fr;
  gap: 14px 16px; align-items: start; position: relative;
}
.pipeline-stage:not(:last-child)::after {
  content: ''; position: absolute;
  left: 27px; top: 56px; bottom: -20px;
  width: 2px; background: linear-gradient(to bottom, var(--purple), transparent);
}
.stage-num {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font: 800 1.35rem var(--font-d); color: #0f1226;
  position: relative; z-index: 2;
  grid-column: 1; grid-row: 1 / -1;
}
.stage-content { grid-column: 2; min-width: 0; }
.stage-content h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.stage-content p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; margin-bottom: 0; }
.stage-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.stage-tag {
  padding: 4px 12px; background: rgba(123,150,255,0.15);
  border-radius: 50px; font-size: 0.75rem; color: var(--purple-light);
}
@media (min-width: 860px) {
  .pipeline-stage { grid-template-columns: 80px 1fr 1fr 1fr; gap: 24px; }
  .pipeline-stage:not(:last-child)::after { left: 39px; top: 72px; }
  .stage-num { width: 80px; height: 80px; font-size: 1.8rem; border-radius: 18px; grid-row: 1; }
  .stage-content { grid-column: auto; }
  .stage-content h3 { font-size: 1.2rem; }
}

/* ===== STEPS (legacy) ===== */
.steps { display: grid; gap: 28px; grid-template-columns: 1fr; padding: 0; margin: 0; list-style: none; }
.step {
  border-top: 2px solid var(--purple);
  padding-top: 18px;
  background: transparent;
  transition: border-color 0.3s;
}
.step:hover { border-color: var(--purple-light); }
.step__n { font: 800 2.4rem/1 var(--font-d); color: var(--purple-light); margin-bottom: 10px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; max-width: 34ch; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
@media (min-width: 1100px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } }

/* ===== BENTO / FEATURES ===== */
.bento {
  display: grid; grid-template-columns: 1fr; gap: 18px;
  max-width: var(--max); margin: 52px auto 0;
}
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .bento { grid-template-columns: repeat(3, 1fr); } }
.bento-item, .feature-card, .quest-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px 26px;
  border: 1px solid rgba(123,150,255,0.08);
  transition: all 0.4s ease;
  position: relative; overflow: hidden;
}
.bento-item:hover, .feature-card:hover, .quest-card:hover {
  border-color: rgba(123,150,255,0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px rgba(123,150,255,0.1);
}
.bento-item::before, .feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
  opacity: 0; transition: opacity 0.3s;
}
.bento-item:hover::before, .feature-card:hover::before { opacity: 1; }
.bento-item.wide { grid-column: span 1; }
@media (min-width: 960px) { .bento-item.wide { grid-column: span 2; } }
.bento-icon {
  width: 52px; height: 52px;
  background: rgba(123,150,255,0.12);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; font-size: 1.4rem;
}
.bento-icon svg {
  width: 26px; height: 26px; stroke: var(--purple-light);
  fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.bento-item h3, .feature-card h3, .quest-card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 10px; }
.bento-item p, .feature-card p, .quest-card p {
  color: var(--muted); font-size: 0.92rem; line-height: 1.6; margin: 0; max-width: none;
}
.bento-stat {
  font: 800 2.6rem var(--font-d);
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  margin-top: 14px;
}
.features { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .features { grid-template-columns: repeat(3, 1fr); } }
.quest-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .quest-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===== PRICING ===== */
.pricing-grid, .plans {
  display: grid; gap: 24px; grid-template-columns: 1fr;
  max-width: var(--max); margin: 52px auto 0;
}
@media (min-width: 720px) { .pricing-grid, .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .pricing-grid, .plans { grid-template-columns: repeat(3, 1fr); } }
.pricing-card, .plan {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid rgba(123,150,255,0.08);
  transition: all 0.4s;
  position: relative;
  display: flex; flex-direction: column;
}
.pricing-card:hover, .plan:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.pricing-card.featured, .plan:has(.plan__badge) {
  border-color: var(--purple);
  background: linear-gradient(145deg, rgba(123,150,255,0.12), var(--surface));
  box-shadow: 0 0 60px rgba(123,150,255,0.18);
}
.pricing-card.featured::before, .plan__badge {
  content: 'PIÙ SCELTO';
  position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #0f1226;
  padding: 5px 20px; border-radius: 50px;
  font: 700 0.68rem var(--font-b); letter-spacing: 1px;
  white-space: nowrap; text-transform: uppercase;
}
.plan__badge { content: none; }
.pricing-name, .plan h3 {
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px;
  color: var(--purple-light); margin-bottom: 8px; font-weight: 700;
}
.plan h3 { font-size: 1.1rem; letter-spacing: -0.01em; text-transform: none; color: var(--text); margin-bottom: 14px; }
.pricing-price, .plan__price {
  font: 800 2.8rem/1 var(--font-d); letter-spacing: -0.02em; margin: 0 0 8px;
}
.pricing-price span, .plan__price span {
  font: 400 0.95rem var(--font-b); color: var(--muted); margin-left: 6px;
}
.pricing-desc, .plan__perf {
  color: var(--muted); font-size: 0.9rem;
  margin-bottom: 22px; padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.plan__perf strong { color: var(--purple-light); }
.pricing-features, .plan ul, .checks {
  list-style: none; margin: 0 0 28px; padding: 0;
  display: grid; gap: 10px; flex: 1;
}
.pricing-features li, .plan ul li, .checks li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 6px 0; font-size: 0.92rem; color: var(--text);
}
.pricing-features li::before, .plan ul li::before, .checks li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700; font-size: 1.05rem;
  flex-shrink: 0; line-height: 1.35;
}
.plan ul { color: var(--muted); font-size: 0.92rem; }
.plan ul strong { color: var(--text); font-weight: 600; }
.pricing-card .btn, .plan .btn { width: 100%; justify-content: center; }

/* Pilot card */
.pilot-card {
  border: 1px solid rgba(123,150,255,0.25);
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(123,150,255,0.1), var(--surface) 50%);
  padding: clamp(28px, 5vw, 44px) clamp(22px, 4vw, 36px);
  text-align: center;
  position: relative;
  box-shadow: 0 0 60px rgba(123,150,255,0.1);
}
.pilot-card__badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #0f1226;
  font: 700 0.68rem var(--font-b); letter-spacing: 0.12em;
  text-transform: uppercase; padding: 6px 18px;
  border-radius: 100px; margin-bottom: 18px;
}
.pilot-note {
  font-size: 0.85rem; color: var(--muted);
  padding: 14px; background: rgba(255,255,255,0.03);
  border-radius: 12px; margin-top: 16px; margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.05);
}
.pilot-note strong { color: var(--text); }
.price { font: 800 clamp(3rem, 8vw, 4.5rem)/1 var(--font-d); letter-spacing: -0.03em; margin: 8px 0 4px; }
.price small { font: 500 1rem var(--font-b); color: var(--muted); letter-spacing: 0; margin-left: 8px; }
.trial-title { font: 800 1.8rem var(--font-d); color: var(--text); margin: 8px 0 4px; }

/* Cap cards, due modi */
.cap-cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cap-cards { grid-template-columns: repeat(3, 1fr); } }
.cap-card {
  border: 1px solid rgba(123,150,255,0.12);
  border-radius: 18px; background: var(--surface);
  padding: 24px; text-align: center;
}
.cap-card__name {
  font: 700 0.75rem var(--font-d); letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 8px;
}
.cap-card__rate { font-size: 0.85rem; color: var(--muted); margin-bottom: 4px; }
.cap-card__value { font: 800 2rem var(--font-d); color: var(--purple-light); margin: 8px 0; }
.cap-card__label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
}
.due-modi { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .due-modi { grid-template-columns: repeat(2, 1fr); } }
.due-modi__card {
  border: 1px solid rgba(123,150,255,0.12); border-radius: 24px;
  background: var(--surface); padding: 32px 28px;
  position: relative; display: flex; flex-direction: column;
}
.due-modi__card--featured {
  border-color: rgba(123,150,255,0.35);
  background: linear-gradient(180deg, rgba(123,150,255,0.08) 0%, var(--surface) 100%);
}
.due-modi__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #0f1226; font: 700 0.65rem var(--font-d);
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 16px; border-radius: 100px; white-space: nowrap;
}
.due-modi__name {
  font: 700 0.8rem var(--font-d); letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
}
.due-modi__price { font: 800 2.5rem/1 var(--font-d); margin: 0 0 4px; }
.due-modi__price span { font: 500 1rem var(--font-b); color: var(--muted); margin-left: 4px; }
.due-modi__period { font-size: 0.85rem; color: var(--muted); margin-bottom: 24px; }
.due-modi__list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; flex: 1; }
.due-modi__list li {
  font-size: 0.9rem; color: var(--text);
  padding-left: 28px; position: relative; line-height: 1.5;
}
.due-modi__list li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--green); font-weight: 700; font-size: 1rem;
}
.due-modi__note { font-size: 0.82rem; color: var(--muted); margin-top: 12px; font-style: italic; }

/* ===== TABLE / CALC ===== */
.table-wrap {
  overflow-x: auto; border: 1px solid rgba(123,150,255,0.12);
  border-radius: 18px; -webkit-overflow-scrolling: touch;
  background: var(--surface);
}
.table-wrap::before {
  content: "Scorri per vedere tutto"; display: block;
  font-size: 0.85rem; color: var(--muted); padding: 12px 18px 0;
}
table { width: 100%; border-collapse: collapse; min-width: 480px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
tr:last-child th, tr:last-child td { border-bottom: 0; }
thead th { background: var(--surface2); font-family: var(--font-d); font-weight: 700; }
tbody th { font-weight: 500; color: var(--muted); white-space: nowrap; }
.calc { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .calc { grid-template-columns: 5fr 6fr; gap: 48px; align-items: start; } }
.calc input[type="range"] { width: 100%; accent-color: var(--purple); margin: 14px 0 0; }
.calc__rows { display: grid; gap: 12px; }
.row {
  border: 1px solid rgba(123,150,255,0.12); border-radius: 16px;
  padding: 18px 20px; display: grid; gap: 4px; background: var(--surface);
}
.row--best { border-color: var(--purple); box-shadow: 0 0 24px rgba(123,150,255,0.12); }
.row__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.row__top strong { font: 600 1.15rem var(--font-d); }
.row__total { font: 800 1.6rem var(--font-d); }
.row small { color: var(--muted); font-size: 0.95rem; }
.badge { color: var(--purple-light); font-weight: 600; font-size: 0.9rem; }

/* ===== SPLIT / BODY ===== */
.split { display: grid; gap: 32px; }
@media (min-width: 720px) { .split { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; } }
.body-copy { font-size: 1.0625rem; line-height: 1.65; color: var(--muted); margin-bottom: 16px; }
.body-copy--em { color: var(--text); font-weight: 500; }

/* Target grid */
.target-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .target-grid { grid-template-columns: repeat(4, 1fr); } }
.target-item {
  padding: 18px 16px; border: 1px solid rgba(123,150,255,0.12);
  border-radius: 16px; font-size: 0.9rem; font-weight: 500;
  color: var(--text); text-align: center;
  transition: all 0.2s ease; background: var(--surface);
}
.target-item:hover {
  border-color: rgba(123,150,255,0.4);
  background: rgba(123,150,255,0.08);
  transform: translateY(-3px);
}

/* Timeline */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--purple), transparent);
}
.timeline__item { position: relative; padding-bottom: 32px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: ""; position: absolute; left: -37px; top: 6px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--purple-light);
  box-shadow: 0 0 12px rgba(123,150,255,0.4);
}
.timeline__label {
  font: 700 0.7rem var(--font-d); letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--purple-light); margin-bottom: 6px;
}
.timeline__item h3 { margin-bottom: 6px; }

/* ===== FLOW (video lungo in clip) ===== */
.flow { margin-top: clamp(40px, 7vw, 72px); }
.flow__meta {
  display: flex; justify-content: space-between; gap: 16px;
  color: var(--muted); font-size: 0.95rem; margin-bottom: 10px;
  flex-wrap: wrap;
}
.track {
  position: relative; height: 46px; border-radius: 10px; overflow: hidden;
  background-color: var(--surface);
  background-image: repeating-linear-gradient(90deg, var(--surface2) 0 2px, transparent 2px 6px);
  border: 1px solid var(--line);
}
.seg {
  position: absolute; top: 0; bottom: 0; left: var(--s); width: var(--w);
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
  transform-origin: left;
  animation: seg-in 0.45s ease both;
  animation-delay: calc(0.3s + var(--i) * 0.16s);
}
.clips {
  display: flex; gap: 10px; margin-top: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.clips::-webkit-scrollbar { display: none; }
.clip {
  flex: 0 0 clamp(72px, 20vw, 84px); aspect-ratio: 9 / 16; position: relative;
  scroll-snap-align: start;
  border-radius: 14px; border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface2), var(--surface));
  animation: clip-in 0.5s ease both;
  animation-delay: calc(0.9s + var(--i) * 0.16s);
}
.clip::after {
  content: ""; position: absolute; left: 14%; width: 72%; bottom: 12%; height: 16px; opacity: 0.75;
  background:
    linear-gradient(var(--text), var(--text)) 0 0 / 100% 4px no-repeat,
    linear-gradient(var(--text), var(--text)) 0 12px / 68% 4px no-repeat;
  border-radius: 2px;
  pointer-events: none;
}
.clip--demo { border: 2px solid var(--purple); }
.clip[data-label]::before {
  content: attr(data-label);
  position: absolute; top: 6px; left: 6px; z-index: 2;
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(15, 18, 38, 0.85);
  color: var(--purple-light); font: 700 0.7rem var(--font-d);
  border-radius: 50%; pointer-events: none;
}
.clip video { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; position: relative; z-index: 1; }
.flow__note { color: var(--muted); font-size: 0.95rem; margin: 14px 0 0; }
@media (min-width: 720px) {
  .clips { overflow: visible; display: grid; grid-template-columns: repeat(10, 1fr); }
  .clip { flex: none; }
}
@media (max-width: 719px) {
  .clips { margin-inline: calc(var(--pad) * -0.15); padding-inline: 4px; }
}
@keyframes seg-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes clip-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .seg, .clip { animation: none; } }

/* ===== EXAMPLES / QUOTES / TESTIMONIALS ===== */
.examples { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 560px) { .examples { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .examples { grid-template-columns: repeat(6, 1fr); } }
.ex {
  aspect-ratio: 9 / 16; border-radius: 16px;
  border: 2px dashed rgba(123,150,255,0.25);
  display: grid; place-items: center; text-align: center;
  padding: 10px; font-size: 0.9rem; overflow: hidden;
  background: var(--surface);
}
.ex video { width: 100%; height: 100%; object-fit: cover; }

.quotes, .testimonials-track {
  display: grid; gap: 20px; grid-template-columns: 1fr;
}
@media (min-width: 800px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
.testimonials-track {
  display: flex; gap: 16px; max-width: var(--max);
  margin: 52px auto 0; overflow-x: auto;
  padding: 0 var(--pad) 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.testimonials-track::-webkit-scrollbar { display: none; }
.testimonial {
  min-width: min(300px, calc(100vw - 40px));
  max-width: 360px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid rgba(123,150,255,0.08);
  flex-shrink: 0;
  scroll-snap-align: start;
}
.testimonial-stars, .stars {
  color: var(--gold); font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px;
}
.testimonial-text {
  font-size: 0.95rem; color: var(--muted);
  line-height: 1.7; margin-bottom: 18px; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; color: #0f1226;
}
.testimonial-name { font-weight: 600; font-size: 0.9rem; }
.testimonial-role { font-size: 0.78rem; color: var(--muted); }
.quote {
  border-left: 3px solid var(--purple);
  padding: 8px 0 8px 22px;
  background: transparent;
}
.quote p { font: 600 1.25rem/1.4 var(--font-d); margin-bottom: 12px; }
.quote footer { color: var(--muted); font-size: 0.95rem; }

/* ===== FAQ ===== */
.faq, .faq-list { max-width: 760px; margin-inline: auto; }
.faq details, .faq-item {
  border-bottom: 1px solid rgba(123,150,255,0.1);
  background: transparent;
}
.faq details:first-child, .faq-list .faq-item:first-child {
  border-top: 1px solid rgba(123,150,255,0.1);
}
.faq summary, .faq-q {
  list-style: none; cursor: pointer;
  padding: 20px 44px 20px 0; position: relative;
  font: 600 1.08rem/1.35 var(--font-d);
  justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq-q .arrow {
  content: "+"; position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%); font-size: 1.5rem; color: var(--purple-light);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p, .faq-a p {
  color: var(--muted); padding-bottom: 20px; margin: 0; max-width: 62ch;
  font-size: 0.95rem; line-height: 1.65;
}
.faq-item { border-radius: 14px; margin-bottom: 10px; border: 1px solid rgba(123,150,255,0.08); overflow: hidden; }
.faq-item:hover { border-color: rgba(123,150,255,0.25); }
.faq-q { display: flex; padding: 20px 24px; margin: 0; }
.faq-q .arrow { content: none; position: static; transform: none; transition: transform 0.3s; font-size: 1.2rem; }
.faq-item.open .faq-q .arrow { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-item.open .faq-a { max-height: 240px; padding: 0 24px 20px; }
.faq-a p { padding-bottom: 0; }

/* ===== CTA BOX ===== */
.cta-section { text-align: center; padding: clamp(64px, 10vw, 110px) var(--pad); position: relative; z-index: 1; }
.cta-box {
  max-width: 800px; margin: 0 auto;
  background: linear-gradient(145deg, rgba(123,150,255,0.15), rgba(161,132,255,0.08));
  border: 1px solid rgba(123,150,255,0.3);
  border-radius: 32px;
  padding: clamp(36px, 6vw, 64px) clamp(24px, 5vw, 48px);
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(123,150,255,0.15) 0%, transparent 50%);
  animation: ctaRotate 10s linear infinite;
  pointer-events: none;
}
@keyframes ctaRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.cta-box h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800;
  margin-bottom: 16px; position: relative; max-width: none; margin-inline: auto;
}
.cta-box p { color: var(--muted); font-size: 1.1rem; margin-bottom: 28px; position: relative; }
.cta-box .btn { position: relative; }
.cta-code {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(123,150,255,0.15);
  border: 1px dashed var(--purple-light);
  border-radius: 12px; padding: 10px 20px; margin-top: 20px;
  font-size: 0.9rem; color: var(--purple-light); position: relative;
}

/* ===== FORM ===== */
.form-wrap { max-width: 640px; margin-inline: auto; }
.form-wrap h2 { margin-bottom: 12px; }
form { display: grid; gap: 18px; margin-top: 24px; text-align: left; }
label { font-weight: 600; display: block; margin-bottom: 6px; font-size: 0.95rem; }
input[type="text"], input[type="email"], input[type="url"], input[type="number"] {
  width: 100%; font: 400 1rem var(--font-b); color: var(--text);
  background: var(--surface2); border: 1.5px solid var(--line);
  border-radius: 14px; padding: 14px 16px; min-height: 52px;
}
input::placeholder { color: #7f86b8; }
input:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
textarea {
  width: 100%; min-height: 120px; padding: 14px 16px;
  background: var(--surface2); border: 1.5px solid var(--line);
  border-radius: 14px; color: var(--text);
  font: 400 1rem/1.6 var(--font-b); resize: vertical;
}
textarea:focus { outline: none; border-color: var(--purple); }
textarea::placeholder { color: var(--muted); opacity: 0.5; }
.consent {
  display: flex; gap: 12px; align-items: flex-start;
  font-weight: 400; color: var(--muted); font-size: 0.92rem;
}
.consent input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--purple); }
.hp { position: absolute; left: -9999px; }
.after-form { margin-top: 22px; color: var(--muted); }

/* ===== DEMO VIDEO ===== */
.demo-video {
  max-width: 480px; margin: 0 auto;
  border-radius: 20px; overflow: hidden;
  border: 2px solid rgba(123,150,255,0.25);
  box-shadow: 0 12px 48px rgba(0,0,0,0.35);
}
.demo-video video { width: 100%; display: block; }

/* ===== SOFTWARE / BUYBOX ===== */
.buybox {
  border: 1px solid rgba(123,150,255,0.15);
  border-radius: 28px; background: var(--surface);
  padding: clamp(24px, 5vw, 44px); max-width: 640px;
  box-shadow: 0 0 60px rgba(123,150,255,0.08);
}
.notice {
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 20px; max-width: 62ch; color: var(--muted);
}

/* ===== LEGAL / THANKS ===== */
.legal { max-width: 720px; }
.legal h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); max-width: none; margin-bottom: 28px; }
.legal h2 { font-size: 1.45rem; margin: 40px 0 12px; max-width: none; font-weight: 700; text-transform: none; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: 6px; }
.thanks { min-height: 60vh; display: grid; align-content: center; text-align: center; }
.thanks h1 { margin-inline: auto; margin-bottom: 20px; }
.thanks .lead { margin-inline: auto; }

/* ===== PRE-FOOTER COMPACT (chiusura + FAQ + form) ===== */
.sec--compact { padding-block: clamp(32px, 5vw, 52px); }
.sec--compact .body-copy { margin-bottom: 10px; }
#faq .sec__label { margin-bottom: 8px; }
#faq summary { padding: 14px 40px 14px 0; font-size: 1rem; }
#faq details p { padding-bottom: 14px; font-size: 0.92rem; line-height: 1.55; }
.cta-section { padding: clamp(36px, 6vw, 56px) var(--pad); }
.cta-box { padding: clamp(28px, 4vw, 40px) clamp(20px, 4vw, 36px); border-radius: 24px; }
.cta-box h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); margin-bottom: 10px; }
.cta-box p { font-size: 1rem; margin-bottom: 20px; }
#form-card { padding: clamp(20px, 3vw, 28px) clamp(16px, 3vw, 24px); border-radius: 20px; }
#form-card .pilot-card__badge { margin-bottom: 10px; padding: 4px 14px; }
#form-card .trial-title { font-size: 1.4rem; margin: 4px 0 2px; }
#form-card form { gap: 12px; margin-top: 14px; }
#form-card label { font-size: 0.88rem; margin-bottom: 4px; }
#form-card input[type="text"], #form-card input[type="email"], #form-card input[type="url"] {
  min-height: 44px; padding: 10px 14px; border-radius: 12px;
}
#form-card textarea { min-height: 72px; padding: 10px 14px; border-radius: 12px; }
#form-card .consent { font-size: 0.85rem; gap: 8px; }
#form-card .consent input { width: 18px; height: 18px; }
.cta-code { margin-top: 14px; padding: 8px 16px; font-size: 0.85rem; }

/* ===== FOOTER ===== */
.foot {
  background: var(--surface);
  border-top: 1px solid rgba(123,150,255,0.12);
  padding-block: clamp(40px, 6vw, 64px) 30px;
  font-size: 0.95rem; color: var(--muted);
}
.foot__in {
  display: grid; gap: 36px; grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .foot__in { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; max-width: var(--max); }
}
.foot__brand p { margin: 0 0 6px; font-size: 0.88rem; line-height: 1.55; max-width: 320px; }
.foot__contact { margin-top: 14px; display: grid; gap: 8px; font-size: 0.88rem; }
.foot__contact a { color: var(--muted); text-decoration: none; transition: color 0.3s; }
.foot__contact a:hover { color: var(--purple-light); }
.foot h4 {
  font: 700 0.88rem var(--font-b); color: var(--text);
  margin: 0 0 14px; letter-spacing: 0.04em;
}
.foot nav, .foot__col { display: grid; gap: 8px; align-content: start; }
.foot nav a, .foot__col a {
  color: var(--muted); text-decoration: none; font-size: 0.88rem;
  transition: color 0.2s;
}
.foot nav a:hover, .foot__col a:hover { color: var(--purple-light); }
.foot p { margin: 0 0 4px; }
.foot .logo { display: inline-block; margin-bottom: 12px; }
.foot a { color: var(--muted); }

.subfoot {
  background: var(--bg); border-top: 1px solid rgba(123,150,255,0.08);
  padding-block: 24px; text-align: center;
}
.subfoot__copy { font-size: 0.82rem; color: var(--muted); margin-bottom: 8px; }
.subfoot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-bottom: 12px; }
.subfoot__links a { font-size: 0.82rem; color: var(--muted); transition: color 0.2s; }
.subfoot__links a:hover { color: var(--purple-light); }
.subfoot__disclaimer {
  font-size: 0.75rem; color: var(--muted);
  max-width: 520px; margin-inline: auto; line-height: 1.5; opacity: 0.7;
}

/* ===== STICKY CTA ===== */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom));
  background: rgba(15, 18, 38, 0.97);
  border-top: 1px solid rgba(123,150,255,0.15);
  transition: transform 0.25s ease;
  padding-right: 80px;
}
.sticky-cta.is-hidden { transform: translateY(110%); }
@media (min-width: 800px) { .sticky-cta { display: none; } }
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }

/* ===== CHAT WIDGET ===== */
.chat-widget { position: fixed; bottom: 80px; right: 20px; z-index: 70; }
@media (min-width: 800px) { .chat-widget { bottom: 24px; } }
.chat-toggle {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #0f1226; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(123, 150, 255, 0.4);
  transition: transform 0.2s ease;
}
.chat-toggle:hover { transform: scale(1.08); }
.chat-box {
  position: absolute; bottom: 64px; right: 0;
  width: min(320px, calc(100vw - 40px)); max-height: 480px;
  background: var(--surface); border: 1px solid rgba(123,150,255,0.2);
  border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
}
.chat-box[hidden] { display: none; }
.chat-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; background: var(--surface2);
  border-bottom: 1px solid var(--line);
  font-weight: 600; font-size: 0.9rem;
}
.chat-close { background: none; border: none; color: var(--muted); font-size: 1.4rem; cursor: pointer; line-height: 1; padding: 0 4px; }
.chat-close:hover { color: var(--text); }
.chat-messages {
  flex: 1; overflow-y: auto; padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 160px; max-height: 260px;
}
.chat-msg { padding: 10px 14px; border-radius: 12px; font-size: 0.88rem; line-height: 1.5; max-width: 85%; }
.chat-msg--bot { background: var(--surface2); color: var(--text); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg--user { background: var(--purple); color: #0f1226; align-self: flex-end; border-bottom-right-radius: 4px; font-weight: 500; }
.chat-options {
  padding: 10px 14px 14px; display: flex; flex-wrap: wrap; gap: 6px;
  border-top: 1px solid var(--line); max-height: 140px; overflow-y: auto;
}
.chat-option {
  background: var(--surface2); border: 1px solid var(--line); color: var(--text);
  padding: 6px 12px; border-radius: 20px; font-size: 0.78rem;
  cursor: pointer; transition: all 0.2s ease;
}
.chat-option:hover { border-color: var(--purple); background: rgba(123,150,255,0.1); }

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(36px); transition: all 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Cursor glow */
.cursor-glow {
  position: fixed; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(123,150,255,0.08) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
}
@media (max-width: 800px) { .cursor-glow { display: none; } }

/* Offer / about legacy */
.offer {
  background: var(--surface); border: 1px solid rgba(123,150,255,0.12);
  border-radius: 28px; padding: clamp(28px, 6vw, 56px);
  display: grid; gap: 32px; grid-template-columns: 1fr;
}
@media (min-width: 860px) { .offer { grid-template-columns: 5fr 6fr; gap: 56px; align-items: center; } }
.problem { max-width: 62ch; }
.problem h2 { margin-bottom: 24px; }
.problem p { font-size: 1.2rem; color: var(--muted); }
.ba__label {
  display: block; font: 700 0.7rem var(--font-d); letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--purple-light); margin-bottom: 8px;
}
.ba__desc { font-size: 1.0625rem; color: var(--text); font-weight: 500; }
.ba__list { list-style: none; padding: 0; margin: 0; }
.ba__list li { padding: 4px 0; color: var(--muted); font-size: 1rem; }
.ba__list li::before { content: "— "; color: var(--purple); }
.before-after { display: grid; gap: 24px; text-align: center; max-width: 560px; margin-inline: auto; }
@media (min-width: 640px) { .before-after { grid-template-columns: 1fr auto 1fr; text-align: left; } }
.about { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 800px) { .about { grid-template-columns: 280px 1fr; gap: 56px; } }
.about__photo { aspect-ratio: 1 / 1; border-radius: 24px; border: 2px dashed var(--line); display: grid; place-items: center; overflow: hidden; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }

/* Email modal */
.email-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; }
.email-modal[hidden] { display: none; }
.email-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.email-modal__box {
  position: relative; z-index: 1;
  background: var(--surface); border: 1px solid rgba(123,150,255,0.2);
  border-radius: 18px; padding: 32px 28px;
  max-width: 400px; width: calc(100% - 40px); text-align: center;
}
.email-modal__box h3 { margin-bottom: 10px; font-size: 1.2rem; }
.email-modal__box p { color: var(--muted); font-size: 0.92rem; margin-bottom: 24px; line-height: 1.5; }
.email-modal__actions { display: flex; gap: 10px; justify-content: center; }

/* Dev notice */
.dev-notice {
  background: rgba(255, 59, 48, 0.1);
  border: 1.5px solid #ff3b30; color: #ff3b30;
  border-radius: 12px; padding: 16px 20px;
  margin-bottom: 32px; display: grid; gap: 6px;
}
.bozza {
  background: rgba(255, 209, 102, 0.14);
  border: 1.5px dashed var(--gold); color: var(--gold);
  border-radius: 12px; padding: 12px 16px;
  margin-bottom: 32px; font-weight: 500;
}

/* ===== COMPONENSI SOFTWARE / ROBOT / DEVICE / GUI ===== */
.chat-demo {
  margin-top: 40px; max-width: 560px;
  background: var(--surface);
  border: 1px solid rgba(123,150,255,0.12);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.chat-demo__header {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 20px; background: var(--surface2);
  border-bottom: 1px solid var(--line);
}
.chat-demo__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--purple); box-shadow: 0 0 8px rgba(123,150,255,0.6);
}
.chat-demo__title { font-weight: 600; font-size: 0.9rem; color: var(--text); }
.chat-demo__body { padding: 20px; display: flex; flex-direction: column; gap: 14px; max-height: 500px; overflow-y: auto; }
.chat-demo__msg { max-width: 85%; padding: 12px 16px; border-radius: 16px; font-size: 0.88rem; line-height: 1.55; position: relative; }
.chat-demo__msg p { margin: 0; color: var(--text); }
.chat-demo__msg--user { align-self: flex-end; background: var(--purple); color: #0f1226; border-bottom-right-radius: 4px; }
.chat-demo__msg--user p { color: #0f1226; font-weight: 500; }
.chat-demo__msg--bot { align-self: flex-start; background: var(--surface2); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat-demo__time { display: block; font-size: 0.7rem; color: var(--muted); margin-top: 6px; text-align: right; }
.chat-demo__msg--user .chat-demo__time { color: rgba(15,18,38,0.5); }
.chat-demo__clips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chat-demo__clip {
  background: var(--bg); border: 1px solid var(--line);
  padding: 5px 10px; border-radius: 8px; font-size: 0.75rem; color: var(--text);
}
.chat-demo__preview {
  margin-top: 8px; background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px; padding: 14px; text-align: center;
  font-size: 0.85rem; color: var(--purple-light);
}
.chat-demo__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chat-demo__action {
  background: var(--bg); border: 1px solid var(--line);
  padding: 6px 12px; border-radius: 20px; font-size: 0.78rem;
  color: var(--text); cursor: default;
}

.office { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.office__wall { position: absolute; inset: 0; background: linear-gradient(180deg, #0d1020 0%, #131630 60%, #161a36 100%); }
.office__floor { position: absolute; bottom: 0; left: 0; right: 0; height: 40px; background: linear-gradient(180deg, #1a1510 0%, #221c14 100%); border-top: 2px solid #2a2520; }
.office__rug { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); width: 200px; height: 24px; background: radial-gradient(ellipse, rgba(123,150,255,0.08) 0%, transparent 70%); border-radius: 50%; }
.office__window { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 70px; height: 50px; background: #0a1628; border: 2px solid #2a3560; border-radius: 4px; overflow: hidden; }
.office__sky { position: absolute; inset: 0; background: linear-gradient(180deg, #0a1628 0%, #122040 100%); }
.office__cloud { position: absolute; background: rgba(255,255,255,0.06); border-radius: 10px; }
.office__cloud--1 { width: 20px; height: 6px; top: 12px; left: 8px; animation: cloud-drift 8s linear infinite; }
.office__cloud--2 { width: 14px; height: 5px; top: 22px; left: 30px; animation: cloud-drift 12s linear infinite reverse; }
.office__cross { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 48%, #2a3560 48%, #2a3560 52%, transparent 52%), linear-gradient(0deg, transparent 48%, #2a3560 48%, #2a3560 52%, transparent 52%); }
.office__shelf { position: absolute; top: 20px; left: 16px; width: 80px; height: 40px; border-bottom: 3px solid #2a2540; }
.office__book { position: absolute; bottom: 3px; width: 6px; border-radius: 1px; }
.office__book--1 { left: 4px; height: 22px; background: #7b96ff; }
.office__book--2 { left: 12px; height: 18px; background: #a184ff; }
.office__book--3 { left: 20px; height: 24px; background: #ffd166; }
.office__book--4 { left: 28px; height: 20px; background: #22c55e; }
.office__plant { position: absolute; right: 4px; bottom: 3px; width: 18px; height: 24px; }
.office__pot { position: absolute; bottom: 0; left: 3px; width: 12px; height: 10px; background: #8b4513; border-radius: 0 0 3px 3px; }
.office__leaf { position: absolute; bottom: 8px; width: 8px; height: 12px; background: #22c55e; border-radius: 50% 50% 50% 0; transform-origin: bottom center; }
.office__leaf--1 { left: 5px; transform: rotate(-20deg); animation: leaf-sway 3s ease-in-out infinite; }
.office__leaf--2 { left: 2px; transform: rotate(-40deg); animation: leaf-sway 3s ease-in-out infinite 0.5s; }
.office__leaf--3 { left: 8px; transform: rotate(10deg); animation: leaf-sway 3s ease-in-out infinite 1s; }
.office__clock { position: absolute; top: 16px; right: 20px; }
.office__clock-face { width: 28px; height: 28px; border: 2px solid #2a3560; border-radius: 50%; background: #0f1226; position: relative; }
.office__clock-hand { position: absolute; bottom: 50%; left: 50%; transform-origin: bottom center; background: #7b96ff; border-radius: 1px; }
.office__clock-hand--h { width: 2px; height: 7px; margin-left: -1px; transform: rotate(30deg); }
.office__clock-hand--m { width: 1.5px; height: 9px; margin-left: -0.75px; transform: rotate(120deg); animation: clock-tick 60s linear infinite; }
.office__poster { position: absolute; top: 16px; right: 60px; font: 700 0.35rem/1.3 var(--font-b); color: #7b96ff; text-align: center; background: rgba(123,150,255,0.06); border: 1px solid rgba(123,150,255,0.15); padding: 4px 6px; border-radius: 3px; transform: rotate(-3deg); }
.office__lamp { position: absolute; bottom: 40px; left: 130px; z-index: 1; }
.office__lamp-head { width: 24px; height: 10px; background: #3a3a5a; border-radius: 4px 4px 0 0; clip-path: polygon(15% 0, 85% 0, 100% 100%, 0 100%); }
.office__lamp-pole { width: 3px; height: 30px; background: #3a3a5a; margin: 0 auto; }
.office__lamp-base { width: 18px; height: 4px; background: #3a3a5a; border-radius: 2px; margin: 0 auto; }
.office__lamp-light { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 40px; height: 50px; background: radial-gradient(ellipse at top, rgba(255,209,102,0.12) 0%, transparent 70%); pointer-events: none; }
.office__trash { position: absolute; bottom: 40px; right: 40px; z-index: 1; }
.office__trash-body { width: 16px; height: 18px; background: #2a2540; border: 1px solid #3a3560; border-radius: 0 0 3px 3px; clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%); }
.office__cable { position: absolute; bottom: 36px; left: 155px; width: 40px; height: 8px; border-bottom: 2px solid #2a2540; border-radius: 0 0 50% 50%; }
@keyframes cloud-drift { 0% { transform: translateX(0); } 100% { transform: translateX(30px); } }
@keyframes leaf-sway { 0%, 100% { transform: rotate(-20deg); } 50% { transform: rotate(-10deg); } }
@keyframes clock-tick { 0% { transform: rotate(120deg); } 100% { transform: rotate(480deg); } }

.gui-app { background: #0a0a0a; padding: 16px; font-family: Helvetica, Arial, sans-serif; min-height: 520px; }
.gui-header { margin-bottom: 16px; }
.gui-header__title { font: 700 1.5rem Helvetica, Arial, sans-serif; color: #3b82f6; }
.gui-header__sub { font: 400 0.72rem Helvetica, Arial, sans-serif; color: #737373; margin-top: 4px; }
.gui-progress { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.gui-progress__label { font: 700 0.68rem Helvetica, Arial, sans-serif; color: #60a5fa; white-space: nowrap; }
.gui-progress__bar { flex: 1; height: 5px; background: #1a1a1a; border-radius: 3px; overflow: hidden; }
.gui-progress__fill { height: 100%; background: #3b82f6; border-radius: 3px; transition: width 0.6s ease; }
.gui-card { background: #141414; border: 1px solid #262626; border-radius: 8px; margin-bottom: 10px; overflow: hidden; }
.gui-card__head { display: flex; align-items: center; gap: 10px; padding: 10px 14px 6px; }
.gui-card__accent { width: 3px; height: 16px; border-radius: 2px; flex: none; }
.gui-card__title { font: 700 0.72rem Helvetica, Arial, sans-serif; color: #fafafa; }
.gui-card__sub { font: 400 0.6rem Helvetica, Arial, sans-serif; color: #737373; }
.gui-card__body { padding: 0 14px 12px; }
.gui-input { background: #0f0f0f; border: 1px solid #262626; border-radius: 6px; padding: 8px 10px; font: 400 0.68rem Helvetica, Arial, sans-serif; color: #fafafa; margin-bottom: 8px; }
.gui-btn-row { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.gui-btn { display: inline-flex; align-items: center; justify-content: center; padding: 7px 14px; border-radius: 6px; font: 700 0.65rem Helvetica, Arial, sans-serif; cursor: default; }
.gui-btn--sm { background: #262626; color: #fafafa; font-weight: 400; font-size: 0.6rem; padding: 5px 10px; }
.gui-btn--dark { background: #1a1a1a; border: 1px solid #262626; color: #fafafa; flex: 1; }
.gui-btn--primary { background: #3b82f6; color: #fff; width: 100%; padding: 12px; font-size: 0.78rem; border-radius: 8px; margin-bottom: 8px; }
.gui-count { font: 400 0.58rem Helvetica, Arial, sans-serif; color: #737373; margin-left: auto; }
.gui-settings { display: flex; gap: 12px; flex-wrap: wrap; }
.gui-setting { font: 400 0.62rem Helvetica, Arial, sans-serif; color: #737373; }
.gui-setting strong { color: #fafafa; font-weight: 600; }
.gui-agent { position: relative; height: 70px; background: #0f0f0f; border: 1px solid #1a1a1a; border-radius: 6px; margin-bottom: 8px; overflow: hidden; }
.gui-agent__robot { position: absolute; bottom: 8px; left: 20px; width: 24px; height: 44px; }
.gui-agent__antenna { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); width: 2px; height: 8px; background: #3b82f6; }
.gui-agent__antenna::after { content: ""; position: absolute; top: -4px; left: 50%; transform: translateX(-50%); width: 5px; height: 5px; border-radius: 50%; background: #3b82f6; }
.gui-agent__head { width: 20px; height: 16px; background: #1a1a2e; border: 1.5px solid #3b82f6; border-radius: 4px; display: flex; align-items: center; justify-content: center; gap: 5px; margin: 0 auto; }
.gui-agent__eye { width: 4px; height: 4px; border-radius: 50%; background: #3b82f6; }
.gui-agent__body { width: 16px; height: 18px; background: #1a1a2e; border: 1.5px solid #3b82f6; border-radius: 3px; margin: 2px auto 0; }
.gui-agent__desk { position: absolute; bottom: 8px; left: 70px; }
.gui-agent__monitor { width: 56px; height: 36px; background: #0a0a0a; border: 1.5px solid #262626; border-radius: 4px; display: flex; align-items: center; justify-content: center; font: 700 0.5rem Helvetica, Arial, sans-serif; color: #3b82f6; }
.gui-agent__table { width: 70px; height: 4px; background: #262626; border-radius: 2px; }
.gui-agent__led { position: absolute; top: 4px; right: -6px; width: 5px; height: 5px; border-radius: 50%; background: #3b82f6; }
.gui-agent__led.is-on { background: #22c55e; box-shadow: 0 0 4px #22c55e; }
.gui-agent__cat { position: absolute; bottom: 6px; right: 20px; width: 20px; height: 14px; }
.gui-agent__cat-body { position: absolute; bottom: 0; left: 0; width: 16px; height: 10px; background: #1e1e3a; border: 1px solid #3a3a5a; border-radius: 8px; }
.gui-agent__cat-head { position: absolute; bottom: 4px; right: 0; width: 10px; height: 9px; background: #1e1e3a; border: 1px solid #3a3a5a; border-radius: 50%; }
.gui-terminal { background: #0a0a0a; border: 1px solid #1a1a1a; border-radius: 6px; padding: 8px 10px; font: 400 0.58rem/1.6 monospace; color: #22c55e; min-height: 60px; max-height: 80px; overflow: hidden; margin-bottom: 8px; }
.gui-terminal__line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gui-terminal__line:nth-child(odd) { color: #3b82f6; }
.gui-sysstats { display: flex; gap: 10px; flex-wrap: wrap; }
.gui-sysstat { display: flex; align-items: center; gap: 5px; font: 600 0.55rem Helvetica, Arial, sans-serif; color: #737373; }
.gui-sysstat__bar { width: 50px; height: 4px; background: #1a1a1a; border-radius: 2px; overflow: hidden; }
.gui-sysstat__bar > div { height: 100%; background: #3b82f6; border-radius: 2px; transition: width 0.6s ease; }
.gui-sysstat__bar--disk > div { background: #a855f7; }
.gui-actions { margin-top: 4px; }
.gui-agent.is-working .gui-agent__eye { background: #22c55e; box-shadow: 0 0 4px #22c55e; }
.gui-agent.is-working .gui-agent__antenna::after { background: #22c55e; }
.gui-agent.is-working .gui-agent__head, .gui-agent.is-working .gui-agent__body { border-color: #22c55e; }
.gui-agent.is-working .gui-agent__monitor { border-color: #22c55e; color: #22c55e; }
.gui-agent.is-done .gui-agent__eye { background: #22c55e; box-shadow: 0 0 6px #22c55e; }
.gui-agent.is-done .gui-agent__head, .gui-agent.is-done .gui-agent__body { border-color: #22c55e; }
.gui-agent.is-done .gui-agent__monitor { border-color: #22c55e; color: #22c55e; }

.robot-stats { position: absolute; top: 12px; left: 16px; display: flex; flex-direction: column; gap: 6px; z-index: 3; }
.robot-stat { display: flex; align-items: center; gap: 8px; }
.robot-stat__label { font: 700 0.6rem/1 var(--font-b); color: var(--muted); width: 32px; letter-spacing: 0.05em; }
.robot-stat__bar { width: 70px; height: 6px; background: rgba(255,255,255,0.06); border-radius: 3px; overflow: hidden; }
.robot-stat__fill { height: 100%; background: var(--purple); border-radius: 3px; transition: width 0.8s ease; }
.robot-stat__fill--disk { background: var(--purple-light); }
.robot-stat__val { font: 600 0.6rem/1 var(--font-b); color: var(--text); width: 30px; }
.robot-log {
  position: absolute; top: 12px; right: 16px; width: 200px; height: 80px;
  background: rgba(0,0,0,0.5); border: 1px solid var(--line);
  border-radius: 8px; padding: 8px 10px;
  font: 500 0.6rem/1.6 var(--font-b); color: #22c55e;
  overflow: hidden; z-index: 3; backdrop-filter: blur(4px);
}
.robot-log__line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.robot-log__line:nth-child(odd) { color: var(--purple); }

.device-flow { display: grid; gap: 32px; margin-top: 40px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .device-flow { grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: start; } }
.device-col { display: flex; flex-direction: column; align-items: center; }
.device-label {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
  padding: 8px 20px; background: var(--surface2);
  border: 1px solid rgba(123,150,255,0.2); border-radius: 100px;
  font-size: 0.95rem;
}
.device-label__icon { font-size: 1.2rem; }
.device-label__text { color: var(--muted); }
.device-label__text strong { color: var(--text); }
.device-frame--pc {
  width: 100%; max-width: 560px; background: #1a1a2e;
  border: 2px solid var(--line); border-radius: 12px 12px 0 0;
  overflow: hidden; box-shadow: 0 12px 48px rgba(0,0,0,0.4);
}
.device-frame--pc .device-frame__bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; background: #12121f;
  border-bottom: 1px solid var(--line);
}
.device-frame__dot { width: 10px; height: 10px; border-radius: 50%; }
.device-frame__dot--r { background: #ff5f57; }
.device-frame__dot--y { background: #ffbd2e; }
.device-frame__dot--g { background: #28c840; }
.device-frame__title { margin-left: auto; margin-right: auto; font-size: 0.75rem; color: var(--muted); font-weight: 500; }
.device-frame--pc .device-frame__screen { background: var(--bg); padding: 0; }
.device-stand { width: 60px; height: 24px; background: linear-gradient(180deg, var(--line), #1a1a2e); clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%); }
.device-stand__base { width: 120px; height: 6px; background: var(--line); border-radius: 0 0 6px 6px; }
.device-frame--phone {
  width: min(280px, 100%); background: #1a1a2e;
  border: 3px solid #333; border-radius: 36px;
  overflow: hidden; box-shadow: 0 12px 48px rgba(0,0,0,0.5);
  position: relative;
}
.device-frame__notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 100px; height: 22px; background: #1a1a2e;
  border-radius: 0 0 14px 14px; z-index: 5;
}
.device-frame--phone .device-frame__screen { background: #0e1621; padding-top: 28px; min-height: 520px; }
.device-frame__home { width: 100px; height: 4px; background: #555; border-radius: 4px; margin: 8px auto; }
.device-arrow { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 20px 0; }
@media (max-width: 899px) {
  .device-arrow { flex-direction: row; gap: 12px; padding: 0; }
  .device-arrow__line { width: 40px !important; height: 2px !important; }
}
.device-arrow__line { width: 2px; height: 40px; background: linear-gradient(180deg, var(--purple), var(--purple-light)); }
.device-arrow__label { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.device-arrow__icon { font-size: 1.5rem; animation: arrow-pulse 2s ease-in-out infinite; }
@keyframes arrow-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(1.1); } }
.device-caption { margin-top: 16px; font-size: 0.88rem; color: var(--muted); text-align: center; max-width: 380px; line-height: 1.5; }

.robot-stage { margin-top: 0; max-width: 100%; background: var(--surface); border: none; border-radius: 0; overflow: hidden; box-shadow: none; }
.robot-stage__header { display: flex; align-items: center; gap: 10px; padding: 14px 20px; background: var(--surface2); border-bottom: 1px solid var(--line); font-weight: 600; font-size: 0.9rem; }
.robot-stage__status { margin-left: auto; font-size: 0.78rem; color: var(--purple-light); font-weight: 500; }
.robot-stage__scene { position: relative; height: 200px; background: linear-gradient(180deg, #0a0d1a 0%, #11142a 100%); overflow: hidden; }
.robot { position: absolute; bottom: 30px; left: 60px; width: 40px; height: 70px; animation: robot-idle 2s ease-in-out infinite; z-index: 4; }
.robot__antenna { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); width: 3px; height: 12px; background: var(--purple); }
.robot__antenna::after { content: ""; position: absolute; top: -5px; left: 50%; transform: translateX(-50%); width: 7px; height: 7px; border-radius: 50%; background: var(--purple); animation: antenna-blink 1.5s ease-in-out infinite; }
.robot__head { position: absolute; top: 0; left: 5px; width: 30px; height: 24px; background: #1a1f3a; border: 2px solid var(--purple); border-radius: 6px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.robot__eye { width: 6px; height: 6px; border-radius: 50%; background: var(--purple); animation: eye-blink 3s ease-in-out infinite; }
.robot__mouth { position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); width: 12px; height: 2px; background: var(--purple); border-radius: 1px; }
.robot__body { position: absolute; top: 26px; left: 8px; width: 24px; height: 28px; background: #1a1f3a; border: 2px solid var(--purple); border-radius: 4px; }
.robot__arm { position: absolute; top: 30px; width: 4px; height: 18px; background: var(--purple); border-radius: 2px; }
.robot__arm--l { left: 2px; transform-origin: top center; animation: arm-wave 2s ease-in-out infinite; }
.robot__arm--r { right: 2px; transform-origin: top center; animation: arm-wave 2s ease-in-out infinite 1s; }
.robot__leg { position: absolute; bottom: 0; width: 5px; height: 16px; background: var(--purple); border-radius: 2px; }
.robot__leg--l { left: 10px; }
.robot__leg--r { right: 10px; }
.robot.is-working { animation: robot-walk 0.6s ease-in-out infinite; }
.robot.is-working .robot__eye { background: #22c55e; box-shadow: 0 0 6px #22c55e; }
.robot.is-working .robot__antenna::after { background: #22c55e; box-shadow: 0 0 6px #22c55e; }
.robot.is-working .robot__mouth { background: #22c55e; }
.robot.is-working .robot__head, .robot.is-working .robot__body { border-color: #22c55e; }
.robot.is-working .robot__arm--l { animation: arm-type 0.3s ease-in-out infinite; }
.robot.is-working .robot__arm--r { animation: arm-type 0.3s ease-in-out infinite 0.15s; }
.robot.is-done .robot__eye { background: #22c55e; box-shadow: 0 0 8px #22c55e; }
.robot.is-done .robot__mouth { width: 16px; height: 4px; border-radius: 0 0 8px 8px; background: #22c55e; }
.robot.is-done .robot__head, .robot.is-done .robot__body { border-color: #22c55e; }
.robot.is-done .robot__arm--l { animation: arm-celebrate 0.5s ease-in-out infinite; }
.robot.is-done .robot__arm--r { animation: arm-celebrate 0.5s ease-in-out infinite 0.25s; }
.robot-desk { position: absolute; bottom: 30px; left: 140px; z-index: 3; }
.robot-desk__monitor { width: 80px; height: 55px; background: #0a0d1a; border: 2px solid var(--line); border-radius: 6px; display: flex; align-items: center; justify-content: center; margin-bottom: 2px; }
.robot-desk__screen { font: 700 0.6rem/1 var(--font-b); color: var(--purple-light); text-align: center; padding: 4px; letter-spacing: 0.05em; }
.robot-desk__table { width: 100px; height: 6px; background: var(--line); border-radius: 2px; }
.robot-desk__led { position: absolute; top: 8px; right: -8px; width: 6px; height: 6px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 6px var(--purple); transition: all 0.3s ease; }
.robot-desk__led.is-on { background: #22c55e; box-shadow: 0 0 8px #22c55e; animation: led-pulse 1s ease-in-out infinite; }
.robot-cat { position: absolute; bottom: 20px; right: 60px; width: 30px; height: 20px; animation: cat-sleep 4s ease-in-out infinite; z-index: 4; }
.robot-cat__body { position: absolute; bottom: 0; left: 0; width: 24px; height: 14px; background: #2a2a4a; border: 1.5px solid #4a4a6a; border-radius: 10px; }
.robot-cat__head { position: absolute; bottom: 6px; right: 0; width: 14px; height: 12px; background: #2a2a4a; border: 1.5px solid #4a4a6a; border-radius: 50%; }
.robot-cat__ear { position: absolute; top: -4px; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-bottom: 6px solid #3a3a5a; }
.robot-cat__ear--l { right: 6px; }
.robot-cat__ear--r { right: 1px; }
.robot-cat__eye { position: absolute; top: 4px; width: 3px; height: 3px; border-radius: 50%; background: #00ff88; }
.robot-cat__eye--l { right: 6px; }
.robot-cat__eye--r { right: 2px; }
.robot-cat__tail { position: absolute; bottom: 4px; left: -8px; width: 12px; height: 4px; border: 1.5px solid #4a4a6a; border-radius: 4px 0 0 4px; border-right: none; transform-origin: right center; animation: tail-wag 3s ease-in-out infinite; }
.robot-cat.is-playing { animation: cat-play 0.5s ease-in-out infinite; }
.robot-cat.is-playing .robot-cat__eye { background: #ffd166; box-shadow: 0 0 4px #ffd166; }
.robot-cat.is-happy { animation: cat-happy 0.4s ease-in-out infinite; }
.robot-cat.is-happy .robot-cat__eye { background: #ff6b9d; }
.robot-stage__steps { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 20px; border-top: 1px solid var(--line); }
.robot-step { padding: 5px 12px; border: 1px solid var(--line); border-radius: 20px; font-size: 0.75rem; color: var(--muted); transition: all 0.3s ease; }
.robot-step.is-active { border-color: var(--purple); background: rgba(123, 150, 255, 0.1); color: var(--text); }
.robot-step.is-done { border-color: #22c55e; background: rgba(34, 197, 94, 0.1); color: #22c55e; }

.tg-demo { margin-top: 0; max-width: 100%; background: #172134; border-radius: 0; overflow: hidden; box-shadow: none; border: none; }
.tg-demo__header { display: flex; align-items: center; gap: 12px; padding: 36px 18px 14px; background: #1e2a3e; }
.tg-demo__avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--purple), var(--purple-light)); display: flex; align-items: center; justify-content: center; font: 700 1.1rem var(--font-d); color: #0f1226; }
.tg-demo__name { font-weight: 600; font-size: 0.95rem; color: #fff; }
.tg-demo__online { font-size: 0.75rem; color: #6ab7ff; }
.tg-demo__body { padding: 16px; display: flex; flex-direction: column; gap: 12px; max-height: 460px; overflow-y: auto; background: #0e1621; min-height: 400px; }
.tg-demo__msg { max-width: 88%; padding: 10px 14px; border-radius: 14px; font-size: 0.85rem; line-height: 1.5; }
.tg-demo__msg p { margin: 0; color: #fff; }
.tg-demo__msg--bot { align-self: flex-start; background: #182533; border-bottom-left-radius: 4px; }
.tg-demo__msg--user { align-self: flex-end; background: #2b5278; border-bottom-right-radius: 4px; }
.tg-demo__time { display: block; font-size: 0.68rem; color: rgba(255,255,255,0.4); margin-top: 4px; text-align: right; }
.tg-demo__keyboard { margin-top: 8px; display: flex; flex-direction: column; gap: 4px; }
.tg-demo__krow { display: flex; gap: 4px; }
.tg-demo__kbtn { flex: 1; background: #2b5278; color: #6ab7ff; padding: 8px 10px; border-radius: 8px; font-size: 0.78rem; text-align: center; cursor: default; transition: background 0.2s ease; }
.tg-demo__kbtn:hover { background: #3a6a9a; }
.tg-demo__inline { margin-top: 8px; display: flex; flex-direction: column; gap: 4px; }
.tg-demo__inline-row { display: flex; gap: 4px; }
.tg-demo__ibtn { flex: 1; background: transparent; border: 1px solid #2b5278; color: #6ab7ff; padding: 7px 10px; border-radius: 8px; font-size: 0.78rem; text-align: center; cursor: default; transition: all 0.2s ease; }
.tg-demo__ibtn:hover { background: rgba(106, 183, 255, 0.1); }
.tg-demo__video { background: #0a0d1a; border: 1px solid #2b5278; border-radius: 10px; padding: 20px; text-align: center; font-size: 0.8rem; color: #6ab7ff; }
.tg-demo__input { display: flex; align-items: center; padding: 12px 16px; background: #172134; border-top: 1px solid #1e2a3e; }
.tg-demo__input span { flex: 1; color: rgba(255,255,255,0.35); font-size: 0.9rem; }
.tg-demo__send { width: 36px; height: 36px; border-radius: 50%; background: var(--purple); color: #0f1226; display: flex; align-items: center; justify-content: center; font-size: 1rem; cursor: default; }

@keyframes robot-idle { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes robot-walk { 0%, 100% { transform: translateY(0) translateX(0); } 25% { transform: translateY(-2px) translateX(2px); } 75% { transform: translateY(-2px) translateX(-2px); } }
@keyframes antenna-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes eye-blink { 0%, 90%, 100% { transform: scaleY(1); } 95% { transform: scaleY(0.1); } }
@keyframes arm-wave { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-15deg); } }
@keyframes arm-type { 0%, 100% { transform: rotate(-20deg); } 50% { transform: rotate(-40deg); } }
@keyframes arm-celebrate { 0%, 100% { transform: rotate(-30deg); } 50% { transform: rotate(-60deg); } }
@keyframes led-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes cat-sleep { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.05); } }
@keyframes cat-play { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes cat-happy { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-3px) rotate(3deg); } }
@keyframes tail-wag { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-15deg); } }
@media (prefers-reduced-motion: reduce) {
  .robot, .robot__antenna::after, .robot__eye, .robot__arm--l, .robot__arm--r,
  .robot-cat, .robot-cat__tail, .robot-desk__led { animation: none !important; }
}
