/* ============================================================
   Salon Intelligence — Saloning.it
   Design: Clean modern · Brand teal #2A8FA0 · Light-mode only
   Mobile-first 375px → 1440px+
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  /* Brand */
  --teal:        #22D4F5;
  --teal-dark:   #0FB8DC;
  --teal-light:  #6EE8FA;
  --teal-xlight: #E8F6F9;
  --teal-bg:     rgba(42,143,160,0.07);

  /* Palette */
  --white:       #FFFFFF;
  --off:         #F7FBFC;
  --gray-50:     #F8FAFC;
  --gray-100:    #F1F5F9;
  --gray-200:    #E2E8F0;
  --gray-400:    #94A3B8;
  --gray-600:    #475569;
  --gray-800:    #1E293B;
  --near-black:  #0F1923;

  /* CTA — yellow purchase buttons */
  --cta:         #22D4F5;
  --cta-hover:   #0FB8DC;
  --cta-alt:     #FEE309;
  --cta-alt-h:   #F5D800;
  --cta-alt-txt: #0F1923;

  /* Semantic */
  --text:        #1E293B;
  --text-mid:    #475569;
  --text-muted:  #94A3B8;
  --border:      #E2E8F0;
  --border-teal: rgba(42,143,160,0.25);
  --success:     #10B981;
  --surface:     #FFFFFF;
  --surface-alt: #F7FBFC;

  /* Type */
  --font-head:   'Outfit', system-ui, sans-serif;
  --font-body:   'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --s2:  2px;  --s4:  4px;  --s6:  6px;  --s8:  8px;
  --s10: 10px; --s12: 12px; --s14: 14px; --s16: 16px;
  --s20: 20px; --s24: 24px; --s28: 28px; --s32: 32px;
  --s36: 36px; --s40: 40px; --s48: 48px; --s56: 56px;
  --s64: 64px; --s72: 72px; --s80: 80px; --s96: 96px;
  --s120: 120px;

  /* Layout */
  --max:    1160px;
  --gutter: 20px;

  /* Radii */
  --r4:   4px;
  --r8:   8px;
  --r12:  12px;
  --r16:  16px;
  --r24:  24px;
  --r999: 9999px;

  /* Neon AI palette */
  --neon-cyan:      #22D4F5;
  --neon-cyan-dim:  rgba(34, 212, 245, 0.15);
  --neon-cyan-glow: rgba(34, 212, 245, 0.35);
  --neon-pink:      #F93BCA;
  --neon-pink-dim:  rgba(249,  59, 202, 0.12);
  --neon-pink-glow: rgba(249,  59, 202, 0.30);
  --dark-bg:        #080D15;
  --dark-card:      rgba(255,255,255,0.04);
  --dark-border:    rgba(255,255,255,0.08);

  /* Shadows */
  --sh-sm:   0 1px 3px rgba(15,25,35,0.08), 0 1px 2px rgba(15,25,35,0.05);
  --sh-md:   0 4px 12px rgba(15,25,35,0.10), 0 2px 4px rgba(15,25,35,0.06);
  --sh-lg:   0 12px 32px rgba(15,25,35,0.12), 0 4px 8px rgba(15,25,35,0.06);
  --sh-teal: 0 6px 24px rgba(42,143,160,0.30);

  /* Transitions */
  --ease:  cubic-bezier(0.16, 1, 0.3, 1);
  --t1: 120ms;
  --t2: 220ms;
  --t3: 380ms;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.skip-link {
  position: absolute; top: -100%; left: 16px; z-index: 9999;
  padding: 8px 16px; background: var(--teal); color: #fff;
  font-weight: 600; border-radius: var(--r8);
}
.skip-link:focus { top: 8px; }

/* ── Layout ────────────────────────────────────────────────── */
.container {
  width: 100%; max-width: var(--max);
  margin: 0 auto; padding: 0 var(--gutter);
}

.section-white    { background: var(--white); }
.section-off      { background: var(--off); }
.section-teal-bg  { background: var(--teal-xlight); }
.section-dark     { background: var(--near-black); }

/* ── Typography ─────────────────────────────────────────────── */
.h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 800; line-height: 1.08; letter-spacing: -0.025em;
  color: var(--near-black);
}
.h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.02em;
  color: var(--near-black);
}
.h3 {
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 700; line-height: 1.2; letter-spacing: -0.015em;
  color: var(--near-black);
}
.eyebrow {
  font-family: var(--font-head);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: var(--s12);
}
.lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.75; color: var(--text-mid);
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s8); font-family: var(--font-head);
  font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em;
  padding: var(--s14) var(--s28); border-radius: var(--r8);
  transition: transform var(--t2) var(--ease), box-shadow var(--t2) var(--ease), background-color var(--t1);
  cursor: pointer; white-space: nowrap; min-height: 50px;
}
.btn-primary {
  background: #2A8FA0; color: #fff; box-shadow: 0 6px 24px rgba(42,143,160,0.30);
}
.btn-primary:hover {
  background: #1D6B7A; transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(42,143,160,0.38);
}
.btn-cta {
  background: linear-gradient(135deg, #FEE309 0%, #FFD000 100%);
  color: var(--cta-alt-txt);
  box-shadow: 0 6px 20px rgba(254,227,9,0.35);
  font-weight: 700;
}
.btn-cta:hover {
  background: linear-gradient(135deg, #FFE833 0%, #FEE309 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(254,227,9,0.45);
}
.btn-outline {
  background: transparent; color: #2A8FA0;
  border: 1.5px solid #2A8FA0;
}
.btn-outline:hover {
  background: var(--teal-bg); transform: translateY(-2px);
}
.btn-ghost-dark {
  background: rgba(255,255,255,0.1); color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-ghost-dark:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }
.btn-lg { padding: var(--s16) var(--s36); font-size: 1.05rem; min-height: 56px; }
.btn-sm { padding: var(--s8) var(--s20); font-size: 0.85rem; min-height: 38px; }
.btn-full { width: 100%; }

/* ── Chip / Badge ───────────────────────────────────────────── */
.chip {
  display: inline-flex; align-items: center; gap: var(--s6);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em;
  padding: var(--s4) var(--s10); border-radius: var(--r999);
}
.chip-teal  { background: var(--teal-bg); color: var(--teal-dark); border: 1px solid var(--border-teal); }
.chip-green { background: rgba(16,185,129,0.08); color: #059669; border: 1px solid rgba(16,185,129,0.2); }
.chip-red   { background: rgba(239,68,68,0.08);  color: #DC2626; border: 1px solid rgba(239,68,68,0.18); }
.chip-amber { background: rgba(245,158,11,0.1);  color: #D97706; border: 1px solid rgba(245,158,11,0.2); }
.chip-dark  { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.15); }

/* ── PAGE HEADER (banner branded) ──────────────────────────── */
.page-header {
  background: var(--dark-bg);
  padding-top: 0;
  overflow: hidden;
  position: relative;
}
/* Blur-fade in alto — dentro il contenitore così segue il clip */
.page-header-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, var(--dark-bg) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}
/* Blur-fade in basso */
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--dark-bg));
  pointer-events: none;
  z-index: 2;
}
.page-header-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  max-height: 220px;
  overflow: hidden;
}
@media (max-width: 600px) {
  .page-header-inner { max-height: none; overflow: visible; }
  .page-header-img   { margin-top: 0 !important; }
}
.page-header-img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: -70px;
}
/* Overlay badge "Corso online · Disponibile ora" */
.page-header-overlay {
  position: absolute;
  bottom: var(--s16);
  right: var(--s20);
  pointer-events: none;
  z-index: 2;
}
.page-header-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--s8);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--r999);
  padding: var(--s6) var(--s14);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text);
  box-shadow: var(--sh-sm);
}
.page-header-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal);
  animation: pulse 2s ease infinite;
  flex-shrink: 0;
}

/* ── STICKY BUY BAR ─────────────────────────────────────────── */
.sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--near-black);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--s12) var(--gutter) calc(var(--s12) + env(safe-area-inset-bottom));
  transform: translateY(100%);
  transition: transform var(--t3) var(--ease);
  box-shadow: 0 -8px 32px rgba(15,25,35,0.25);
}
.sticky-bar.is-visible { transform: translateY(0); }
.sticky-bar-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s12); flex-wrap: wrap;
}
.sticky-bar-logo {
  display: none; /* hidden on smallest screens, shown on md+ */
  align-items: center; flex-shrink: 0;
}
.sticky-bar-logo img {
  height: 36px; width: auto;
  filter:
    drop-shadow(0 0 4px rgba(34,212,245,0.7))
    drop-shadow(0 0 10px rgba(34,212,245,0.3));
}
.sticky-bar-label {
  font-family: var(--font-head); font-weight: 600; font-size: 0.9rem;
  color: rgba(255,255,255,0.7); flex: 1; min-width: 140px;
}
.sticky-bar-label strong { color: #fff; }
.sticky-bar-actions { display: flex; gap: var(--s10); flex-wrap: nowrap; }
.sticky-bar-actions .btn { padding: var(--s10) var(--s24); min-height: 44px; font-size: 0.88rem; }

@media (max-width: 600px) {
  .sticky-bar { padding: var(--s8) var(--s16) calc(var(--s8) + env(safe-area-inset-bottom)); }
  .sticky-bar-inner { gap: var(--s8); flex-wrap: nowrap; }
  .sticky-bar-label { display: none; }
  .sticky-bar-actions { width: 100%; gap: var(--s8); }
  .sticky-bar-actions .btn { flex: 1; padding: var(--s8) var(--s12); min-height: 40px; font-size: 0.82rem; text-align: center; }
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  padding: var(--s56) 0 var(--s80);
  background: var(--dark-bg);
  position: relative;
  overflow: hidden;
  /* Subtle dot-grid texture */
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(var(--dark-bg), var(--dark-bg));
  background-size: 28px 28px, 100% 100%;
}
/* Neon cyan glow — top right */
.hero::after {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, var(--neon-cyan-dim) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}
/* Neon pink glow — bottom left */
.hero::before {
  content: '';
  position: absolute; bottom: -60px; left: -60px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, var(--neon-pink-dim) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}
/* Hero text on dark */
.hero .h1 { color: #fff; }
.hero h1 .accent {
  color: var(--neon-cyan);
  text-shadow: 0 0 32px rgba(34,212,245,0.4);
}
.hero .lead     { color: rgba(255,255,255,0.62); }
.hero .hero-lead { color: rgba(255,255,255,0.62); }
.hero .hero-cta-note { color: rgba(255,255,255,0.32); }
.hero .hero-stats { border-top-color: var(--dark-border); margin-top: var(--s32); }
.hero .hero-stat-num   { color: var(--neon-cyan); text-shadow: 0 0 20px rgba(34,212,245,0.35); }
.hero .hero-stat-label { color: rgba(255,255,255,0.4); }
.hero-grid {
  display: grid; gap: var(--s56); align-items: center;
  position: relative; z-index: 1;
}
.hero-pre {
  display: flex; align-items: center; gap: var(--s10);
  margin-bottom: var(--s20);
}
.hero-pre-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal); animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}
.hero h1 { margin-bottom: var(--s20); text-wrap: balance; }
.hero h1 .accent { position: relative; }
.hero-lead { margin-bottom: var(--s32); }
.hero-cta-group { display: flex; gap: var(--s12); flex-wrap: wrap; margin-bottom: var(--s28); }
.hero-cta-note {
  font-size: 0.78rem; color: var(--text-muted);
  display: flex; align-items: center; gap: var(--s8);
}
.hero-cta-note::before {
  content: ''; display: block; width: 16px; height: 1px; background: var(--border);
}
.hero-stats {
  display: flex; gap: var(--s24); flex-wrap: wrap;
  padding-top: var(--s28); border-top: 1px solid var(--border);
  margin-top: var(--s32);
}
.hero-stat-num {
  font-family: var(--font-head); font-size: 1.6rem;
  font-weight: 800; color: var(--teal); line-height: 1;
}
.hero-stat-label {
  font-size: 0.78rem; color: var(--text-muted);
  margin-top: var(--s4); font-weight: 500;
}

/* Course mockup card */
.course-card {
  background: var(--white);
  border: 1px solid rgba(34,212,245,0.2);
  border-radius: var(--r24);
  overflow: hidden;
  box-shadow: var(--sh-lg), 0 0 0 1px rgba(34,212,245,0.15), 0 0 48px rgba(34,212,245,0.10);
  position: relative;
}
.course-card-header {
  background: var(--near-black);
  padding: var(--s16) var(--s20);
  display: flex; align-items: center; gap: var(--s12);
  border-radius: var(--r24) var(--r24) 0 0;
  overflow: hidden;
}
.cc-dots { display: flex; gap: var(--s6); }
.cc-dot { width: 10px; height: 10px; border-radius: 50%; }
.cc-dot:nth-child(1) { background: #FF5F57; }
.cc-dot:nth-child(2) { background: #FEBC2E; }
.cc-dot:nth-child(3) { background: #28C840; }
.cc-title {
  font-size: 0.72rem; color: rgba(255,255,255,0.35);
  font-family: var(--font-body); margin-left: var(--s6);
}
/* Video area */
.cc-video {
  position: relative; background: #0a0a14;
  aspect-ratio: 16/9; overflow: hidden;
}
/* Horacle iframe as background */
.cc-video-iframe-wrap {
  position: absolute; inset: 0; overflow: hidden; z-index: 0;
}
.cc-video-iframe-wrap iframe {
  position: absolute; top: 0; left: 0;
  width: 400%; height: 400%;
  transform: scale(0.25); transform-origin: top left;
  border: none; pointer-events: none;
}
/* Dark overlay so play button stays readable */
.cc-video-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(8,13,21,0.45) 0%,
    rgba(8,13,21,0.25) 40%,
    rgba(8,13,21,0.65) 100%
  );
}
.cc-video-glow {
  display: none;
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(42,143,160,0.2) 0%, transparent 70%);
}
.cc-video-badge {
  display: none; /* removed from mockup */
  position: absolute; top: var(--s12); left: var(--s12);
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--teal);
  background: rgba(42,143,160,0.12);
  border: 1px solid rgba(42,143,160,0.3);
  padding: 3px 8px; border-radius: var(--r4);
}
.cc-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); z-index: 2;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 0 8px rgba(42,143,160,0.15);
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.cc-play:hover { background: var(--teal-dark, #1d6b7a); transform: translate(-50%, -50%) scale(1.08); }
.cc-video-player {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; border-radius: inherit;
  display: none; z-index: 5;
}
.cc-video-close {
  position: absolute; top: 10px; right: 10px; z-index: 6;
  display: none;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; cursor: pointer;
  align-items: center; justify-content: center;
  transition: background 0.15s;
}
.cc-video-close:hover { background: rgba(0,0,0,0.9); }
/* Playing state */
.cc-video.playing .cc-video-player  { display: block; }
.cc-video.playing .cc-video-close   { display: flex; }
.cc-video.playing .cc-video-iframe-wrap,
.cc-video.playing .cc-video-overlay,
.cc-video.playing .cc-play,
.cc-video.playing .cc-video-bottom  { display: none; }
.cc-play-tri {
  width: 0; height: 0;
  border-top: 8px solid transparent; border-bottom: 8px solid transparent;
  border-left: 13px solid #fff; margin-left: 3px;
}
.cc-video-bottom {
  position: absolute; bottom: var(--s12); left: var(--s12); right: var(--s12); z-index: 2;
}
.cc-video-title {
  font-size: 0.72rem; color: rgba(255,255,255,0.8); font-weight: 500; margin-bottom: var(--s8);
}
.cc-bar { height: 3px; background: rgba(255,255,255,0.12); border-radius: 99px; overflow: hidden; }
.cc-bar-fill { height: 100%; width: 42%; background: var(--teal); border-radius: 99px; }
/* Module list */
.cc-modules { padding: var(--s16) var(--s20); display: flex; flex-direction: column; gap: 2px; }
.cc-module {
  display: flex; align-items: center; gap: var(--s10);
  padding: var(--s10) var(--s10); border-radius: var(--r8);
  transition: background var(--t1);
}
.cc-module.active { background: var(--teal-xlight); }
.cc-mod-icon { width: 18px; text-align: center; font-size: 0.75rem; flex-shrink: 0; }
.cc-module.done .cc-mod-icon    { color: var(--success); }
.cc-module.active .cc-mod-icon  { color: var(--teal); }
.cc-module.locked .cc-mod-icon  { color: var(--text-muted); }
.cc-mod-name { flex: 1; font-size: 0.78rem; font-weight: 500; color: var(--text); }
.cc-module.active .cc-mod-name  { color: var(--teal-dark); font-weight: 600; }
.cc-module.locked .cc-mod-name  { color: var(--text-muted); }
.cc-mod-tag {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 2px 6px; border-radius: var(--r4);
  background: var(--gray-100); color: var(--gray-400);
}
.cc-mod-tag.bonus {
  background: rgba(42,143,160,0.1); color: var(--teal-dark);
}

/* ── TRUST BAR ──────────────────────────────────────────────── */
.trust-bar {
  padding: var(--s28) 0;
  background: var(--dark-bg);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
}
.trust-claim {
  display: flex;
  align-items: center;
  gap: var(--s20);
  justify-content: center;
}
.trust-claim-line {
  flex: 1;
  max-width: 140px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(34,212,245,0.35));
}
.trust-claim-line--right {
  background: linear-gradient(to left, transparent, rgba(34,212,245,0.35));
}
.trust-claim-text {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-shadow:
    0 0 8px rgba(249,59,202,0.9),
    0 0 24px rgba(249,59,202,0.6),
    0 0 48px rgba(249,59,202,0.3);
}

@media (min-width: 768px) {
  .trust-claim-text { font-size: 1.35rem; }
}
/* kept for any legacy references */
.trust-label {
  text-align: center; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.3); margin-bottom: var(--s20);
}
.trust-logos {
  display: flex; flex-wrap: wrap;
  justify-content: center; align-items: center;
  gap: var(--s12) var(--s20);
}
.trust-pill {
  display: flex; align-items: center; gap: var(--s8);
  padding: var(--s8) var(--s16);
  border: 1px solid var(--dark-border); border-radius: var(--r8);
  background: rgba(255,255,255,0.05); font-size: 0.8rem; font-weight: 600;
  color: rgba(255,255,255,0.65); box-shadow: none;
  transition: border-color var(--t1), box-shadow var(--t1);
}
.trust-pill:hover { border-color: var(--neon-cyan); box-shadow: 0 0 12px var(--neon-cyan-dim); }
.trust-pill-av {
  width: 26px; height: 26px; border-radius: var(--r4);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 800; color: #fff; flex-shrink: 0;
}
.trust-logo-icon {
  width: 20px; height: 20px; flex-shrink: 0;
  color: rgba(255,255,255,0.45);
  transition: color var(--t1);
}
.trust-pill:hover .trust-logo-icon { color: var(--neon-cyan); }
.trust-logo-text {
  display: flex; flex-direction: column; gap: 1px;
}
.trust-logo-name {
  font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.1em; color: rgba(255,255,255,0.85);
  line-height: 1;
}
.trust-logo-city {
  font-size: 0.58rem; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); line-height: 1;
}

/* ── FOR WHO ───────────────────────────────────────────────── */
.for-who { padding: var(--s80) 0; }
.for-who-grid { display: grid; gap: var(--s20); margin-top: var(--s48); }
.fwc {
  padding: var(--s36) var(--s32); border-radius: var(--r16);
  border: 1px solid var(--border); background: var(--white);
  box-shadow: var(--sh-sm);
}
.fwc.yes { border-left: 3px solid var(--success); }
.fwc.no  { border-left: 3px solid #EF4444; }
.fwc-head {
  display: flex; align-items: center; gap: var(--s12);
  margin-bottom: var(--s24); font-family: var(--font-head);
  font-size: 1.05rem; font-weight: 700; color: var(--near-black);
}
.fwc-icon {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 900; flex-shrink: 0;
}
.fwc.yes .fwc-icon { background: rgba(16,185,129,0.1); color: var(--success); }
.fwc.no  .fwc-icon { background: rgba(239,68,68,0.1);  color: #EF4444; }
.fwc-list { display: flex; flex-direction: column; gap: var(--s14); }
.fwc-item { display: flex; gap: var(--s10); font-size: 0.92rem; color: var(--text-mid); line-height: 1.5; }
.fwc-dot {
  width: 18px; height: 18px; border-radius: 50%;
  flex-shrink: 0; margin-top: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; font-weight: 900;
}
.fwc.yes .fwc-dot { background: rgba(16,185,129,0.12); color: var(--success); }
.fwc.no  .fwc-dot { background: rgba(239,68,68,0.1);  color: #EF4444; }

/* ── PROBLEMS ──────────────────────────────────────────────── */
.problems {
  padding: var(--s80) 0;
  background: var(--dark-bg);
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(var(--dark-bg), var(--dark-bg));
  background-size: 28px 28px, 100% 100%;
  position: relative;
}
/* Neon accents on problems section */
.problems .eyebrow { color: var(--neon-pink); }
.problems .h2      { color: #fff; }
.problems .lead    { color: rgba(255,255,255,0.55); }

.problems-grid { display: grid; gap: var(--s16); margin-top: var(--s48); }
.prob-card {
  background: var(--dark-card); border: 1px solid var(--dark-border);
  border-radius: var(--r16); padding: var(--s32);
  display: grid; gap: var(--s28);
  box-shadow: var(--sh-sm);
  transition: box-shadow var(--t2), transform var(--t2) var(--ease);
}
.prob-card:hover {
  box-shadow: 0 0 24px var(--neon-cyan-dim), var(--sh-md);
  border-color: rgba(34,212,245,0.18);
  transform: translateY(-3px);
}
.prob-num {
  font-family: var(--font-head); font-size: 0.65rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.3); margin-bottom: var(--s6);
}
.prob-side { display: flex; flex-direction: column; }
.prob-side h3 { margin-bottom: var(--s8); color: #fff; }
.prob-side p  { font-size: 0.9rem; color: rgba(255,255,255,0.52); line-height: 1.65; }
.prob-side.sol h3 { color: var(--neon-cyan); text-shadow: 0 0 20px rgba(34,212,245,0.3); }

/* Chips on dark bg */
.problems .chip-red   { background: rgba(249,59,202,0.12); color: #f472b6; border-color: rgba(249,59,202,0.2); }
.problems .chip-green { background: rgba(34,212,245,0.10); color: var(--neon-cyan); border-color: rgba(34,212,245,0.2); }

/* Arrow between problem and solution on desktop */
.prob-arrow {
  display: none; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.2); flex-shrink: 0;
}

/* ── CURRICULUM ────────────────────────────────────────────── */
.curriculum { padding: var(--s80) 0; }
.acc-list { display: flex; flex-direction: column; gap: var(--s8); margin-top: var(--s48); }
.acc {
  border: 1px solid var(--border); border-radius: var(--r12);
  overflow: hidden; background: var(--white);
  transition: border-color var(--t2), box-shadow var(--t2);
}
.acc.open { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-bg); }
.acc-btn {
  display: flex; align-items: center; gap: var(--s16);
  padding: var(--s24) var(--s28); width: 100%;
  text-align: left; cursor: pointer; background: var(--white);
  transition: background var(--t1);
}
.acc-btn:hover { background: var(--gray-50); }
.acc-num {
  width: 46px; height: 46px; border-radius: var(--r8); flex-shrink: 0;
  background: var(--gray-100); color: var(--text-mid);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 0.8rem; font-weight: 800;
  transition: background var(--t1), color var(--t1);
}
.acc.open .acc-num { background: var(--teal); color: #fff; }
.acc-info { flex: 1; min-width: 0; }
.acc-title {
  font-family: var(--font-head); font-size: 1.08rem; font-weight: 700;
  color: var(--near-black); margin-bottom: var(--s4); line-height: 1.3;
}
.acc-meta { display: flex; gap: var(--s10); flex-wrap: wrap; }
.acc-meta span { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }
.acc-meta span::before { content: '· '; color: var(--border); }
.acc-meta span:first-child::before { content: ''; }
.acc-chevron {
  width: 20px; height: 20px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: transform var(--t2) var(--ease), color var(--t2);
}
.acc.open .acc-chevron { transform: rotate(180deg); color: var(--teal); }
.acc-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 420ms cubic-bezier(0.16, 1, 0.3, 1);
}
.acc.open .acc-body { max-height: 1000px; }
.acc-desc {
  padding: var(--s20) var(--s28); font-size: 0.94rem;
  color: var(--text-mid); line-height: 1.65;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--gray-50);
}
.lesson-list { display: flex; flex-direction: column; }
.lesson {
  display: grid; grid-template-columns: 32px 1fr auto;
  gap: var(--s12); align-items: start;
  padding: var(--s14) var(--s24); border-bottom: 1px solid var(--gray-50);
}
.lesson:last-child { border-bottom: none; }
.lesson-n {
  font-family: var(--font-head); font-size: 0.65rem; font-weight: 800;
  color: var(--teal); padding-top: 2px; letter-spacing: 0.04em;
}
.lesson-name {
  font-size: 0.88rem; font-weight: 600;
  color: var(--near-black); margin-bottom: var(--s4); line-height: 1.3;
}
.lesson-desc { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; }
.lesson-dur {
  font-size: 0.72rem; color: var(--text-muted);
  font-weight: 500; white-space: nowrap; padding-top: 2px;
}
.bonus-tag {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--teal); background: var(--teal-bg);
  border: 1px solid var(--border-teal);
  padding: 2px 8px; border-radius: var(--r4); margin-left: var(--s8);
}
.acc.bonus { border-color: var(--border-teal); background: rgba(42,143,160,0.02); }

/* ── PRICING ───────────────────────────────────────────────── */
.pricing { padding: var(--s80) 0 var(--s96); background: var(--off); }
.pricing-grid {
  display: grid; gap: var(--s20); margin-top: var(--s48);
  align-items: start;
}
.price-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--r24); padding: var(--s36) var(--s32);
  position: relative; box-shadow: var(--sh-sm);
  transition: box-shadow var(--t2), transform var(--t2) var(--ease);
}
.price-card:hover { box-shadow: var(--sh-lg); transform: translateY(-4px); }
.price-card.featured {
  border-color: var(--teal); background: var(--near-black);
  box-shadow: var(--sh-teal);
}
.price-card.featured:hover { box-shadow: 0 20px 50px rgba(42,143,160,0.35); }
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--teal); color: #fff;
  font-family: var(--font-head); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: var(--s4) var(--s16); border-radius: var(--r999);
  white-space: nowrap;
}
.price-name {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--s12);
}
.price-card.featured .price-name { color: rgba(255,255,255,0.45); }
.price-amount {
  display: flex; align-items: baseline; gap: var(--s4); margin-bottom: var(--s8);
}
.price-curr { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: var(--text-muted); align-self: flex-end; margin-bottom: 4px; }
.price-card.featured .price-curr { color: rgba(255,255,255,0.4); }
.price-num {
  font-family: var(--font-head); font-size: 3.4rem;
  font-weight: 900; line-height: 1; color: var(--near-black);
}
.price-card.featured .price-num { color: var(--neon-cyan); text-shadow: 0 0 24px rgba(34,212,245,0.5); }
.price-desc { font-size: 0.88rem; color: var(--text-mid); line-height: 1.65; margin-bottom: var(--s28); }
.price-card.featured .price-desc { color: rgba(255,255,255,0.5); }
.price-div { height: 1px; background: var(--border); margin: 0 0 var(--s24); }
.price-card.featured .price-div { background: rgba(255,255,255,0.1); }
.price-feats { display: flex; flex-direction: column; gap: var(--s12); margin-bottom: var(--s28); }
.price-feat { display: flex; align-items: flex-start; gap: var(--s10); font-size: 0.88rem; line-height: 1.4; }
.price-check {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; margin-top: 1px;
  background: rgba(16,185,129,0.1); color: var(--success);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; font-weight: 900; border: 1px solid rgba(16,185,129,0.2);
}
.price-feat-text { color: var(--text-mid); }
.price-feat-text strong { color: var(--near-black); font-weight: 600; }
.price-card.featured .price-feat-text { color: rgba(255,255,255,0.65); }
.price-card.featured .price-feat-text strong { color: #fff; }
.price-cta { margin-bottom: var(--s20); }
.price-trust { display: flex; flex-direction: column; gap: var(--s8); }
.price-trust-row {
  display: flex; align-items: center; gap: var(--s8);
  font-size: 0.74rem; color: var(--text-muted);
}
.price-card.featured .price-trust-row { color: rgba(255,255,255,0.3); }
.ptr-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }

/* ── TESTIMONIALS ──────────────────────────────────────────── */
.testimonials { padding: var(--s80) 0; }
.testi-grid { display: grid; gap: var(--s20); margin-top: var(--s48); }
.testi-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r16); padding: var(--s32);
  box-shadow: var(--sh-sm);
  transition: box-shadow var(--t2), border-color var(--t2), transform var(--t2) var(--ease);
}
.testi-card:hover { box-shadow: var(--sh-md); border-color: var(--border-teal); transform: translateY(-3px); }
.testi-stars { display: flex; gap: var(--s4); margin-bottom: var(--s16); }
.testi-star {
  width: 14px; height: 14px;
  background: #F59E0B; clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.testi-text {
  font-size: 0.95rem; line-height: 1.75; color: var(--text-mid);
  font-style: italic; margin-bottom: var(--s24);
}
.testi-author { display: flex; align-items: center; gap: var(--s12); }
.testi-av {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 0.85rem; font-weight: 800;
  color: #fff; flex-shrink: 0;
}
.testi-name { font-weight: 700; font-size: 0.9rem; color: var(--near-black); }
.testi-salon { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }

/* ── INSTRUCTORS ───────────────────────────────────────────── */
.instructors { padding: var(--s80) 0; background: var(--off); }
.instr-grid { display: grid; gap: var(--s20); margin-top: var(--s48); }
.instr-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r16); padding: var(--s32) var(--s24);
  text-align: center; box-shadow: var(--sh-sm);
  transition: box-shadow var(--t2), transform var(--t2) var(--ease);
}
.instr-card:hover { box-shadow: var(--sh-md); transform: translateY(-4px); }
.instr-av {
  width: 80px; height: 80px; border-radius: 50%; margin: 0 auto var(--s16);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 1.4rem; font-weight: 800;
  color: #fff; border: 3px solid var(--white); box-shadow: var(--sh-md);
}
.instr-av-photo {
  object-fit: cover; object-position: center top;
  border: 3px solid var(--teal-xlight);
  box-shadow: 0 0 0 2px var(--border-teal), var(--sh-md);
}
.instr-role {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal); margin-bottom: var(--s8);
}
.instr-name {
  font-family: var(--font-head); font-size: 1.15rem; font-weight: 700;
  color: var(--near-black); margin-bottom: var(--s12);
}
.instr-bio { font-size: 0.875rem; color: var(--text-mid); line-height: 1.65; }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq { padding: var(--s80) 0; }
.faq-list { max-width: 740px; margin: var(--s48) auto 0; display: flex; flex-direction: column; gap: var(--s8); }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--r12);
  overflow: hidden; transition: border-color var(--t2), box-shadow var(--t2);
}
.faq-item.open { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-bg); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--s16); padding: var(--s20) var(--s24); cursor: pointer;
  font-size: 0.93rem; font-weight: 600; color: var(--near-black);
  background: var(--white); width: 100%; text-align: left;
  transition: background var(--t1);
}
.faq-q:hover { background: var(--gray-50); }
.faq-q-icon {
  width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; flex-shrink: 0; color: var(--text-muted);
  transition: transform var(--t2) var(--ease), background var(--t2), border-color var(--t2), color var(--t2);
}
.faq-item.open .faq-q-icon {
  transform: rotate(45deg); background: var(--teal);
  border-color: var(--teal); color: #fff;
}
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height var(--t3) var(--ease);
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a-inner {
  padding: var(--s4) var(--s24) var(--s24);
  border-top: 1px solid var(--border);
  font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; padding-top: var(--s20);
}

/* ── FINAL CTA ─────────────────────────────────────────────── */
.final-cta {
  padding: var(--s96) 0;
  background: var(--near-black);
  position: relative; overflow: hidden; text-align: center;
}
.final-cta::before {
  content: '';
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(34,212,245,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.final-cta::after {
  content: '';
  position: absolute; bottom: -80px; right: 15%;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(249,59,202,0.09) 0%, transparent 65%);
  pointer-events: none;
}
.final-cta-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.final-cta .h2 { color: #fff; margin-bottom: var(--s16); }
.final-cta .lead { color: rgba(255,255,255,0.55); margin-bottom: var(--s40); }
.final-cta-btns { display: flex; gap: var(--s12); justify-content: center; flex-wrap: wrap; margin-bottom: var(--s28); }
.final-cta-btns .btn { min-width: 220px; }
.final-guarantee {
  display: flex; align-items: center; justify-content: center;
  gap: var(--s8); font-size: 0.8rem; color: rgba(255,255,255,0.35);
}
.final-urgency {
  font-size: 0.78rem; color: rgba(255,255,255,0.25); margin-top: var(--s12);
}

/* ── FOOTER ────────────────────────────────────────────────── */
.footer {
  background: #070D12;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: var(--s36) 0;
}
.footer-inner {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: var(--s20);
}
.footer-links { display: flex; gap: var(--s20); flex-wrap: wrap; }
.footer-link { font-size: 0.8rem; color: rgba(255,255,255,0.3); transition: color var(--t1); }
.footer-link:hover { color: rgba(255,255,255,0.65); }
.footer-copy {
  font-size: 0.76rem; color: rgba(255,255,255,0.18);
  text-align: center; padding-top: var(--s20); border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: var(--s16); width: 100%;
}

/* ── SCROLL ANIMATIONS ─────────────────────────────────────── */
.fade-up {
  opacity: 0; transform: translateY(20px);
  transition: opacity var(--t3) var(--ease), transform var(--t3) var(--ease);
}
.fade-up.in { opacity: 1; transform: translateY(0); }
.fade-up.d1 { transition-delay: 60ms; }
.fade-up.d2 { transition-delay: 120ms; }
.fade-up.d3 { transition-delay: 180ms; }
.fade-up.d4 { transition-delay: 240ms; }
.fade-up.d5 { transition-delay: 300ms; }

/* ── SECTION HEADER ────────────────────────────────────────── */
.sec-head { max-width: 600px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head .h2 { margin-bottom: var(--s16); }
.sec-head .lead { max-width: 52ch; }

/* Spacing helper */
.mt-8  { margin-top: var(--s8); }
.mt-12 { margin-top: var(--s12); }
.mt-16 { margin-top: var(--s16); }
.mb-8  { margin-bottom: var(--s8); }
.mb-16 { margin-bottom: var(--s16); }
.mb-24 { margin-bottom: var(--s24); }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .for-who-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  :root { --gutter: 40px; }
  .sticky-bar-logo { display: flex; }
  .hero-grid    { grid-template-columns: 55% 45%; gap: var(--s48); }
  .testi-grid   { grid-template-columns: repeat(3, 1fr); }
  .instr-grid   { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .price-card.featured { transform: scale(1.03); }
  .price-card.featured:hover { transform: scale(1.03) translateY(-4px); }
  .problems-grid { grid-template-columns: 1fr 1fr; }
  .prob-card { grid-template-columns: 1fr; }
  /* sticky bar shows both buttons on tablet+ */
}

@media (min-width: 1024px) {
  :root { --gutter: 48px; }
  .problems-grid { grid-template-columns: 1fr; }
  .prob-card { grid-template-columns: 1fr auto 1fr; gap: var(--s32); align-items: start; }
  .prob-arrow { display: flex; }
  .faq-q { padding-top: 20px; padding-bottom: 20px; }
}


/* ── URGENCY COUNTDOWN ─────────────────────────────────────── */
.urgency-bar {
  display: flex; align-items: center; justify-content: center;
  gap: var(--s10); flex-wrap: wrap; text-align: center;
  background: linear-gradient(135deg, #FFFBEB, #FFF8E1);
  border: 1px solid rgba(254,199,9,0.45);
  border-radius: var(--r12);
  padding: var(--s14) var(--s20);
  margin-bottom: var(--s32);
  font-size: 0.875rem; font-weight: 600;
  color: var(--near-black);
  box-shadow: 0 2px 12px rgba(254,199,9,0.12);
}
.urgency-icon { font-size: 1rem; flex-shrink: 0; display: flex; align-items: center; }
.urgency-icon svg { width: 16px; height: 16px; flex-shrink: 0; }

.slot-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s6);
  background: rgba(15,25,35,0.88);
  border: 1px solid rgba(0,232,122,0.45);
  border-radius: 50px;
  padding: 3px 12px 3px 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(0,232,122,0.9);
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(0,232,122,0.15);
}
.slot-badge strong {
  color: #00E87A;
  text-shadow: 0 0 8px rgba(0,232,122,0.8);
}

.slot-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00E87A;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(0,232,122,0.9);
  animation: slotPulse 1.4s ease-in-out infinite;
}
@keyframes slotPulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 6px rgba(0,232,122,0.9); }
  50%       { opacity: 0.5; transform: scale(0.7); box-shadow: 0 0 2px rgba(0,232,122,0.3); }
}

/* Highlight flash when number changes */
@keyframes slotFlash {
  0%   { box-shadow: 0 0 18px rgba(0,232,122,0.55); border-color: rgba(0,232,122,0.9); }
  100% { box-shadow: 0 0 10px rgba(0,232,122,0.15); border-color: rgba(0,232,122,0.45); }
}
.slot-badge.flash { animation: slotFlash 0.7s ease-out forwards; }
.countdown {
  display: inline-flex; align-items: center; gap: 1px;
  font-family: var(--font-head);
  font-size: 1.15rem; font-weight: 900;
  color: var(--near-black);
  font-variant-numeric: tabular-nums;
  background: rgba(15,25,35,0.06);
  padding: 2px 10px; border-radius: var(--r4);
  letter-spacing: 0.02em;
}
.countdown-seg { min-width: 2ch; text-align: center; }
.countdown-sep { color: var(--teal); margin: 0 1px; opacity: 0.7; }

/* ── SUPPORTO POST-ACQUISTO ─────────────────────────────────── */
.guarantee-section {
  padding: var(--s48) 0;
  background: var(--off);
}
.guarantee-wrap {
  display: flex;
  align-items: flex-start;
  gap: var(--s28);
  background: var(--white);
  border: 1px solid var(--border-teal);
  border-radius: 20px;
  padding: var(--s40) var(--s48);
  box-shadow: 0 4px 32px rgba(34,212,245,0.06);
  max-width: 820px;
  margin: 0 auto;
}
.guarantee-shield {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: var(--teal-bg);
  border: 1px solid var(--border-teal);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}
.guarantee-title {
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: var(--s12);
  line-height: 1.25;
}
.guarantee-text {
  font-size: 0.975rem;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: var(--s10);
}
.guarantee-note {
  font-size: 0.825rem;
  color: var(--text-muted);
  font-weight: 500;
}
@media (max-width: 640px) {
  .guarantee-wrap {
    flex-direction: column;
    padding: var(--s28) var(--s24);
    gap: var(--s20);
  }
  .guarantee-shield { width: 52px; height: 52px; border-radius: 12px; }
}

/* Strikethrough + savings in pricing cards */
.price-was {
  font-family: var(--font-head);
  font-size: 1rem; font-weight: 500;
  color: var(--gray-400);
  text-decoration: line-through;
  text-decoration-color: #EF4444;
  display: block;
  margin-bottom: var(--s4);
}
.price-card.featured .price-was { color: rgba(255,255,255,0.28); }
.price-save {
  display: inline-flex; align-items: center;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
  background: rgba(16,185,129,0.12); color: var(--success);
  border: 1px solid rgba(16,185,129,0.25);
  padding: 3px 9px; border-radius: var(--r4);
  margin-left: var(--s10); vertical-align: middle;
}
.price-card.featured .price-save {
  background: rgba(16,185,129,0.16); color: #34D399;
  border-color: rgba(16,185,129,0.30);
}

/* ── ENHANCED ANIMATIONS & MICRO-INTERACTIONS ───────────────── */

/* Button: press feedback + touch-action for mobile responsiveness */
.btn { touch-action: manipulation; }
.btn:active {
  transform: scale(0.97) !important;
  transition-duration: 80ms !important;
}
/* Override for featured card hover+active combo */
.price-card.featured:hover .btn:active { transform: scale(0.97) translateY(0) !important; }

/* CTA yellow button: slide-shimmer on hover */
.btn-cta { position: relative; overflow: hidden; }
.btn-cta::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.38), transparent);
  transform: skewX(-15deg);
  pointer-events: none;
  transition: left 0ms;
}
.btn-cta:hover::before {
  left: 160%;
  transition: left 550ms ease;
}

/* Scroll progress bar (teal line top of page) */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px; width: 0%;
  background: var(--teal);
  z-index: 9999;
  pointer-events: none;
  border-radius: 0 2px 2px 0;
  will-change: width;
}

/* Accordion: lesson items stagger when module opens */
@keyframes lessonSlideIn {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: translateX(0); }
}
.acc.open .lesson {
  animation: lessonSlideIn 260ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.acc.open .lesson:nth-child(1) { animation-delay: 80ms; }
.acc.open .lesson:nth-child(2) { animation-delay: 130ms; }
.acc.open .lesson:nth-child(3) { animation-delay: 180ms; }
.acc.open .lesson:nth-child(4) { animation-delay: 230ms; }
.acc.open .lesson:nth-child(5) { animation-delay: 280ms; }
.acc.open .lesson:nth-child(6) { animation-delay: 330ms; }

/* Bonus accordion label: keep stagger on consultations list */
.acc.bonus.open .lesson { animation-delay: 100ms; }
.acc.bonus.open .lesson:nth-child(2) { animation-delay: 180ms; }

/* Featured pricing card: subtle glow pulse to draw attention */
@keyframes cardGlow {
  0%, 100% { box-shadow: 0 6px 24px rgba(42,143,160,0.30); }
  50%       { box-shadow: 0 10px 42px rgba(42,143,160,0.50), 0 0 0 5px rgba(42,143,160,0.06); }
}
.price-card.featured {
  animation: cardGlow 3.8s ease-in-out infinite;
}
.price-card.featured:hover { animation: none; }

/* Sticky bar CTA: breathing glow after scroll-in */
@keyframes ctaBreath {
  0%, 100% { box-shadow: 0 6px 20px rgba(254,227,9,0.35); }
  50%       { box-shadow: 0 6px 30px rgba(254,227,9,0.58), 0 0 0 3px rgba(254,227,9,0.10); }
}
.sticky-bar.is-visible .btn-cta {
  animation: ctaBreath 2.8s ease-in-out infinite;
}

/* Pricing card base: bottone 497€ stile sticky */
.price-card:not(.featured) .btn-primary {
  background: transparent !important;
  color: var(--neon-cyan) !important;
  border: 1.5px solid var(--neon-cyan) !important;
  box-shadow: 0 0 10px rgba(34,212,245,0.35), inset 0 0 8px rgba(34,212,245,0.08) !important;
}
.price-card:not(.featured) .btn-primary:hover {
  background: rgba(34,212,245,0.1) !important;
  box-shadow: 0 0 18px rgba(34,212,245,0.5), inset 0 0 12px rgba(34,212,245,0.12) !important;
  transform: translateY(-2px);
}

/* Sticky bar + final CTA: cornici neon fisse sui bottoni ghost */
.sticky-bar .btn-ghost-dark,
.final-cta .btn-ghost-dark {
  border: 1.5px solid var(--neon-cyan);
  box-shadow: 0 0 10px rgba(34,212,245,0.35), inset 0 0 8px rgba(34,212,245,0.08);
  color: var(--neon-cyan);
}
.sticky-bar .btn-ghost-dark:hover,
.final-cta .btn-ghost-dark:hover {
  background: rgba(34,212,245,0.1);
  box-shadow: 0 0 18px rgba(34,212,245,0.5), inset 0 0 12px rgba(34,212,245,0.12);
}
.sticky-bar .btn-cta {
  border: 1.5px solid var(--neon-pink);
  box-shadow: 0 0 10px rgba(249,59,202,0.4), 0 6px 20px rgba(254,227,9,0.25);
}
.sticky-bar .btn-cta:hover {
  box-shadow: 0 0 20px rgba(249,59,202,0.55), 0 10px 30px rgba(254,227,9,0.35);
}

/* Course card play button: subtle pulse ring */
@keyframes playRing {
  0%, 100% { box-shadow: 0 0 0 8px rgba(42,143,160,0.15); }
  50%       { box-shadow: 0 0 0 18px rgba(42,143,160,0.04); }
}
.cc-play { animation: playRing 2.4s ease-in-out infinite; }

/* Hero stat numbers: tabular nums for counter stability */
.hero-stat-num { font-variant-numeric: tabular-nums; }

/* ── Trust claim glitch ─────────────────────────────────────── */
.trust-claim-text.is-glitching {
  animation: trustGlitch 0.18s steps(1, end);
}
@keyframes trustGlitch {
  0%   { transform: translateX(0)    scaleY(1);    opacity: 1;    text-shadow:  0 0 8px rgba(249,59,202,0.9), 0 0 24px rgba(249,59,202,0.6); }
  15%  { transform: translateX(-6px) scaleY(1.04); opacity: 0.7;  text-shadow:  6px 0 rgba(34,212,245,1),   -6px 0 rgba(249,59,202,1),    0 0 32px rgba(34,212,245,0.6); }
  30%  { transform: translateX( 6px) scaleY(0.96); opacity: 1;    text-shadow: -6px 0 rgba(34,212,245,1),    6px 0 rgba(249,59,202,1),    0 0 32px rgba(249,59,202,0.6); }
  50%  { transform: translateX(-4px) scaleY(1.02); opacity: 0.6;  text-shadow:  4px 0 rgba(34,212,245,0.8), -4px 0 rgba(249,59,202,0.8); }
  70%  { transform: translateX( 2px) scaleY(1);    opacity: 0.9;  text-shadow: -2px 0 rgba(34,212,245,0.5),  2px 0 rgba(249,59,202,0.5), 0 0 16px rgba(249,59,202,0.4); }
  100% { transform: translateX(0)    scaleY(1);    opacity: 1;    text-shadow:  0 0 8px rgba(249,59,202,0.9), 0 0 24px rgba(249,59,202,0.6); }
}

/* ── FOR-WHO heading: force single line ─────────────────────── */
.for-who .sec-head { max-width: none; }
#for-who-h2 { font-size: clamp(1.2rem, 2.8vw, 1.85rem); }
@media (min-width: 640px) {
  #for-who-h2 { white-space: nowrap; }
}

/* Trust claim: mobile wrap */
@media (max-width: 480px) {
  .trust-claim-text { white-space: normal; }
  .trust-claim-line  { max-width: 40px; }
}
/* Trust pills: smooth entrance */
.trust-pill { cursor: default; }

/* Section eyebrow: teal bar draw-in (parent must have .fade-up.in) */
.eyebrow { position: relative; display: inline-block; }
.eyebrow::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  height: 1px; width: 0%;
  background: var(--teal);
  transition: width 500ms cubic-bezier(0.16, 1, 0.3, 1) 250ms;
}
.fade-up.in .eyebrow::after { width: 100%; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .fade-up { opacity: 1; transform: none; }
}

/* ============================================================
   AI TECH DESIGN SYSTEM — Circuit, Accordion & Cards
   Neon Cyan #22D4F5 · Neon Pink #F93BCA
   ============================================================ */

/* ── Circuit PCB micro-texture (tutte le dark sections) ──── */
/* SVG tile: tracce circuito con vias — opacity ~8% */
.hero,
.trust-bar,
.problems,
.curriculum,
.instructors,
.final-cta {
  background-image:
    url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 25h35v30h45' fill='none' stroke='%2322D4F5' stroke-width='.5' opacity='.09'/%3E%3Cpath d='M55 0v35h25' fill='none' stroke='%2322D4F5' stroke-width='.5' opacity='.09'/%3E%3Cpath d='M0 65h18' fill='none' stroke='%2322D4F5' stroke-width='.5' opacity='.06'/%3E%3Cpath d='M70 65v15' fill='none' stroke='%23F93BCA' stroke-width='.5' opacity='.07'/%3E%3Ccircle cx='35' cy='25' r='2.5' fill='none' stroke='%2322D4F5' stroke-width='.8' opacity='.2'/%3E%3Ccircle cx='35' cy='55' r='1.5' fill='%2322D4F5' opacity='.16'/%3E%3Ccircle cx='55' cy='35' r='2' fill='none' stroke='%23F93BCA' stroke-width='.8' opacity='.16'/%3E%3Crect x='17' y='63' width='3' height='3' fill='none' stroke='%2322D4F5' stroke-width='.5' opacity='.12'/%3E%3C/svg%3E"),
    linear-gradient(var(--dark-bg), var(--dark-bg));
  background-size: 80px 80px, 100% 100%;
}

/* ── CURRICULUM: Dark AI Terminal ──────────────────────────── */
.curriculum {
  background-color: var(--dark-bg);
  padding: var(--s80) 0;
}
.curriculum.section-white { background: var(--dark-bg) !important; }
.curriculum .sec-head .eyebrow { color: var(--neon-cyan); }
.curriculum .sec-head .h2     { color: #fff; }
.curriculum .sec-head .lead   { color: rgba(255,255,255,0.55); }

/* Accordion card — dark glass node */
.curriculum .acc {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  position: relative;
  overflow: visible;
  isolation: isolate;
}
.curriculum .acc-body {
  overflow: hidden;
  position: relative;
}
.curriculum .acc-btn:hover { background: rgba(255,255,255,0.04); }

/* ── @property rotating gradient border ── */
@property --acc-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes accBorderSpin { to { --acc-angle: 360deg; } }

.curriculum .acc.open {
  border-color: transparent;
}
.curriculum .acc.open::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: calc(var(--r12) + 1px);
  background: conic-gradient(
    from var(--acc-angle),
    var(--neon-pink)           0deg,
    var(--neon-cyan)          70deg,
    rgba(255,255,255,0.08)   140deg,
    transparent              220deg,
    transparent              360deg
  );
  animation: accBorderSpin 2.8s linear infinite;
  z-index: -1;
}
.curriculum .acc.open::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--r12);
  background: #080D15;
  z-index: -1;
}
/* Bonus: colori invertiti */
.curriculum .acc.bonus.open::before {
  background: conic-gradient(
    from var(--acc-angle),
    var(--neon-cyan)           0deg,
    var(--neon-pink)          70deg,
    rgba(255,255,255,0.08)   140deg,
    transparent              220deg,
    transparent              360deg
  );
}

/* Numero modulo: stile terminale monospace */
.curriculum .acc-num {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  background: rgba(34,212,245,0.06);
  color: rgba(34,212,245,0.45);
  border: 1px solid rgba(34,212,245,0.14);
  transition: all 220ms ease;
}
.curriculum .acc.open .acc-num {
  background: rgba(34,212,245,0.12);
  color: var(--neon-cyan);
  border-color: rgba(34,212,245,0.4);
  animation: numPulse 2.4s ease-in-out infinite;
}
.curriculum .acc.bonus .acc-num {
  background: rgba(249,59,202,0.06);
  color: rgba(249,59,202,0.45);
  border-color: rgba(249,59,202,0.14);
}
.curriculum .acc.bonus.open .acc-num {
  background: rgba(249,59,202,0.12);
  color: var(--neon-pink);
  border-color: rgba(249,59,202,0.4);
  animation: numPulsePink 2.4s ease-in-out infinite;
}
@keyframes numPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(34,212,245,0.15); }
  50%       { box-shadow: 0 0 20px rgba(34,212,245,0.35), 0 0 40px rgba(34,212,245,0.1); }
}
@keyframes numPulsePink {
  0%, 100% { box-shadow: 0 0 8px rgba(249,59,202,0.15); }
  50%       { box-shadow: 0 0 20px rgba(249,59,202,0.35), 0 0 40px rgba(249,59,202,0.1); }
}

/* Testi nell'accordion */
.curriculum .acc-title { color: rgba(255,255,255,0.72); }
.curriculum .acc.open .acc-title { color: #fff; }
.curriculum .acc-meta span { color: rgba(255,255,255,0.28); }
.curriculum .acc-meta span::before { color: rgba(255,255,255,0.1); }
.curriculum .acc-chevron { color: rgba(255,255,255,0.28); }
.curriculum .acc.open .acc-chevron {
  color: var(--neon-cyan);
  filter: drop-shadow(0 0 5px var(--neon-cyan));
}
.curriculum .acc.bonus.open .acc-chevron {
  color: var(--neon-pink);
  filter: drop-shadow(0 0 5px var(--neon-pink));
}
.curriculum .acc-desc {
  color: rgba(255,255,255,0.48);
  border-bottom-color: rgba(255,255,255,0.05);
}
.curriculum .lesson { border-bottom-color: rgba(255,255,255,0.04); }
.curriculum .lesson-n { color: var(--neon-cyan); }
.curriculum .acc.bonus .lesson-n { color: var(--neon-pink); }
.curriculum .lesson-name { color: rgba(255,255,255,0.82); }
.curriculum .lesson-desc { color: rgba(255,255,255,0.36); }
.curriculum .lesson-dur  { color: rgba(255,255,255,0.28); }
.curriculum .bonus-tag {
  background: rgba(249,59,202,0.12);
  color: var(--neon-pink);
  border: 1px solid rgba(249,59,202,0.25);
}
.curriculum .acc.bonus { border-color: rgba(249,59,202,0.15); }

/* ── Scan-line reveal ─────── */
.acc-scan-line {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--neon-cyan) 20%,
    rgba(255,255,255,0.95) 50%,
    var(--neon-cyan) 80%,
    transparent 100%
  );
  box-shadow:
    0 0 6px var(--neon-cyan),
    0 0 18px rgba(34,212,245,0.5),
    0 0 40px rgba(34,212,245,0.15);
  pointer-events: none;
  z-index: 10;
  animation: scanLineDown 560ms cubic-bezier(0.4, 0, 0.6, 1) forwards;
}
@keyframes scanLineDown {
  0%   { top: 0%;   opacity: 1; }
  80%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ── Lesson materialize (sostituisce slide-in) ────── */
@keyframes lessonMaterialize {
  0%   { opacity: 0; transform: translateX(-10px); filter: blur(4px); }
  45%  { filter: blur(0); }
  100% { opacity: 1; transform: translateX(0);  filter: blur(0); }
}
.curriculum .acc.open .lesson {
  animation: lessonMaterialize 320ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
/* Stagger delays */
.curriculum .acc.open .lesson:nth-child(1) { animation-delay: 80ms; }
.curriculum .acc.open .lesson:nth-child(2) { animation-delay: 140ms; }
.curriculum .acc.open .lesson:nth-child(3) { animation-delay: 200ms; }
.curriculum .acc.open .lesson:nth-child(4) { animation-delay: 260ms; }
.curriculum .acc.open .lesson:nth-child(5) { animation-delay: 320ms; }
.curriculum .acc.open .lesson:nth-child(6) { animation-delay: 380ms; }

/* ── Glitch hover sul titolo ───── */
@keyframes accTitleGlitch {
  0%, 100% { transform: translate(0,0);    text-shadow: none; }
  18%       { transform: translate(-2px,0); text-shadow:  2px 0 var(--neon-pink); }
  36%       { transform: translate( 2px,0); text-shadow: -2px 0 var(--neon-cyan); }
  54%       { transform: translate(0,0);    text-shadow: none; }
  72%       { transform: translate(-1px,0); text-shadow:  1px 0 var(--neon-pink); }
}
.curriculum .acc-btn:hover .acc-title {
  animation: accTitleGlitch 260ms steps(1) 1;
}


/* ── INSTRUCTORS: Dark + Neon Cards ────────────────────────── */
.instructors {
  background-color: var(--dark-bg);
  padding: var(--s80) 0;
}
.instructors .eyebrow { color: var(--neon-pink); }
.instructors .h2      { color: #fff; }
.instructors .lead    { color: rgba(255,255,255,0.55); }

/* @property per bordo rotante su hover */
@property --card-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes cardBorderSpin { to { --card-angle: 360deg; } }

/* Card bianca con bordo neon statico + hover rotante */
.instr-card {
  position: relative;
  isolation: isolate;
  background: #fff;
  border: none;
  box-shadow: none;
  overflow: visible;
}
.instr-card::before {
  content: '';
  position: absolute; inset: -2px;
  border-radius: calc(var(--r16) + 2px);
  z-index: -1;
  transition: opacity 350ms ease;
}
.instr-card::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--r16);
  background: #fff;
  z-index: -1;
}
/* Card 1: cyan */
.instr-card:nth-child(1)::before {
  background: conic-gradient(
    from var(--card-angle),
    var(--neon-cyan) 0deg, rgba(34,212,245,0.3) 80deg,
    transparent 160deg, transparent 360deg
  );
  box-shadow: 0 0 0 1px rgba(34,212,245,0.2), 0 0 24px rgba(34,212,245,0.08);
  animation: cardBorderSpin 4s linear infinite;
}
/* Card 2: pink */
.instr-card:nth-child(2)::before {
  background: conic-gradient(
    from var(--card-angle),
    var(--neon-pink) 0deg, rgba(249,59,202,0.3) 80deg,
    transparent 160deg, transparent 360deg
  );
  box-shadow: 0 0 0 1px rgba(249,59,202,0.2), 0 0 24px rgba(249,59,202,0.08);
  animation: cardBorderSpin 4s linear infinite reverse;
}
/* Card 3: gradient */
.instr-card:nth-child(3)::before {
  background: conic-gradient(
    from var(--card-angle),
    var(--neon-cyan)  0deg,
    var(--neon-pink)  90deg,
    rgba(34,212,245,0.3) 180deg,
    transparent      260deg, transparent 360deg
  );
  box-shadow:
    0 0 0 1px rgba(34,212,245,0.15),
    0 0 0 1px rgba(249,59,202,0.1),
    0 0 24px rgba(34,212,245,0.06);
  animation: cardBorderSpin 4s linear infinite;
}
.instr-card:hover { transform: translateY(-6px); }
.instr-card:hover::before {
  box-shadow:
    0 0 0 1px rgba(34,212,245,0.4),
    0 0 32px rgba(34,212,245,0.2),
    0 0 60px rgba(34,212,245,0.08);
}
.instr-card:nth-child(2):hover::before {
  box-shadow:
    0 0 0 1px rgba(249,59,202,0.4),
    0 0 32px rgba(249,59,202,0.2),
    0 0 60px rgba(249,59,202,0.08);
}

/* ── Reveal animation: foto grande → card ─────── */
/* Stato iniziale (pre-reveal) — gestito da JS con .will-reveal */
.instr-card.will-reveal:not(.revealed) {
  opacity: 0;
  transform: scale(0.88) translateY(28px);
  transition: none;
}
.instr-card.will-reveal:not(.revealed) .instr-av-photo {
  transform: scale(2.2) translateY(-5%);
  opacity: 0.5;
  filter: blur(3px);
}
.instr-card.will-reveal:not(.revealed) .instr-role,
.instr-card.will-reveal:not(.revealed) .instr-name,
.instr-card.will-reveal:not(.revealed) .instr-bio {
  opacity: 0;
  transform: translateY(14px);
}

/* Stato finale (revealed) */
.instr-card.revealed {
  opacity: 1;
  transform: scale(1) translateY(0);
  transition:
    opacity   520ms cubic-bezier(0.16,1,0.3,1),
    transform 620ms cubic-bezier(0.16,1,0.3,1);
}
.instr-card.revealed .instr-av-photo {
  transform: scale(1) translateY(0);
  opacity: 1;
  filter: blur(0);
  transition:
    transform 680ms cubic-bezier(0.16,1,0.3,1) 80ms,
    opacity   500ms ease 80ms,
    filter    500ms ease 80ms;
}
.instr-card.revealed .instr-role {
  opacity: 1; transform: translateY(0);
  transition: opacity 380ms ease 240ms, transform 400ms cubic-bezier(0.16,1,0.3,1) 240ms;
}
.instr-card.revealed .instr-name {
  opacity: 1; transform: translateY(0);
  transition: opacity 380ms ease 320ms, transform 400ms cubic-bezier(0.16,1,0.3,1) 320ms;
}
.instr-card.revealed .instr-bio {
  opacity: 1; transform: translateY(0);
  transition: opacity 380ms ease 400ms, transform 400ms cubic-bezier(0.16,1,0.3,1) 400ms;
}
/* Transizioni del photo su ::before/::after della card non impattano il contenuto */
.instr-av-photo {
  transition:
    transform 680ms cubic-bezier(0.16,1,0.3,1),
    opacity   500ms ease,
    filter    500ms ease;
}


/* ── prefers-reduced-motion ─────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .curriculum .acc.open::before,
  .acc-scan-line,
  .curriculum .acc.open .lesson,
  .curriculum .acc.open .acc-num,
  .curriculum .acc.bonus.open .acc-num,
  .instr-card::before {
    animation: none !important;
  }
  .curriculum .acc-btn:hover .acc-title { animation: none !important; }
  .instr-card.will-reveal:not(.revealed) { opacity: 1; transform: none; }
  .instr-card.will-reveal:not(.revealed) .instr-av-photo,
  .instr-card.will-reveal:not(.revealed) .instr-role,
  .instr-card.will-reveal:not(.revealed) .instr-name,
  .instr-card.will-reveal:not(.revealed) .instr-bio { opacity: 1; transform: none; filter: none; }
}

/* ============================================================
   TESTIMONIALS — Infinite Scroll Columns
   ============================================================ */

.testimonials {
  background-color: var(--dark-bg);
  padding: var(--s80) 0 0;
  overflow: hidden;
}
.testimonials .sec-head .eyebrow { color: var(--neon-cyan); }
.testimonials .sec-head .h2      { color: #fff; }
.testimonials .sec-head .lead    { color: rgba(255,255,255,0.55); }

/* Wrapper delle 3 colonne */
.testi-flow {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: var(--s48);
  max-height: 720px;
  overflow: hidden;
  padding-bottom: var(--s80);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 82%, transparent 100%);
}

/* Singola track */
.testi-track {
  display: flex;
  flex-direction: column;
  width: 300px;
  flex-shrink: 0;
  overflow: hidden;
}
.testi-track--2 { display: none; }
.testi-track--3 { display: none; }

@media (min-width: 768px)  { .testi-track--2 { display: flex; } }
@media (min-width: 1024px) { .testi-track--3 { display: flex; } }

/* Inner animato */
.testi-track-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  will-change: transform;
  animation: testiScrollUp var(--scroll-dur, 16s) linear infinite;
}
.testi-track:hover .testi-track-inner { animation-play-state: paused; }

@keyframes testiScrollUp {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

/* Card */
.testi-v2 {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 20px;
  padding: 24px 26px;
  width: 300px;
  flex-shrink: 0;
}
.testi-v2-stars {
  display: flex; gap: 4px; margin-bottom: 14px;
}
.testi-v2-star {
  width: 11px; height: 11px;
  background: var(--neon-cyan);
  clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
}
.testi-v2-text {
  font-size: 0.875rem;
  line-height: 1.72;
  color: rgba(255,255,255,0.72);
}
.testi-v2-author {
  display: flex; align-items: center; gap: 12px; margin-top: 18px;
}
.testi-v2-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(34,212,245,0.25);
  flex-shrink: 0;
}
.testi-v2-name {
  font-family: var(--font-head); font-size: 0.84rem;
  font-weight: 700; color: #fff; line-height: 1.3;
}
.testi-v2-salon {
  font-size: 0.7rem; color: rgba(255,255,255,0.35); line-height: 1.3;
}

/* Colonna 1: cyan */
.testi-track--1 .testi-v2 { border-color: rgba(34,212,245,0.12); }
.testi-track--1 .testi-v2-avatar { border-color: rgba(34,212,245,0.3); }

/* Colonna 2: pink */
.testi-track--2 .testi-v2 { border-color: rgba(249,59,202,0.12); }
.testi-track--2 .testi-v2-avatar { border-color: rgba(249,59,202,0.3); }
.testi-track--2 .testi-v2-star { background: var(--neon-pink); }

/* Colonna 3: mix */
.testi-track--3 .testi-v2 { border-color: rgba(34,212,245,0.08); }
.testi-track--3 .testi-v2-avatar { border-color: rgba(249,59,202,0.22); }
.testi-track--3 .testi-v2-star:nth-child(odd)  { background: var(--neon-cyan); }
.testi-track--3 .testi-v2-star:nth-child(even) { background: var(--neon-pink); }

@media (prefers-reduced-motion: reduce) {
  .testi-track-inner { animation: none !important; }
}


/* ============================================================
   FIX: Accordion — testo bianco su sfondo bianco
   Il problema era .acc-body che si appoggiava sul bg white del
   genitore .acc prima che il CSS dark venisse applicato.
   ============================================================ */
.curriculum .acc-body { background: transparent; }
.curriculum .acc-desc { background: transparent; }
.curriculum .lesson   { background: transparent; }


/* ============================================================
   FIX: Circuit PCB texture — opacità ridotta (~50% meno intensa)
   ============================================================ */
.hero,
.trust-bar,
.problems,
.curriculum,
.instructors,
.testimonials,
.final-cta {
  background-image:
    url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 25h35v30h45' fill='none' stroke='%2322D4F5' stroke-width='.5' opacity='.045'/%3E%3Cpath d='M55 0v35h25' fill='none' stroke='%2322D4F5' stroke-width='.5' opacity='.045'/%3E%3Cpath d='M0 65h18' fill='none' stroke='%2322D4F5' stroke-width='.5' opacity='.03'/%3E%3Cpath d='M70 65v15' fill='none' stroke='%23F93BCA' stroke-width='.5' opacity='.035'/%3E%3Ccircle cx='35' cy='25' r='2.5' fill='none' stroke='%2322D4F5' stroke-width='.8' opacity='.1'/%3E%3Ccircle cx='35' cy='55' r='1.5' fill='%2322D4F5' opacity='.08'/%3E%3Ccircle cx='55' cy='35' r='2' fill='none' stroke='%23F93BCA' stroke-width='.8' opacity='.08'/%3E%3Crect x='17' y='63' width='3' height='3' fill='none' stroke='%2322D4F5' stroke-width='.5' opacity='.06'/%3E%3C/svg%3E"),
    linear-gradient(var(--dark-bg), var(--dark-bg));
  background-size: 80px 80px, 100% 100%;
}


/* ============================================================
   MOCKUP CARD — bordo neon rotante (come instr-cards)
   ============================================================ */
@property --mock-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes mockBorderSpin { to { --mock-angle: 360deg; } }

.course-card {
  position: relative;
  isolation: isolate;
  overflow: visible;
  border: none;
  box-shadow: var(--sh-lg);
}
.course-card::before {
  content: '';
  position: absolute; inset: -2px;
  border-radius: calc(var(--r24) + 2px);
  background: conic-gradient(
    from var(--mock-angle),
    var(--neon-cyan)  0deg,
    var(--neon-pink)  90deg,
    rgba(34,212,245,0.2) 180deg,
    transparent      260deg,
    transparent      360deg
  );
  z-index: -1;
  animation: mockBorderSpin 3.5s linear infinite;
}
.course-card::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--r24);
  background: var(--white);
  z-index: -1;
}


/* ============================================================
   SCROLL ANIMATIONS — sezioni entrano mentre si scrolla
   (aggiunge classe .scroll-in via IntersectionObserver)
   ============================================================ */

/* Sections: no entry animation on the container (avoids white/light flash on dark sections).
   Individual items inside animate via [data-si]. */
.scroll-section { }
.scroll-section.scroll-in { }

/* Elementi individuali: stagger via data-si="N" */
[data-si] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity  500ms cubic-bezier(0.16,1,0.3,1),
    transform 550ms cubic-bezier(0.16,1,0.3,1);
  transition-delay: calc(var(--si-delay, 0) * 1ms);
}
[data-si].scroll-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-section, [data-si] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================================
   FIX DEFINITIVO: Accordion curriculum — sfondo dark forzato
   Il bianco su bianco era causato da background: var(--white)
   nel regola base .acc che sopravanzava il mio override.
   ============================================================ */
.curriculum .acc,
.curriculum .acc-btn,
.curriculum .acc-body,
.curriculum .acc-desc,
.curriculum .lesson {
  background-color: transparent !important;
  background: transparent !important;
}

/* Sfondo scuro sul contenitore dell'accordion */
.curriculum .acc {
  background-color: rgba(8, 13, 21, 0.85) !important;
  border-color: rgba(255,255,255,0.07) !important;
}
.curriculum .acc.bonus {
  background-color: rgba(18, 8, 20, 0.85) !important;
  border-color: rgba(249,59,202,0.15) !important;
}

/* Hover del btn: leggero schiarimento */
.curriculum .acc-btn:hover {
  background-color: rgba(255,255,255,0.04) !important;
}

/* Testo leggibile su scuro */
.curriculum .acc-title {
  color: rgba(255,255,255,0.75) !important;
}
.curriculum .acc.open .acc-title {
  color: #fff !important;
}
.curriculum .acc-meta span {
  color: rgba(255,255,255,0.3) !important;
}
.curriculum .acc-desc {
  color: rgba(255,255,255,0.5) !important;
  border-bottom-color: rgba(255,255,255,0.05) !important;
}
.curriculum .lesson {
  border-bottom-color: rgba(255,255,255,0.04) !important;
}
.curriculum .lesson-name { color: rgba(255,255,255,0.85) !important; }
.curriculum .lesson-desc { color: rgba(255,255,255,0.38) !important; }
.curriculum .lesson-dur  { color: rgba(255,255,255,0.28) !important; }

/* ── WHATSAPP FLOATING BUTTON ───────────────────────────────── */
.wa-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9000;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  gap: 0;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  padding: 15px;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(37,211,102,0.35), 0 2px 8px rgba(0,0,0,0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, bottom 0.35s ease,
              border-radius 0.4s ease, padding 0.4s ease, gap 0.4s ease;
  overflow: hidden;
  white-space: nowrap;
  max-width: 56px;
}
.wa-btn.wa-expanded {
  border-radius: 50px;
  padding: 14px 20px 14px 16px;
  gap: 10px;
  max-width: 220px;
}
.wa-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 32px rgba(37,211,102,0.45), 0 4px 12px rgba(0,0,0,0.2);
}

/* Pulse ring */
.wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  animation: waPulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes waPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.55); }
  60%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* Icon */
.wa-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
}

/* Label */
.wa-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transition: opacity 0.3s ease 0.25s, max-width 0.4s ease;
}
.wa-btn.wa-expanded .wa-label {
  opacity: 1;
  max-width: 140px;
}

/* Sticky bar visibile: alza il bottone sopra di essa */
.wa-btn.wa-elevated { bottom: 88px; }

/* Mobile: resta cerchio sempre */
@media (max-width: 600px) {
  .wa-btn,
  .wa-btn.wa-expanded {
    padding: 15px;
    border-radius: 50%;
    bottom: 20px;
    right: 20px;
    gap: 0;
    max-width: 56px;
  }
  .wa-btn.wa-elevated,
  .wa-btn.wa-expanded.wa-elevated { bottom: 84px; }
  .wa-label { display: none; }
}

/* Rispetta reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .wa-pulse { animation: none; }
  .wa-btn { transition: none; }
}

/* ── SALON INTELLIGENCE HERO LOGO ───────────────────────────── */
/* PNG croppato sul contenuto reale (936×237) — drop-shadow segue i contorni */
.hero-brand-logo {
  display: flex;
  justify-content: center;
  margin-bottom: var(--s20);
}

.hero-brand-logo img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  filter:
    drop-shadow(0 0 5px rgba(34,212,245,0.95))
    drop-shadow(0 0 14px rgba(34,212,245,0.5))
    drop-shadow(0 0 32px rgba(34,212,245,0.2));
  animation: siLogoEnter 0.7s cubic-bezier(0.22,1,0.36,1) both,
             siLogoGlow  3s 0.7s ease-in-out infinite alternate;
}

@media (min-width: 768px) {
  .hero-brand-logo img { max-width: 360px; }
}

@media (min-width: 1024px) {
  .hero-brand-logo img { max-width: 400px; }
}

@keyframes siLogoEnter {
  from {
    opacity: 0;
    transform: scale(0.88) translateY(10px);
    filter: drop-shadow(0 0 0px rgba(34,212,245,0)) brightness(2.5);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter:
      drop-shadow(0 0 8px rgba(34,212,245,0.9))
      drop-shadow(0 0 24px rgba(34,212,245,0.5))
      drop-shadow(0 0 48px rgba(34,212,245,0.2))
      brightness(1);
  }
}

@keyframes siLogoGlow {
  from {
    filter:
      drop-shadow(0 0 6px rgba(34,212,245,0.8))
      drop-shadow(0 0 20px rgba(34,212,245,0.45))
      drop-shadow(0 0 48px rgba(34,212,245,0.18));
  }
  to {
    filter:
      drop-shadow(0 0 12px rgba(34,212,245,1))
      drop-shadow(0 0 36px rgba(34,212,245,0.7))
      drop-shadow(0 0 80px rgba(34,212,245,0.3))
      drop-shadow(0 0 110px rgba(249,59,202,0.12));
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-brand-logo img { animation: none; }
}
