/* ============ Fonts (local) ============ */
@font-face {
  font-family: "Archivo Narrow";
  src: url("assets/fonts/archivo-narrow-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-garamond-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

/* ============ Tokens ============ */
:root {
  --navy: #020a12;
  --ivory: #f3eee5;
  --cyan: #3cdae5;
  --ink-soft: #4b5a63;
  --sans: "Archivo Narrow", "Arial Narrow", system-ui, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 64px);
}

/* ============ Base ============ */
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
html.motion-enabled { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, picture { max-width: 100%; height: auto; }
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

[id] { scroll-margin-top: 96px; }

h1, h2, h3, h4 { margin: 0; line-height: 1.08; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

/* ============ Buttons ============ */
.button {
  display: inline-flex; align-items: center; gap: .5em;
  min-height: 48px; padding: 12px 28px;
  font-family: var(--sans); font-size: 17px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent; border-radius: 4px;
  background: none; color: inherit;
  transition: background-color .25s, color .25s, border-color .25s;
}
.button-small { min-height: 44px; padding: 8px 18px; font-size: 15px; }
.button-accent { background: var(--cyan); color: var(--navy); border-color: var(--cyan); }
.button-accent:hover { background: #66e7ef; }
.button-outline { border-color: rgba(243,238,229,.55); color: var(--ivory); }
.button-outline:hover { border-color: var(--cyan); color: var(--cyan); }
.section-ivory .button-outline, .site-footer .button-outline { color: var(--ivory); }
.button-ghost { color: var(--ivory); border-color: rgba(243,238,229,.25); }
.button-ghost:hover { border-color: rgba(243,238,229,.6); }

/* ============ Header / Nav ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(2,10,18,.88);
  border-bottom: 1px solid rgba(60,218,229,.18);
  backdrop-filter: blur(6px);
}
.nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 40px); min-height: 68px; flex-wrap: wrap; padding-block: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { color: var(--cyan); }
.brand-word { font-size: 22px; letter-spacing: .04em; color: var(--ivory); }
.nav-links { display: flex; gap: clamp(14px, 3vw, 36px); flex-wrap: wrap; margin-left: auto; }
.nav-links a {
  font-size: 17px; text-decoration: none; color: rgba(243,238,229,.85);
  padding: 8px 2px; display: inline-flex; min-height: 44px; align-items: center;
  transition: color .2s;
}
.nav-links a:hover { color: var(--cyan); }

/* ============ Sections ============ */
.section { position: relative; overflow: clip; padding-block: clamp(72px, 9vw, 140px); }
.section-ivory { background: var(--ivory); color: #1d262e; }
.section-dark { background: var(--navy); color: var(--ivory); }

/* Copy sempre sopra i ribbon */
.section > .container { position: relative; z-index: 2; }

.eyebrow {
  font-size: 15px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--cyan); font-weight: 600; margin-bottom: 20px;
}
.eyebrow-dark { color: #0f6d77; }
.headline {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(40px, 6.2vw, 92px);
  letter-spacing: .01em;
}
.body-copy { font-size: 17px; line-height: 1.65; color: rgba(29,38,46,.85); max-width: 34em; margin-top: 22px; }
.section-dark .body-copy { color: rgba(243,238,229,.82); }
.serif-italic { font-family: var(--serif); font-style: italic; }
.accent { color: var(--cyan); }
.section-head { max-width: 900px; margin-bottom: clamp(48px, 6vw, 88px); }
.subhead { font-size: 17px; color: #4b5a63; margin-top: 18px; }

/* ============ Hero ============ */
.hero { padding-block: clamp(48px, 6vw, 96px) 0; min-height: 78vh; display: flex; align-items: stretch; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 45%) minmax(0, 55%);
  align-items: center; gap: 0; width: 100%; position: relative; z-index: 2;
}
.hero-copy { padding-block: 24px 80px; }
.hero-title {
  font-family: var(--sans); font-weight: 400;
  font-size: clamp(56px, 7.8vw, 112px);
  line-height: .98; letter-spacing: -.015em; text-transform: none;
  margin: 0 0 28px; max-width: 100%;
}
.hero-title .line { display: block; }
.hero-title .serif-italic { font-weight: 500; font-size: 1.06em; letter-spacing: 0; }
.hero-lede { font-size: 17px; color: rgba(243,238,229,.85); max-width: 30em; margin-bottom: 32px; }
.hero-usp { color: #ffffff; font-weight: 700; text-shadow: 0 0 16px rgba(60,218,229,.2); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-meta { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: rgba(243,238,229,.55); }
.hero-meta-dark { color: #4a6a70; margin-top: 30px; }
.hero-art { margin: 0; align-self: center; position: relative; }
.hero-art img,
.hero-art video { display: block; width: 100%; height: auto; }
.hero-sculpture-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}
.hero-art::after { /* soft fade into navy to hide rectangle edge */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to right, var(--navy) 0%, transparent 18%),
    linear-gradient(to bottom, transparent 78%, var(--navy) 100%);
}

/* --- Hero: moto lento elegante, indipendente dal parent parallasse --- */
.hero-art picture,
.hero-art video { display: block; position: relative; transform-origin: 50% 60%; }
.hero-art picture::after { /* filamenti ripple davanti all'arte */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(100deg,
    transparent 0 46px, rgba(60,218,229,.06) 46px 47px, transparent 47px 92px);
  animation: ripple-filaments 12s ease-in-out infinite;
  animation-play-state: paused;
}
.hero-art picture,
.hero-art video {
  animation: art-float 12s ease-in-out infinite;
  animation-play-state: paused;
}
.global-particle-canvas,
.hero-particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 12;
}
html.motion-enabled .is-visible .hero-art picture,
html.motion-enabled .is-visible .hero-art video,
html.motion-enabled .is-visible .hero-art picture::after { animation-play-state: running; }
@keyframes art-float {
  0%, 100% { transform: rotate(-0.5deg) translate(0, 0); }
  50% { transform: rotate(0.5deg) translate(3px, -3px); }
}
@keyframes ripple-filaments {
  0%, 100% { opacity: .4; transform: translateX(0); }
  50% { opacity: .8; transform: translateX(6px); }
}

/* ============ Ribbon (dietro la copia; z-index esplicito) ============ */
.ribbon { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.ribbon-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ribbon-hero { top: 55%; height: 45%; }
.ribbon-cycle { top: 0; height: 30%; }
.ribbon-control { top: 70%; height: 30%; }
.ribbon-research { top: 70%; height: 30%; }
.ribbon-computer { top: 0; height: 30%; }
.ribbon-results { top: 5%; height: 90%; }
.ribbon-pricing { top: 65%; height: 35%; }
/* ribbon decorativo davanti, solo sulla colonna arte della sezione research */
.research .ribbon { z-index: 3; left: 46%; }
.bead { filter: drop-shadow(0 0 4px rgba(60,218,229,.8)); }

/* ============ Cycle Redesign ============ */
.cycle-flow-container {
  position: relative;
  padding-bottom: clamp(30px, 5vw, 60px);
  margin-top: clamp(20px, 3.5vw, 44px);
}

.cycle-circuit-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.cycle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cycle-col {
  position: relative;
  padding: 0 clamp(6px, 1.8vw, 24px) clamp(16px, 2.5vw, 28px);
  border-right: 1px solid rgba(2, 10, 18, 0.08);
}
.cycle-col:last-child {
  border-right: none;
}

.cycle-num {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: clamp(11px, 1.2vw, 15px);
  font-weight: 600;
  color: #0f6d77;
  margin: 0 0 clamp(8px, 1.2vw, 16px);
}

.cycle-icon-box {
  width: clamp(40px, 5.2vw, 60px);
  height: clamp(40px, 5.2vw, 60px);
  margin: 0 0 clamp(10px, 1.6vw, 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #f3eee5;
  z-index: 3;
}
.cycle-icon-box svg {
  width: 100%;
  height: 100%;
  display: block;
}

.cycle-title {
  font-family: var(--serif);
  font-size: clamp(15px, 2.4vw, 28px);
  font-weight: 600;
  color: #16232b;
  margin: 0 0 clamp(4px, 0.8vw, 8px);
  line-height: 1.15;
}

.cycle-desc {
  font-size: clamp(10px, 1.35vw, 15px);
  line-height: 1.4;
  color: #4b5a63;
  margin: 0;
}

/* Icon Animations (pulse on core, shimmer on particles, rotate on cycle) */
.cycle-sparkle {
  transform-origin: center;
  animation: sparkle-pulse 3s ease-in-out infinite;
}
.cycle-sparkle.s2 { animation-delay: 0.6s; }
.cycle-sparkle.s3 { animation-delay: 1.2s; }
.cycle-sparkle.s4 { animation-delay: 1.8s; }
@keyframes sparkle-pulse {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.2); }
}

.cycle-radar-pulse {
  transform-origin: 32px 32px;
  animation: radar-expand 3.5s cubic-bezier(0.1, 0.7, 0.1, 1) infinite;
}
@keyframes radar-expand {
  0% { r: 12px; opacity: 0.9; stroke-width: 2px; }
  60% { opacity: 0.25; }
  100% { r: 28px; opacity: 0; stroke-width: 0.4px; }
}

.cycle-dial-arrow {
  transform-origin: 32px 32px;
  animation: dial-pulse 4s ease-in-out infinite;
}
@keyframes dial-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08) translate(1px, -1px); }
}

.cycle-rotator {
  transform-origin: 32px 32px;
  animation: rotate-cycle 14s linear infinite;
}
@keyframes rotate-cycle {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ============ Control ============ */
.control-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
.panel {
  border: 1px solid rgba(60,218,229,.35); border-radius: 8px;
  background: rgba(10,28,42,.55); backdrop-filter: blur(4px);
  padding: clamp(24px, 3vw, 44px);
}
.panel-title { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 2.6vw, 40px); margin-bottom: 26px; }
.panel-rows { display: grid; }
.panel-row {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 20px 4px; border-top: 1px solid rgba(60,218,229,.22);
  color: var(--cyan);
}
.panel-row:last-child { border-bottom: 1px solid rgba(60,218,229,.22); }
.panel-row h4 { font-size: 20px; color: var(--ivory); margin-bottom: 4px; }
.row-desc { font-size: 17px; color: rgba(243,238,229,.75); }
.row-icon { flex: 0 0 auto; margin-top: 2px; }
.panel-note { font-size: 14px; color: rgba(243,238,229,.72); margin-top: 22px; }

/* ============ Research ============ */
.research-grid {
  display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 54%);
  gap: clamp(36px, 5vw, 80px); align-items: center; position: relative; z-index: 2;
}
.research-art { margin: 0; position: relative; }
.research-art img,
.research-art video { display: block; width: 100%; height: auto; border-radius: 6px; }
.research-art::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: 6px;
  background: linear-gradient(to bottom, transparent 82%, var(--ivory) 100%),
              linear-gradient(to right, var(--ivory) 0%, transparent 12%);
}
.art-caption { font-size: 14px; color: #5c666d; margin-top: 12px; }
.source a { color: #0f6d77; text-underline-offset: 3px; }
.source a:hover { color: #093f47; }

/* ============ Computer ============ */
.computer-grid {
  display: grid; grid-template-columns: minmax(0, 54%) minmax(0, 46%);
  gap: clamp(36px, 5vw, 80px); align-items: center; position: relative; z-index: 2;
}
.computer-art { margin: 0; position: relative; }
.computer-art img { display: block; width: 100%; }
.computer-art::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to right, var(--navy) 0%, transparent 14%),
              linear-gradient(to bottom, transparent 80%, var(--navy) 100%);
}
.computer-final { font-size: clamp(24px, 2.4vw, 34px); margin-top: 26px; }
.computer-copy .disclaimer { font-size: 14px; color: rgba(243,238,229,.72); margin-top: 26px; }

/* ============ Comparison / Unified Schema ============ */
.comparison { position: relative; }
.text-center-head { max-width: 820px; margin-inline: auto; text-align: center; margin-bottom: clamp(36px, 5vw, 56px); }
.subhead-dark { color: rgba(243,238,229,.78); }

/* Evolution Stepper */
.evolution-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 22px);
  margin-bottom: clamp(36px, 5vw, 64px);
  padding: 12px 24px;
  background: rgba(10, 24, 38, 0.65);
  border: 1px solid rgba(60, 218, 229, 0.25);
  border-radius: 40px;
  width: fit-content;
  margin-inline: auto;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
}

.stepper-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(243, 238, 229, 0.65);
}

.stepper-step .step-num {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  background: rgba(243, 238, 229, 0.1);
  color: rgba(243, 238, 229, 0.8);
}

.stepper-step.step-2 {
  color: rgba(130, 200, 255, 0.9);
}

.stepper-step.step-2 .step-num {
  background: rgba(70, 160, 240, 0.22);
  color: #7dc5ff;
}

.stepper-step.step-3 {
  color: #ffffff;
  font-weight: 700;
}

.stepper-step.step-3 .step-num {
  background: var(--cyan);
  color: var(--navy);
  box-shadow: 0 0 10px rgba(60, 218, 229, 0.7);
}

.stepper-arrow {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(243, 238, 229, 0.45);
}

.stepper-arrow.arrow-accent {
  color: var(--cyan);
  font-weight: 600;
}

.arrow-head {
  font-size: 15px;
}

/* Comparison Grid */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 32px);
  align-items: stretch;
}

.comparison-card {
  position: relative;
  border-radius: 14px;
  padding: clamp(26px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

/* Tier 1: Tradizionale */
.tier-1 {
  background: rgba(8, 20, 30, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.09);
  opacity: 0.88;
}

.tier-1:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
  opacity: 1;
}

/* Tier 2: Algoritmico (Evoluzione) */
.tier-2 {
  background: rgba(10, 28, 44, 0.75);
  border: 1.5px solid rgba(110, 175, 225, 0.32);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.4);
}

.tier-2:hover {
  transform: translateY(-4px);
  border-color: rgba(130, 200, 255, 0.6);
}

/* Tier 3: Wealthly (Il Migliore in Assoluto) */
.tier-3.comparison-card-featured {
  background: linear-gradient(180deg, rgba(14, 46, 76, 0.95) 0%, rgba(6, 20, 34, 0.98) 100%);
  border: 2px solid var(--cyan);
  box-shadow: 0 0 35px rgba(60, 218, 229, 0.25), 0 16px 48px -4px rgba(0, 0, 0, 0.65);
  transform: translateY(-8px);
}

.tier-3.comparison-card-featured:hover {
  transform: translateY(-12px);
  border-color: #7ef2fb;
  box-shadow: 0 0 45px rgba(60, 218, 229, 0.38), 0 20px 56px -4px rgba(0, 0, 0, 0.75);
}

.card-featured-glow {
  position: absolute;
  top: 0; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 16px var(--cyan);
  pointer-events: none;
}

/* Card Header / Badges */
.tier-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tier-badge {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 4px;
}

.badge-neutral {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(243, 238, 229, 0.6);
}

.badge-step {
  background: rgba(70, 160, 240, 0.18);
  color: #82c8ff;
  border: 1px solid rgba(70, 160, 240, 0.32);
}

.badge-accent {
  background: var(--cyan);
  color: var(--navy);
  font-weight: 800;
  box-shadow: 0 0 12px rgba(60, 218, 229, 0.55);
}

.tier-level {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(243, 238, 229, 0.55);
}

.tier-level-better {
  color: #4fe0a5;
  font-weight: 700;
}

.tier-level-best {
  color: var(--cyan);
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.card-title {
  font-family: var(--serif);
  font-size: clamp(28px, 2.4vw, 36px);
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ivory);
}

.comparison-card-featured .card-title {
  color: #ffffff;
  text-shadow: 0 0 20px rgba(60, 218, 229, 0.45);
}

.card-tagline {
  font-size: 14.5px;
  color: rgba(243, 238, 229, 0.72);
  line-height: 1.45;
  margin-bottom: 24px;
  min-height: 42px;
}

.comparison-card-featured .card-tagline {
  color: rgba(243, 238, 229, 0.92);
}

/* Points */
.card-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-grow: 1;
  margin-bottom: 26px;
}

.card-point {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.45;
  color: rgba(243, 238, 229, 0.86);
}

.point-icon {
  flex: 0 0 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  margin-top: 1px;
}

.is-negative .point-icon {
  background: rgba(255, 90, 90, 0.16);
  color: #ff8080;
}

.is-positive-subtle .point-icon {
  background: rgba(70, 200, 150, 0.18);
  color: #4fe0a5;
}

.is-warning .point-icon {
  background: rgba(245, 185, 66, 0.18);
  color: #ffc453;
}

.is-hero-point .point-icon {
  background: var(--cyan);
  color: var(--navy);
  box-shadow: 0 0 10px rgba(60, 218, 229, 0.6);
}

.is-hero-point strong {
  color: #ffffff;
  font-weight: 700;
}

/* Verdict Box at bottom of each card */
.tier-verdict {
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 13.5px;
  line-height: 1.4;
}

.verdict-tag {
  display: block;
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 2px;
}

.verdict-negative {
  background: rgba(255, 90, 90, 0.08);
  border: 1px solid rgba(255, 90, 90, 0.2);
  color: rgba(255, 150, 150, 0.9);
}

.verdict-negative .verdict-tag {
  color: #ff8080;
}

.verdict-warning {
  background: rgba(245, 185, 66, 0.09);
  border: 1px solid rgba(245, 185, 66, 0.25);
  color: rgba(245, 195, 85, 0.95);
}

.verdict-warning .verdict-tag {
  color: #f5b942;
}

.verdict-hero {
  background: rgba(60, 218, 229, 0.14);
  border: 1.5px solid var(--cyan);
  box-shadow: 0 0 18px rgba(60, 218, 229, 0.25);
  color: #ffffff;
}

.verdict-hero .verdict-tag {
  color: var(--cyan);
}

.verdict-hero p {
  font-weight: 600;
}

/* ============ Results & Evolution Section ============ */
.results-evolution {
  position: relative;
  background: var(--navy);
  color: var(--ivory);
  padding-block: clamp(80px, 10vw, 150px);
}

.results-container {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

/* Modulo 1: Grafico Test */
.results-perf-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.perf-head {
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.perf-title {
  margin-bottom: 20px;
}

.performance-chart-card {
  width: 100%;
  max-width: 980px;
  background: rgba(3, 16, 28, 0.72);
  border: 1px solid rgba(60, 218, 229, 0.18);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: clamp(20px, 3.5vw, 36px) clamp(16px, 3vw, 36px) 28px;
  position: relative;
  overflow: hidden;
}

.performance-chart-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(60, 218, 229, 0.4), transparent);
  pointer-events: none;
}

.chart-card-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.chart-test-badge {
  font-size: 13px;
  color: rgba(243, 238, 229, 0.55);
  letter-spacing: 0.03em;
  font-weight: 500;
}

.chart-svg-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.performance-chart-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.chart-axis-label {
  fill: rgba(243, 238, 229, 0.42);
  font-size: 12px;
  font-family: var(--sans);
  font-weight: 500;
}

.chart-axis-x text {
  fill: rgba(243, 238, 229, 0.45);
  font-size: 11px;
  font-family: var(--sans);
  letter-spacing: 0.02em;
}

/* Curve di disegno progressivo */
.chart-curve {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  transition: stroke-dashoffset 2s cubic-bezier(0.16, 1, 0.3, 1);
}

.chart-area-wealthly {
  opacity: 0;
  transition: opacity 1.5s ease 0.6s;
}

.chart-nodes circle {
  opacity: 0;
  transform-origin: center;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.chart-callout {
  opacity: 0;
  transition: opacity 0.8s ease 0.8s, transform 0.8s ease 0.8s;
  transform: translateY(6px);
}

/* Stato in vista del grafico */
.performance-chart-card.chart-in-view .chart-curve.curve-wealthly {
  stroke-dashoffset: 0;
}

.performance-chart-card.chart-in-view .chart-curve.curve-spy {
  stroke-dashoffset: 0;
  transition-delay: 0.15s;
}

.performance-chart-card.chart-in-view .chart-curve.curve-buyhold {
  stroke-dashoffset: 0;
  transition-delay: 0.3s;
}

.performance-chart-card.chart-in-view .chart-area-wealthly {
  opacity: 1;
}

.performance-chart-card.chart-in-view .chart-nodes circle {
  opacity: 1;
  transform: scale(1);
}

.performance-chart-card.chart-in-view .chart-callout {
  opacity: 1;
  transform: translateY(0);
}

/* Legenda */
.chart-legend-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(14px, 2.5vw, 28px);
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(243, 238, 229, 0.06);
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(243, 238, 229, 0.85);
  font-weight: 500;
}

.legend-dot {
  display: inline-block;
  width: 14px;
  height: 3px;
  border-radius: 2px;
  position: relative;
}

.legend-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: inherit;
}

.legend-dot.dot-teal { background: #0098a8; }
.legend-dot.dot-cyan { background: var(--cyan); box-shadow: 0 0 6px rgba(60, 218, 229, 0.6); }
.legend-dot.dot-gray-dashed {
  background: repeating-linear-gradient(90deg, rgba(243, 238, 229, 0.6) 0 3px, transparent 3px 6px);
}
.legend-dot.dot-gray-dashed::after { display: none; }
.legend-dot.dot-purple { background: #c084fc; }

/* Disclaimer sotto la card */
.chart-disclaimer {
  max-width: 860px;
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.6;
}

.chart-disclaimer-primary {
  color: rgba(243, 238, 229, 0.72);
  margin-bottom: 4px;
}

.chart-disclaimer-secondary {
  color: rgba(243, 238, 229, 0.45);
}

/* Divisore con curva luminosa */
.results-divider {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  margin-block: clamp(48px, 7vw, 92px);
  pointer-events: none;
}

.divider-wave-svg {
  display: block;
  width: 100%;
  height: clamp(24px, 3.5vw, 44px);
  overflow: visible;
}

/* Modulo 2: Onboarding in 3 Step */
.onboarding-flow-block {
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;
  text-align: center;
}

.onboarding-head {
  margin-bottom: clamp(32px, 4.5vw, 56px);
}

.onboarding-title {
  font-size: clamp(36px, 5.5vw, 68px);
}

.onboarding-circuit-wrapper {
  margin-inline: auto;
  width: 100%;
}

.onboarding-steps-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.8vw, 24px);
}

.onboarding-step-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(3, 16, 28, 0.6);
  border: 1px solid rgba(60, 218, 229, 0.2);
  border-radius: 9999px;
  padding: 8px 24px 8px 10px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.onboarding-step-card:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 16px rgba(60, 218, 229, 0.2);
  transform: translateY(-2px);
}

.step-icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--cyan);
  background: rgba(2, 10, 18, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  box-shadow: 0 0 10px rgba(60, 218, 229, 0.25);
}

.step-info {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.step-badge-num {
  font-size: 17px;
  font-weight: 700;
  color: var(--cyan);
  font-family: var(--sans);
}

.step-label-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--ivory);
  white-space: nowrap;
}

.circuit-connector-line {
  flex: 1;
  min-width: 32px;
  max-width: 80px;
  height: 2px;
  position: relative;
}

.circuit-line-track {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(60, 218, 229, 0.4), rgba(60, 218, 229, 0.15));
  border-radius: 2px;
}

.circuit-pulse-bead {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: connector-bead 3.5s ease-in-out infinite;
}

.circuit-pulse-bead.bead-delayed {
  animation-delay: 1.75s;
}

@keyframes connector-bead {
  0% { left: 0; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.onboarding-subtext {
  margin-top: 28px;
  font-size: 14px;
  color: rgba(243, 238, 229, 0.55);
}

/* Modulo 3: Il Prossimo Capitolo In Sviluppo */
.future-evolution-block {
  width: 100%;
}

.future-grid {
  display: grid;
  grid-template-columns: minmax(0, 58%) minmax(0, 42%);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.future-title {
  font-size: clamp(36px, 5.2vw, 76px);
  margin-bottom: 20px;
}

.future-lede {
  margin-top: 0;
  max-width: 36em;
  color: rgba(243, 238, 229, 0.8);
}

.future-pills-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-block: 28px 36px;
}

.status-pill-dev {
  display: inline-flex;
  align-items: center;
  background: rgba(60, 218, 229, 0.12);
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 6px 14px;
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(60, 218, 229, 0.2);
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(243, 238, 229, 0.04);
  border: 1px solid rgba(243, 238, 229, 0.14);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ivory);
  transition: border-color 0.2s, background-color 0.2s, transform 0.2s;
}

.feature-tag:hover {
  border-color: rgba(60, 218, 229, 0.5);
  background: rgba(60, 218, 229, 0.08);
  transform: translateY(-1px);
}

.feature-tag svg {
  color: var(--cyan);
}

.future-cta-wrap {
  display: flex;
}

.future-art-col {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.future-sculpture-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
  max-width: 420px;
}

.future-sculpture-img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.6));
  border-radius: 8px;
  transition: transform 0.4s ease;
}

.future-sculpture-container:hover .future-sculpture-img {
  transform: scale(1.02);
}

.future-art-caption {
  margin-top: 14px;
  font-size: 11px;
  font-family: var(--sans);
  letter-spacing: 0.2em;
  color: rgba(243, 238, 229, 0.45);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.caption-line {
  color: rgba(60, 218, 229, 0.4);
}

/* Supporto per no-motion e prefers-reduced-motion */
html.no-motion .chart-curve,
html.no-motion .chart-area-wealthly,
html.no-motion .chart-nodes circle,
html.no-motion .chart-callout {
  stroke-dashoffset: 0 !important;
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

html.no-motion .circuit-pulse-bead {
  animation: none !important;
  display: none;
}

/* ============ Launch 2026 Section & Dual Cards ============ */
.launch-section {
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.launch-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 52px);
  position: relative;
  z-index: 2;
}

.launch-header {
  max-width: 820px;
}

.launch-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #064e58;
  background: rgba(0,152,168,.12);
  border: 1px solid rgba(0,152,168,.3);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.launch-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0098a8;
  box-shadow: 0 0 10px #0098a8;
  animation: pulse-dot 2s infinite ease-in-out;
}

.brochure-feature-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(20px, 3vw, 32px);
  align-items: center;
  background: linear-gradient(135deg, rgba(2,10,18,.96) 0%, rgba(10,24,36,.95) 100%);
  border: 1px solid rgba(60,218,229,.4);
  border-radius: 18px;
  padding: clamp(24px, 3.5vw, 36px);
  box-shadow: 0 20px 50px rgba(0,0,0,.15), 0 0 30px rgba(60,218,229,.1);
  color: var(--ivory);
}

.brochure-badge-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: rgba(60,218,229,.1);
  border: 1px solid rgba(60,218,229,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--cyan);
  flex-shrink: 0;
}

.brochure-card-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.brochure-card-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan);
  text-transform: uppercase;
}

.brochure-card-title {
  font-family: var(--serif);
  font-size: clamp(20px, 2.5vw, 26px);
  color: var(--ivory);
  margin: 0;
}

.brochure-card-desc {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(243,238,229,.75);
  max-width: 620px;
  margin: 0;
}

.launch-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 36px);
}

.launch-card {
  background: #ffffff;
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 18px;
  padding: clamp(28px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.launch-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(0,0,0,.08);
  border-color: rgba(0,152,168,.4);
}

.launch-card-partner {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-color: rgba(0,152,168,.25);
}

.launch-card-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.launch-card-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0098a8;
}

.launch-card-title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 30px);
  color: #0f172a;
  line-height: 1.25;
  margin: 0;
}

.launch-card-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

.launch-card-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.launch-card-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #334155;
  font-weight: 500;
}

.checklist-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0,152,168,.12);
  color: #0098a8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.launch-card-actions {
  display: flex;
  align-items: center;
}

.launch-card-actions .button {
  width: 100%;
  justify-content: center;
}

.button-partner {
  border-color: #0098a8;
  color: #0098a8;
}

.button-partner:hover {
  background: #0098a8;
  color: #ffffff;
}

/* Legacy aliases */
.pricing-grid { display: flex; flex-direction: column; }
.pricing-buy { display: none; }

/* ============ Rich Trustworthy Footer ============ */
.site-footer {
  background: #01060b;
  border-top: 1px solid rgba(60,218,229,.2);
  padding-top: clamp(48px, 6vw, 72px);
  padding-bottom: 36px;
  color: var(--ivory);
  position: relative;
  z-index: 10;
}

.footer-layout {
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 5vw, 48px);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.2fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
}

@media (max-width: 960px) {
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
  }
  .footer-col-brand {
    grid-column: span 2;
  }
}

@media (max-width: 580px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-col-brand {
    grid-column: span 1;
  }
}

.footer-brand {
  display: inline-block;
  margin-bottom: 18px;
}

.footer-brand img {
  width: 140px;
  height: auto;
  opacity: 0.95;
  transition: opacity 0.2s ease;
}

.footer-brand:hover img {
  opacity: 1;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(243,238,229,.72);
  max-width: 380px;
  margin-bottom: 20px;
}

.footer-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(15,165,181,.08);
  border: 1px solid rgba(60,218,229,.22);
  font-size: 12px;
  color: rgba(243,238,229,.85);
}

.status-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulseGreen 2.2s infinite ease-in-out;
}

@keyframes pulseGreen {
  0%, 100% { transform: scale(0.9); opacity: 0.75; }
  50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 12px #22c55e; }
}

.footer-col-title {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a,
.legal-link-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 14px;
  color: rgba(243,238,229,.75);
  text-decoration: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.legal-link-btn:hover {
  color: var(--cyan);
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cyan) !important;
  font-weight: 500;
}

/* Trust Strip */
.footer-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 22px 24px;
  background: rgba(15,23,42,.45);
  border: 1px solid rgba(60,218,229,.16);
  border-radius: 12px;
}

@media (max-width: 1024px) {
  .footer-trust-strip {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-trust-strip {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.trust-badge {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.trust-badge-icon {
  font-size: 20px;
  line-height: 1.2;
}

.trust-badge-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.trust-badge-content strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--ivory);
}

.trust-badge-content span {
  font-size: 12px;
  line-height: 1.4;
  color: rgba(243,238,229,.65);
}

/* Disclaimer Box */
.footer-disclaimer-box {
  background: rgba(2,10,18,.75);
  border: 1px solid rgba(255,255,255,.07);
  border-left: 3px solid rgba(60,218,229,.5);
  border-radius: 8px;
  padding: 20px 24px;
}

.disclaimer-title-row {
  margin-bottom: 10px;
}

.disclaimer-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(243,238,229,.7);
}

.disclaimer-text {
  font-size: 12px;
  line-height: 1.65;
  color: rgba(243,238,229,.55);
}

.disclaimer-text strong {
  color: rgba(243,238,229,.8);
}

/* Bottom Bar */
.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.copyright-text {
  font-size: 13px;
  color: rgba(243,238,229,.5);
}

.footer-bottom-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.version-label {
  font-size: 12px;
  color: rgba(243,238,229,.4);
  font-family: monospace;
}

/* ============ Preorder Dialog (Lead Capture) ============ */
.preorder-dialog {
  border: 1px solid rgba(60,218,229,.45);
  border-radius: 16px;
  background: #020912;
  color: var(--ivory);
  padding: 0;
  max-width: min(520px, calc(100vw - 32px));
  box-shadow: 0 24px 64px rgba(0,0,0,.75), 0 0 32px rgba(60,218,229,.12);
  margin: auto;
}

.preorder-dialog::backdrop {
  background: rgba(1, 5, 10, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.dialog-card-surface {
  position: relative;
  padding: clamp(28px, 4vw, 40px);
}

.dialog-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(243,238,229,.15);
  background: rgba(255,255,255,.05);
  color: rgba(243,238,229,.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 5;
}

.dialog-close-btn:hover {
  background: rgba(60,218,229,.15);
  color: var(--cyan);
  border-color: var(--cyan);
}

.dialog-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(60,218,229,.1);
  border: 1px solid rgba(60,218,229,.25);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  max-width: calc(100% - 42px);
  line-height: 1.35;
}

.dialog-header {
  padding-right: 36px;
}

@media (max-width: 480px) {
  .dialog-card-surface {
    padding: 24px 18px;
  }
  .dialog-pill {
    font-size: 9.5px;
    padding: 4px 10px;
    letter-spacing: 0.06em;
  }
  .dialog-actions-row {
    flex-direction: column-reverse;
    width: 100%;
    gap: 10px;
  }
  .dialog-actions-row .button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .dialog-actions-row .button-outline {
    border-color: rgba(255,255,255,.15);
  }
}

.dialog-header h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 3.2vw, 30px);
  color: var(--ivory);
  margin-bottom: 12px;
  line-height: 1.25;
}

.dialog-subtitle {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(243,238,229,.8);
  margin-bottom: 24px;
}

.dialog-subtitle strong {
  color: var(--cyan);
}

.preorder-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ivory);
}

.label-note {
  font-size: 12px;
  font-weight: 400;
  color: rgba(243,238,229,.55);
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  font-size: 14px;
  pointer-events: none;
  color: rgba(243,238,229,.5);
}

.form-input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  background: rgba(15,23,42,.6);
  border: 1px solid rgba(60,218,229,.25);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ivory);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(60,218,229,.18);
  background: rgba(15,23,42,.85);
}

.form-input::placeholder {
  color: rgba(243,238,229,.35);
}

.form-helper-note {
  font-size: 12px;
  color: rgba(243,238,229,.6);
  margin-top: -6px;
}

.form-field-consent {
  margin-top: 4px;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkbox-checkmark {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 4px;
  border: 1px solid rgba(60,218,229,.4);
  background: rgba(15,23,42,.6);
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.checkbox-container input:checked ~ .checkbox-checkmark {
  background: var(--accent);
  border-color: var(--cyan);
}

.checkbox-container input:checked ~ .checkbox-checkmark::after {
  content: "✓";
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.checkbox-text {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(243,238,229,.7);
}

.form-error-box {
  padding: 10px 14px;
  background: rgba(239,68,68,.12);
  border: 1px solid rgba(239,68,68,.4);
  border-radius: 6px;
  font-size: 13px;
  color: #fca5a5;
}

.dialog-actions-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 10px;
}

.dialog-trust-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 11px;
  color: rgba(243,238,229,.5);
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.trust-dot {
  color: rgba(60,218,229,.4);
}

/* Preorder Success State */
.preorder-success-state {
  text-align: center;
  padding: 16px 0;
}

.success-icon-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(34,197,94,.12);
  border: 2px solid #22c55e;
  color: #22c55e;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  box-shadow: 0 0 24px rgba(34,197,94,.25);
}

.success-title {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--ivory);
  margin-bottom: 12px;
}

.success-paragraph {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(243,238,229,.85);
  max-width: 400px;
  margin: 0 auto 24px auto;
}

.success-details-card {
  text-align: left;
  background: rgba(15,23,42,.5);
  border: 1px solid rgba(60,218,229,.2);
  border-radius: 10px;
  padding: 18px 22px;
  margin-bottom: 26px;
}

.success-details-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 10px;
}

.success-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.success-steps li {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(243,238,229,.8);
  position: relative;
  padding-left: 18px;
}

.success-steps li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--cyan);
}

/* ============ Legal Dialog ============ */
.legal-dialog {
  border: 1px solid rgba(60,218,229,.4);
  border-radius: 16px;
  background: #020912;
  color: var(--ivory);
  padding: 0;
  max-width: min(720px, calc(100vw - 32px));
  max-height: calc(100dvh - 60px);
  box-shadow: 0 24px 64px rgba(0,0,0,.85);
  margin: auto;
}

.legal-dialog::backdrop {
  background: rgba(1, 5, 10, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.legal-dialog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 60px);
}

.legal-scroll-container {
  padding: clamp(28px, 4vw, 44px);
  overflow-y: auto;
}

.legal-dialog-heading {
  font-family: var(--serif);
  font-size: clamp(24px, 3.5vw, 32px);
  margin-bottom: 24px;
  color: var(--ivory);
}

.legal-dialog-content {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(243,238,229,.82);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.legal-dialog-content h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--cyan);
  margin-top: 8px;
}

.legal-dialog-content p,
.legal-dialog-content ul {
  margin: 0;
}

.legal-dialog-content ul {
  padding-left: 20px;
}

.legal-dialog-footer {
  padding: 16px 28px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: flex-end;
  background: #020a14;
}

/* ============ Garbata Scroll Reveal ============ */
.reveal-ready .text-reveal {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-ready .text-reveal.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.stagger-1 { --reveal-delay: 0ms; }
.stagger-2 { --reveal-delay: 80ms; }
.stagger-3 { --reveal-delay: 160ms; }
.stagger-4 { --reveal-delay: 240ms; }
.stagger-5 { --reveal-delay: 320ms; }

html.no-js .text-reveal,
html.no-motion .text-reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .text-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============ Depth / motion: pausa preserva la fase ============ */
.depth-layer { transform: translate3d(0,0,0); }
html.no-motion .depth-layer { transform: none !important; }
html.motion-enabled .is-visible .depth-layer { will-change: transform; }

/* Pause hierarchy: no-motion vince su tutto, incluse le pseudo-elementi. */
html.no-motion *, html.no-motion *::before, html.no-motion *::after {
  animation-play-state: paused !important;
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-play-state: paused !important; transition-duration: .01ms !important; }
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .research-grid, .computer-grid { grid-template-columns: 1fr; }
  .computer-art { order: 2; }
  .comparison-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin-inline: auto;
  }
  .tier-3.comparison-card-featured {
    transform: none;
  }
  .tier-3.comparison-card-featured:hover {
    transform: translateY(-4px);
  }
}
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art {
    order: 2; margin-top: 8px;
    width: min(100%, 420px); justify-self: center; align-self: center;
  }
  .hero-copy { padding-bottom: 0; }
  .control-grid, .pricing-grid { grid-template-columns: 1fr; }
  .pricing-buy { border-left: none; border-top: 1px solid var(--cyan); padding-left: 0; padding-top: 32px; }
  .nav-links { order: 2; width: 100%; justify-content: flex-start; gap: 18px; }
  .evolution-stepper {
    gap: 10px;
    padding: 10px 18px;
    border-radius: 16px;
  }
  .stepper-arrow .arrow-text {
    display: none;
  }
  .comparison-card { padding: 24px 20px; }
}
@media (max-width: 600px) {
  .hero-title { font-size: clamp(40px, 12vw, 58px); letter-spacing: -.01em; }
  .evolution-stepper {
    width: 100%;
    justify-content: space-between;
    gap: 6px;
    padding: 8px 14px;
  }
  .stepper-step { font-size: 13px; }
}
@media (max-width: 360px) {
  .hero-title { font-size: 38px; }
  .button { padding-inline: 18px; }
  .comparison-card { padding: 20px 14px; }
  .card-title { font-size: 24px; }
  .card-tagline { min-height: auto; font-size: 13.5px; }
  .card-point { font-size: 13.5px; }
}

/* Final polish: ribbon identity, touch navigation and compact phone layout. */
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-lockup { display: block; width: 190px; height: auto; flex: none; }
.brand-word { font-size: 26px; font-weight: 600; letter-spacing: -.025em; }
.motion-toggle { display: none; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1px solid rgba(60,218,229,.28); border-radius: 6px; background: transparent; color: var(--ivory); font: inherit; font-size: 14px; cursor: pointer; }
.js .motion-toggle { display: inline-flex; }
.motion-toggle::before { content: 'Ⅱ'; color: var(--cyan); font-size: 18px; }
.motion-toggle[aria-pressed="false"]::before { content: '▶'; font-size: 12px; }
.motion-toggle:disabled { cursor: default; opacity: .6; }
.text-reveal.is-revealed { will-change: auto; }
.preorder-dialog, .waitlist-dialog, .partner-dialog { margin: auto; max-height: calc(100dvh - 40px); overflow-y: auto; }
.partner-dialog {
  border: 1px solid rgba(60,218,229,.45);
  border-radius: 16px;
  background: #020912;
  color: var(--ivory);
  padding: 0;
  max-width: min(560px, calc(100vw - 32px));
  box-shadow: 0 24px 64px rgba(0,0,0,.75), 0 0 32px rgba(60,218,229,.12);
}
.partner-dialog .dialog-card-surface {
  padding: clamp(20px, 3vw, 28px);
}
.partner-dialog .dialog-header {
  margin-bottom: 14px;
}
.partner-dialog .dialog-subtitle {
  font-size: 13.5px;
  line-height: 1.4;
}
.partner-dialog .form-field-group {
  margin-bottom: 12px;
}
.partner-dialog .form-textarea {
  min-height: 64px;
  padding: 10px 12px;
}
@media (min-width: 600px) {
  .partner-dialog {
    max-width: 620px;
  }
  .partner-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
  }
  .partner-fields-grid .partner-field-full {
    grid-column: 1 / -1;
  }
  .partner-fields-grid .form-field-group {
    margin-bottom: 0;
  }
}
.partner-dialog::backdrop {
  background: rgba(1, 5, 10, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.form-select, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(15,23,42,.6);
  border: 1px solid rgba(60,218,229,.25);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ivory);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}
.form-select:focus, .form-textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(60,218,229,.18);
  background: rgba(15,23,42,.85);
}
.form-select option {
  background: #020912;
  color: var(--ivory);
}
.form-textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
}
.nav-brochure-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid rgba(60,218,229,.35);
  border-radius: 6px;
  background: rgba(60,218,229,.08);
  color: var(--cyan);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}
.nav-brochure-link:hover {
  background: rgba(60,218,229,.2);
  border-color: var(--cyan);
  box-shadow: 0 0 16px rgba(60,218,229,.3);
  color: #fff;
}
@media (max-width: 640px) {
  .nav-brochure-link span.brochure-text { display: none; }
  .nav-brochure-link { padding: 8px 10px; }
}
.research-grid { grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); }
.computer-grid { grid-template-columns: minmax(0, 54fr) minmax(0, 46fr); }
.research-art, .computer-art, .hero-copy, .pricing-buy { min-width: 0; }
.nav-actions { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 6px;
  background: rgba(2, 10, 18, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(60, 218, 229, 0.22);
  border-radius: 6px;
  min-height: 44px;
  box-sizing: border-box;
}
.lang-btn {
  background: transparent;
  border: none;
  color: rgba(243, 238, 229, 0.55);
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 32px;
  min-width: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lang-btn:hover {
  color: var(--ivory);
  background: rgba(60, 218, 229, 0.08);
}
.lang-btn.is-active {
  background: rgba(60, 218, 229, 0.16);
  color: var(--cyan);
  box-shadow: 0 0 8px rgba(60, 218, 229, 0.22);
}
.lang-divider {
  color: rgba(243, 238, 229, 0.25);
  font-size: 11px;
  user-select: none;
}
.lang-switch-footer {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(243, 238, 229, 0.12);
}

@media (max-width: 1024px) {
  .research-grid, .computer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav { column-gap: 12px; row-gap: 0; padding-top: max(8px, env(safe-area-inset-top)); padding-bottom: 0; }
  .nav-actions { margin-left: auto; gap: 6px; }
  .lang-switch { padding: 2px 4px; min-height: 40px; }
  .lang-btn { padding: 4px 6px; font-size: 12px; min-height: 30px; min-width: 26px; }
  .nav-links {
    justify-content: flex-start;
    gap: 14px;
    margin: 4px 0 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: 100%;
    padding-bottom: 4px;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { font-size: 14px; white-space: nowrap; flex-shrink: 0; }
  [id] { scroll-margin-top: 118px; }
  .hero { min-height: auto; padding-top: 32px; }
  .hero-copy { padding-top: 12px; }
  .hero-actions { gap: 12px; margin-bottom: 24px; }
  .hero-meta { letter-spacing: .08em; font-size: 12px; }
  .hero-art { margin-top: 24px; margin-bottom: 20px; }
  .footer-inner { gap: 20px; }
  .footer-note { flex-basis: 100%; order: 3; }
  .onboarding-steps-row {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin-inline: auto;
  }
  .circuit-connector-line {
    width: 2px;
    height: 24px;
    min-width: 2px;
    max-width: 2px;
    margin-inline: auto;
  }
  .circuit-pulse-bead {
    animation: connector-bead-vert 3.5s ease-in-out infinite;
  }
  @keyframes connector-bead-vert {
    0% { top: 0; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
  }
  .future-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .future-art-col {
    justify-content: flex-start;
  }
  .future-sculpture-container {
    align-items: flex-start;
  }
}
@media (max-width: 480px) {
  .brand-lockup { width: 158px; }
  .hero-actions .button { width: 100%; justify-content: center; }
  .eyebrow { font-size: 12px; letter-spacing: .2em; }
  .section-head { margin-bottom: 36px; }
  .section:not(.hero) { padding-block: 64px; }
  .pricing-buy > .button { width: 100%; justify-content: center; }
  .link-quiet { margin-left: auto; }
  .performance-chart-card { padding: 16px 8px; }
  .chart-legend-row { gap: 10px; font-size: 11px; }
  .future-pills-row { gap: 8px; }
  .feature-tag { font-size: 13px; padding: 6px 12px; }
  .future-cta-wrap .button { width: 100%; justify-content: center; }
}

/* ==========================================================================
   PRODUCT GALLERY & REAL MACOS EXPERIENCE
   ========================================================================== */
.product-gallery-section {
  position: relative;
  padding-block: clamp(64px, 7vw, 110px);
  background: radial-gradient(ellipse 90% 60% at 50% 15%, rgba(60,218,229,.07) 0%, rgba(2,10,18,1) 85%);
  overflow: hidden;
}

.product-container {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3.5vw, 44px);
}

.product-header {
  text-align: center;
  max-width: 860px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding-inline: 16px;
}

.product-header .eyebrow {
  text-align: center;
  margin-inline: auto;
}

.product-header .headline {
  margin-block: 14px 18px;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.15;
  text-align: center;
  margin-inline: auto;
  width: 100%;
  text-wrap: balance;
}

.product-header .body-copy {
  font-size: clamp(16px, 1.3vw, 19px);
  color: rgba(243,238,229,.85);
  line-height: 1.65;
  max-width: 760px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 18px !important;
  text-align: center !important;
  text-wrap: pretty;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Gallery Tabs */
.gallery-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin-inline: auto;
  width: 100%;
}

.gallery-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 20px;
  background: rgba(7,21,32,.65);
  border: 1px solid rgba(60,218,229,.18);
  border-radius: 12px;
  color: var(--ivory);
  cursor: pointer;
  text-align: left;
  font-family: var(--sans);
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}

.gallery-tab::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--cyan);
  opacity: 0;
  transition: opacity .25s ease;
}

.gallery-tab:hover {
  background: rgba(12,32,48,.8);
  border-color: rgba(60,218,229,.45);
  transform: translateY(-2px);
}

.gallery-tab.is-active {
  background: linear-gradient(180deg, rgba(14,38,58,.9) 0%, rgba(7,21,32,.95) 100%);
  border-color: var(--cyan);
  box-shadow: 0 8px 24px rgba(0,0,0,.5), 0 0 20px rgba(60,218,229,.18);
}

.gallery-tab.is-active::after {
  opacity: 1;
}

.tab-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--cyan);
  background: rgba(60,218,229,.12);
  border: 1px solid rgba(60,218,229,.25);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.tab-title {
  font-size: clamp(16px, 1.25vw, 19px);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.tab-desc {
  font-size: 13px;
  color: rgba(243,238,229,.65);
}

/* Mac Window Frame */
.mac-window-wrapper {
  max-width: 1140px;
  margin-inline: auto;
  width: 100%;
}

.mac-window {
  border-radius: 14px;
  border: 1px solid rgba(60,218,229,.24);
  background: #040e18;
  box-shadow: 0 28px 70px rgba(0,0,0,.75), 0 0 50px rgba(60,218,229,.09);
  overflow: hidden;
  position: relative;
  transition: border-color .3s;
}

.mac-window:hover {
  border-color: rgba(60,218,229,.42);
}

.mac-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: linear-gradient(180deg, rgba(14,35,52,.95) 0%, rgba(7,21,32,.95) 100%);
  border-bottom: 1px solid rgba(60,218,229,.16);
  user-select: none;
}

.mac-traffic-lights {
  display: flex;
  align-items: center;
  gap: 8px;
}

.traffic-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.dot-close { background: #ff5f56; box-shadow: inset 0 0 2px rgba(0,0,0,.4); }
.dot-minimize { background: #ffbd2e; box-shadow: inset 0 0 2px rgba(0,0,0,.4); }
.dot-expand { background: #27c93f; box-shadow: inset 0 0 2px rgba(0,0,0,.4); }

.mac-window-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(243,238,229,.85);
  letter-spacing: .02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60%;
}

.mac-app-icon {
  color: var(--cyan);
  font-size: 14px;
}

.mac-window-actions {
  display: flex;
  align-items: center;
}

.mac-zoom-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(60,218,229,.08);
  border: 1px solid rgba(60,218,229,.25);
  border-radius: 6px;
  color: var(--cyan);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  cursor: pointer;
  transition: all .2s ease;
}

.mac-zoom-btn:hover {
  background: rgba(60,218,229,.2);
  border-color: var(--cyan);
  color: #ffffff;
}

/* Viewport & Screens */
.mac-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #020a12;
  cursor: zoom-in;
  overflow: hidden;
}

.gallery-screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}

.gallery-screen.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.gallery-screen picture,
.gallery-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.screen-metrics-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  z-index: 5;
  pointer-events: none;
}

.metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(2,10,18,.86);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(243,238,229,.18);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  color: var(--ivory);
  box-shadow: 0 4px 12px rgba(0,0,0,.4);
}

.metric-pill.highlight {
  border-color: var(--cyan);
  color: #ffffff;
  background: rgba(7,32,46,.9);
  box-shadow: 0 0 16px rgba(60,218,229,.3);
}

.metric-pill.highlight b {
  color: var(--cyan);
}

.gallery-click-hint {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(2,10,18,.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(60,218,229,.22);
  border-radius: 20px;
  padding: 6px 14px;
  color: rgba(243,238,229,.85);
  font-family: var(--sans);
  font-size: 12px;
  cursor: pointer;
  z-index: 6;
  transition: all .2s ease;
}

.gallery-click-hint:hover {
  background: rgba(7,28,42,.95);
  border-color: var(--cyan);
  color: #ffffff;
}

/* Gallery Navigation Controls */
.gallery-nav-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
}

.gallery-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(7,21,32,.8);
  border: 1px solid rgba(60,218,229,.25);
  color: var(--ivory);
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s;
}

.gallery-arrow:hover {
  background: var(--cyan);
  color: var(--navy);
  border-color: var(--cyan);
  transform: scale(1.05);
}

.gallery-indicators {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(243,238,229,.22);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all .25s ease;
}

.gallery-dot.is-active {
  background: var(--cyan);
  width: 26px;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(60,218,229,.5);
}

/* Deep Dive Card Deck */
.gallery-card-deck {
  max-width: 1140px;
  margin-inline: auto;
  width: 100%;
}

.gallery-copy-card {
  display: none;
  background: linear-gradient(180deg, rgba(8,23,36,.82) 0%, rgba(2,10,18,.92) 100%);
  border: 1px solid rgba(60,218,229,.2);
  border-radius: 14px;
  padding: clamp(24px, 3.5vw, 40px);
  box-shadow: 0 18px 45px rgba(0,0,0,.5);
  animation: cardFadeIn .3s ease-out;
}

.gallery-copy-card.is-active {
  display: block;
}

@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.card-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.card-title {
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin-block: 4px 8px;
}

.card-subhead {
  font-size: clamp(17px, 1.8vw, 22px);
  color: rgba(243,238,229,.85);
  margin-bottom: 18px;
  line-height: 1.35;
}

.card-text {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.7;
  color: rgba(243,238,229,.9);
  margin-bottom: 24px;
}

.card-text strong {
  color: #ffffff;
  font-weight: 700;
}

.card-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
  list-style: none;
  padding: 0;
}

.card-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(2,10,18,.55);
  border: 1px solid rgba(60,218,229,.14);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.5;
}

.feat-bullet {
  color: var(--cyan);
  font-size: 11px;
  margin-top: 3px;
  flex-shrink: 0;
}

.card-features strong {
  color: #ffffff;
  display: inline;
}

.card-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid rgba(60,218,229,.12);
}

/* Lightbox Modal */
.gallery-lightbox {
  padding: 0;
  border: 1px solid rgba(60,218,229,.35);
  border-radius: 16px;
  background: rgba(2,10,18,.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 32px 80px rgba(0,0,0,.85), 0 0 60px rgba(60,218,229,.15);
  color: var(--ivory);
  max-width: min(92vw, 1200px);
  width: 100%;
  margin: auto;
  overflow: hidden;
}

.gallery-lightbox::backdrop {
  background: rgba(0,4,8,.85);
  backdrop-filter: blur(8px);
}

.lightbox-inner {
  display: flex;
  flex-direction: column;
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(7,21,32,.9);
  border-bottom: 1px solid rgba(60,218,229,.18);
}

.lightbox-title {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}

.lightbox-close {
  background: none;
  border: none;
  color: rgba(243,238,229,.7);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all .2s;
}

.lightbox-close:hover {
  color: var(--cyan);
  background: rgba(60,218,229,.1);
}

.lightbox-media {
  background: #01060c;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  max-height: 75vh;
  overflow: auto;
}

.lightbox-media img {
  display: block;
  max-width: 100%;
  max-height: 72vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,.7);
}

.lightbox-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(7,21,32,.9);
  border-top: 1px solid rgba(60,218,229,.18);
  font-size: 13px;
  color: rgba(243,238,229,.7);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .gallery-tabs {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .mac-window-title {
    max-width: 50%;
    font-size: 12px;
  }
  .card-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .screen-metrics-overlay {
    bottom: 8px;
    left: 8px;
    right: 8px;
    gap: 6px;
  }
  .metric-pill {
    padding: 4px 10px;
    font-size: 11px;
  }
  .gallery-click-hint {
    display: none;
  }
  .mac-titlebar {
    padding: 8px 12px;
  }
  .mac-window-title {
    display: none;
  }
  .card-footer .button {
    width: 100%;
    justify-content: center;
  }
}

