/* ============================================================
   WEBINAR AI — LANDING PAGE
   Dark · Magenta #FF0099 · Cyan #0FBAFF
   ============================================================ */

:root {
  --bg-0: #050507;
  --bg-1: #0a0a0d;
  --bg-2: #0d0d12;
  --bg-3: #111118;
  --bg-card: rgba(255, 255, 255, 0.025);
  --bg-card-2: rgba(255, 255, 255, 0.04);

  --line-1: rgba(255, 255, 255, 0.06);
  --line-2: rgba(255, 255, 255, 0.1);
  --line-3: rgba(255, 255, 255, 0.18);

  --fg-1: #ffffff;
  --fg-2: #f4f4f8;
  --fg-3: #c7c7d0;
  --fg-4: #8a8a95;

  --magenta: #ff0099;
  --magenta-soft: #ff3aaf;
  --cyan: #0fbaff;
  --cyan-soft: #4fd1ff;

  --grad-line: linear-gradient(90deg, #ff0099 0%, #0fbaff 100%);
  --grad-line-r: linear-gradient(90deg, #0fbaff 0%, #ff0099 100%);
  --grad-text: linear-gradient(92deg, #ffffff 0%, #ffffff 40%, #0fbaff 100%);

  --glow-magenta: 0 0 60px rgba(255, 0, 153, 0.32);
  --glow-cyan: 0 0 60px rgba(15, 186, 255, 0.28);

  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* ----- 8pt spacing scale (per design spec) -----
     Multiples of 8 for layout; 4/12/20 reserved for micro.
     Cluster tokens (within a typographic group):
       --cl-tight   label→headline (12/12/12)
       --cl-loose   headline→subtitle/lead (24/24/20)
       --cl-paragraph paragraph→paragraph (16/16/16)
       --cl-cta     text→CTA (32/32/24)
       --cl-micro   CTA→microcopy (8)
     Block tokens (between blocks inside a section):
       --bl-tight   24
       --bl         48
       --bl-loose   64
       --bl-major   96
     Section tokens (between sections / inside section padding):
       --section-y       sec padding (80/64/48)
       --section-gap     sec→sec gap (120/88/64)
       --section-major   accent sections (160/120/80)
  */
  --cl-tight: 12px;
  --cl-loose: 24px;
  --cl-paragraph: 16px;
  --cl-cta: 32px;
  --cl-micro: 8px;
  --bl-tight: 24px;
  --bl: 48px;
  --bl-loose: 64px;
  --bl-major: 96px;
  --section-y: 80px;
  --section-gap: 120px;
  --section-major: 160px;

  /* Container & layout */
  --pad-x: 24px;
  --container: 1200px;
  --col-gap: 48px;

  /* Type scale */
  --h1: 60px;
  --h2: 44px;
  --h3: 26px;
  --lead: 20px;
  --body: 18px;
  --eyebrow: 12px;
}

/* ---- per-breakpoint scaling ---- */
.landing[data-bp="desktop"] {
  --pad-x: 80px;
  --container: 1200px;
  --col-gap: 48px;
  --section-y: 96px;
  --section-gap: 120px;
  --section-major: 160px;
  --bl-tight: 24px;
  --bl: 48px;
  --bl-loose: 64px;
  --bl-major: 96px;
  --cl-tight: 16px;
  --cl-loose: 24px;
  --cl-paragraph: 16px;
  --cl-cta: 32px;
  --cl-micro: 8px;
  --h1: 60px;
  --h2: 48px;
  --h3: 26px;
  --lead: 20px;
  --body: 18px;
}
.landing[data-bp="tablet"] {
  --pad-x: 40px;
  --container: 100%;
  --col-gap: 32px;
  --section-y: 72px;
  --section-gap: 88px;
  --section-major: 120px;
  --bl-tight: 20px;
  --bl: 40px;
  --bl-loose: 56px;
  --bl-major: 80px;
  --cl-tight: 12px;
  --cl-loose: 20px;
  --cl-paragraph: 16px;
  --cl-cta: 32px;
  --cl-micro: 8px;
  --h1: 52px;
  --h2: 40px;
  --h3: 24px;
  --lead: 18px;
  --body: 17px;
}
.landing[data-bp="mobile"] {
  --pad-x: 16px;
  --container: 100%;
  --col-gap: 24px;
  --section-y: 56px;
  --section-gap: 64px;
  --section-major: 80px;
  --bl-tight: 16px;
  --bl: 32px;
  --bl-loose: 48px;
  --bl-major: 64px;
  --cl-tight: 12px;
  --cl-loose: 20px;
  --cl-paragraph: 16px;
  --cl-cta: 24px;
  --cl-micro: 8px;
  --h1: 38px;
  --h2: 28px;
  --h3: 22px;
  --lead: 17px;
  --body: 16px;
  --eyebrow: 11px;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
.landing,
.landing *,
.landing *::before,
.landing *::after {
  box-sizing: border-box;
}
.landing {
  font-family: var(--font-body);
  color: var(--fg-1);
  background: var(--bg-0);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.landing p {
  margin: 0;
  color: var(--fg-2);
  font-size: var(--body);
  line-height: 1.6;
}
.landing h1, .landing h2, .landing h3, .landing h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--fg-1);
}
.landing h1 {
  font-size: var(--h1);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.landing h2 {
  font-size: var(--h2);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.landing h3 {
  font-size: var(--h3);
  line-height: 1.15;
}
.landing a {
  color: inherit;
  text-decoration: none;
}
.landing button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}
.landing input,
.landing select,
.landing textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  outline: 0;
}

/* ============================================================
   AMBIENT BACKGROUND — subtle grid + glows
   ============================================================ */
.landing::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black 0%, black 25%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.landing > * {
  position: relative;
  z-index: 1;
}

/* ============================================================
   LAYOUT PRIMITIVES
   ============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  width: 100%;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--eyebrow);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 12px var(--magenta);
}
.eyebrow.cyan .dot {
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}
.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: var(--cl-loose);
}

.section-label .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fg-3);
}
.section-label .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--line-2), transparent);
  max-width: 64px;
}

/* Magenta-to-cyan gradient text */
.grad-text {
  background: linear-gradient(92deg, #ffffff 0%, var(--cyan) 60%, var(--magenta) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.grad-magenta {
  background: linear-gradient(92deg, #ffffff 0%, var(--magenta) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.grad-cyan {
  background: linear-gradient(92deg, #ffffff 0%, var(--cyan) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: relative;
  border-bottom: 1px solid var(--line-1);
  padding: 16px 0;
  z-index: 10;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.nav-brand-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 12px rgba(129, 74, 200, 0.35));
}
.landing[data-bp="mobile"] .nav-brand-logo { width: 30px; height: 30px; }
.nav-brand .nb-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav-brand .nb-text small {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--fg-3);
  text-transform: uppercase;
  margin-top: 4px;
}
.nav-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.nav-meta .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--fg-2);
}
.nav-meta .pill .blink {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 12px var(--magenta);
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.landing[data-bp="mobile"] .nav-meta .pill-text { display: none; }
.landing[data-bp="mobile"] .nav-meta { gap: 12px; }
.landing[data-bp="mobile"] .nav-meta .pill { padding: 8px; }

/* ============================================================
   HERO
   ============================================================ */
.landing[data-bp="desktop"] .hero {
  padding-top: 32px;
  padding-bottom: 56px;
}
.landing[data-bp="desktop"] .hero .warning-bar { margin-bottom: 16px; }
.landing[data-bp="desktop"] .hero-intro { margin-top: 24px; }
.landing[data-bp="desktop"] .event-info { margin-top: 32px; }
.landing[data-bp="desktop"] .hero-form-col .form-card { padding: 28px; }
.landing[data-bp="desktop"] .hero-form-col .form-card .form-head { margin-bottom: 20px; }
.landing[data-bp="desktop"] .hero-form-col .form-card .form-field { margin-top: 16px; }
.landing[data-bp="desktop"] .hero-form-col .form-card .form-field input,
.landing[data-bp="desktop"] .hero-form-col .form-card .form-field select { height: 48px; padding: 0 14px; font-size: 14px; }
.landing[data-bp="desktop"] .hero-form-col .form-card .cta { height: 48px; padding: 0 20px; font-size: 15px; }
.landing[data-bp="desktop"] .hero-form-col .form-card .form-micro { margin-top: 8px; }
.landing[data-bp="desktop"] .hero-form-col .form-card .form-head .title { font-size: 18px; }
.landing[data-bp="desktop"] .hero-form-col .form-card .form-head .sub { margin-top: 6px; font-size: 13px; }

.hero {
  position: relative;
  padding-top: 64px;
  padding-bottom: var(--section-y);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-bg .glow-m {
  position: absolute;
  width: 720px;
  height: 720px;
  left: -200px;
  top: -200px;
  background: radial-gradient(closest-side, rgba(255, 0, 153, 0.22), transparent 70%);
  filter: blur(20px);
}
.hero-bg .glow-c {
  position: absolute;
  width: 720px;
  height: 720px;
  right: -240px;
  top: 120px;
  background: radial-gradient(closest-side, rgba(15, 186, 255, 0.18), transparent 70%);
  filter: blur(20px);
}
.hero-bg .grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 120px 100%;
  mask-image: radial-gradient(ellipse at top, black, transparent 55%);
}

.hero-inner {
  position: relative;
  z-index: 1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: stretch;
}
.landing[data-bp="tablet"] .hero-grid,
.landing[data-bp="mobile"] .hero-grid {
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
.hero-form-col { display: flex; flex-direction: column; gap: 24px; }
.hero-form-col .form-card { width: 100%; display: flex; flex-direction: column; }
.hero-form-col .form-card .form-foot { margin-top: auto; padding-top: 24px; }
.hero-form-col .form-card .form-foot .cta { margin-top: 0; }
.hero-form-col .form-card .form-head { margin-bottom: 24px; }

/* Hero video — horizontal placeholder above the form */
.hero-video {
  width: 100%;
}
.hv-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: #050507;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 60px rgba(15, 186, 255, 0.08);
}
.hv-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hv-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(5,5,7,0.55) 100%); }
.hv-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 30% 30%, rgba(255, 0, 153, 0.22), transparent 70%),
    radial-gradient(60% 50% at 70% 70%, rgba(15, 186, 255, 0.22), transparent 70%),
    linear-gradient(180deg, #0a0a0d 0%, #050507 100%);
}
.hv-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  opacity: 0.7;
}
.hv-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(13, 13, 18, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), border-color 200ms var(--ease);
  box-shadow: 0 0 40px rgba(255, 0, 153, 0.32);
}
.hv-play svg { width: 24px; height: 24px; margin-left: 3px; }
.hv-play:hover {
  transform: translate(-50%, -50%) scale(1.08);
  border-color: var(--magenta);
  box-shadow: 0 0 60px rgba(255, 0, 153, 0.6);
}
.hv-meta {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.hv-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hv-tag .d { width: 6px; height: 6px; border-radius: 50%; background: var(--magenta); box-shadow: 0 0 8px var(--magenta); }
.hv-cap { color: var(--fg-3); }
.landing[data-bp="mobile"] .hv-cap { display: none; }
.landing[data-bp="mobile"] .hv-meta { left: 12px; right: 12px; bottom: 12px; }

.warning-bar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  border: 1px solid rgba(255, 0, 153, 0.35);
  background: rgba(255, 0, 153, 0.08);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffb0d8;
  margin-bottom: var(--cl-tight);
}
.warning-bar .sym {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--magenta);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  color: #0a0a0d;
  box-shadow: 0 0 16px rgba(255, 0, 153, 0.6);
}

.hero h1 {
  font-size: var(--h1);
  text-wrap: pretty;
}
.hero h1 .line2 {
  display: block;
  color: var(--fg-1);
}
.hero h1 .accent-m { color: var(--magenta); }
.hero h1 .accent-c { color: var(--cyan); }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(92deg, var(--magenta) 0%, var(--cyan) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-intro {
  margin-top: var(--cl-loose);
  font-size: var(--lead);
  line-height: 1.6;
  color: var(--fg-2);
  max-width: 56ch;
  text-wrap: pretty;
}
.hero-intro strong {
  color: var(--fg-1);
  font-weight: 500;
}

.event-info {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--cl-cta);
}
.event-info .item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--bg-card);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--fg-2);
}
.event-info .item .ic {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--cyan);
}
.event-info .item:nth-child(2) .ic { color: var(--magenta); }

/* ---- FORM ---- */
.form-card {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  padding: 32px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(15, 186, 255, 0.06), transparent 60%),
    radial-gradient(120% 80% at 0% 100%, rgba(255, 0, 153, 0.06), transparent 60%),
    rgba(13, 13, 18, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 80px rgba(255, 0, 153, 0.08);
}
.landing[data-bp="mobile"] .form-card { padding: 24px; border-radius: 16px; }
.form-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 0, 153, 0.4), transparent 40%, rgba(15, 186, 255, 0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
}
.form-head {
  margin-bottom: 24px;
}
.form-head .title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.landing[data-bp="mobile"] .form-head .title { font-size: 18px; }
.form-head .sub {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-3);
}
.form-field {
  margin-top: 16px;
  position: relative;
}
.form-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 8px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.4);
  color: var(--fg-1);
  font-size: 15px;
  transition: border-color 200ms var(--ease), background 200ms var(--ease);
}
.form-field textarea { height: auto; min-height: 64px; padding: 12px 16px; font-family: inherit; line-height: 1.4; resize: vertical; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--fg-4); }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--cyan);
  background: rgba(15, 186, 255, 0.04);
}
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23888892' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  color: var(--fg-2);
}
.form-field select.placeholder { color: var(--fg-4); }

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border-radius: 12px;
  background: linear-gradient(92deg, var(--magenta) 0%, #d4006b 100%);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.005em;
  width: 100%;
  margin-top: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(255, 0, 153, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(92deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 600ms var(--ease);
}
.cta:hover::after { transform: translateX(100%); }
.cta:hover { transform: translateY(-1px); box-shadow: 0 16px 36px rgba(255, 0, 153, 0.48); }
.cta:active { transform: translateY(0) scale(0.99); }
.cta .arrow { transition: transform 200ms var(--ease); }
.cta:hover .arrow { transform: translateX(4px); }

.form-micro {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.5;
}
.form-micro .lock { color: var(--cyan); }

/* Hero side decoration */
.hero-side-tech {
  position: absolute;
  top: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--fg-3);
  text-transform: uppercase;
}
.landing[data-bp="mobile"] .hero-side-tech { display: none; }

/* ============================================================
   MARQUEE — clients + sponsors
   ============================================================ */
.marquee-section {
  padding: var(--bl-loose) 0 var(--section-y);
  border-top: 1px solid var(--line-1);
  border-bottom: 1px solid var(--line-1);
  background: var(--bg-1);
}
.marquee-row {
  margin-top: 32px;
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.marquee-row + .marquee-row-label { margin-top: var(--bl-loose); }
.landing[data-bp="mobile"] .marquee-row + .marquee-row-label { margin-top: var(--bl); }

.marquee-track {
  display: flex;
  width: max-content;
  gap: 64px;
  align-items: center;
  animation: marquee 50s linear infinite;
}
.landing[data-bp="tablet"] .marquee-track { gap: 48px; animation-duration: 45s; }
.landing[data-bp="mobile"] .marquee-track { gap: 32px; animation-duration: 40s; }

.marquee-track.reverse { animation-direction: reverse; animation-duration: 60s; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.marquee-item {
  flex-shrink: 0;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 300ms var(--ease);
}
.landing[data-bp="tablet"] .marquee-item { height: 60px; }
.landing[data-bp="mobile"] .marquee-item { height: 52px; }
.marquee-item:hover { opacity: 1; }
.marquee-item img {
  height: 100%;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  display: block;
}
.landing[data-bp="mobile"] .marquee-item img { max-width: 220px; }

.marquee-row-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 4px;
}
.marquee-row-label .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-2);
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--bg-card);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.marquee-row-label .tag .d {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 8px var(--magenta);
}
.marquee-row-label.sponsors .tag .d { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.marquee-row-label .desc {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--fg-3);
}
.landing[data-bp="mobile"] .marquee-row-label .desc { display: none; }

/* ============================================================
   SECTION — STORY (Marco vs Luca)
   ============================================================ */
.story {
  padding: var(--section-y) 0;
}
.story h2 {
  max-width: 22ch;
  margin-bottom: var(--cl-loose);
  text-wrap: pretty;
}
.story-lead {
  font-size: var(--lead);
  max-width: 64ch;
  color: var(--fg-2);
  margin-bottom: var(--bl-loose);
  text-wrap: pretty;
}
.story-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  border: 1px solid var(--line-2);
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-1);
}
.landing[data-bp="tablet"] .story-split,
.landing[data-bp="mobile"] .story-split {
  grid-template-columns: 1fr;
}
.story-col {
  padding: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: background 300ms var(--ease);
}
.story-col .metrics { margin-top: auto; }
.story-col::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px transparent, 0 0 0 0 transparent;
  transition: box-shadow 360ms var(--ease);
}
.story-col.bad:hover::after {
  box-shadow:
    inset 0 0 0 1px rgba(255, 0, 153, 0.45),
    0 0 80px -10px rgba(255, 0, 153, 0.35);
}
.story-col.good:hover::after {
  box-shadow:
    inset 0 0 0 1px rgba(15, 186, 255, 0.5),
    0 0 80px -10px rgba(15, 186, 255, 0.35);
}
.story-col.bad:hover .name { color: var(--magenta); transition: color 300ms var(--ease); }
.landing[data-bp="mobile"] .story-col { padding: 32px 24px; }
.story-col .role {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 18px;
}
.story-col.bad .role .dot { background: var(--fg-3); }
.story-col.good .role .dot { background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.story-col .role .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.story-col h3.name {
  font-size: 56px;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
  line-height: 0.96;
  font-weight: 600;
}
.landing[data-bp="tablet"] .story-col h3.name { font-size: 44px; }
.landing[data-bp="mobile"] .story-col h3.name { font-size: 36px; }
.story-col.good h3.name {
  background: linear-gradient(92deg, #fff 0%, var(--cyan) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.story-col .tagline {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--fg-3);
  margin-bottom: 24px;
  text-transform: uppercase;
}
.story-col p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-2);
  margin-bottom: var(--cl-paragraph);
}
.story-col.bad {
  background: radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, 0.018), transparent 60%);
}
.story-col.good {
  background:
    radial-gradient(120% 90% at 100% 100%, rgba(15, 186, 255, 0.06), transparent 60%),
    radial-gradient(120% 90% at 100% 0%, rgba(255, 0, 153, 0.04), transparent 60%);
}
.story-col .metrics {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line-1);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.story-col .metric {
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 14px 12px;
  text-align: center;
  background: rgba(0, 0, 0, 0.3);
}
.story-col .metric .v {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.story-col.good .metric .v {
  background: linear-gradient(92deg, var(--cyan), var(--magenta));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.story-col.bad .metric .v { color: var(--fg-2); }
.story-col .metric .k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-top: 4px;
}

.story-divider {
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--line-3), transparent);
  position: relative;
}
.story-divider::after {
  content: "VS";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  background: var(--bg-0);
  padding: 8px 6px;
  color: var(--fg-1);
  border: 1px solid var(--line-3);
  border-radius: 999px;
}
.landing[data-bp="tablet"] .story-divider,
.landing[data-bp="mobile"] .story-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(to right, transparent, var(--line-3), transparent);
}
.landing[data-bp="tablet"] .story-divider::after,
.landing[data-bp="mobile"] .story-divider::after {
  padding: 4px 12px;
}

.story-bottom {
  margin-top: var(--bl);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px;
  border-left: 2px solid var(--magenta);
  background: linear-gradient(90deg, rgba(255, 0, 153, 0.06), transparent 80%);
}
.landing[data-bp="mobile"] .story-bottom { padding: 24px; flex-direction: column; align-items: flex-start; gap: 12px; }
.story-bottom .punch {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--fg-1);
  text-wrap: pretty;
}
.landing[data-bp="mobile"] .story-bottom .punch { font-size: 18px; }
.story-bottom .punch em {
  font-style: normal;
  color: var(--magenta);
}

/* ============================================================
   SECTION — LA LINEA
   ============================================================ */
.line-section { padding: var(--section-major) 0; position: relative; overflow: hidden; text-align: center; }
.line-section .section-label { justify-content: center; }
.line-section .line-body { margin-left: auto; margin-right: auto; }
.line-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 20% 30%, rgba(255, 0, 153, 0.1), transparent 60%),
    radial-gradient(60% 50% at 80% 70%, rgba(15, 186, 255, 0.1), transparent 60%);
  pointer-events: none;
}
.line-stage {
  position: relative;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  padding: 96px 0;
}
.landing[data-bp="mobile"] .line-stage { padding: 64px 0; }
.line-stage::before,
.line-stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--grad-line);
  opacity: 0.7;
}
.line-stage::before { top: -1px; box-shadow: 0 0 20px rgba(255, 0, 153, 0.4); }
.line-stage::after { bottom: -1px; box-shadow: 0 0 20px rgba(15, 186, 255, 0.4); }

.line-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 8vw, 140px);
  letter-spacing: -0.05em;
  line-height: 1.0;
  font-weight: 600;
  text-align: center;
  margin: 0 auto 40px;
  max-width: 18ch;
  text-wrap: balance;
}
.landing[data-bp="tablet"] .line-title { font-size: 72px; }
.landing[data-bp="mobile"] .line-title { font-size: 44px; }
.line-title .l1 {
  background: linear-gradient(92deg, var(--magenta) 0%, #fff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}
.line-title .l2 {
  background: linear-gradient(92deg, #fff 0%, var(--cyan) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}
.line-bisect {
  position: relative;
  margin: 48px auto;
  max-width: 920px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.landing[data-bp="mobile"] .line-bisect { height: 48px; margin: 32px auto; gap: 12px; }
.line-bisect .bar {
  flex: 1;
  height: 2px;
  background: var(--grad-line);
  box-shadow: 0 0 40px rgba(255, 0, 153, 0.5), 0 0 80px rgba(15, 186, 255, 0.3);
}
.line-bisect .side {
  flex: none;
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-2);
  white-space: nowrap;
}
.line-bisect .side.left {
  color: var(--magenta);
}
.line-bisect .side.right {
  color: var(--cyan);
}

.line-body {
  max-width: 64ch;
  margin: 0 auto;
  text-align: center;
  font-size: var(--lead);
  line-height: 1.6;
  color: var(--fg-2);
  text-wrap: pretty;
}
.line-body strong { color: var(--fg-1); font-weight: 500; }

/* ============================================================
   QUOTE BOX
   ============================================================ */
.quote {
  padding: var(--section-y) 0;
}
.quote-card {
  border: 1px solid var(--line-2);
  border-radius: 24px;
  padding: 64px;
  position: relative;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(255, 0, 153, 0.08), transparent 60%),
    radial-gradient(80% 60% at 50% 100%, rgba(15, 186, 255, 0.06), transparent 60%),
    var(--bg-1);
  overflow: hidden;
}
.landing[data-bp="mobile"] .quote-card { padding: 40px 24px; border-radius: 16px; }
.quote-card .mark {
  position: absolute;
  font-family: var(--font-display);
  font-size: 240px;
  line-height: 0.7;
  color: var(--magenta);
  opacity: 0.16;
  top: 8px;
  left: 24px;
  font-weight: 700;
  user-select: none;
}
.landing[data-bp="mobile"] .quote-card .mark { font-size: 140px; }
.quote-card blockquote {
  margin: 0;
  position: relative;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-wrap: balance;
  color: var(--fg-1);
}
.landing[data-bp="tablet"] .quote-card blockquote { font-size: 30px; }
.landing[data-bp="mobile"] .quote-card blockquote { font-size: 22px; }
.quote-card blockquote em {
  font-style: normal;
  background: linear-gradient(92deg, var(--magenta), var(--cyan));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.quote-card .attr {
  margin-top: var(--bl);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--fg-3);
  text-transform: uppercase;
}
.quote-card .attr .line {
  width: 32px;
  height: 1px;
  background: var(--line-3);
}

/* ============================================================
   METAPHOR — collaboratore
   ============================================================ */
.meta-section { padding: var(--section-y) 0; }
.meta-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: var(--bl-loose);
}
.landing[data-bp="tablet"] .meta-head,
.landing[data-bp="mobile"] .meta-head {
  grid-template-columns: 1fr;
  gap: 24px;
}
.meta-head h2 { text-wrap: balance; }
.meta-head h2 em {
  font-style: normal;
  background: linear-gradient(92deg, var(--cyan), var(--magenta));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.meta-head .copy {
  font-size: var(--lead);
  color: var(--fg-2);
  text-wrap: pretty;
  line-height: 1.55;
}

.meta-arch {
  border: 1px solid var(--line-2);
  border-radius: 20px;
  padding: 40px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.014), transparent 60%),
    var(--bg-1);
  position: relative;
  overflow: hidden;
}
.landing[data-bp="mobile"] .meta-arch { padding: 24px; }
.meta-arch::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}
.arch-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.landing[data-bp="tablet"] .arch-layout,
.landing[data-bp="mobile"] .arch-layout {
  grid-template-columns: 1fr;
  gap: 32px;
}

.arch-stage {
  position: relative;
  min-height: 360px;
  padding: 24px 0;
}
.landing[data-bp="mobile"] .arch-stage { min-height: 320px; }
.arch-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.arch-svg path {
  stroke: var(--line-3);
  stroke-width: 1;
  fill: none;
}
.arch-svg .anim {
  stroke: var(--cyan);
  stroke-width: 1.5;
  stroke-dasharray: 6 8;
  animation: dash 12s linear infinite;
  opacity: 0.6;
}
@keyframes dash { to { stroke-dashoffset: -100; } }

.arch-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 0, 153, 0.4), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(15, 186, 255, 0.4), transparent 60%),
    rgba(13, 13, 18, 0.9);
  border: 1px solid var(--line-3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 0 40px rgba(255, 0, 153, 0.3), 0 0 80px rgba(15, 186, 255, 0.2);
}
.arch-hub .label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-1);
  line-height: 1.3;
}
.arch-hub .label .sub { color: var(--fg-3); margin-top: 2px; }

.arch-node {
  position: absolute;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: rgba(10, 10, 13, 0.95);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--fg-2);
  text-transform: uppercase;
  z-index: 1;
  white-space: nowrap;
}
.landing[data-bp="mobile"] .arch-node { font-size: 10px; padding: 8px 10px; }
.arch-node::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}
.arch-node.m::before {
  background: var(--magenta);
  box-shadow: 0 0 8px var(--magenta);
}
.arch-node.tl { top: 12%; left: 0; }
.arch-node.tr { top: 16%; right: 0; }
.arch-node.l { top: 50%; left: 0; transform: translateY(-50%); }
.arch-node.r { top: 50%; right: 0; transform: translateY(-50%); }
.arch-node.bl { bottom: 14%; left: 4%; }
.arch-node.br { bottom: 18%; right: 6%; }

.arch-bullets {
  display: grid;
  gap: 18px;
}
.arch-bullets .b {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.arch-bullets .b .ic {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--cyan);
  background: rgba(15, 186, 255, 0.06);
}
.arch-bullets .b:nth-child(2n) .ic { color: var(--magenta); background: rgba(255, 0, 153, 0.06); }
.arch-bullets .b .t {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--fg-1);
}
.arch-bullets .b .d {
  font-size: 13px;
  color: var(--fg-3);
  margin-top: 6px;
}

.meta-after p + p { margin-top: 0; }
.meta-after {
  margin-top: var(--bl-loose);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--bl);
}
.landing[data-bp="mobile"] .meta-after { grid-template-columns: 1fr; gap: var(--cl-paragraph); }
.meta-after p {
  font-size: var(--body);
  line-height: 1.65;
  color: var(--fg-2);
  text-wrap: pretty;
}
.meta-after p strong { color: var(--fg-1); font-weight: 500; }

/* ============================================================
   LEARN — 4 blocks
   ============================================================ */
.learn { padding: var(--section-y) 0; }
.learn-head {
  margin-bottom: var(--bl-loose);
  max-width: 36ch;
}
.learn-head h2 em {
  font-style: normal;
  background: linear-gradient(92deg, var(--magenta), var(--cyan));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.learn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--line-2);
  border-radius: 24px;
  overflow: hidden;
}
.landing[data-bp="mobile"] .learn-grid { grid-template-columns: 1fr; }
.learn-cell {
  padding: 48px 40px;
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 80%),
    var(--bg-1);
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 320px;
}
.landing[data-bp="tablet"] .learn-cell { padding: 40px 32px; min-height: 280px; }
.landing[data-bp="mobile"] .learn-cell { padding: 40px 24px; min-height: auto; }
.learn-cell:nth-child(2n) {
  border-left: 1px solid var(--line-2);
}
.learn-cell:nth-child(n+3) {
  border-top: 1px solid var(--line-2);
}
.landing[data-bp="mobile"] .learn-cell:nth-child(2n) { border-left: 0; }
.landing[data-bp="mobile"] .learn-cell:nth-child(n+2) { border-top: 1px solid var(--line-2); }

.learn-cell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 1px;
  background: var(--grad-line);
  opacity: 0;
  transition: opacity 300ms var(--ease);
}
.learn-cell:hover::before { opacity: 1; }

.learn-cell .num-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.learn-cell .big-num {
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-3);
  position: relative;
}
.landing[data-bp="tablet"] .learn-cell .big-num { font-size: 64px; }
.landing[data-bp="mobile"] .learn-cell .big-num { font-size: 56px; }
.learn-cell:nth-child(1) .big-num { -webkit-text-stroke-color: var(--magenta); }
.learn-cell:nth-child(2) .big-num { -webkit-text-stroke-color: var(--cyan); }
.learn-cell:nth-child(3) .big-num { -webkit-text-stroke-color: var(--magenta); }
.learn-cell:nth-child(4) .big-num { -webkit-text-stroke-color: var(--cyan); }
.learn-cell .step-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.learn-cell h3.lt {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--fg-1);
  text-wrap: balance;
}
.landing[data-bp="mobile"] .learn-cell h3.lt { font-size: 20px; }
.learn-cell h3.lt em {
  font-style: normal;
}
.learn-cell:nth-child(1) h3.lt em { color: var(--magenta); }
.learn-cell:nth-child(2) h3.lt em { color: var(--cyan); }
.learn-cell:nth-child(3) h3.lt em { color: var(--magenta); }
.learn-cell:nth-child(4) h3.lt em { color: var(--cyan); }
.learn-cell .desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-2);
  text-wrap: pretty;
}

/* ============================================================
   DEMO LIVE
   ============================================================ */
.demo {
  padding: var(--section-y) 0;
}
.demo-card {
  border: 1px solid var(--line-2);
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-1);
  position: relative;
}
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
}
.landing[data-bp="tablet"] .demo-grid,
.landing[data-bp="mobile"] .demo-grid {
  grid-template-columns: 1fr;
}

.demo-copy { padding: 56px 48px; }
.landing[data-bp="mobile"] .demo-copy { padding: 40px 24px; }
.demo-copy .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 186, 255, 0.35);
  background: rgba(15, 186, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}
.demo-copy .badge .live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: blink 1.6s ease-in-out infinite;
}
.demo-copy h3 {
  margin-top: 24px;
  font-size: 36px;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-wrap: balance;
}
.landing[data-bp="tablet"] .demo-copy h3 { font-size: 30px; }
.landing[data-bp="mobile"] .demo-copy h3 { font-size: 26px; }
.demo-copy p {
  margin-top: 24px;
  font-size: 16px;
  color: var(--fg-2);
  line-height: 1.6;
  text-wrap: pretty;
}
.demo-copy .check-row {
  margin-top: 32px;
  display: grid;
  gap: 12px;
}
.demo-copy .check-row .c {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--fg-2);
}
.demo-copy .check-row .c .ic {
  color: var(--magenta);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.demo-visual {
  position: relative;
  border-left: 1px solid var(--line-2);
  padding: 32px;
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(15, 186, 255, 0.08), transparent 60%),
    radial-gradient(80% 60% at 0% 100%, rgba(255, 0, 153, 0.06), transparent 60%),
    #050507;
  min-height: 380px;
}
.landing[data-bp="tablet"] .demo-visual,
.landing[data-bp="mobile"] .demo-visual {
  border-left: 0;
  border-top: 1px solid var(--line-2);
  min-height: 320px;
}
.landing[data-bp="mobile"] .demo-visual { padding: 24px; }

.demo-window {
  border: 1px solid var(--line-2);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.5);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.demo-window .wt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-1);
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
}
.demo-window .wt .d {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-3);
}
.demo-window .wt .path { margin-left: 8px; letter-spacing: 0.04em; }
.demo-stream {
  flex: 1;
  padding: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--fg-2);
  display: grid;
  gap: 8px;
  align-content: start;
}
.demo-stream .ln {
  display: flex;
  gap: 12px;
}
.demo-stream .ln .ts { color: var(--fg-4); width: 56px; flex-shrink: 0; }
.demo-stream .ln .ag.r { color: var(--magenta); }
.demo-stream .ln .ag.c { color: var(--cyan); }
.demo-stream .ln .ag.w { color: #fff; }
.demo-stream .ln .ag { width: 92px; flex-shrink: 0; }
.demo-stream .ln .msg { color: var(--fg-2); }
.demo-stream .ln .msg .dim { color: var(--fg-4); }
.demo-stream .cursor {
  display: inline-block;
  width: 7px;
  height: 12px;
  background: var(--cyan);
  vertical-align: -2px;
  margin-left: 2px;
  animation: blink 1s steps(2) infinite;
}

/* ============================================================
   OBJECTIONS
   ============================================================ */
.obj { padding: var(--section-y) 0; }
.obj-head {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  margin-bottom: var(--bl-loose);
  align-items: end;
}
.landing[data-bp="tablet"] .obj-head,
.landing[data-bp="mobile"] .obj-head {
  grid-template-columns: 1fr;
  gap: 24px;
}
.obj-head .copy {
  font-size: var(--lead);
  color: var(--fg-2);
  text-wrap: pretty;
  line-height: 1.55;
}
.obj-list {
  display: grid;
  gap: var(--cl-paragraph);
}
.obj-item {
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: var(--bg-1);
  overflow: hidden;
  transition: border-color 200ms var(--ease);
}
.obj-item.open {
  border-color: rgba(255, 0, 153, 0.32);
  background:
    radial-gradient(60% 100% at 0% 0%, rgba(255, 0, 153, 0.06), transparent 60%),
    var(--bg-1);
}
.obj-q {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 32px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--fg-1);
  cursor: pointer;
}
.landing[data-bp="mobile"] .obj-q { padding: 20px 24px; font-size: 16px; gap: 16px; }
.obj-q .n {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--fg-3);
}
.obj-item.open .obj-q .n { color: var(--magenta); }
.obj-q .toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 300ms var(--ease), background 300ms var(--ease), border-color 300ms var(--ease);
  flex-shrink: 0;
}
.obj-item.open .obj-q .toggle {
  background: var(--magenta);
  border-color: var(--magenta);
  transform: rotate(45deg);
}
.obj-q .toggle svg { width: 12px; height: 12px; }
.obj-q .qtxt { text-wrap: pretty; }
.obj-q .qtxt em { font-style: italic; color: var(--fg-2); font-weight: 400; }
.obj-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms var(--ease);
}
.obj-item.open .obj-a { grid-template-rows: 1fr; }
.obj-a-inner {
  overflow: hidden;
}
.obj-a-text {
  padding: 0 28px 28px 28px;
  color: var(--fg-2);
  font-size: 15px;
  line-height: 1.7;
  border-top: 1px solid var(--line-1);
  padding-top: 20px;
  margin-top: 4px;
  margin-left: 64px;
  margin-right: 64px;
}
.landing[data-bp="mobile"] .obj-a-text { padding: 16px 20px 22px; margin: 0; border-top: 1px solid var(--line-1); }
.obj-a-text strong { color: var(--fg-1); font-weight: 500; }

/* ============================================================
   PER CHI È / NON È
   ============================================================ */
.who { padding: var(--section-y) 0; }
.who-head { margin-bottom: var(--bl-loose); max-width: 36ch; }
.who-head h2 em {
  font-style: normal;
  background: linear-gradient(92deg, var(--magenta), var(--cyan));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.landing[data-bp="mobile"] .who-grid { grid-template-columns: 1fr; gap: 16px; }
.who-card {
  border: 1px solid var(--line-2);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.landing[data-bp="mobile"] .who-card { padding: 32px 24px; border-radius: 16px; }
.who-card.yes {
  background:
    radial-gradient(80% 60% at 0% 0%, rgba(15, 186, 255, 0.08), transparent 60%),
    var(--bg-1);
}
.who-card.no {
  background:
    radial-gradient(80% 60% at 0% 0%, rgba(255, 0, 153, 0.06), transparent 60%),
    var(--bg-1);
}
.who-card .h {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.who-card .h .badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.who-card.yes .h .badge {
  background: rgba(15, 186, 255, 0.16);
  color: var(--cyan);
  box-shadow: 0 0 16px rgba(15, 186, 255, 0.25);
}
.who-card.no .h .badge {
  background: rgba(255, 0, 153, 0.12);
  color: var(--magenta);
}
.who-card .h .t {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.landing[data-bp="mobile"] .who-card .h .t { font-size: 18px; }
.who-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.who-card li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--fg-2);
  align-items: flex-start;
}
.who-card li .ic {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
}
.who-card.yes li .ic { color: var(--cyan); }
.who-card.no li .ic { color: var(--magenta); }

/* ============================================================
   SPEAKER
   ============================================================ */
.speaker { padding: var(--section-major) 0; }
.speaker-card {
  border: 1px solid var(--line-2);
  border-radius: 24px;
  padding: 64px;
  background:
    radial-gradient(60% 80% at 0% 100%, rgba(15, 186, 255, 0.08), transparent 60%),
    radial-gradient(60% 80% at 100% 0%, rgba(255, 0, 153, 0.08), transparent 60%),
    var(--bg-1);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: center;
}
.landing[data-bp="tablet"] .speaker-card { grid-template-columns: 220px 1fr; gap: 40px; padding: 48px; }
.landing[data-bp="mobile"] .speaker-card { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px; border-radius: 16px; }

.speaker-portrait {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 20px;
  overflow: hidden;
  background: #050507;
  border: 1px solid var(--line-2);
}
.landing[data-bp="mobile"] .speaker-portrait { max-width: 260px; margin: 0 auto; }
.speaker-portrait .portrait-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 50% at 30% 25%, rgba(255, 0, 153, 0.35), transparent 60%),
    radial-gradient(70% 50% at 70% 80%, rgba(15, 186, 255, 0.28), transparent 60%),
    linear-gradient(180deg, #0a0a0d 0%, #050507 100%);
}
.speaker-portrait .portrait-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  opacity: 0.6;
}
.speaker-portrait .portrait-img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 105%;
  height: 105%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.6));
}
.speaker-portrait .frame-corners {
  position: absolute;
  inset: 12px;
  pointer-events: none;
  z-index: 2;
}
.speaker-portrait .frame-corners::before,
.speaker-portrait .frame-corners::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1px solid var(--cyan);
}
.speaker-portrait .frame-corners::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.speaker-portrait .frame-corners::after { bottom: 0; right: 0; border-left: 0; border-top: 0; border-color: var(--magenta); }

.speaker-meta {
  display: grid;
  gap: 18px;
}
.speaker-meta .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.speaker-meta .tag .d { width: 6px; height: 6px; border-radius: 50%; background: var(--magenta); box-shadow: 0 0 10px var(--magenta); }
.speaker-meta h3 {
  font-size: 40px;
  letter-spacing: -0.03em;
  line-height: 1;
}
.landing[data-bp="tablet"] .speaker-meta h3 { font-size: 32px; }
.landing[data-bp="mobile"] .speaker-meta h3 { font-size: 28px; }
.speaker-meta .handle {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--cyan);
  letter-spacing: 0.04em;
}
.speaker-meta p {
  color: var(--fg-2);
  font-size: var(--body);
  line-height: 1.6;
  margin-top: 10px;
  text-wrap: pretty;
}
.speaker-meta .credentials {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.landing[data-bp="mobile"] .speaker-meta .credentials { grid-template-columns: 1fr 1fr; }
.speaker-meta .credentials .c {
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.3);
}
.speaker-meta .credentials .c .v {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  background: linear-gradient(92deg, #fff, var(--cyan));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.speaker-meta .credentials .c:nth-child(2) .v {
  background: linear-gradient(92deg, #fff, var(--magenta));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.speaker-meta .credentials .c .k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-top: 4px;
}

/* ============================================================
   BACKEND OFFER
   ============================================================ */
.backend { padding: var(--section-y) 0; }
.backend-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: var(--bl);
}
.landing[data-bp="tablet"] .backend-head,
.landing[data-bp="mobile"] .backend-head {
  grid-template-columns: 1fr;
  gap: 18px;
}
.backend-head .copy {
  color: var(--fg-2);
  font-size: var(--body);
  line-height: 1.65;
  text-wrap: pretty;
}
.backend-head h2 em {
  font-style: normal;
  background: linear-gradient(92deg, var(--magenta), var(--cyan));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.backend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.landing[data-bp="tablet"] .backend-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.landing[data-bp="mobile"] .backend-grid { grid-template-columns: 1fr; }
.backend-cell {
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 32px 24px;
  background: var(--bg-1);
  display: grid;
  gap: 16px;
}
.landing[data-bp="tablet"] .backend-cell { padding: 24px; gap: 12px; }
.backend-cell .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fg-3);
}
.backend-cell h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.2;
}
.landing[data-bp="tablet"] .backend-cell h4 { font-size: 16px; }
.backend-cell p {
  font-size: 14px;
  color: var(--fg-3);
  line-height: 1.55;
  margin: 0;
}
.backend-cell.b1 h4 em { font-style: normal; color: var(--magenta); }
.backend-cell.b2 h4 em { font-style: normal; color: var(--cyan); }
.backend-cell.b3 h4 em { font-style: normal; color: var(--magenta); }

.backend-foot {
  margin-top: var(--bl);
  padding: 24px 28px;
  border: 1px dashed var(--line-3);
  border-radius: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--fg-3);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 14px;
}
.landing[data-bp="mobile"] .backend-foot { padding: 18px; font-size: 11px; }
.backend-foot .ic {
  color: var(--magenta);
  flex-shrink: 0;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final {
  padding: var(--section-major) 0 var(--bl-loose);
  position: relative;
}
.landing[data-bp="mobile"] .final { padding-bottom: var(--bl); }
.final::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 30% 70%, rgba(255, 0, 153, 0.12), transparent 60%),
    radial-gradient(60% 60% at 70% 30%, rgba(15, 186, 255, 0.12), transparent 60%);
  pointer-events: none;
}
.final-inner {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: 32px;
  padding: 80px 64px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 50%),
    var(--bg-1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.landing[data-bp="tablet"] .final-inner { padding: 64px 40px; border-radius: 24px; }
.landing[data-bp="mobile"] .final-inner { padding: 48px 24px; border-radius: 20px; }
.final-inner::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 33px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 0, 153, 0.5), transparent 40%, rgba(15, 186, 255, 0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  pointer-events: none;
  opacity: 0.5;
}
.final-urgency {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: var(--bl);
  justify-content: center;
}
.final-urgency .b {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.final-urgency .b.m { border-color: rgba(255, 0, 153, 0.4); color: var(--magenta); }
.final-urgency .b.c { border-color: rgba(15, 186, 255, 0.4); color: var(--cyan); }
.final-urgency .b .d {
  width: 6px; height: 6px; border-radius: 50%; background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.final-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 96px);
  letter-spacing: -0.04em;
  line-height: 1.02;
  font-weight: 600;
  text-align: center;
  text-wrap: balance;
  max-width: 20ch;
  margin: 0 auto;
}
.landing[data-bp="tablet"] .final-title { font-size: 56px; }
.landing[data-bp="mobile"] .final-title { font-size: 36px; }
.final-title .red {
  background: linear-gradient(92deg, var(--magenta), #fff 70%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}
.final-title .blu {
  background: linear-gradient(92deg, #fff 30%, var(--cyan));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.final-copy {
  max-width: 56ch;
  margin: var(--cl-loose) auto 0;
  text-align: center;
  font-size: var(--lead);
  color: var(--fg-2);
  line-height: 1.6;
  text-wrap: balance;
}
.final-cta-row .form-micro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-wrap: balance;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.final-cta-row {
  margin: 40px auto 0;
  max-width: 480px;
}
.final-cta-row .cta { width: 100%; height: 56px; padding: 0 24px; font-size: 17px; }
.landing[data-bp="mobile"] .final-cta-row .cta { height: 52px; padding: 0 22px; font-size: 16px; }

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  border-top: 1px solid var(--line-1);
  padding: 32px 0 48px;
}
.foot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--fg-4);
  text-transform: uppercase;
}
.landing[data-bp="mobile"] .foot-row { flex-direction: column; gap: 16px; text-align: center; }

/* ============================================================
   ADD-ON LAYER — wrong/right emphasis · section CTAs · ref images
   ============================================================ */
:root {
  --red: #ff2d4f;
  --red-soft: #ff6b82;
}

/* ---- Marco (wrong) vs Luca (right) emphasis ---- */
.story-col { isolation: isolate; }
.story-status {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
.landing[data-bp="mobile"] .story-status { top: 20px; right: 20px; width: 34px; height: 34px; }
.story-status svg { width: 18px; height: 18px; }
.story-col.bad .story-status {
  background: rgba(255, 45, 79, 0.14);
  border: 1px solid rgba(255, 45, 79, 0.5);
  color: var(--red);
  box-shadow: 0 0 20px rgba(255, 45, 79, 0.3);
}
.story-col.good .story-status {
  background: rgba(15, 186, 255, 0.14);
  border: 1px solid rgba(15, 186, 255, 0.5);
  color: var(--cyan);
  box-shadow: 0 0 20px rgba(15, 186, 255, 0.3);
}

/* Marco recoloured red to read as the wrong example */
.story-col.bad {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(255, 45, 79, 0.07), transparent 60%) !important;
}
.story-col.bad::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 45, 79, 0.22);
  z-index: 1;
}
.story-col.bad .role .dot { background: var(--red); box-shadow: 0 0 12px var(--red); }
.story-col.bad .role { color: var(--red-soft); }
.story-col.bad .name { color: var(--red); }
.story-col.bad .metric .v { color: var(--red-soft); }
.story-col.bad .metric { border-color: rgba(255, 45, 79, 0.25); }
.story-col.bad .metrics { border-top-color: rgba(255, 45, 79, 0.18); }
.story-col.bad:hover::after {
  box-shadow:
    inset 0 0 0 1px rgba(255, 45, 79, 0.55),
    0 0 80px -10px rgba(255, 45, 79, 0.4) !important;
}
.story-col.bad:hover .name { color: var(--red); }
/* a faint diagonal "rejected" wash on Marco */
.story-col.bad .wrong-wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255, 45, 79, 0.035) 0 2px,
    transparent 2px 22px
  );
  z-index: 0;
}
.story-col.good { z-index: 1; }
.story-col.good::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(15, 186, 255, 0.5), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ---- Section CTA — "Partecipa al webinar gratuito" ---- */
.section-cta {
  display: flex;
  justify-content: center;
  margin-top: var(--bl);
}
.section-cta.left { justify-content: flex-start; }
.scta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line-2);
  color: var(--fg-1);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color 240ms var(--ease), background 240ms var(--ease), transform 240ms var(--ease);
}
.scta-btn .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 12px var(--magenta);
  flex-shrink: 0;
}
.scta-btn .arrow { transition: transform 240ms var(--ease); color: var(--cyan); }
.scta-btn:hover {
  border-color: rgba(255, 0, 153, 0.45);
  background: rgba(255, 0, 153, 0.06);
  transform: translateY(-1px);
}
.scta-btn:hover .arrow { transform: translateX(4px); }
.scta-btn:active { transform: translateY(0) scale(0.99); }
.landing[data-bp="mobile"] .scta-btn { width: 100%; justify-content: center; font-size: 14px; }

/* flash pulse when a section CTA targets the hero form */
.form-card.flash {
  animation: formflash 1.1s var(--ease);
}
@keyframes formflash {
  0%, 100% { box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 80px rgba(255,0,153,0.08); }
  35% { box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 0 2px var(--magenta), 0 0 60px rgba(255,0,153,0.5); }
}

/* ---- Reference image slots ---- */
image-slot {
  display: block;
  --is-radius: 16px;
}
.ref-band {
  margin-top: var(--bl);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.landing[data-bp="mobile"] .ref-band { grid-template-columns: 1fr; }
.ref-band image-slot { width: 100%; height: 220px; }
.landing[data-bp="mobile"] .ref-band image-slot { height: 200px; }
.ref-cap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.ref-cap .line { flex: 1; height: 1px; background: linear-gradient(to right, var(--line-2), transparent); }

/* Quote → 2-col with a portrait reference */
.quote-card.has-img {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.landing[data-bp="tablet"] .quote-card.has-img,
.landing[data-bp="mobile"] .quote-card.has-img { grid-template-columns: 1fr; gap: 32px; }
.quote-card .quote-img { width: 100%; height: 340px; }
.landing[data-bp="mobile"] .quote-card .quote-img { height: 260px; }

/* Learn → feature banner */
.learn-banner { width: 100%; height: 280px; margin-bottom: var(--bl); }
.landing[data-bp="mobile"] .learn-banner { height: 200px; }

/* La linea → wide cinematic band */
.line-img { width: 100%; height: 300px; margin-top: var(--bl); }
.landing[data-bp="mobile"] .line-img { height: 200px; }

/* ============================================================
   BACKEND — elevated layout
   ============================================================ */
.backend-lead {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: var(--bl);
  align-items: stretch;
  margin-bottom: var(--bl);
}
.landing[data-bp="tablet"] .backend-lead,
.landing[data-bp="mobile"] .backend-lead { grid-template-columns: 1fr; gap: 32px; }
.backend-lead .backend-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-content: stretch;
}
.backend-lead .backend-cell { gap: 8px; }
.backend-lead .backend-cell h4 { margin-top: 4px; }
.backend-lead .lead-img { width: 100%; height: 100%; min-height: 320px; }
.landing[data-bp="mobile"] .backend-lead .lead-img { min-height: 240px; }

.backend-cell {
  position: relative;
  overflow: hidden;
  transition: border-color 280ms var(--ease), transform 280ms var(--ease);
}
.backend-cell::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 56px; height: 2px;
  background: var(--grad-line);
  opacity: 0;
  transition: opacity 280ms var(--ease);
}
.backend-cell:hover { transform: translateY(-3px); border-color: var(--line-3); }
.backend-cell:hover::before { opacity: 1; }
.backend-cell .bk-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-3);
}
.backend-cell.b1 .bk-num { -webkit-text-stroke-color: rgba(255, 0, 153, 0.6); }
.backend-cell.b2 .bk-num { -webkit-text-stroke-color: rgba(15, 186, 255, 0.6); }
.backend-cell.b3 .bk-num { -webkit-text-stroke-color: rgba(255, 0, 153, 0.6); }
.backend-cell .bk-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-top: 14px;
}
