/* ==========================================
   AiRide — styles.css
   Light Minimalist — Orange Accent
   ========================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:         #ffffff;
  --bg-2:       #fafafa;
  --bg-3:       #f5f5f5;
  --bg-4:       #f0f0f0;
  --border:     rgba(0,0,0,0.07);
  --border-s:   rgba(0,0,0,0.12);
  --text:       #111111;
  --text-2:     #333333;
  --muted:      #888888;
  --muted-l:    #666666;
  --orange:     #f97316;
  --orange-h:   #fb923c;
  --orange-d:   #ea580c;
  --orange-bg:  rgba(249,115,22,0.08);
  --orange-bg-h:rgba(249,115,22,0.14);

  /* Dark surface used ONLY for the terminal/voice section */
  --dark-bg:    #0e0e0e;
  --dark-bg-2:  #161616;
  --dark-bg-3:  #1e1e1e;
  --dark-border:rgba(255,255,255,0.06);
  --dark-border-s:rgba(255,255,255,0.12);
  --dark-text:  #f5f5f5;
  --dark-muted: #888888;
  --dark-muted-l:#a3a3a3;

  --radius:   16px;
  --radius-lg:24px;
  --radius-xl:32px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- UTILITIES ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 20px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--muted-l);
  font-weight: 400;
  line-height: 1.8;
  max-width: 580px;
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: box-shadow .3s;
}

.nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo img {
  height: 38px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-l);
  text-decoration: none;
  transition: color .2s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  padding: 10px 22px !important;
  background: var(--orange) !important;
  color: #fff !important;
  border-radius: 100px;
  font-weight: 600 !important;
  transition: background .2s, box-shadow .2s !important;
}

.nav-cta:hover {
  background: var(--orange-d) !important;
  box-shadow: 0 4px 16px rgba(249,115,22,0.3) !important;
  color: #fff !important;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 40px 100px;
  overflow: hidden;
  background: var(--bg);
}

/* Very subtle grid */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black 0%, transparent 100%);
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(249,115,22,0.07) 0%, transparent 70%);
  border-radius: 50%;
  top: 0; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  animation: orbPulse 7s ease-in-out infinite;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  top: auto;
  bottom: 0;
  background: radial-gradient(circle, rgba(249,115,22,0.04) 0%, transparent 70%);
  animation-delay: -3.5s;
}

@keyframes orbPulse {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50%       { opacity: 1;   transform: translateX(-50%) scale(1.06); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid var(--border-s);
  background: var(--bg-3);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-l);
  margin-bottom: 40px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.hero-title {
  display: flex;
  flex-direction: column;
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin-bottom: 32px;
  color: var(--text);
}

.hero-title-line { display: block; line-height: 110%;}

.hero-title-accent {
  background: linear-gradient(135deg, var(--orange-d) 0%, var(--orange) 50%, var(--orange-h) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted-l);
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--orange);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 100px;
  text-decoration: none;
  transition: all .25s;
  letter-spacing: -0.01em;
}

.btn-primary:hover {
  background: var(--orange-d);
  box-shadow: 0 8px 24px rgba(249,115,22,0.3);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--muted-l);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 100px;
  border: 1px solid var(--border-s);
  text-decoration: none;
  transition: all .25s;
  letter-spacing: -0.01em;
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(0,0,0,0.2);
  background: var(--bg-3);
}

.btn-ghost svg { color: var(--orange); }

/* ---- VOICE SECTION (stays dark) ---- */
.voice-section {
  padding: 120px 0;
  background: var(--dark-bg);
  border-top: none;
  border-bottom: none;
}

.voice-header {
  text-align: center;
  margin-bottom: 48px;
}

.voice-header .section-label {
  color: var(--orange);
}

.voice-header .section-title {
  color: var(--dark-text);
}

.voice-header .section-sub {
  color: var(--dark-muted-l);
  margin: 0 auto;
}

/* TERMINAL */
.voice-terminal {
  background: var(--dark-bg-3);
  border: 1px solid var(--dark-border-s);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 48px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(249,115,22,0.04);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--dark-border);
  background: var(--dark-bg-2);
}

.terminal-dots {
  display: flex;
  gap: 7px;
}

.terminal-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-dots span:nth-child(1) { background: #ff5f57; }
.terminal-dots span:nth-child(2) { background: #ffbd2e; }
.terminal-dots span:nth-child(3) { background: #28c840; }

.terminal-title {
  flex: 1;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--dark-muted);
  letter-spacing: 0.02em;
}

.terminal-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 500;
  color: var(--orange);
  letter-spacing: 0.05em;
}

.terminal-status-dot {
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}

.terminal-body {
  padding: 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 300px;
}

.terminal-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(8px);
  animation: fadeUp .5s ease forwards;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.terminal-row.t-delay-1 { animation-delay: 1.2s; }
.terminal-row.t-delay-2 { animation-delay: 2.4s; }
.terminal-row.t-delay-3 { animation-delay: 3.2s; }
.terminal-row.t-delay-4 { animation-delay: 4.4s; }
.terminal-row.t-delay-5 { animation-delay: 5.2s; }

.t-you, .t-ai {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
  margin-top: 2px;
}

.t-you {
  background: rgba(255,255,255,0.07);
  color: var(--dark-muted-l);
}

.t-ai {
  background: var(--orange-bg);
  color: var(--orange);
}

.t-msg {
  font-size: 0.975rem;
  color: var(--dark-muted-l);
  font-weight: 300;
  line-height: 1.6;
}

.t-msg-ai {
  color: var(--dark-text);
  font-weight: 400;
}

.t-highlight {
  color: var(--orange);
  font-weight: 600;
}

.terminal-cursor {
  display: flex;
  gap: 16px;
  align-items: center;
  opacity: 0;
  animation: fadeUp .5s ease 6.4s forwards;
}

.t-cursor {
  display: inline-block;
  width: 10px;
  height: 20px;
  background: var(--orange);
  border-radius: 2px;
  animation: cursorBlink .8s step-end infinite 6.4s;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.terminal-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 20px 36px;
  border-top: 1px solid var(--dark-border);
  background: var(--dark-bg-2);
}

.wave-bar {
  width: 3px;
  background: var(--orange);
  border-radius: 99px;
  animation: wave 1.4s ease-in-out infinite;
  opacity: 0.7;
}

.wave-bar:nth-child(1)  { height: 6px;  animation-delay: 0.00s; }
.wave-bar:nth-child(2)  { height: 14px; animation-delay: 0.07s; }
.wave-bar:nth-child(3)  { height: 24px; animation-delay: 0.14s; }
.wave-bar:nth-child(4)  { height: 36px; animation-delay: 0.21s; }
.wave-bar:nth-child(5)  { height: 48px; animation-delay: 0.28s; }
.wave-bar:nth-child(6)  { height: 36px; animation-delay: 0.35s; }
.wave-bar:nth-child(7)  { height: 56px; animation-delay: 0.42s; }
.wave-bar:nth-child(8)  { height: 36px; animation-delay: 0.49s; }
.wave-bar:nth-child(9)  { height: 48px; animation-delay: 0.56s; }
.wave-bar:nth-child(10) { height: 36px; animation-delay: 0.63s; }
.wave-bar:nth-child(11) { height: 24px; animation-delay: 0.70s; }
.wave-bar:nth-child(12) { height: 36px; animation-delay: 0.77s; }
.wave-bar:nth-child(13) { height: 14px; animation-delay: 0.84s; }
.wave-bar:nth-child(14) { height: 6px;  animation-delay: 0.91s; }
.wave-bar:nth-child(15) { height: 3px;  animation-delay: 0.98s; }

@keyframes wave {
  0%, 100% { transform: scaleY(0.5); opacity: 0.4; }
  50%       { transform: scaleY(1);   opacity: 1; }
}

/* VOICE CARDS (inside dark section) */
.voice-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.voice-card {
  background: var(--dark-bg-2);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color .25s, background .25s, transform .25s;
  cursor: default;
}

.voice-card:hover {
  border-color: rgba(249,115,22,0.3);
  background: rgba(249,115,22,0.03);
  transform: translateY(-3px);
}

.voice-card-icon {
  width: 44px;
  height: 44px;
  background: var(--orange-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  margin-bottom: 20px;
  transition: background .25s;
}

.voice-card:hover .voice-card-icon {
  background: var(--orange-bg-h);
}

.voice-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--dark-text);
  margin-bottom: 10px;
}

.voice-card p {
  font-size: 0.875rem;
  color: var(--dark-muted-l);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 20px;
}

.voice-card-example {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--orange);
  background: var(--orange-bg);
  padding: 8px 14px;
  border-radius: 8px;
  border-left: 2px solid var(--orange);
  font-style: italic;
}

/* ---- FEATURES SECTION (light) ---- */
.features-section {
  padding: 120px 0;
  background: var(--bg);
}

.features-header {
  text-align: center;
  margin-bottom: 56px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feat-card {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  overflow: hidden;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}

.feat-card:hover {
  border-color: rgba(249,115,22,0.25);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(249,115,22,0.07);
}

.feat-card-bg {
  position: absolute;
  top: -60px; right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--orange-bg) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.6;
  transition: opacity .3s;
}

.feat-card:hover .feat-card-bg { opacity: 1.2; }

.feat-icon-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.feat-icon {
  width: 48px;
  height: 48px;
  background: var(--orange-bg);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  transition: background .25s;
}

.feat-card:hover .feat-icon { background: var(--orange-bg-h); }

.feat-icon-rescue {
  background: rgba(239,68,68,0.07);
  color: #ef4444;
}

.feat-card:hover .feat-icon-rescue {
  background: rgba(239,68,68,0.12);
}

.feat-powered {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 4px 10px;
  border: 1px solid var(--border-s);
  border-radius: 100px;
  background: var(--bg);
}

.feat-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feat-rescue-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(239,68,68,0.08);
  color: #ef4444;
  padding: 3px 9px;
  border-radius: 100px;
}

.feat-card p {
  font-size: 0.9rem;
  color: var(--muted-l);
  font-weight: 400;
  line-height: 1.8;
}

/* ---- PRODUCT / AR SECTION ---- */
.product-section {
  padding: 120px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.product-text .section-title { margin-bottom: 16px; }
.product-text .section-sub   { margin-bottom: 40px; }

.product-features {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.product-feat {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.product-feat-icon {
  width: 36px;
  height: 36px;
  background: var(--orange-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 2px;
}

.product-feat strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.product-feat span {
  font-size: 0.875rem;
  color: var(--muted-l);
  line-height: 1.7;
}

/* AR Display mock — fedele al display OLED reale */
.product-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.ar-display {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* Contesto visore: simula l'interno del casco */
.ar-helmet-ctx {
  width: 100%;
  aspect-ratio: 4/3;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, #1a1a1a 30%, #0a0a0a 100%);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 0 40px rgba(0,0,0,0.8),
    0 24px 60px rgba(0,0,0,0.3);
}

/* Sfondo visore sfumato (simula la strada di notte) */
.ar-visor-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ar-visor-blur {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 30% 60%, rgba(180,60,0,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 70% 70%, rgba(100,100,100,0.08) 0%, transparent 60%);
}

/* Il display OLED vero e proprio */
.ar-oled {
  position: relative;
  z-index: 2;
  background: #000000;
  border-radius: 10px;
  padding: 14px 20px 10px;
  width: 72%;
  /* Glow blu-bianco OLED */
  box-shadow:
    0 0 0 1px rgba(180,220,255,0.15),
    0 0 12px rgba(160,200,255,0.12),
    0 0 32px rgba(120,180,255,0.08),
    inset 0 0 8px rgba(0,0,0,0.8);
}

/* Riga principale: freccia + numero */
.ar-oled-main {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
}

/* Freccia direzionale piena (come quella sul display reale) */
.ar-oled-arrow {
  flex-shrink: 0;
  width: 52px;
  height: 42px;
  filter:
    drop-shadow(0 0 4px rgba(255,255,255,0.8))
    drop-shadow(0 0 10px rgba(200,230,255,0.5));
  animation: arrowPulse 2s ease-in-out infinite;
}

.ar-oled-arrow svg { width: 100%; height: 100%; }

@keyframes arrowPulse {
  0%, 100% { opacity: 0.85; }
  50%       { opacity: 1; filter: drop-shadow(0 0 6px rgba(255,255,255,1)) drop-shadow(0 0 14px rgba(200,230,255,0.7)); }
}

/* Numero grande (velocità) */
.ar-oled-number {
  display: flex;
  align-items: baseline;
  gap: 1px;
  line-height: 1;
}

.ar-oled-val {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #ffffff;
  text-shadow:
    0 0 8px rgba(255,255,255,0.9),
    0 0 20px rgba(200,230,255,0.6);
  font-variant-numeric: tabular-nums;
}

.ar-oled-dot {
  font-size: 2rem;
  font-weight: 900;
  color: rgba(255,255,255,0.7);
  line-height: 1;
  text-shadow: 0 0 6px rgba(255,255,255,0.6);
}

/* Riga info sotto: T·18.8KR·6562 */
.ar-oled-sub {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(200,225,255,0.85);
  text-shadow: 0 0 6px rgba(180,210,255,0.5);
  font-family: 'Courier New', monospace;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 6px;
}

.ar-badge {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-align: center;
  padding: 6px 16px;
  border: 1px solid var(--border-s);
  border-radius: 100px;
  background: var(--bg);
}

/* ---- AIRESCUE FEATURED CARD ---- */
.rescue-card {
  margin-top: 20px;
  position: relative;
  background: linear-gradient(135deg, #fff5f5 0%, #fff 60%);
  border: 1.5px solid rgba(239,68,68,0.2);
  border-radius: var(--radius-xl);
  padding: 48px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  transition: border-color .3s, box-shadow .3s;
}

.rescue-card:hover {
  border-color: rgba(239,68,68,0.4);
  box-shadow: 0 20px 60px rgba(239,68,68,0.08);
}

.rescue-card-bg {
  position: absolute;
  top: -80px; right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(239,68,68,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.rescue-card-left {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.rescue-icon-wrap {
  width: 64px;
  height: 64px;
  background: rgba(239,68,68,0.1);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ef4444;
  flex-shrink: 0;
}

.rescue-eyebrow { margin-bottom: 8px; }

.rescue-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(239,68,68,0.1);
  color: #ef4444;
  padding: 4px 12px;
  border-radius: 100px;
}

.rescue-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 12px;
}

.rescue-desc {
  font-size: 0.95rem;
  color: var(--muted-l);
  line-height: 1.8;
  max-width: 560px;
}

.rescue-card-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex-shrink: 0;
}

.rescue-stat {
  text-align: center;
  padding: 16px 28px;
  background: rgba(239,68,68,0.05);
  border: 1px solid rgba(239,68,68,0.12);
  border-radius: var(--radius);
}

.rescue-stat-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #ef4444;
  line-height: 1;
  margin-bottom: 4px;
}

.rescue-stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

/* ---- TEAM SECTION ---- */
.team-section {
  padding: 120px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.team-header {
  text-align: center;
  margin-bottom: 64px;
}

.team-header .section-sub { margin: 0 auto; }

.team-founders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.team-card {
  display: flex;
  gap: 20px;
  align-items: center;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 28px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}

.team-card:hover {
  border-color: rgba(249,115,22,0.25);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(249,115,22,0.06);
}

.team-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: -0.02em;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-d), var(--orange-h));
  color: #fff;
  flex-shrink: 0;
}

.team-avatar-lg {
  width: 56px; height: 56px;
  font-size: 1rem;
}

.team-avatar-sm {
  width: 40px; height: 40px;
  font-size: 0.8rem;
}

.team-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.8rem;
  color: var(--orange);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.team-support-label {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.team-support {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.team-card-support {
  padding: 20px 20px;
}

.team-card-secondary {
  opacity: 0.75;
  transition: opacity .25s, border-color .25s, transform .25s, box-shadow .25s;
}

.team-card-secondary:hover {
  opacity: 1;
}

.team-avatar-secondary {
  background: var(--bg-3) !important;
  color: var(--muted-l) !important;
  border: 1px solid var(--border-s);
}

.team-card-secondary:hover .team-avatar-secondary {
  background: linear-gradient(135deg, var(--muted), var(--muted-l)) !important;
  color: #fff !important;
  border-color: transparent;
}

.team-name-sm {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}

.team-role-sm {
  font-size: 0.75rem;
  color: var(--muted-l);
  font-weight: 500;
}

/* ---- CONTACT SECTION ---- */
.contact-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0.4;
}

.cta-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(249,115,22,0.07) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: orbPulse 6s ease-in-out infinite;
}

.contact-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: 52px;
}

.cta-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--text);
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 1rem;
  color: var(--muted-l);
  font-weight: 400;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--border-s);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  width: 100%;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.1);
}

.form-group textarea { resize: vertical; min-height: 140px; }

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  background: var(--orange);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all .25s;
  letter-spacing: -0.01em;
  align-self: flex-start;
}

.form-submit:hover {
  background: var(--orange-d);
  box-shadow: 0 8px 24px rgba(249,115,22,0.35);
  transform: translateY(-1px);
}

.form-success {
  display: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: #16a34a;
  background: rgba(22,163,74,0.08);
  border: 1px solid rgba(22,163,74,0.2);
  padding: 12px 20px;
  border-radius: var(--radius);
}

.form-success.visible { display: block; }

/* ---- FOOTER ---- */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.footer-logo img { height: 28px; width: auto; }

.footer-copy { font-size: 0.8rem; color: var(--muted); font-weight: 400; }

.footer-links { display: flex; gap: 28px; }

.footer-links a {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 400;
  transition: color .2s;
}

.footer-links a:hover { color: var(--text); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .voice-cards, .features-grid, .team-support {
    grid-template-columns: 1fr;
  }
  .product-layout, .team-founders, .rescue-card, .form-row {
    grid-template-columns: 1fr;
  }
  .rescue-card-left { flex-direction: column; }
  .rescue-card-right { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .hero-title { font-size: clamp(3rem, 12vw, 5rem); }
  .terminal-body { padding: 20px 18px; }
  .nav-links { display: none; }
  .container { padding: 0 24px; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* ---- EASTER EGG MODAL ---- */
.easter-egg-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.easter-egg-modal.visible {
  opacity: 1;
  pointer-events: auto;
}

.easter-egg-content {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 40px;
  border-radius: var(--radius-xl);
  max-width: 400px;
  width: 90%;
  text-align: center;
  transform: translateY(20px) scale(0.95);
  transition: transform .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 32px 64px rgba(0,0,0,0.15);
}

.easter-egg-modal.visible .easter-egg-content {
  transform: translateY(0) scale(1);
}

.easter-egg-icon {
  width: 64px;
  height: 64px;
  background: rgba(239,68,68,0.1);
  color: #ef4444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.easter-egg-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 12px;
}

.easter-egg-text {
  font-size: 1rem;
  color: var(--muted-l);
  font-style: italic;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 32px;
}

.easter-egg-close {
  width: 100%;
}


/* Il contenitore che fa da maschera circolare */
.team-avatar {
  border-radius: 50%; /* Rende il div un cerchio perfetto */
  overflow: hidden; /* Taglia via le parti dell'immagine che escono dal cerchio */
  display: flex; /* Centra l'eventuale testo interno (es. le iniziali "AD") */
  align-items: center;
  justify-content: center;
  
  /* Assicurati di impostare dimensioni fisse per i cerchi (regola i px in base al tuo design) */
  /* width: 120px; */
  /* height: 120px; */
}

/* Regole specifiche per le dimensioni (se non le hai già definite altrove) */
.team-avatar-lg {
  width: 150px;
  height: 150px;
}

.team-avatar-sm {
  width: 80px;
  height: 80px;
}

/* L'immagine stessa */
.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Scala e ritaglia l'immagine riempiendo il contenitore senza perdere le proporzioni */
  object-position: center; /* Assicura che il volto rimanga centrato durante il ritaglio */
  display: block;
}
.team-photo-madda {
    object-position: center 15%;
}

.team-support {
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

.team-card-support {
  width: 280px; /* oppure la stessa larghezza delle card dei founder */
}

/* ==========================================
   SEZIONE IL PROBLEMA
   ========================================== */
.problem-section {
  padding: 120px 0;
  background: var(--bg);
  position: relative;
}

.problem-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.problem-header .section-sub {
  margin: 0 auto;
}

.problem-stat-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(239,68,68,0.06) 0%, rgba(249,115,22,0.04) 50%, var(--bg-2) 100%);
  border: 1.5px solid rgba(239,68,68,0.18);
  border-radius: var(--radius-xl);
  padding: 44px 48px;
  display: flex;
  align-items: center;
  gap: 44px;
  margin-bottom: 32px;
  box-shadow: 0 16px 40px rgba(239,68,68,0.05);
  transition: border-color .3s, box-shadow .3s, transform .3s;
}

.problem-stat-banner:hover {
  border-color: rgba(239,68,68,0.35);
  box-shadow: 0 20px 50px rgba(239,68,68,0.08);
  transform: translateY(-2px);
}

.problem-stat-glow {
  position: absolute;
  top: -80px;
  left: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239,68,68,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.problem-stat-num-wrap {
  display: flex;
  align-items: baseline;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: #ef4444;
  line-height: 0.9;
  flex-shrink: 0;
}

.problem-stat-symbol {
  font-size: 3.5rem;
  margin-right: 2px;
  opacity: 0.8;
}

.problem-stat-num {
  font-size: clamp(4.5rem, 8vw, 6.5rem);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 6px 24px rgba(239,68,68,0.25);
}

.problem-stat-pct {
  font-size: 3.5rem;
  margin-left: 2px;
}

.problem-stat-content h3 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}

.problem-stat-content p {
  font-size: 0.95rem;
  color: var(--muted-l);
  line-height: 1.75;
  max-width: 640px;
}

.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: all .25s ease;
}

.problem-card:hover {
  border-color: rgba(239,68,68,0.3);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(239,68,68,0.06);
}

.problem-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(239,68,68,0.08);
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background .25s;
}

.problem-card:hover .problem-card-icon {
  background: rgba(239,68,68,0.15);
}

.problem-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 10px;
}

.problem-card p {
  font-size: 0.88rem;
  color: var(--muted-l);
  line-height: 1.7;
}

/* ==========================================
   SEZIONE COME FUNZIONA (ARCHITETTURA)
   ========================================== */
.how-section {
  padding: 120px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.how-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.how-header .section-sub {
  margin: 0 auto;
}

.how-steps-wrap {
  width: 100%;
}

.how-steps {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px;
}

.how-step {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  transition: all .3s ease;
  position: relative;
  box-shadow: 0 4px 16px rgba(0,0,0,0.02);
}

.how-step:hover {
  border-color: rgba(249,115,22,0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(249,115,22,0.08);
}

.how-step-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  background: var(--orange-bg);
  padding: 4px 12px;
  border-radius: 100px;
  width: fit-content;
  margin-bottom: 22px;
}

.how-step-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--bg-3);
  border: 1px solid var(--border-s);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background .25s, transform .25s;
}

.how-step:hover .how-step-icon {
  background: var(--orange-bg);
  transform: scale(1.05);
}

.how-step h3 {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 12px;
}

.how-step p {
  font-size: 0.9rem;
  color: var(--muted-l);
  line-height: 1.75;
  margin-bottom: 24px;
  flex-grow: 1;
}

.how-step-pill {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted-l);
  background: var(--bg-3);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 100px;
  width: fit-content;
}

.how-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  opacity: 0.5;
  padding: 0 4px;
  flex-shrink: 0;
}

/* ==========================================
   SEZIONE EDIZIONI & PREVENDITA (TRACTION)
   ========================================== */
.versions-section {
  padding: 120px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  position: relative;
}

.versions-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 64px;
}

.versions-header .section-sub {
  margin: 0 auto;
}

.traction-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  border-radius: 100px;
  background: var(--orange-bg);
  border: 1px solid rgba(249,115,22,0.25);
  color: var(--orange-d);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 24px;
}

.traction-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(249,115,22,0.7);
  animation: tractionPulse 1.8s infinite;
}

@keyframes tractionPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(249,115,22,0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(249,115,22,0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(249,115,22,0); }
}

.versions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.version-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
}

.version-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,0,0,0.18);
  box-shadow: 0 20px 48px rgba(0,0,0,0.06);
}

.version-featured {
  background: linear-gradient(180deg, #ffffff 0%, #fffbf8 100%);
  border: 2px solid var(--orange);
  box-shadow: 0 16px 48px rgba(249,115,22,0.12);
  transform: scale(1.02);
}

.version-featured:hover {
  transform: scale(1.02) translateY(-4px);
  border-color: var(--orange-d);
  box-shadow: 0 24px 60px rgba(249,115,22,0.18);
}

.version-popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--orange-d), var(--orange));
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 14px rgba(249,115,22,0.35);
  white-space: nowrap;
}

.version-header {
  margin-bottom: 24px;
}

.version-tier {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 6px;
}

.version-name {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 8px;
}

.version-desc {
  font-size: 0.88rem;
  color: var(--muted-l);
  line-height: 1.65;
  min-height: 48px;
}

.version-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  margin-top: 16px;
}

.version-price-val {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}

.version-price-note {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

.version-features {
  list-style: none;
  padding: 0;
  margin: 0 0 36px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-grow: 1;
}

.version-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.55;
}

.version-features li svg {
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 3px;
}

.version-btn {
  width: 100%;
  justify-content: center;
  cursor: pointer;
  border-radius: 100px;
}

/* ==========================================
   BANNER ABBONAMENTO APP PLUS
   ========================================== */
.app-plus-card {
  margin-top: 56px;
  position: relative;
  background: linear-gradient(135deg, #18181b 0%, #0d0d0f 100%);
  border: 1.5px solid rgba(249,115,22,0.3);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: center;
  color: #f5f5f5;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.18), 0 0 0 1px rgba(255,255,255,0.05);
}

.app-plus-bg {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.app-plus-left {
  position: relative;
  z-index: 2;
}

.app-plus-badge {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.app-plus-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  background: rgba(249,115,22,0.15);
  padding: 4px 14px;
  border-radius: 100px;
  border: 1px solid rgba(249,115,22,0.25);
}

.app-plus-included {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #22c55e;
  background: rgba(34,197,94,0.12);
  padding: 4px 14px;
  border-radius: 100px;
  border: 1px solid rgba(34,197,94,0.25);
}

.app-plus-title {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin-bottom: 12px;
}

.app-plus-desc {
  font-size: 0.95rem;
  color: #a1a1aa;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 620px;
}

.app-plus-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.app-plus-feat {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 16px 18px;
  transition: background .2s, border-color .2s;
}

.app-plus-feat:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(249,115,22,0.2);
}

.app-plus-feat-icon {
  font-size: 22px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.app-plus-feat strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #f4f4f5;
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}

.app-plus-feat span {
  font-size: 0.78rem;
  color: #a1a1aa;
  line-height: 1.45;
  display: block;
}

.app-plus-right {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.app-plus-pricing-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  position: relative;
  transition: transform .25s, border-color .25s;
}

.app-plus-pricing-box:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.18);
}

.pricing-highlight {
  background: rgba(249,115,22,0.08);
  border: 1.5px solid var(--orange);
  box-shadow: 0 8px 32px rgba(249,115,22,0.18);
}

.pricing-highlight:hover {
  border-color: var(--orange-h);
}

.pricing-badge-save {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--orange-d), var(--orange));
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 14px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(249,115,22,0.3);
}

.pricing-plan-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #a1a1aa;
  margin-bottom: 6px;
  display: block;
}

.pricing-highlight .pricing-plan-label {
  color: var(--orange-h);
}

.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
}

.pricing-amount {
  font-size: 2.3rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.pricing-period {
  font-size: 0.9rem;
  color: #a1a1aa;
  font-weight: 500;
}

.pricing-plan-sub {
  font-size: 0.78rem;
  color: #71717a;
  display: block;
  margin-top: 4px;
}

.pricing-highlight .pricing-plan-sub {
  color: #d4d4d8;
  font-weight: 500;
}

/* ==========================================
   SEZIONE FAQ (ACCORDION)
   ========================================== */
.faq-section {
  padding: 120px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.faq-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.faq-header .section-sub {
  margin: 0 auto;
}

.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}

.faq-item:hover {
  border-color: rgba(249,115,22,0.25);
}

.faq-item.active {
  border-color: rgba(249,115,22,0.4);
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 28px;
  text-align: left;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 18px;
  transition: color .2s;
}

.faq-question:hover {
  color: var(--orange);
}

.faq-icon {
  color: var(--muted);
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1), color .2s;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--orange);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer p {
  padding: 0 28px 24px 28px;
  font-size: 0.925rem;
  color: var(--muted-l);
  line-height: 1.8;
}

/* ==========================================
   MODALE PREVENDITA / TRACTION
   ========================================== */
.interest-modal {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  padding: 20px;
}

.interest-modal.visible {
  opacity: 1;
  pointer-events: auto;
}

.interest-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.interest-modal-content {
  position: relative;
  z-index: 2;
  background: var(--bg);
  border: 1px solid var(--border-s);
  border-radius: var(--radius-xl);
  padding: 44px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(0,0,0,0.25);
  transform: translateY(24px) scale(0.96);
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1);
}

.interest-modal.visible .interest-modal-content {
  transform: translateY(0) scale(1);
}

.interest-modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  font-size: 32px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  transition: color .2s, transform .2s;
  padding: 4px;
}

.interest-modal-close:hover {
  color: var(--text);
  transform: scale(1.1);
}

.interest-modal-header {
  text-align: center;
  margin-bottom: 28px;
}

.interest-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--orange-bg);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.interest-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 8px;
}

.interest-sub {
  font-size: 0.88rem;
  color: var(--muted-l);
  line-height: 1.6;
}

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

.label-optional {
  font-weight: 400;
  color: var(--muted);
}

.interest-submit {
  width: 100%;
  align-self: stretch;
  margin-top: 8px;
}

.interest-success {
  display: none;
  text-align: center;
  padding: 24px 0 12px;
}

.interest-success.visible {
  display: block;
}

.interest-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(34,197,94,0.1);
  color: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  margin: 0 auto 20px;
}

.interest-success h4 {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 10px;
}

.interest-success p {
  font-size: 0.92rem;
  color: var(--muted-l);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* ==========================================
   RESPONSIVE AGGIUNTIVO
   ========================================== */
@media (max-width: 1024px) {
  .how-steps {
    flex-direction: column;
  }
  .how-connector {
    transform: rotate(90deg);
    padding: 12px 0;
  }
  .versions-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .version-featured {
    transform: scale(1);
  }
  .version-featured:hover {
    transform: translateY(-4px);
  }
  .app-plus-card {
    grid-template-columns: 1fr;
    padding: 36px 28px;
    gap: 36px;
  }
}

@media (max-width: 900px) {
  .problem-stat-banner {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
    gap: 20px;
  }
  .problem-stat-content p {
    margin: 0 auto;
  }
  .problem-cards {
    grid-template-columns: 1fr;
  }
  .app-plus-features-grid {
    grid-template-columns: 1fr;
  }
  .interest-modal-content {
    padding: 32px 24px;
  }
}