/* ==========================================================================
   Scalea — landing page styles
   Palette "dark premium" replicata dalla vetrina Flutter (landing_screen.dart)
   ========================================================================== */

/* ---- Font: Plus Jakarta Sans, self-hosted (subset latin) ---- */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-800.woff2') format('woff2');
}

/* ---- Tokens ---- */
:root {
  --bg: #06070d;
  --bg-top: #0b0e1a;
  --card: #111626;
  --card-hi: #161c2e;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.64);
  --faint: rgba(255, 255, 255, 0.42);
  --primary: #0b64f3;
  --primary-soft: rgba(11, 100, 243, 0.14);
  --cyan: #22d3ee;
  --danger: #f87171;
  --ok: #34d399;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 100px;
  --maxw: 1120px;
  --gutter: 22px;
  --shadow-card: 0 14px 24px -6px rgba(0, 0, 0, 0.28);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Reset ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 520px);
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, p {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

svg {
  display: block;
  flex-shrink: 0;
}

/* ---- Focus visible (a11y) ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---- Layout helpers ---- */
.container {
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: 72px;
  position: relative;
}

.section--tight {
  padding-block: 48px;
}

@media (max-width: 767px) {
  .section {
    padding-block: 52px;
  }
}

.section-head {
  max-width: 640px;
  margin-bottom: 34px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: color-mix(in srgb, var(--primary) 60%, white);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-label::before {
  content: '';
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
}

.section-title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.6px;
  line-height: 1.15;
  margin-bottom: 12px;
}

.section-sub {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

/* ---- Glow backgrounds ---- */
.glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(0px);
  z-index: 0;
}

.glow--primary {
  width: 720px;
  height: 720px;
  top: -220px;
  left: -180px;
  background: radial-gradient(circle, rgba(11, 100, 243, 0.45) 0%, rgba(11, 100, 243, 0) 70%);
}

.glow--cyan {
  width: 560px;
  height: 560px;
  top: 120px;
  right: -220px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.22) 0%, rgba(34, 211, 238, 0) 70%);
}

.glow--faq {
  width: 640px;
  height: 640px;
  right: -260px;
  bottom: -260px;
  background: radial-gradient(circle, rgba(11, 100, 243, 0.18) 0%, rgba(11, 100, 243, 0) 70%);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-block: 14px;
  background: rgba(6, 7, 13, 0.5);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), padding 0.3s var(--ease);
}

@supports (backdrop-filter: blur(10px)) {
  .site-header {
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
  }
}

.site-header.is-scrolled {
  background: rgba(6, 7, 13, 0.78);
  border-bottom-color: var(--border);
  padding-block: 10px;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.4px;
  color: var(--text);
}

.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  box-shadow: 0 6px 14px rgba(11, 100, 243, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand__mark svg {
  width: 18px;
  height: 18px;
}

.brand--lg .brand__mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
}

.brand--lg .brand__mark svg {
  width: 24px;
  height: 24px;
}

.brand--lg {
  font-size: 26px;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 28px;
  margin-inline: auto;
}

.site-nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

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

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle svg {
  pointer-events: none;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 4px 20px 16px;
  border-top: 1px solid var(--border);
  background: rgba(6, 7, 13, 0.96);
}

@supports (backdrop-filter: blur(10px)) {
  .mobile-nav {
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
  }
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  padding: 13px 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav a:hover,
.mobile-nav a:active {
  color: var(--text);
}

@media (min-width: 900px) {
  .site-nav {
    display: flex;
  }
  .header-actions {
    margin-left: 0;
  }
  .nav-toggle {
    display: none;
  }
  .mobile-nav {
    display: none !important;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 800;
  font-size: 15.5px;
  padding: 14px 24px;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), opacity 0.2s var(--ease);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn:active {
  transform: scale(0.97);
}

.btn-glow {
  color: #fff;
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 88%, white), var(--primary));
  box-shadow: 0 12px 28px -6px rgba(11, 100, 243, 0.55);
}

.btn-glow:hover {
  box-shadow: 0 16px 34px -6px rgba(11, 100, 243, 0.7);
  transform: translateY(-1px);
}

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-header {
  padding: 10px 18px;
  font-size: 14.5px;
}

.btn-block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none !important;
}

.btn .spinner {
  display: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: spin 0.75s linear infinite;
}

.btn.is-loading .spinner {
  display: inline-block;
}

.btn.is-loading .btn-label {
  opacity: 0.8;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding-top: 44px;
  padding-bottom: 40px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: 6fr 5fr;
    gap: 56px;
  }
}

.hero__copy {
  text-align: center;
}

@media (min-width: 960px) {
  .hero__copy {
    text-align: left;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  border: 1px solid rgba(11, 100, 243, 0.4);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: color-mix(in srgb, var(--primary) 55%, white);
}

.eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 65%, white);
  animation: pulse 1.8s ease-in-out infinite;
}

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

.headline {
  font-size: clamp(34px, 6.4vw, 58px);
  line-height: 1.03;
  font-weight: 900;
  letter-spacing: -1.8px;
  margin-top: 22px;
}

.headline .gradient-word {
  background: linear-gradient(115deg, color-mix(in srgb, var(--primary) 85%, white), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
}

.hero__subtitle {
  margin: 22px auto 0;
  font-size: 17.5px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 500px;
}

@media (min-width: 960px) {
  .hero__subtitle {
    margin-left: 0;
    margin-right: 0;
  }
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
  justify-content: center;
}

@media (min-width: 960px) {
  .hero__cta {
    justify-content: flex-start;
  }
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  justify-content: center;
}

@media (min-width: 960px) {
  .pills {
    justify-content: flex-start;
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.pill svg {
  width: 15px;
  height: 15px;
  color: color-mix(in srgb, var(--primary) 55%, white);
}

/* ---- Phone mock ---- */
.hero__mock {
  display: flex;
  justify-content: center;
}

.phone-mock {
  width: 100%;
  max-width: 320px;
  padding: 14px;
  border-radius: 38px;
  background: linear-gradient(150deg, var(--card-hi), var(--card));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 50px -10px rgba(11, 100, 243, 0.22), 0 18px 30px rgba(0, 0, 0, 0.4);
}

.phone-mock__notch {
  width: 80px;
  height: 5px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
  margin: 0 auto 14px;
}

.phone-mock__screen {
  padding: 16px;
  border-radius: 26px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.phone-mock__appbar {
  display: flex;
  align-items: center;
  gap: 11px;
}

.phone-mock__logo {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  box-shadow: 0 5px 12px rgba(11, 100, 243, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.phone-mock__logo svg {
  width: 20px;
  height: 20px;
}

.phone-mock__brandtext {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-width: 0;
}

.phone-mock__brandtext strong {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.phone-mock__brandtext span {
  font-size: 11.5px;
  color: var(--faint);
}

.phone-mock__bell {
  color: rgba(255, 255, 255, 0.55);
  width: 19px;
  height: 19px;
}

.phone-mock__label {
  margin-top: 18px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: color-mix(in srgb, var(--primary) 55%, white);
}

.phone-mock__clients {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phone-mock__client {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.phone-mock__avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(11, 100, 243, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.phone-mock__avatar svg {
  width: 15px;
  height: 15px;
  color: color-mix(in srgb, var(--primary) 55%, white);
}

.phone-mock__client-info {
  flex: 1;
  min-width: 0;
}

.phone-mock__client-info strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
}

.phone-mock__client-info small {
  display: block;
  font-size: 11px;
  color: var(--faint);
}

.phone-mock__chevron {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.3);
}

.phone-mock__callout {
  margin-top: 14px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 12px;
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(11, 100, 243, 0.22), rgba(11, 100, 243, 0.1));
  border: 1px solid rgba(11, 100, 243, 0.45);
}

.phone-mock__callout svg {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: color-mix(in srgb, var(--primary) 45%, white);
}

.phone-mock__callout p {
  font-size: 12.5px;
  line-height: 1.35;
  font-weight: 600;
}

/* ==========================================================================
   Trust bar
   ========================================================================== */
.trust-bar {
  padding-block: 26px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-bar__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
}

.trust-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}

.trust-bar__item svg {
  width: 16px;
  height: 16px;
  color: var(--ok);
}

/* ==========================================================================
   Come funziona — steps
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  padding: 26px 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--card-hi), var(--card));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  position: relative;
}

.step-card__num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 17px;
  background: linear-gradient(135deg, rgba(11, 100, 243, 0.32), rgba(11, 100, 243, 0.1));
  border: 1px solid rgba(11, 100, 243, 0.45);
  color: #fff;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 17.5px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

/* ==========================================================================
   Feature grid
   ========================================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 560px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  padding: 22px 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--card-hi), var(--card));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(11, 100, 243, 0.32), rgba(11, 100, 243, 0.1));
  border: 1px solid rgba(11, 100, 243, 0.45);
  box-shadow: 0 7px 18px -5px rgba(11, 100, 243, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-card__icon svg {
  width: 24px;
  height: 24px;
  color: color-mix(in srgb, var(--primary) 40%, white);
}

.feature-card h3 {
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 13.8px;
  line-height: 1.55;
  color: var(--muted);
}

.mini-features {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mini-feature {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}

.mini-feature svg {
  width: 15px;
  height: 15px;
  color: var(--cyan);
}

/* ==========================================================================
   Screenshots
   ========================================================================== */
.shots-scroller {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 8px 4px 22px;
  margin: 0 -4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.shots-scroller::-webkit-scrollbar {
  height: 8px;
}

.shots-scroller::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 10px;
}

.shot-frame {
  flex: 0 0 auto;
  width: 210px;
  scroll-snap-align: start;
}

.shot-frame__device {
  border-radius: 28px;
  padding: 8px;
  background: linear-gradient(150deg, var(--card-hi), var(--card));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-card);
}

.shot-frame__screen {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 390 / 844;
  background: var(--bg);
  border: 1px solid var(--border);
}

.shot-frame__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shot-frame__caption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* ==========================================================================
   AI section
   ========================================================================== */
.ai-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 960px) {
  .ai-section {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
  }
}

.ai-copy p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
  margin-bottom: 16px;
}

.ai-callout {
  margin-top: 22px;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(11, 100, 243, 0.2), rgba(34, 211, 238, 0.08));
  border: 1px solid rgba(11, 100, 243, 0.4);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.ai-callout svg {
  width: 22px;
  height: 22px;
  color: color-mix(in srgb, var(--cyan) 60%, white);
  flex-shrink: 0;
  margin-top: 2px;
}

.ai-callout p {
  font-size: 14.5px;
  line-height: 1.55;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.insight-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.insight-card {
  display: flex;
  gap: 13px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--card-hi), var(--card));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.insight-card__icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.insight-card__icon svg {
  width: 19px;
  height: 19px;
}

.insight-card--warn .insight-card__icon {
  background: rgba(248, 113, 113, 0.16);
  border: 1px solid rgba(248, 113, 113, 0.35);
}
.insight-card--warn .insight-card__icon svg { color: var(--danger); }

.insight-card--info .insight-card__icon {
  background: rgba(11, 100, 243, 0.18);
  border: 1px solid rgba(11, 100, 243, 0.4);
}
.insight-card--info .insight-card__icon svg { color: color-mix(in srgb, var(--primary) 45%, white); }

.insight-card--ok .insight-card__icon {
  background: rgba(52, 211, 153, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.35);
}
.insight-card--ok .insight-card__icon svg { color: var(--ok); }

.insight-card__body strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 3px;
}

.insight-card__body span {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--muted);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
}

.faq-item {
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--card-hi), var(--card));
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 15.5px;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item__chevron {
  width: 18px;
  height: 18px;
  color: var(--faint);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}

.faq-item[open] .faq-item__chevron {
  transform: rotate(180deg);
}

.faq-item__body {
  padding: 0 22px 20px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* ==========================================================================
   Trasparenza AI
   ========================================================================== */
.compliance-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--card-hi), var(--card));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.compliance-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.compliance-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}

.compliance-list svg {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--ok);
  flex-shrink: 0;
}

.compliance-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  font-size: 14.5px;
  font-weight: 700;
  color: color-mix(in srgb, var(--primary) 55%, white);
  border-bottom: 1px solid rgba(11, 100, 243, 0.4);
  padding-bottom: 2px;
}

/* ==========================================================================
   Final CTA + wizard
   ========================================================================== */
.cta-panel {
  padding: 40px 22px;
  border-radius: 28px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 65%, black), color-mix(in srgb, var(--primary) 45%, var(--bg-top)));
  border: 1px solid rgba(11, 100, 243, 0.4);
  box-shadow: 0 30px 60px -16px rgba(11, 100, 243, 0.35);
}

@media (min-width: 640px) {
  .cta-panel {
    padding: 48px 40px;
  }
}

.cta-panel__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 34px;
}

.cta-panel__kicker {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.cta-panel__title {
  font-size: clamp(26px, 4.4vw, 34px);
  font-weight: 900;
  letter-spacing: -1.1px;
  line-height: 1.08;
  margin-top: 8px;
}

.cta-panel__sub {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
}

.wizard {
  max-width: 560px;
  margin: 0 auto;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(6, 7, 13, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
}

.wizard__progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
}

.wizard__progress-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.wizard__progress-bar {
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.wizard__progress-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  transition: width 0.35s var(--ease);
}

.wizard__progress-step.is-active .wizard__progress-bar span,
.wizard__progress-step.is-done .wizard__progress-bar span {
  width: 100%;
}

.wizard__progress-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--faint);
  letter-spacing: 0.3px;
}

.wizard__progress-step.is-active .wizard__progress-label {
  color: #fff;
}

.wizard-step {
  display: none;
  flex-direction: column;
  gap: 16px;
}

.wizard-step.is-active {
  display: flex;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label {
  font-size: 13.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}

.field .optional {
  font-weight: 500;
  color: var(--faint);
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.32);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.09);
  outline: none;
}

.field textarea {
  resize: vertical;
  min-height: 84px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 520px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

.field-color {
  display: flex;
  align-items: center;
  gap: 12px;
}

.field-color input[type="color"] {
  width: 48px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  padding: 2px;
  cursor: pointer;
}

.field-color span {
  font-size: 13.5px;
  color: var(--faint);
}

.field-error {
  font-size: 12.5px;
  color: var(--danger);
  min-height: 15px;
}

/* Honeypot: hidden from sighted users, still reachable in DOM (bots fill it) */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.wizard__nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

.wizard__nav .btn {
  flex: 1;
}

.wizard__nav--single {
  justify-content: flex-end;
}

.summary {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13.8px;
}

.summary__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.summary__row dt {
  color: var(--faint);
}

.summary__row dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

.consent input {
  margin-top: 3px;
  width: 17px;
  height: 17px;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.consent a {
  color: #fff;
  text-decoration: underline;
}

.wizard__status {
  margin-top: 4px;
  font-size: 13.5px;
  min-height: 18px;
}

.wizard__status--error {
  color: var(--danger);
}

.wizard__success {
  text-align: center;
  padding: 26px 10px;
}

.wizard__success svg {
  width: 46px;
  height: 46px;
  color: var(--ok);
  margin: 0 auto 16px;
}

.wizard__success h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 8px;
}

.wizard__success p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding-block: 36px 44px;
  border-top: 1px solid var(--border);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

@media (min-width: 640px) {
  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

@media (min-width: 640px) {
  .site-footer__brand {
    align-items: flex-start;
  }
}

.site-footer__copy {
  font-size: 12.5px;
  color: var(--faint);
}

.site-footer__links {
  display: flex;
  gap: 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}

.site-footer__links a:hover {
  color: #fff;
}

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .eyebrow__dot,
  .btn,
  .feature-card,
  .site-header {
    animation: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   Simple page (privacy)
   ========================================================================== */
.doc {
  max-width: 760px;
  margin: 0 auto;
  padding-block: 56px 80px;
}

.doc h1 {
  font-size: clamp(28px, 5vw, 38px);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 10px;
}

.doc .doc-updated {
  color: var(--faint);
  font-size: 13.5px;
  margin-bottom: 40px;
}

.doc h2 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-top: 38px;
  margin-bottom: 12px;
}

.doc p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.doc ul {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.doc li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  padding-left: 20px;
  position: relative;
}

.doc li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

.doc strong {
  color: #fff;
}

.doc a {
  color: color-mix(in srgb, var(--primary) 55%, white);
  text-decoration: underline;
}

.doc-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.doc-back:hover {
  color: #fff;
}
