/* ═══════════════════════════════════════════════════════════════
   FANTAFALÒ LANDING PAGE — Design System + Layout
   Theme: Midnight Inferno (coerente con l'app)
   ═══════════════════════════════════════════════════════════════ */

/* ── CUSTOM PROPERTIES ── */
:root {
  /* Brand — Fire Temperature Ramp (Midnight Inferno)
     Allineato ai TOKENS dell'app (ignite: #7a0820, igniteBright: #c9163c) */
  --flame:        #c9163c;                    /* igniteBright — primario brand vivo */
  --flame-soft:   rgba(201, 22, 60, 0.15);
  --flame-glow:   rgba(201, 22, 60, 0.45);
  --flame-deep:   #5a0416;                    /* ombra profonda */

  --ember-deep:   #7A0820;                    /* ignite — colore d'ombra / riposo */
  --crimson:      #c9163c;                    /* alias per compatibilità */
  --flame-orange: #FF8214;                    /* accento calore (fuoco) */
  --core:         #FFC65C;                    /* nucleo incandescente */
  --core-hot:     #FFE9A8;                    /* highlight estremo */

  /* Accent */
  --gold: #FFD700;
  --gold-soft: rgba(255, 215, 0, 0.10);
  --toxic: #87FF00;                           /* allineato ai token dell'app */
  --toxic-soft: rgba(135, 255, 0, 0.12);

  /* Surface */
  --canvas: #0a0301;
  --canvas-elevated: #130906;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --hairline: rgba(255, 255, 255, 0.08);

  /* Glass — Firelit (vetro caldo, illuminato dalla brace) */
  --glass-bg:        rgba(255, 241, 230, 0.045);   /* tinta calda, non bianco puro */
  --glass-bg-hi:     rgba(255, 241, 230, 0.075);
  --glass-border:    rgba(255, 236, 222, 0.16);
  --glass-shine:     rgba(255, 255, 255, 0.28);
  --glass-blur:      20px;
  --glass-filter:    blur(20px) saturate(1.7) brightness(1.06);
  --glass-shadow:
      0 1px 2px rgba(0,0,0,0.45),
      0 14px 40px rgba(0,0,0,0.55),
      inset 0 1px 0 rgba(255,255,255,0.22),
      inset 0 -1px 0 rgba(0,0,0,0.35),
      inset 0 0 32px rgba(255,130,20,0.045);
  --glass-shadow-hover:
      0 2px 4px rgba(0,0,0,0.5),
      0 24px 60px rgba(0,0,0,0.6),
      0 0 40px rgba(232,32,15,0.18),
      inset 0 1px 0 rgba(255,255,255,0.30),
      inset 0 -1px 0 rgba(0,0,0,0.40),
      inset 0 0 44px rgba(255,130,20,0.08);

  /* Text */
  --text-hi: #FFFFFF;
  --text-mid: rgba(255, 255, 255, 0.72);
  --text-dim: rgba(255, 255, 255, 0.40);

  /* Spacing */
  --section-pad: 120px 24px;
  --section-pad-mobile: 80px 16px;

  /* Font */
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --font-heading: 'Outfit', sans-serif;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--canvas);
  background-image: radial-gradient(circle at 50% 0%, rgba(232, 32, 15, 0.12) 0%, transparent 70%);
  color: var(--text-hi);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── TYPOGRAPHY ── */
.display { font-family: var(--font-display); font-weight: 700; }
.heading { font-family: var(--font-heading); font-weight: 600; }
.text-flame { color: var(--flame); }
.text-mid { color: var(--text-mid); }
.text-dim { color: var(--text-dim); }

h1 { font-family: var(--font-display); font-weight: 700; }
h2 { font-family: var(--font-heading); font-weight: 600; }
h3 { font-family: var(--font-heading); font-weight: 600; }

/* ── LAYOUT ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: var(--section-pad);
  position: relative;
}

/* ── NAVBAR (Floating Pill — sempre visibile) ── */
.navbar {
  position: fixed;
  top: 12px;
  left: 20px;
  right: 20px;
  z-index: 1000;
  border-radius: 20px;
  padding: 6px 20px;
  background: rgba(10, 3, 1, 0.45);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid rgba(255, 236, 222, 0.10);
  box-shadow:
    0 2px 12px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: background 0.4s var(--ease-out),
              border-color 0.4s var(--ease-out),
              box-shadow 0.4s var(--ease-out),
              backdrop-filter 0.4s var(--ease-out);
}

/* Al scroll si solidifica — più opaco, bordo più visibile */
.navbar.scrolled {
  background: rgba(10, 3, 1, 0.72);
  backdrop-filter: var(--glass-filter);
  -webkit-backdrop-filter: var(--glass-filter);
  border-color: var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.nav-logo > span {
  display: inline-block;
  transform: translateY(4.5px);
}

.nav-logo svg {
  width: 28px;
  height: 28px;
  fill: var(--flame);
  filter: drop-shadow(0 0 8px var(--flame-glow));
}

.nav-logo-img {
  height: 42px;
  width: auto;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(232, 32, 15, 0.50))
          drop-shadow(0 0 20px rgba(232, 32, 15, 0.22));
  transition: filter 0.3s ease, transform 0.3s var(--ease-spring);
}
.nav-logo:hover .nav-logo-img {
  filter: drop-shadow(0 0 16px rgba(232, 32, 15, 0.85))
          drop-shadow(0 0 32px rgba(232, 32, 15, 0.4));
  transform: scale(1.04);
}
@media (max-width: 480px) {
  .nav-logo-img { height: 34px; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--text-mid);
  transition: color 0.3s ease;
  font-weight: 500;
}

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

.nav-cta {
  background: var(--flame);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.nav-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px var(--flame-glow);
  color: #fff !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-hi);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.hero-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--canvas));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  max-width: 1200px;
  padding: 0 24px;
  width: 100%;
}

.hero-text {
  max-width: 520px;
  flex-shrink: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 32, 15, 0.1);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(232, 32, 15, 0.3);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--flame);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(232, 32, 15, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

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

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero h1 .flame-text {
  color: var(--flame);
  text-shadow: 0 0 40px var(--flame-glow), 0 0 80px rgba(232, 32, 15, 0.2);
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 440px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--crimson);
  color: #fff;
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(201, 22, 60, 0.4);
}

.btn-primary svg { width: 20px; height: 20px; fill: #fff; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-filter);
  -webkit-backdrop-filter: var(--glass-filter);
  color: var(--text-hi);
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: transform 0.3s var(--ease-spring), background 0.3s ease, box-shadow 0.3s ease;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--glass-shadow-hover);
}

.btn-secondary svg { width: 20px; height: 20px; fill: var(--text-hi); }

.hero-phone {
  flex-shrink: 0;
}

/* ── PHONE MOCKUP ── */
.phone-frame {
  width: 280px;
  aspect-ratio: 9 / 19.5;
  border-radius: 44px;
  border: 8px solid #080808;
  background: #000;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.15),
    0 50px 100px rgba(0, 0, 0, 0.9),
    0 0 40px var(--flame-soft);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: high-quality;
  -webkit-font-smoothing: antialiased;
  transition: transform 0.8s var(--ease-out);
}

.phone-frame:hover img {
  transform: scale(1.03);
}

.phone-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  border-radius: 34px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.05) 35%,
    transparent 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
  box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.9);
}

.phone-frame--notch::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 26px;
  background: #080808;
  border-radius: 0 0 18px 18px;
  z-index: 10;
}

.phone-3d {
  transform: perspective(1200px) rotateY(-12deg) rotateX(4deg) translateZ(0);
  transform-style: preserve-3d;
  will-change: transform;
  backface-visibility: hidden;
  transition: transform 0.6s var(--ease-spring);
}

.phone-3d:hover {
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg) translateY(-10px) translateZ(0);
}

.phone-3d-reverse {
  transform: perspective(1200px) rotateY(12deg) rotateX(4deg) translateZ(0);
  transform-style: preserve-3d;
  will-change: transform;
  backface-visibility: hidden;
  transition: transform 0.6s var(--ease-spring);
}

.phone-3d-reverse:hover {
  transform: perspective(1200px) rotateY(4deg) rotateX(2deg) translateY(-10px) translateZ(0);
}

.phone-glow {
  position: absolute;
  width: 140%;
  height: 140%;
  top: -20%;
  left: -20%;
  background: radial-gradient(ellipse at center, var(--flame), transparent 60%);
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
  filter: blur(40px);
  -webkit-filter: blur(40px);
  animation: pulse-glow 4s ease-in-out infinite alternate;
  
  will-change: transform, filter;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
}

@keyframes pulse-glow {
  0% { opacity: 0.12; transform: scale(0.95) translate3d(0, 0, 0); }
  100% { opacity: 0.22; transform: scale(1.05) translate3d(0, 0, 0); }
}

/* ── STEPS SECTION (Glass) ── */
.steps {
  background: transparent;
  border-top: none;
  border-bottom: none;
}

.section-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--flame);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  letter-spacing: -1px;
  margin-bottom: 16px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto 60px;
  line-height: 1.7;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}

.step-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-filter);
  -webkit-backdrop-filter: var(--glass-filter);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.4s var(--ease-out), border-color 0.4s ease, box-shadow 0.4s ease;
  box-shadow: var(--glass-shadow);
  position: relative;
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 32, 15, 0.4);
  box-shadow: var(--glass-shadow-hover);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 130, 20, 0.12);
  color: var(--flame-orange);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ── FEATURES ── */
.feature {
  padding: 100px 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.feature.feature--reverse .container {
  flex-direction: row-reverse;
}

.feature .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.feature-text {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: var(--glass-filter);
  -webkit-backdrop-filter: var(--glass-filter);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 32px;
  padding: 48px;
  box-shadow: var(--glass-shadow);
}

.feature-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.feature-text p {
  font-size: 1.15rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 30px;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  color: var(--text-mid);
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: '🔥';
  flex-shrink: 0;
  font-size: 1.2rem;
}

.feature-visual {
  flex: 0 0 auto;
  position: relative;
}

.phone-frame {
  box-sizing: content-box;
  width: 300px;
  aspect-ratio: 1179 / 2556;
  background: #0a0301;
  border-radius: 40px;
  position: relative;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05),
              0 30px 60px rgba(0, 0, 0, 0.6);
}

.phone-frame--notch::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 30px;
  background: #000;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 10;
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  position: relative;
  z-index: 2;
}

.phone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle at center, rgba(232, 32, 15, 0.3) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.phone-3d {
  transform: perspective(1000px) rotateY(-15deg) rotateX(5deg) translateZ(0);
  transform-style: preserve-3d;
  will-change: transform;
  backface-visibility: hidden;
  transition: transform 0.5s ease;
}

.phone-3d:hover {
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateZ(0);
}

.phone-3d-reverse {
  transform: perspective(1000px) rotateY(15deg) rotateX(5deg) translateZ(0);
  transform-style: preserve-3d;
  will-change: transform;
  backface-visibility: hidden;
  transition: transform 0.5s ease;
}

.phone-3d-reverse:hover {
  transform: perspective(1000px) rotateY(5deg) rotateX(2deg) translateZ(0);
}
/* ── FAQ (Glass Container) ── */
.faq {
  background: transparent;
  border-top: none;
}

.faq-grid {
  max-width: 720px;
  margin: 0 auto;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-filter);
  -webkit-backdrop-filter: var(--glass-filter);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 12px 32px;
  box-shadow: var(--glass-shadow);
}

.faq-item {
  border-bottom: 1px solid var(--hairline);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-hi);
  text-align: left;
  transition: color 0.3s ease;
  font-family: var(--font-heading);
}

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

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
  color: var(--text-dim);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ── CTA FINAL (Glass) ── */
.cta-final {
  text-align: center;
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--flame-glow), transparent 60%);
  opacity: 0.2;
  pointer-events: none;
  filter: blur(40px);
  -webkit-filter: blur(40px);
  
  will-change: transform, filter;
  transform: translate(-50%, -50%) translate3d(0, 0, 0);
  -webkit-transform: translate(-50%, -50%) translate3d(0, 0, 0);
}

.cta-final h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -1px;
  margin-bottom: 20px;
  position: relative;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.cta-final p {
  color: var(--text-mid);
  font-size: 1.1rem;
  margin-bottom: 36px;
  position: relative;
}

.cta-final .hero-actions {
  justify-content: center;
  position: relative;
}

/* ── FOOTER (Glass) ── */
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 48px 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  position: relative;
  z-index: 2;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.5px;
  color: var(--text-hi);
}
.footer-brand > span {
  display: inline-block;
  transform: translateY(3.5px);
}

.footer-logo-img {
  height: 40px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(201, 22, 60, 0.45))
          drop-shadow(0 0 20px rgba(201, 22, 60, 0.25));
  transition: transform 0.3s var(--ease-spring);
}

.footer-brand:hover .footer-logo-img {
  transform: scale(1.08);
  filter: drop-shadow(0 0 14px rgba(201, 22, 60, 0.65))
          drop-shadow(0 0 28px rgba(201, 22, 60, 0.35));
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-dim);
  transition: color 0.3s ease;
}

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

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-dim);
  width: 100%;
  text-align: center;
  margin-top: 20px;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-content { gap: 40px; }
  .phone-frame { width: 240px; }
}

@media (max-width: 768px) {
  section { padding: var(--section-pad-mobile); }

  /* Navbar mobile */
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 3, 1, 0.85);
    backdrop-filter: blur(var(--glass-blur)) saturate(1.8);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.8);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--glass-border);
    border-radius: 0 0 20px 20px;
  }

  /* Hero mobile */
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 48px;
    padding-top: 40px;
  }

  .hero-description { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero h1 { letter-spacing: -1px; }

  .phone-3d,
  .phone-3d-reverse,
  .phone-3d:hover,
  .phone-3d-reverse:hover {
    transform: perspective(1200px) rotateY(0) rotateX(0) translateZ(0);
  }

  .phone-frame { width: 220px; margin: 0 auto; }

  /* Feature Sections mobile */
  .feature .container {
    flex-direction: column;
    text-align: center;
    gap: 48px;
  }
  
  .feature.feature--reverse .container {
    flex-direction: column;
  }

  .feature-text {
    padding: 32px 24px;
  }

  /* Steps */
  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  /* Showcase mobile */
  .showcase-container {
    flex-direction: column;
    text-align: center;
    gap: 60px;
  }

  .showcase-text-slider {
    order: 2;
    min-height: 480px;
    padding: 32px 20px;
    width: 100%;
  }

  .showcase-text-slide {
    left: 20px;
    right: 20px;
    top: 32px;
  }

  .showcase-visual {
    order: 1;
    width: 240px;
  }
  
  .feature-list {
    text-align: left;
    display: inline-block;
  }
  
  .showcase-controls {
    justify-content: center;
    left: 0;
    right: 0;
    bottom: 30px;
  }

  /* Footer mobile */
  .footer .container {
    flex-direction: column;
    text-align: center;
  }

  .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.2rem; }
  .phone-frame { width: 190px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { justify-content: center; }
}

/* ── UTILITIES ── */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ── AMBIENT ORBS ── */
.ambient-orbs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  /* Accelerazione sul container */
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  will-change: transform;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  -webkit-filter: blur(50px);
  opacity: 0.25;
  transition: transform 0.2s ease-out;
  
  /* Forza compositing GPU per evitare sgranature su iOS */
  will-change: transform, filter;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--flame), transparent);
  top: -200px;
  left: -200px;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--gold), transparent);
  bottom: 10%;
  right: -100px;
}

.orb-3 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--flame-deep), transparent);
  top: 30%;
  left: 20%;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 40px) scale(0.9); }
}

/* ═══════════════════════════════════════════════════════════════
   PROTAGONISTI — Cast carousel
   ═══════════════════════════════════════════════════════════════ */

.protagonisti {
  padding: var(--section-pad);
  padding-bottom: 40px;
  overflow: hidden;
}

.protagonisti .container {
  margin-bottom: 48px;
}

.cast-carousel-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  padding-bottom: 32px;
}

.cast-carousel-wrap:active { cursor: grabbing; }
.cast-carousel-wrap::-webkit-scrollbar { display: none; }

.cast-carousel {
  display: flex;
  gap: 16px;
  padding-left: max(24px, calc((100vw - 1200px) / 2));
  padding-right: max(24px, calc((100vw - 1200px) / 2));
  width: max-content;
}

.cast-card {
  flex-shrink: 0;
  width: 190px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease-spring), border-color 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: var(--glass-filter);
  -webkit-backdrop-filter: var(--glass-filter);
  box-shadow: var(--glass-shadow);
}

.cast-card:hover {
  transform: translateY(-8px);
  border-color: rgba(232, 32, 15, 0.6);
  box-shadow: var(--glass-shadow-hover);
}

.cast-img-wrap {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #0a0004;
}

.cast-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}

.cast-card:hover .cast-img-wrap img {
  transform: scale(1.06);
}

.cast-info {
  padding: 14px 16px 18px;
}

.cast-year {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--flame);
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--flame-soft);
  border: 1px solid rgba(232, 32, 15, 0.3);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 8px;
}

.cast-name {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.3;
}

.cast-nickname {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-style: italic;
  line-height: 1.4;
}

.cast-card--cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  background: linear-gradient(135deg, rgba(232, 32, 15, 0.12), rgba(255, 215, 0, 0.04));
  border-color: rgba(232, 32, 15, 0.35);
}

.cast-cta-inner {
  text-align: center;
  padding: 24px;
}

.cast-cta-num {
  display: block;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--flame);
  line-height: 1;
  margin-bottom: 6px;
  text-shadow: 0 0 40px var(--flame-glow);
}

.cast-cta-label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-mid);
  margin-bottom: 20px;
  line-height: 1.5;
}

.cast-cta-arrow {
  display: inline-block;
  font-size: 1.4rem;
  color: var(--flame);
  transition: transform 0.3s var(--ease-spring);
}

.cast-card--cta:hover .cast-cta-arrow {
  transform: translateX(8px);
}

/* ═══════════════════════════════════════════════════════════════
   SEO HUB — Partecipanti prominente + pill secondarie
   ═══════════════════════════════════════════════════════════════ */

.seo-hub {
  padding: var(--section-pad);
  padding-top: 60px;
}

.seo-hub-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 48px 52px;
  margin-bottom: 14px;
  text-decoration: none;
  color: inherit;
  backdrop-filter: var(--glass-filter);
  -webkit-backdrop-filter: var(--glass-filter);
  box-shadow: var(--glass-shadow);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s var(--ease-spring);
  overflow: hidden;
  position: relative;
}

.seo-hub-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(232, 32, 15, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.seo-hub-main:hover {
  border-color: rgba(232, 32, 15, 0.5);
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-3px);
}

.seo-hub-main-text .section-eyebrow {
  text-align: left;
  margin-bottom: 14px;
}

.seo-hub-main-text h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -1px;
  margin-bottom: 12px;
  line-height: 1.1;
}

.seo-hub-main-text p {
  color: var(--text-mid);
  max-width: 440px;
  margin-bottom: 24px;
  font-size: 1rem;
  line-height: 1.65;
}

.seo-hub-main-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--flame);
  font-weight: 600;
  font-size: 0.95rem;
  transition: gap 0.3s var(--ease-spring);
}

.seo-hub-main:hover .seo-hub-main-cta {
  gap: 12px;
}

.seo-hub-bg-num {
  font-family: var(--font-display);
  font-size: clamp(6rem, 12vw, 10rem);
  font-weight: 700;
  color: var(--flame);
  opacity: 0.08;
  line-height: 1;
  flex-shrink: 0;
  margin-left: 32px;
  user-select: none;
  letter-spacing: -4px;
}

.seo-hub-secondary {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.seo-hub-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 100px;
  padding: 9px 18px;
  text-decoration: none;
  color: var(--text-mid);
  font-size: 0.82rem;
  font-weight: 500;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.seo-hub-pill:hover {
  border-color: rgba(232, 32, 15, 0.4);
  color: var(--text-hi);
  background: var(--surface-hover);
}

.seo-hub-pill-num {
  font-weight: 700;
  color: var(--flame);
  font-family: var(--font-display);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .seo-hub-main {
    padding: 28px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .seo-hub-bg-num { display: none; }
  .protagonisti { padding-bottom: 20px; }
}

/* ═══════════════════════════════════════════════════════════════
   TEASER LANDING — Pre-lancio premium (no screenshot app)
   ═══════════════════════════════════════════════════════════════ */

.teaser-body { overflow-x: hidden; }

/* Bottoni primari nella teaser: testo bianco per leggibilità sul rosso fuoco */
.teaser-body .btn-primary { color: #fff; }
.teaser-body .btn-primary svg { fill: #fff; }

/* ── HERO ── */
.teaser-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Bloom: l'hero è illuminato dal proprio fuoco — reso più intenso e allineato ai token */
.teaser-hero::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -12%;
  width: min(1000px, 140vw);
  height: 85vh;
  background: radial-gradient(ellipse at 50% 80%,
    rgba(255, 130, 20, 0.22) 0%,
    rgba(201, 22, 60, 0.16) 35%,
    rgba(122, 8, 32, 0.10) 65%,
    transparent 85%);
  filter: blur(40px);
  -webkit-filter: blur(40px);
  pointer-events: none;
  z-index: 1;
  
  will-change: transform, filter;
  transform: translateX(-50%) translate3d(0, 0, 0);
  -webkit-transform: translateX(-50%) translate3d(0, 0, 0);
}

.teaser-hero-content {
  position: relative;
  z-index: 10;
  max-width: 760px;
  width: 100%;
}

.teaser-logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.teaser-logo-glow {
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle, var(--flame-glow), transparent 62%);
  filter: blur(30px);
  -webkit-filter: blur(30px);
  opacity: 0.5;
  z-index: -1;
  animation: pulse-glow 3.5s ease-in-out infinite alternate;
  
  will-change: transform, filter;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
}

.teaser-logo {
  width: auto;
  height: clamp(72px, 10vh, 96px);
  display: block;
  filter: drop-shadow(0 0 14px rgba(201, 22, 60, 0.55))
          drop-shadow(0 0 30px rgba(255, 130, 20, 0.25));
  animation: logo-glow-pulse 4s ease-in-out infinite alternate;
}

@keyframes logo-glow-pulse {
  from { filter: drop-shadow(0 0 14px rgba(201, 22, 60, 0.55)) drop-shadow(0 0 30px rgba(255, 130, 20, 0.25)); }
  to   { filter: drop-shadow(0 0 22px rgba(201, 22, 60, 0.85)) drop-shadow(0 0 50px rgba(255, 130, 20, 0.45)); }
}

@keyframes title-ignite {
  0%   { opacity: 0; filter: brightness(0.25) blur(6px); transform: translateY(10px); }
  55%  { opacity: 1; filter: brightness(1.5)  blur(0);   }
  100% { opacity: 1; filter: brightness(1);   transform: translateY(0); }
}

.teaser-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5.5vw, 4rem);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 22px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.55);
  animation: title-ignite 1.1s var(--ease-out) both;
}

@media (prefers-reduced-motion: reduce) {
  .teaser-hero h1 { animation: none; }
}

.teaser-hero h1 .flame-text {
  color: var(--flame);
  text-shadow: 0 0 44px var(--flame-glow), 0 0 80px rgba(232, 32, 15, 0.25);
}

/* ── HERO ENTRANCE — staggered reveal ── */
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Logo wrap — per primo, già esistente logo-glow-pulse lo gestisce,
   ma aggiungiamo l'entrata fade */
.teaser-logo-wrap {
  animation: hero-fade-up 0.7s var(--ease-out) 0.05s both;
}

.hero-badge {
  animation: hero-fade-up 0.7s var(--ease-out) 0.25s both;
}

/* h1 — usa già title-ignite, nessun doppio animate */

.teaser-tagline {
  animation: hero-fade-up 0.7s var(--ease-out) 0.55s both;
}

.teaser-actions {
  animation: hero-fade-up 0.7s var(--ease-out) 0.75s both;
}

.teaser-microcopy {
  animation: hero-fade-up 0.7s var(--ease-out) 0.95s both;
}

.teaser-scroll {
  animation: hero-fade-up 0.7s var(--ease-out) 1.15s both;
}

@media (prefers-reduced-motion: reduce) {
  .teaser-logo-wrap,
  .hero-badge,
  .teaser-tagline,
  .teaser-actions,
  .teaser-microcopy,
  .teaser-scroll {
    animation: none;
  }
}

.teaser-tagline {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0 auto 34px;
  max-width: 540px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.teaser-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.teaser-microcopy {
  font-size: 0.85rem;
  color: var(--text-dim);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.6;
  letter-spacing: 0.2px;
}

/* scroll cue */
.teaser-scroll {
  display: block;
  width: 26px;
  height: 42px;
  margin: 44px auto 0;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 100px;
  position: relative;
}

.teaser-scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: var(--flame);
  border-radius: 2px;
  animation: scroll-cue 1.8s ease-in-out infinite;
}

@keyframes scroll-cue {
  0%   { opacity: 0; transform: translateY(-4px); }
  40%  { opacity: 1; }
  80%  { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; }
}

/* ── WEDGE BAND ── */
.teaser-wedge {
  padding: 100px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: radial-gradient(ellipse at 50% 0%, rgba(232, 32, 15, 0.14), transparent 65%);
}

/* Watermark "FALÒ" — lettering bruciato sul fondo della sezione */
.teaser-wedge::after {
  content: 'FALÒ';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(120px, 22vw, 280px);
  font-weight: 700;
  letter-spacing: -6px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(232, 32, 15, 0.13);
  background: linear-gradient(
    180deg,
    rgba(255, 130, 20, 0.10) 0%,
    rgba(232, 32, 15, 0.07) 55%,
    transparent 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
  animation: falo-watermark-breathe 6s ease-in-out infinite alternate;
}

@keyframes falo-watermark-breathe {
  from { opacity: 0.75; }
  to   { opacity: 1; filter: drop-shadow(0 0 18px rgba(232, 32, 15, 0.12)); }
}

/* Il contenuto del wedge sta sopra il watermark */
.teaser-wedge .section-eyebrow,
.teaser-wedge .teaser-wedge-quote,
.teaser-wedge .teaser-wedge-sub,
.teaser-wedge .container {
  position: relative;
  z-index: 1;
}

.teaser-wedge .section-eyebrow {
  margin-bottom: 24px;
}

.teaser-wedge-quote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.6vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.2;
  max-width: 880px;
  margin: 0 auto 22px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.teaser-wedge-sub {
  font-size: clamp(0.98rem, 1.4vw, 1.1rem);
  color: var(--text-mid);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── PERCHÉ FANTAFALÒ ── */
.teaser-why {
  padding: 100px 24px;
  text-align: center;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 56px auto 0;
}

.why-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-filter);
  -webkit-backdrop-filter: var(--glass-filter);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px 28px 34px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.4s ease, box-shadow 0.4s ease;
  box-shadow: var(--glass-shadow);
}

.why-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(232, 32, 15, 0.12), transparent 70%);
  pointer-events: none;
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 32, 15, 0.45);
  box-shadow: var(--glass-shadow-hover);
}

/* Riflesso speculare sul vetro — "vero vetro" */
.why-card::after,
.step-card::after,
.values-card::after,
.waitlist-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.12) 0%,
    rgba(255,255,255,0.035) 22%,
    transparent 46%
  );
}

.why-num {
  display: block;
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 700;
  color: var(--flame-orange);
  line-height: 1;
  margin-bottom: 12px;
  text-shadow: 0 0 40px rgba(255, 130, 20, 0.45);
  position: relative;
}

.why-num--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3.6rem;
}

.why-num--icon svg {
  width: 3.2rem;
  height: 3.2rem;
  fill: var(--flame-orange);
  filter: drop-shadow(0 0 4px rgba(255, 130, 20, 1)) drop-shadow(0 0 14px rgba(255, 130, 20, 0.7)) drop-shadow(0 0 28px rgba(255, 130, 20, 0.35));
}

.why-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 12px;
  position: relative;
}

.why-card p {
  font-size: 0.93rem;
  color: var(--text-mid);
  line-height: 1.6;
  position: relative;
}

.why-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--flame-orange);
  opacity: 0.75;
  position: relative;
  transition: opacity 0.3s ease;
}

.why-card-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

a.why-card:hover .why-card-cta {
  opacity: 1;
}

a.why-card:hover .why-card-arrow {
  transform: translateX(5px);
}

/* ── COME FUNZIONA ── */
.teaser-how {
  padding: 100px 24px;
  text-align: center;
}

.teaser-how .steps-grid {
  margin-top: 56px;
}

.teaser-how-foot {
  margin-top: 40px;
  font-size: 0.95rem;
  color: var(--text-dim);
  font-style: italic;
}

/* ── VALUES ── */
.teaser-values {
  padding: 60px 24px 100px;
}

.values-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-filter);
  -webkit-backdrop-filter: var(--glass-filter);
  border-radius: 32px;
  padding: 52px 48px;
  box-shadow: var(--glass-shadow);
  position: relative;
}

.values-card h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}

.values-intro {
  color: var(--text-mid);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 26px;
}

.values-list {
  list-style: none;
  margin-bottom: 28px;
}

.values-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 0;
  color: var(--text-hi);
  font-size: 1.02rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.values-list li:last-child { border-bottom: none; }

.feature-list li::before,
.values-list li::before {
  content: '';
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  margin-top: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%,
    var(--core-hot) 0%, var(--core) 28%, var(--flame-orange) 65%, var(--ember-deep) 100%);
  box-shadow: 0 0 8px rgba(255, 130, 20, 0.6), 0 0 16px rgba(255, 130, 20, 0.25);
}

.values-brand-note {
  background: rgba(232, 32, 15, 0.12);
  border: 1px solid rgba(232, 32, 15, 0.3);
  border-radius: 18px;
  padding: 22px 24px;
}

.values-brand-note p {
  font-size: 0.96rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin: 0;
}

.values-brand-note strong { color: var(--text-hi); }

/* ── WAITLIST ── */
.teaser-waitlist {
  padding: 40px 24px 90px;
}

.waitlist-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-filter);
  -webkit-backdrop-filter: var(--glass-filter);
  border-radius: 28px;
  padding: 44px 40px;
  text-align: center;
  box-shadow: var(--glass-shadow);
  position: relative;
}

.waitlist-card h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.waitlist-sub {
  color: var(--text-mid);
  font-size: 0.96rem;
  line-height: 1.65;
  margin-bottom: 26px;
}

.waitlist-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 14px;
}

.waitlist-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 15px 18px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: rgba(0,0,0,0.4);
  color: var(--text-hi);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.waitlist-form input[type="email"]:focus {
  outline: none;
  border-color: var(--flame);
  box-shadow: 0 0 0 3px var(--flame-soft);
}

.waitlist-form button {
  padding: 15px 28px;
  border-radius: 12px;
  background: var(--flame);
  color: #fff;
  font-weight: 700;
  font-family: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.waitlist-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--flame-glow);
}

.waitlist-legal {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ── MEANWHILE ── */
.teaser-meanwhile {
  padding: 50px 24px 110px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Watermark "240" — il numero dell'archivio diventa elemento grafico cliccabile */
.meanwhile-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(140px, 28vw, 340px);
  font-weight: 700;
  letter-spacing: -12px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(232, 32, 15, 0.11);
  background: linear-gradient(
    180deg,
    rgba(255, 130, 20, 0.09) 0%,
    rgba(232, 32, 15, 0.06) 55%,
    transparent 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  pointer-events: auto;
  user-select: none;
  white-space: nowrap;
  text-decoration: none;
  z-index: 0;
  transition: -webkit-text-stroke-color 0.4s ease, filter 0.4s ease;
  animation: falo-watermark-breathe 7s ease-in-out infinite alternate;
}

.meanwhile-watermark:hover {
  -webkit-text-stroke-color: rgba(232, 32, 15, 0.28);
  filter: drop-shadow(0 0 30px rgba(232, 32, 15, 0.15));
}

/* Il contenuto sta sopra il watermark */
.teaser-meanwhile .container {
  position: relative;
  z-index: 1;
}

.meanwhile-cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* ══════════════════════════════════════════════════════════════
   DIFFERENZIAZIONE VISIVA — Midnight Inferno signature effects
   ══════════════════════════════════════════════════════════════ */

/* 1. Grain texture — carbone/cenere sul background scuro.
      Il competitor ha vetro pulito. Noi abbiamo superficie bruciata.
      Usiamo una trama PNG statica ad alta definizione per garantire compatibilità hardware WebKit/iOS. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.042;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyBAMAAAD/EQNuAAAAMFBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM693FAAAADnRSTlMAESIzRFVmd4iZqru8zMw4g/gAAAEKSURBVDjLdZHRDYMgEERtAAnQADRAB9AAHUIDOIAepIE6gB6c/67m5Csh+eAl772bC5cRkJ/FmZ7kXnNlV0b3vD5eN1v6d39zO5+B6zJ45w3hPffE3eBOG8IbfkPeh9eB/q3z4n1fWjXz2QWvGq8D1vE2YNu5FmE79+1WdFfRNtZ+b3fV7V8z/xbeFfQ1vO1cG9bN0B74dvcP6K5xZ+jveG9aPcC/4tXN34D/wM9G5M/u/F8aPcC94d7wXeB/eG9aPdC/4tXNn4H/QufMv+BFu5s7s/z/i/APeA+9FnqK/4tXxPugM/AeaOzN/oHPHj3A6c6d/x7+jP+DszPj5D/ADeDOZzwAAAABJRU5ErkJggg==");
  background-size: 50px 50px;
}

/* 2. Orb animations — gli orb si muovono lentamente, respiro atmosferico.
      Effetto: calore che pulsa nel background, mai statico. */
.orb-1 { animation: orb-drift-1 22s ease-in-out infinite alternate; }
.orb-2 { animation: orb-drift-2 28s ease-in-out infinite alternate; }
.orb-3 { animation: orb-drift-3 18s ease-in-out infinite alternate; }

@keyframes orb-drift-1 {
  from { transform: translate3d(0, 0, 0) scale(1);    opacity: 0.22; }
  to   { transform: translate3d(80px, -100px, 0) scale(1.2); opacity: 0.32; }
}
@keyframes orb-drift-2 {
  from { transform: translate3d(0, 0, 0) scale(1);    opacity: 0.18; }
  to   { transform: translate3d(-90px, 80px, 0) scale(1.15); opacity: 0.28; }
}
@keyframes orb-drift-3 {
  from { transform: translate3d(0, 0, 0) scale(1);    opacity: 0.14; }
  to   { transform: translate3d(65px, 90px, 0) scale(1.12);  opacity: 0.20; }
}

/* 3. Card ember glow — i card pulsano come brace, non come vetro.
      Nessun competitor ha questo comportamento sui glass panel. */
@keyframes card-ember-pulse {
  0%, 100% {
    box-shadow: 0 4px 24px rgba(0,0,0,0.4),
                inset 0 1px 0 rgba(255,255,255,0.18);
  }
  50% {
    box-shadow: 0 4px 24px rgba(0,0,0,0.4),
                inset 0 1px 0 rgba(255,255,255,0.18),
                0 0 28px rgba(232, 32, 15, 0.18),
                0 0 60px rgba(200, 50, 5, 0.06);
  }
}

.why-card  { animation: card-ember-pulse 5s ease-in-out infinite; }
.step-card { animation: card-ember-pulse 5s ease-in-out infinite; }
.why-card.delay-2,  .step-card.delay-2  { animation-delay: -1.6s; }
.why-card.delay-3,  .step-card.delay-3  { animation-delay: -3.3s; }

/* 4. Sezione separator glow — linea incandescente tra le sezioni.
      Dettaglio che si nota solo quando si toglie. */
.teaser-wedge,
.teaser-why,
.teaser-how,
.teaser-values,
.teaser-waitlist,
.teaser-meanwhile {
  position: relative;
  z-index: 2;
}

.teaser-why::before,
.teaser-how::before,
.teaser-values::before,
.teaser-waitlist::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(232, 32, 15, 0.25) 30%,
    rgba(255, 140, 0, 0.18) 50%,
    rgba(232, 32, 15, 0.25) 70%,
    transparent
  );
  box-shadow: 0 0 6px rgba(232,32,15,0.35);
  animation: ember-line-pulse 4s ease-in-out infinite alternate;
}

@keyframes ember-line-pulse {
  from { opacity: 0.45; }
  to   { opacity: 1;    filter: drop-shadow(0 0 4px rgba(232, 32, 15, 0.5)); }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; max-width: 420px; }
}

@media (max-width: 768px) {
  .teaser-hero { padding: 96px 16px 56px; }
  .teaser-actions { flex-direction: column; align-items: center; }
  .teaser-actions .btn-primary,
  .teaser-actions .btn-secondary { justify-content: center; }
  .teaser-wedge,
  .teaser-why,
  .teaser-how { padding: 72px 18px; }
  .values-card { padding: 40px 26px; }
  .waitlist-card { padding: 36px 24px; }
  .waitlist-form { flex-direction: column; }
  .waitlist-form button { width: 100%; }
  .meanwhile-cta-row { flex-direction: column; align-items: stretch; }

  /* Navbar mobile — teaser ha un solo link, lo teniamo visibile.
     Nessun hamburger serve con un solo item. */
  .teaser-body .nav-links {
    display: flex;
  }
  .teaser-body .nav-hamburger {
    display: none;
  }

  /* Orb giallo — su mobile è troppo invasivo a schermo stretto.
     Lo rendiamo quasi invisibile, il rosso/fuoco è sufficiente. */
  .orb-2 {
    opacity: 0.06;
    width: 300px;
    height: 300px;
  }

  /* Orb-3 ridotto per non pesare sul rendering mobile */
  .orb-3 {
    opacity: 0.08;
    width: 400px;
    height: 400px;
  }

  /* Navbar pill più stretta su mobile */
  .navbar {
    top: 8px;
    left: 10px;
    right: 10px;
    padding: 5px 14px;
  }

  /* Watermark 240 — letter-spacing ridotto su schermi stretti
     per evitare che le cifre si sovrappongano */
  .meanwhile-watermark {
    letter-spacing: -6px;
  }

  /* Watermark FALÒ — stessa cosa */
  .teaser-wedge::after {
    letter-spacing: -3px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   SOCIAL PICKER — bottone "Seguici" con icone sovrapposte
   ═══════════════════════════════════════════════════════════════ */

.social-picker-wrap {
  position: relative;
  display: inline-block;
}

/* Stack icone Instagram + TikTok sul bottone */
.social-icons-stack {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.sicon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.sicon-ig,
.sicon-tt {
  opacity: 1;
}

.btn-social-picker:hover .sicon {
  opacity: 0.85;
}

/* Separatore verticale tra le icone */
.icon-sep {
  display: inline-block;
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

/* Pannello glassmorphism */
.social-picker-panel {
  position: absolute;
  bottom: calc(100% + 10px);
  top: auto;
  left: 50%;
  transform: translateX(-50%) translateY(8px) scale(0.94);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.25s var(--ease-spring);

  background: rgba(18, 6, 3, 0.82);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border: 1px solid var(--glass-border);
  box-shadow:
    0 4px 24px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.04),
    inset 0 1px 0 rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 8px;
  min-width: 172px;
  z-index: 200;
}

.social-picker-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.social-picker-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  color: var(--text-hi);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.15s ease;
  white-space: nowrap;
}

.social-picker-option:hover {
  background: rgba(255,255,255,0.07);
}

.social-picker-option svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  flex-shrink: 0;
}

/* Mobile: pannello centrato e un po' più largo */
@media (max-width: 480px) {
  .social-picker-panel {
    min-width: 152px;
  }
}

/* ── TEASER ACTIONS — bottoni uguali su desktop e mobile ── */
.teaser-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
}

.teaser-actions > .social-picker-wrap {
  width: 100%;
}

.teaser-actions > .social-picker-wrap .btn-primary {
  width: 100%;
  justify-content: center;
}

.teaser-actions > .btn-secondary {
  width: 100%;
  justify-content: center;
}

@media (max-width: 768px) {
  .teaser-actions {
    grid-template-columns: 1fr !important;
    max-width: 280px;
    align-items: unset;
    flex-direction: unset;
  }
}

/* ════════════════════════════════════════════════════════════════════
   PAGINE EVERGREEN (cos-e-fantafalo, come-funziona, regole, faq,
   chi-siamo, press). Layout testuale, coerente con design system,
   ottimizzato per leggibilità lunga e accessibility WCAG AA.
   ════════════════════════════════════════════════════════════════════ */

.page-evergreen {
  padding: 140px 24px 120px;
  max-width: 100%;
  position: relative;
  z-index: 2;
}

.page-evergreen .container {
  max-width: 760px;
  margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb-trail {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-mid);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}

.breadcrumb-trail a {
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-trail a:hover {
  color: var(--flame);
}

.breadcrumb-sep {
  margin: 0 8px;
  opacity: 0.5;
}

/* Hero pagina */
.page-hero {
  margin-bottom: 48px;
  text-align: left;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -1px;
  color: var(--text-hi);
  margin: 8px 0 16px;
  font-weight: 700;
}

.page-lead {
  font-family: var(--font-body);
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.65;
  color: var(--text-mid);
  max-width: 680px;
  margin: 0;
}

/* Sezioni di contenuto */
.page-section {
  margin: 0 0 48px;
}

.page-evergreen .page-section:not(.page-section--callout) {
  padding: 0;
}

.page-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  letter-spacing: -0.5px;
  color: var(--flame);
  margin: 0 0 16px;
  font-weight: 700;
}

.page-section h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text-hi);
  margin: 20px 0 8px;
  font-weight: 600;
}

.page-section p {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--text-mid);
  margin: 0 0 16px;
}

.page-section p:last-child {
  margin-bottom: 0;
}

.page-section p strong {
  color: var(--text-hi);
  font-weight: 600;
}

.page-section a {
  color: var(--flame);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 32, 15, 0.25);
  transition: border-color 0.2s ease;
}

.page-section a:hover {
  border-bottom-color: var(--flame);
}

/* Callout (sezioni con sfondo vetro caldo) */
.page-section--callout {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-filter);
  -webkit-backdrop-filter: var(--glass-filter);
  border-radius: 20px;
  padding: 32px 36px;
  box-shadow: var(--glass-shadow);
}

.callout-eyebrow {
  font-family: var(--font-mono, var(--font-body));
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--flame);
  margin: 0 0 16px;
}

.callout-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.callout-list li {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-mid);
  padding: 10px 0 10px 22px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.callout-list li:last-child {
  border-bottom: none;
}

.callout-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 19px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--flame);
  box-shadow: 0 0 6px rgba(232, 32, 15, 0.6);
}

.callout-list strong {
  color: var(--text-hi);
  font-weight: 600;
}

/* Step marker (usato nella pagina come-funziona) */
.step-marker {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 36px;
  font-weight: 700;
  color: var(--flame);
  opacity: 0.45;
  margin: 0 0 8px;
  letter-spacing: -2px;
  line-height: 1;
}

/* FAQ list */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-item:first-child {
  padding-top: 4px;
}

.faq-item:last-child {
  border-bottom: none;
  padding-bottom: 4px;
}

.faq-item h2 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-hi);
  margin: 0 0 12px;
  letter-spacing: -0.2px;
}

.faq-item p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-mid);
  margin: 0;
}

/* Press quote (block per descrizioni canoniche) */
.press-quote {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-hi);
  background: rgba(255, 255, 255, 0.025);
  border-left: 3px solid var(--flame);
  padding: 20px 24px;
  margin: 16px 0;
  border-radius: 0 8px 8px 0;
}

.press-quote p {
  margin: 0 0 12px;
  font-size: 16px;
  color: var(--text-hi);
}

.press-quote p:last-child {
  margin-bottom: 0;
}

.press-quote code {
  background: rgba(232, 32, 15, 0.12);
  color: var(--flame);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.92em;
}

/* Sezione "Continua" con card correlate.
   Compatta, segue subito la sezione precedente con solo padding-top + border. */
.page-related {
  margin-top: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.page-evergreen .page-related {
  padding-bottom: 0;
}

.page-related .section-eyebrow {
  margin-bottom: 12px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.related-card {
  display: block;
  padding: 24px 22px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-filter);
  -webkit-backdrop-filter: var(--glass-filter);
  border-radius: 16px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid var(--glass-border);
}

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--glass-shadow-hover);
  border-color: rgba(232, 32, 15, 0.35);
}

.related-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--text-hi);
  margin: 0 0 8px;
  font-weight: 600;
}

.related-card p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-mid);
  margin: 0;
}

/* Responsive evergreen pages */
@media (max-width: 768px) {
  .page-evergreen {
    padding: 110px 18px 80px;
  }

  .page-section--callout {
    padding: 26px 22px;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .press-quote {
    padding: 18px 20px;
    font-size: 15px;
  }
}

