/* =========================================================
   STRATEGIC PROFITS — Editorial layer
   Polish CSS Awards: type editoriale, aurora, grain, bento,
   annotazioni, micro-interazioni teatrali.
   ========================================================= */

:root {
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --mono: 'JetBrains Mono', 'SF Mono', ui-monospace, monospace;
  --noise-opacity: 0.025;
}

/* ===== GRAIN OVERLAY (sottile rumore di film) ===== */
body::before {
  content: "";
  pointer-events: none;
  position: fixed; inset: 0;
  z-index: 200;
  opacity: var(--noise-opacity);
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
:root[data-theme="light"] { --noise-opacity: 0.035; }

/* ===== AURORA — strato di colore vivido dietro le sezioni chiave ===== */
.aurora {
  position: absolute; inset: 0;
  pointer-events: none; overflow: hidden;
  z-index: 0;
}
.aurora::before, .aurora::after {
  content: "";
  position: absolute;
  width: 80vw; height: 80vw; max-width: 900px; max-height: 900px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  mix-blend-mode: screen;
}
.aurora::before {
  background: radial-gradient(circle, var(--purple-bright), transparent 60%);
  top: -25%; left: -15%;
  animation: auroraDrift 22s ease-in-out infinite alternate;
}
.aurora::after {
  background: radial-gradient(circle, var(--sp-green), transparent 60%);
  bottom: -30%; right: -10%;
  animation: auroraDrift 28s ease-in-out infinite alternate-reverse;
}
:root[data-theme="light"] .aurora::before,
:root[data-theme="light"] .aurora::after {
  opacity: 0.3; mix-blend-mode: multiply;
}
@keyframes auroraDrift {
  0%   { transform: translate(0, 0)   scale(1);   }
  100% { transform: translate(8%, -6%) scale(1.15); }
}

/* Section content above aurora */
.section > .container,
.section > .container-narrow,
.section > * { position: relative; z-index: 1; }

/* ===== SECTION INDEX (numerazione editoriale) ===== */
.section-index {
  display: flex; align-items: baseline; gap: 16px;
  font-family: var(--mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 24px;
}
.section-index .num {
  font-size: 14px; font-weight: 600;
  color: var(--acc);
  font-variant-numeric: tabular-nums;
}
.section-index .rule {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--border) 0%, transparent 100%);
}
.section-head.left .section-index { justify-content: flex-start; }
.section-head:not(.left) .section-index { justify-content: center; }
.section-head:not(.left) .section-index .rule { display: none; }

/* ===== EDITORIAL HEADINGS (serif italic display) ===== */
.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  /* Compensate optical baseline */
  line-height: 0.95;
}
.serif-display {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.15em;
  letter-spacing: -0.02em;
}

/* ===== HAND-DRAWN UNDERLINE (SVG inline via mask) ===== */
.handline {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.handline::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%; bottom: -0.18em;
  height: 0.32em;
  background: var(--acc);
  opacity: 0.32;
  border-radius: 999px;
  transform: skewX(-8deg) rotate(-1deg);
  z-index: -1;
}
.handline-arrow {
  position: relative;
  display: inline-block;
}
.handline-arrow::before {
  content: "";
  position: absolute;
  left: -8%; right: -8%; bottom: -8px;
  height: 12px;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 Q 50 0, 100 5 T 198 4' stroke='%238B5CF6' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 100% 100%;
}

/* ===== HERO 2.0 ===== */
.hero {
  padding-top: clamp(80px, 11vw, 140px);
  padding-bottom: clamp(80px, 11vw, 140px);
}
.hero-grid-bg {
  background-size: 96px 96px;
  opacity: 0.45;
}
.hero-glow { opacity: 0.85; }
.hero-eyebrow {
  font-family: var(--mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-3);
  max-width: 720px;
  text-transform: uppercase;
}
.hero-eyebrow strong { color: var(--text); font-weight: 600; }

.hero-headline {
  font-size: clamp(2.4rem, 5.8vw, 5rem);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-top: 28px;
  max-width: 1080px;
}
[data-hero="bold"] .hero-headline {
  text-align: center;
  margin-left: auto; margin-right: auto;
  max-width: 1100px;
}
.hero-headline .serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.025em;
}
.hero-headline .gradient {
  background: linear-gradient(110deg, var(--acc) 10%, var(--acc-alt) 90%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.hero-sub {
  margin-top: 28px;
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  color: var(--text-2);
  max-width: 580px;
  line-height: 1.6;
}
[data-hero="bold"] .hero-sub { margin-left: auto; margin-right: auto; text-align: center; }

/* "FINALMENTE IN ITALIA" label */
[data-hero="bold"] .hero-finally {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  color: var(--text-2);
  margin-bottom: 28px;
}
[data-hero="bold"] .hero-finally::before {
  content: "IT";
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  background: linear-gradient(90deg, #008C45 33%, #ffffff 33% 66%, #CD212A 66%);
  border-radius: 999px;
  font-family: var(--mono); font-weight: 700;
  font-size: 0; /* hide text, only show flag */
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 1px var(--border-strong);
}

/* Pull-stats riga inline sotto i CTA */
.hero-pullstats {
  margin-top: 40px;
  display: flex; gap: 32px; justify-content: center; flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  max-width: 720px; margin-left: auto; margin-right: auto;
}
[data-hero="split"] .hero-pullstats { justify-content: flex-start; margin-left: 0; }
.hero-pullstat {
  display: flex; flex-direction: column;
  align-items: center; gap: 4px;
}
[data-hero="split"] .hero-pullstat { align-items: flex-start; }
.hero-pullstat .v {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero-pullstat .v sup { font-size: 0.55em; vertical-align: super; opacity: 0.8; }
.hero-pullstat .k {
  font-family: var(--mono);
  font-size: 10px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-3);
}

/* Scroll cue */
.scroll-cue {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-3);
  pointer-events: none;
  opacity: 0.7;
}
.scroll-cue .line {
  width: 1px; height: 36px;
  background: linear-gradient(180deg, var(--border-strong) 0%, transparent 100%);
  position: relative; overflow: hidden;
}
.scroll-cue .line::after {
  content: ""; position: absolute; top: -50%;
  left: 0; right: 0; height: 50%;
  background: linear-gradient(180deg, transparent, var(--acc));
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { transform: translateY(0); }
  100% { transform: translateY(300%); }
}

/* ===== KICKER 2.0 (mono + tighter) ===== */
.kicker {
  font-family: var(--mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em;
  padding: 6px 12px 6px 10px;
  background: var(--acc-bg);
  color: var(--acc);
  border: 1px solid var(--acc-soft);
  border-radius: 999px;
  text-transform: uppercase;
}
.kicker .dot {
  width: 5px; height: 5px;
  background: var(--acc);
  box-shadow: 0 0 8px var(--acc);
}

/* ===== SECTION HEADS 2.0 ===== */
.section-head h2 {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}
.section-head h2 .serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.section-head p {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.6;
  max-width: 620px; margin-left: auto; margin-right: auto;
}
.section-head.left p { margin-left: 0; }

/* ===== MASSIVE QUOTE BLOCK (full-bleed) ===== */
.bigquote {
  padding: clamp(80px, 12vw, 160px) 0;
  text-align: center;
  position: relative;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
}
.bigquote-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(8rem, 18vw, 16rem);
  color: var(--acc);
  opacity: 0.18;
  line-height: 0.7;
  letter-spacing: -0.06em;
  margin-bottom: -0.3em;
  pointer-events: none;
}
.bigquote-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3.4vw, 3rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.02em;
  max-width: 1080px;
  margin: 0 auto;
  color: var(--text);
  text-wrap: balance;
}
.bigquote-text em {
  font-style: normal;
  background: linear-gradient(110deg, var(--acc), var(--acc-alt));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--serif);
  font-style: italic;
}
.bigquote-attr {
  margin-top: 40px;
  display: inline-flex; align-items: center; gap: 14px;
}
.bigquote-attr-photo {
  width: 48px; height: 48px; border-radius: 50%;
  overflow: hidden; border: 1.5px solid var(--border-strong);
}
.bigquote-attr-photo img { width: 100%; height: 100%; object-fit: cover; }
.bigquote-attr-text {
  text-align: left;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-3);
}
.bigquote-attr-text strong {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 600;
  letter-spacing: -0.01em; text-transform: none;
  color: var(--text);
  margin-bottom: 2px;
}

/* ===== STATS 2.0 (asymmetric bento, integrated serif numbers) ===== */
.stats-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 16px;
}
.stats-bento .stat-tile {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 56px);
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 280px;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.stats-bento .stat-tile:hover { border-color: var(--acc); transform: translateY(-4px); }
.stats-bento .stat-tile::before {
  content: ""; position: absolute; inset: auto -30% -50% auto;
  width: 80%; aspect-ratio: 1;
  background: radial-gradient(circle, var(--acc-bg) 0%, transparent 65%);
  pointer-events: none;
}
.stat-tile .stat-key {
  font-family: var(--mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-3);
}
.stat-tile .stat-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(5rem, 12vw, 10rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--text);
  background: linear-gradient(180deg, var(--text) 0%, color-mix(in oklab, var(--text) 35%, transparent) 130%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 14px 0;
}
.stat-tile .stat-num sup {
  font-size: 0.4em;
  vertical-align: super;
  color: var(--acc);
  background: none;
  -webkit-text-fill-color: var(--acc);
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 800;
  margin-left: 8px;
}
.stat-tile .stat-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600; font-size: 1.05rem;
  color: var(--text);
}
.stat-tile .stat-sub {
  color: var(--text-3); margin-top: 6px;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .stats-bento { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .stats-bento .stat-tile {
    padding: 20px 18px;
    min-height: 180px;
    border-radius: var(--radius-lg);
  }
  .stat-tile .stat-num {
    font-size: clamp(3rem, 14vw, 4.5rem);
    margin: 8px 0;
  }
  .stat-tile .stat-label {
    font-size: 0.9rem;
  }
  .stat-tile .stat-sub {
    font-size: 0.82rem;
  }
  .stat-tile .stat-key {
    font-size: 10px;
    letter-spacing: 0.12em;
  }
}
@media (max-width: 380px) {
  .stats-bento .stat-tile {
    padding: 16px 14px;
    min-height: 160px;
  }
  .stat-tile .stat-num {
    font-size: clamp(2.6rem, 12vw, 3.8rem);
  }
}

/* ===== BENTO BENEFITS (asymmetric) ===== */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 16px;
}
.bento-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3vw, 36px);
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.bento-card:hover { border-color: var(--acc); transform: translateY(-4px); }
.bento-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.2rem, 1.6vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}
.bento-card h4 .serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}
.bento-card p {
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.55;
}
.bento-num {
  font-family: var(--mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--acc);
}
/* Sizing variations */
.bento-card.span-4 { grid-column: span 4; }
.bento-card.span-3 { grid-column: span 3; }
.bento-card.span-2 { grid-column: span 2; }
.bento-card.span-6 { grid-column: span 6; }
.bento-card.row-2 { grid-row: span 2; }

/* Bento accent variants */
.bento-card.accent-purple {
  background: linear-gradient(160deg, color-mix(in oklab, var(--purple-bright) 18%, var(--panel)) 0%, var(--panel) 60%);
  border-color: color-mix(in oklab, var(--purple-bright) 30%, var(--border));
}
.bento-card.accent-green {
  background: linear-gradient(160deg, color-mix(in oklab, var(--sp-green) 14%, var(--panel)) 0%, var(--panel) 60%);
  border-color: color-mix(in oklab, var(--sp-green) 30%, var(--border));
}
.bento-card.accent-purple .bento-num { color: var(--purple-bright); }
.bento-card.accent-green .bento-num { color: var(--sp-green); }

.bento-card .bento-visual {
  margin-top: 24px;
  display: flex; align-items: center; justify-content: center;
  flex: 1;
  position: relative;
}
.bento-pile {
  display: flex; gap: -20px;
  position: relative;
  height: 80px;
}
.bento-pile span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--panel-2);
  border: 2px solid var(--bg);
  overflow: hidden;
  margin-left: -16px;
  transition: transform .25s var(--ease);
}
.bento-pile span:first-child { margin-left: 0; }
.bento-pile span:hover { transform: translateY(-4px); z-index: 2; }
.bento-pile span img { width: 100%; height: 100%; object-fit: cover; }
.bento-pile-more {
  font-family: var(--mono); font-size: 11px;
  color: var(--text-3);
  align-self: center; margin-left: 8px;
}

@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; }
  .bento-card.span-2, .bento-card.span-3, .bento-card.span-4, .bento-card.span-6 { grid-column: span 1; }
}

/* ===== PRICING 2.0 ===== */
.price-card.featured {
  background:
    radial-gradient(ellipse at top, var(--acc-bg) 0%, transparent 50%),
    var(--panel);
  border: 1px solid color-mix(in oklab, var(--acc) 40%, var(--border));
  overflow: hidden;
  position: relative;
}
.price-card.featured::after {
  content: "";
  position: absolute; inset: -1px;
  background: linear-gradient(110deg,
    transparent 0%,
    transparent 40%,
    color-mix(in oklab, var(--acc) 30%, transparent) 50%,
    transparent 60%,
    transparent 100%);
  background-size: 250% 100%;
  border-radius: inherit;
  pointer-events: none;
  animation: shimmer 6s ease-in-out infinite;
  mix-blend-mode: overlay;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -100% 0; }
}

.price-seal {
  position: absolute;
  top: 28px; right: 28px;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--sp-green);
  color: #0e1f02;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  text-align: center;
  line-height: 1.05;
  transform: rotate(-12deg);
  box-shadow: 0 16px 32px -8px color-mix(in oklab, var(--sp-green) 50%, transparent);
  z-index: 2;
}
.price-seal .seal-big {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px; font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 2px;
}
.price-seal::before, .price-seal::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px dashed rgba(0,0,0,0.25);
}
.price-seal::after { inset: -8px; border: none; }

.price-final-amount {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(3.5rem, 6vw, 5rem);
  letter-spacing: -0.04em;
  color: var(--acc);
}

/* Price list refinement */
.price-list li .pi-val {
  font-family: var(--mono); font-size: 11px;
  color: var(--text-3);
  font-weight: 500;
}

/* ===== TESTIMONIAL CARDS (editorial polish) ===== */
.test-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  position: relative;
}
.test-card::before {
  content: '"';
  position: absolute;
  top: 12px; right: 22px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 5rem;
  line-height: 1;
  color: var(--quote-mark);
  pointer-events: none;
}
.test-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 4px 0;
}
.test-quote {
  color: var(--text-2);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ===== ENDORSE CARDS POLISH ===== */
.endorse-card::before {
  font-family: var(--serif);
  font-style: italic;
}
.endorse-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--text);
}
.endorse-name {
  font-family: var(--mono); font-size: 12px;
  font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ===== POLAROID PILE for Rich/Joe ===== */
.feature-photos {
  grid-auto-rows: 220px;
}
.feature-photos .ph:nth-child(1) {
  transform: rotate(-1.5deg);
}
.feature-photos .ph:nth-child(2) {
  transform: rotate(1deg);
}
.feature-photos .ph:hover {
  transform: rotate(0) scale(1.03) translateY(-4px);
  z-index: 3;
  box-shadow: 0 24px 60px -16px rgba(0,0,0,0.5);
}

/* ===== STEPS 2.0 (numbered with serif) ===== */
.step-card {
  padding: 36px 28px;
}
.step-icon {
  background: transparent;
  width: auto; height: auto;
  padding: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 3rem;
  font-weight: 400;
  color: var(--acc);
  line-height: 1;
  margin-bottom: 18px;
  letter-spacing: -0.04em;
}
.step-num-sm {
  font-family: var(--mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 6px;
}

/* ===== VS table polish ===== */
.vs-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.vs-col-head h4 .serif {
  font-family: var(--serif); font-style: italic; font-weight: 400;
}

/* ===== FAQ polish ===== */
.faq-summary {
  font-family: 'Inter', sans-serif;
  font-weight: 600; font-size: 1.05rem;
  letter-spacing: -0.01em;
  padding: 24px 28px;
}
.faq-item[open] .faq-summary { color: var(--acc); }
.faq-content {
  font-size: 0.96rem;
  padding: 0 28px 26px;
}
.faq-icon {
  font-family: var(--serif);
  font-style: italic; font-size: 22px;
  font-weight: 400;
}

/* ===== LOGOBAR POLISH ===== */
.logobar-label {
  font-family: var(--mono);
  font-size: 11px;
}
.logobar-track img {
  opacity: 0.5;
}
.logobar-track img:hover { opacity: 1; transform: scale(1.1); }

/* ===== KICKER ALT ===== */
.kicker.green {
  background: var(--sp-green-bg);
  color: var(--sp-green);
  border-color: var(--sp-green-soft);
}
.kicker.green .dot { background: var(--sp-green); box-shadow: 0 0 8px var(--sp-green); }

/* ===== COUNTDOWN POLISH ===== */
.countdown-row { gap: 8px; }
.cd-unit {
  background: var(--panel);
  border-radius: 12px;
  padding: 14px 16px;
  min-width: 72px;
}
.cd-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.cd-lbl {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
}

/* ===== RECEIVE ITEM polish ===== */
.receive-item h3 {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  letter-spacing: -0.025em;
  line-height: 1.05;
  font-weight: 700;
  margin: 16px 0 20px;
}
.receive-item h3 .serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}
.receive-num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acc);
}

/* ===== GUARANTEE BADGE POLISH ===== */
.guarantee h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.guarantee h3 .serif {
  font-family: var(--serif); font-style: italic; font-weight: 400;
}

/* ===== STICKY CTA refinement ===== */
.sticky-cta {
  background: color-mix(in oklab, var(--panel) 90%, transparent);
  backdrop-filter: blur(24px) saturate(180%);
  border-top: 1px solid var(--border);
  padding: 14px 16px;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.2);
}
.sticky-cta .stk-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text);
}
.sticky-cta .stk-title span {
  font-family: 'Inter', sans-serif;
  font-style: normal;
}

/* Mobile tightening — editorial overrides need explicit mobile shrink */
@media (max-width: 768px) {
  .sticky-cta {
    padding: 10px 12px;
    gap: 10px;
  }
  .sticky-cta .stk-info { line-height: 1.25; }
  .sticky-cta .stk-title { font-size: 0.95rem; }
  .sticky-cta .stk-title span { font-size: 0.78rem; }
  .sticky-cta .stk-sub { font-size: 0.7rem; margin-top: 2px; }
  .sticky-cta .stk-btn {
    padding: 10px 14px;
    font-size: 0.82rem;
    border-radius: 8px;
    gap: 6px;
  }
  .sticky-cta .stk-btn .arr svg { width: 11px; height: 11px; }
}
@media (max-width: 380px) {
  .sticky-cta { padding: 9px 10px; gap: 8px; }
  .sticky-cta .stk-title { font-size: 0.88rem; }
  .sticky-cta .stk-title span { font-size: 0.72rem; }
  .sticky-cta .stk-sub { font-size: 0.65rem; }
  .sticky-cta .stk-btn { padding: 9px 12px; font-size: 0.78rem; }
}

/* ===== BUTTONS 2.0 (editorial) ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  transition:
    transform .25s var(--ease),
    background .25s var(--ease),
    box-shadow .25s var(--ease),
    color .25s var(--ease),
    border-color .25s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-lg {
  padding: 16px 28px;
  font-size: 1rem;
  border-radius: 12px;
}
.btn-xl {
  padding: 19px 36px;
  font-size: 1.05rem;
  border-radius: 14px;
  font-weight: 700;
}

/* Primary — dual gradient + inner highlight + colored shadow */
.btn-primary {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 50%),
    linear-gradient(180deg, var(--purple-bright) 0%, color-mix(in oklab, var(--purple-bright) 78%, #000) 100%);
  color: #fff;
  border-color: color-mix(in oklab, var(--purple-bright) 60%, #000);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    inset 0 -1px 0 rgba(0,0,0,0.18),
    0 1px 2px rgba(0,0,0,0.3),
    0 8px 20px -6px color-mix(in oklab, var(--purple-bright) 55%, transparent);
  text-shadow: 0 1px 0 rgba(0,0,0,0.18);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 50%),
    linear-gradient(180deg, color-mix(in oklab, var(--purple-bright) 92%, #fff) 0%, var(--purple-bright) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.3),
    0 1px 2px rgba(0,0,0,0.3),
    0 18px 36px -8px color-mix(in oklab, var(--purple-bright) 65%, transparent);
}
.btn-primary:active { transform: translateY(0); }

/* Primary when accent=green */
:root[data-accent="green"] .btn-primary {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 50%),
    linear-gradient(180deg, var(--sp-green) 0%, color-mix(in oklab, var(--sp-green) 75%, #000) 100%);
  color: #0e1f02;
  border-color: color-mix(in oklab, var(--sp-green) 60%, #000);
  text-shadow: none;
}

/* Ghost — refined outline with dot */
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.btn-ghost::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 8px var(--acc);
  flex-shrink: 0;
  transition: transform .25s var(--ease);
}
.btn-ghost:hover {
  background: color-mix(in oklab, var(--acc) 8%, transparent);
  border-color: var(--acc);
  color: var(--text);
}
.btn-ghost:hover::before { transform: scale(1.4); }

/* Arrow that animates on hover */
.btn .arr {
  display: inline-flex; align-items: center;
  margin-left: 2px;
  transition: transform .25s var(--ease);
}
.btn:hover .arr { transform: translateX(4px); }
.btn .arr svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* Sweep light effect on primary */
.btn-primary::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .65s var(--ease);
  pointer-events: none;
  z-index: -1;
}
.btn-primary:hover::after {
  transform: translateX(100%);
}

/* Green button (CTA alternative) refresh */
.btn-green {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 50%),
    linear-gradient(180deg, var(--sp-green) 0%, color-mix(in oklab, var(--sp-green) 75%, #000) 100%);
  color: #0e1f02;
  border-color: color-mix(in oklab, var(--sp-green) 60%, #000);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.3),
    0 1px 2px rgba(0,0,0,0.3),
    0 8px 20px -6px color-mix(in oklab, var(--sp-green) 55%, transparent);
}
.btn-green:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    0 18px 36px -8px color-mix(in oklab, var(--sp-green) 65%, transparent);
}

/* Top-nav CTA: smaller, refined */
.topbar .btn-primary {
  padding: 10px 18px;
  font-size: 13px;
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.2),
    0 6px 14px -4px color-mix(in oklab, var(--purple-bright) 50%, transparent);
}

/* ===== PLATFORM SHOWCASE ===== */
.showcase {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0 clamp(40px, 6vw, 80px);
  overflow: hidden;
}
.showcase-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.showcase-bg::before {
  content: ""; position: absolute;
  width: 100vw; height: 100vw; max-width: 1400px; max-height: 1400px;
  left: 50%; top: 30%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse 50% 40% at center, var(--purple-soft) 0%, transparent 70%);
  filter: blur(40px);
}
.showcase-bg::after {
  content: ""; position: absolute;
  width: 70vw; aspect-ratio: 1.5;
  left: 50%; top: 65%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse 60% 50% at center, var(--sp-green-soft) 0%, transparent 70%);
  filter: blur(60px);
  opacity: 0.6;
}

.showcase-head {
  text-align: center;
  max-width: 880px; margin: 0 auto clamp(48px, 7vw, 72px);
}
.showcase-head h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 16px 0 18px;
}
.showcase-head h2 .serif {
  font-family: var(--serif); font-style: italic; font-weight: 400;
}
.showcase-head p {
  font-size: 1.1rem; color: var(--text-2);
  max-width: 580px; margin: 0 auto;
}

/* 3D stage */
.showcase-stage {
  position: relative;
  perspective: 2400px;
  perspective-origin: 50% 0%;
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
}
.showcase-frame {
  position: relative;
  transform-style: preserve-3d;
  transform:
    rotateX(8deg)
    rotateY(-3deg)
    rotateZ(0.2deg);
  transition: transform .8s var(--ease);
  will-change: transform;
}
.showcase-stage:hover .showcase-frame {
  transform:
    rotateX(2deg)
    rotateY(0deg)
    rotateZ(0deg);
}

/* Browser chrome */
.showcase-browser {
  background: linear-gradient(180deg, var(--panel) 0%, color-mix(in oklab, var(--panel) 90%, #000) 100%);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 60px 120px -40px rgba(0,0,0,0.6),
    0 30px 60px -20px color-mix(in oklab, var(--purple-bright) 30%, transparent);
}
.showcase-browser-bar {
  display: flex; align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: linear-gradient(180deg, color-mix(in oklab, var(--panel) 110%, #fff) 0%, var(--panel) 100%);
  border-bottom: 1px solid var(--border);
}
:root[data-theme="dark"] .showcase-browser-bar,
:root:not([data-theme]) .showcase-browser-bar {
  background: linear-gradient(180deg, #1e1828 0%, #16111c 100%);
}
.showcase-browser-dots {
  display: flex; gap: 8px;
}
.showcase-browser-dots span {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--text-mute); opacity: 0.5;
}
.showcase-browser-dots span:nth-child(1) { background: #ff5f57; opacity: 1; }
.showcase-browser-dots span:nth-child(2) { background: #febc2e; opacity: 1; }
.showcase-browser-dots span:nth-child(3) { background: #28c840; opacity: 1; }
.showcase-browser-url {
  flex: 1;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 14px;
  font-family: var(--mono); font-size: 12px;
  color: var(--text-3);
  display: flex; align-items: center; gap: 8px;
  max-width: 480px;
  margin: 0 auto;
}
.showcase-browser-url::before {
  content: ""; width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--sp-green);
  box-shadow: 0 0 6px var(--sp-green);
  flex-shrink: 0;
}
.showcase-browser-url strong {
  color: var(--text); font-weight: 500;
}

.showcase-image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--bg);
  overflow: hidden;
}
.showcase-image img {
  display: block;
  width: 100%;
  height: auto;
  /* Show top portion of the long screenshot */
}

/* Glow halo behind frame */
.showcase-stage::before {
  content: "";
  position: absolute;
  inset: 5% 5% 0 5%;
  background:
    radial-gradient(ellipse 70% 40% at 30% 0%, color-mix(in oklab, var(--purple-bright) 38%, transparent) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 30%, color-mix(in oklab, var(--sp-green) 22%, transparent) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
  transform: translateZ(-200px);
}

/* Reflection below */
.showcase-reflection {
  position: relative;
  margin: -16px auto 0;
  max-width: 1100px;
  height: 140px;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.22;
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
  filter: blur(3px);
  transform: rotateX(2deg);
  transform-origin: top center;
}
.showcase-reflection-inner {
  position: absolute;
  inset: -100% 0 auto 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  transform: scaleY(-1);
}
.showcase-reflection-inner img {
  width: 100%; height: auto;
  display: block;
}

/* Floating spec annotations */
.showcase-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1100px;
  margin: clamp(48px, 7vw, 80px) auto 0;
  padding: 0 24px;
}
.showcase-spec {
  display: flex; flex-direction: column; gap: 6px;
  padding: 20px 18px;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.showcase-spec:hover { border-color: var(--acc); transform: translateY(-3px); }
.showcase-spec .v {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--text);
}
.showcase-spec .v sup { font-size: 0.55em; color: var(--acc); vertical-align: super; opacity: 0.85; }
.showcase-spec .k {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-3);
  margin-top: 4px;
}

@media (max-width: 900px) {
  .showcase-specs { grid-template-columns: repeat(2, 1fr); }
  .showcase-frame { transform: rotateX(4deg) rotateY(0) rotateZ(0); }
}

/* ===== LIGHT theme tweaks for showcase ===== */
:root[data-theme="light"] .showcase-browser {
  background: linear-gradient(180deg, #fff 0%, #f4f1f8 100%);
  border-color: rgba(20,16,30,0.12);
  box-shadow:
    0 0 0 1px rgba(20,16,30,0.04) inset,
    0 60px 120px -40px rgba(20,16,30,0.18),
    0 30px 60px -20px color-mix(in oklab, var(--purple-bright) 18%, transparent);
}
:root[data-theme="light"] .showcase-browser-bar {
  background: linear-gradient(180deg, #faf8fc 0%, #f0ebf6 100%);
}

/* ===== LIGHT THEME ADJUSTMENTS ===== */
:root[data-theme="light"] .stat-tile .stat-num {
  background: linear-gradient(180deg, var(--text) 0%, color-mix(in oklab, var(--text) 25%, transparent) 130%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

:root[data-theme="light"] .stat-tile .stat-num {
  background: linear-gradient(180deg, var(--text) 0%, color-mix(in oklab, var(--text) 25%, transparent) 130%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== MOBILE BUTTON OVERFLOW FIX ===== */
@media (max-width: 640px) {
  /* Allow long CTA labels to wrap instead of being clipped by overflow:hidden */
  .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.2;
  }
  /* Hero CTAs: stack vertically full-width so long labels fit on small screens */
  .hero-cta-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-cta-row .btn { width: 100%; flex: 0 0 auto; }
  .hero-cta-row .btn-lg { padding: 14px 18px; font-size: 0.95rem; }

  /* Top-nav: hide the long "Abbonati ora" CTA on mobile — the auth slot
     (Login / Entra in app) already provides the primary action there */
  .topbar .top-actions > .btn-primary { display: none; }
}

@media (max-width: 380px) {
  .hero-cta-row .btn-lg { padding: 13px 14px; font-size: 0.9rem; }
}

/* ===== IUBENDA cookie-preferences floating badge ===== */
/* Su mobile il badge "preferenze cookie" finisce sopra i numeri delle
   statistiche above-the-fold: lo spingiamo nell'angolo basso, dietro la
   sticky CTA, così non copre più i contenuti. */
@media (max-width: 640px) {
  .iubenda-tp-btn,
  .iub-tp-btn,
  [class*="iubenda-tp-btn"],
  body > button[aria-label*="preferenze" i],
  body > button[aria-label*="consenso" i],
  body > button[aria-label*="consent" i],
  body > button[aria-label*="tracking" i],
  body > button:not([class]):not([id]) {
    bottom: 4px !important;
    right: 4px !important;
    transform: scale(0.7);
    transform-origin: bottom right;
    opacity: 0.7;
    z-index: 1 !important;
  }
}



