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

:root {
  --c-bg: #F7FAFC;
  --c-surface: #FFFFFF;
  --c-card: #FFFFFF;
  --c-card-tinted: #EEF6FB;
  --c-border: #D0E8F2;
  --c-border-light: #E5F3FA;

  --c-blue: #29B8D8;
  --c-blue-dark: #1A94B0;
  --c-blue-deeper: #127A92;
  --c-blue-light: #7ADAED;
  --c-blue-soft: rgba(41,184,216,0.10);
  --c-blue-glow: rgba(41,184,216,0.22);

  --c-amber: #F59E0B;
  --c-red: #EF4444;
  --c-green-ok: #16A34A;

  --c-text: #0C2D38;
  --c-text-dim: #2E6E84;
  --c-text-muted: #6BA8BA;

  --font-head: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --r: 12px;
  --r-lg: 20px;

  --shadow-sm: 0 2px 8px rgba(41,184,216,0.08);
  --shadow-md: 0 8px 32px rgba(41,184,216,0.13);
  --shadow-lg: 0 20px 60px rgba(41,184,216,0.16);
}

html { scroll-behavior: smooth; }

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, rgba(41,184,216,0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  height: 72px;
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--c-border);
  box-shadow: 0 2px 20px rgba(41,184,216,0.07);
}

.nav-logo {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--c-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.nav-logo-name { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-name span:first-child { font-size: 1rem; font-weight: 800; color: var(--c-text); letter-spacing: -0.02em; }
.nav-logo-name span:last-child { font-size: 0.65rem; font-weight: 600; color: var(--c-blue-dark); letter-spacing: 0.05em; text-transform: uppercase; }

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

.nav-links a {
  color: var(--c-text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--c-blue-dark); font-weight: 600; }

.nav-cta {
  background: var(--c-blue) !important;
  color: #fff !important;
  padding: 9px 22px;
  border-radius: 8px;
  font-weight: 700 !important;
  transition: all 0.2s !important;
  box-shadow: 0 4px 14px var(--c-blue-glow);
}
.nav-cta:hover {
  background: var(--c-blue-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--c-blue-glow) !important;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--c-blue);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--r);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 4px 18px var(--c-blue-glow);
}
.btn-primary:hover {
  background: var(--c-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px var(--c-blue-glow);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--c-blue-dark);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--r);
  text-decoration: none;
  border: 1.5px solid var(--c-border);
  cursor: pointer;
  transition: all 0.25s;
}
.btn-secondary:hover {
  border-color: var(--c-blue);
  background: var(--c-blue-soft);
}

/* ── SECTIONS ── */
section {
  padding: 100px 5vw;
  position: relative;
  z-index: 1;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-blue-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--c-blue);
  border-radius: 2px;
}

h1 {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.03em;
  max-width: 820px;
  color: var(--c-text);
}

h1 em { font-style: normal; color: var(--c-blue); }

h2 {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  max-width: 700px;
  color: var(--c-text);
}

h2 em { font-style: normal; color: var(--c-blue); }

.section-intro {
  font-size: 1.05rem;
  color: var(--c-text-dim);
  max-width: 560px;
  margin-top: 16px;
  line-height: 1.75;
  font-weight: 300;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 120px 5vw 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #EBF5FB 0%, #F7FAFC 55%, #FBFFFE 100%);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 70% 40%, rgba(41,184,216,0.10) 0%, transparent 100%);
}

.hero-glow {
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(41,184,216,0.14) 0%, transparent 65%);
  top: -150px; right: -250px;
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(41,184,216,0.08) 0%, transparent 70%);
  bottom: -100px; left: 5%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-blue-soft);
  border: 1px solid rgba(41,184,216,0.35);
  color: var(--c-blue-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 32px;
  animation: fadeSlideUp 0.6s ease both;
}

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

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

.hero-sub {
  font-size: 1.15rem;
  color: var(--c-text-dim);
  max-width: 560px;
  margin-top: 24px;
  line-height: 1.75;
  font-weight: 300;
  animation: fadeSlideUp 0.7s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 44px;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.7s 0.3s ease both;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 72px;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.7s 0.4s ease both;
}

.stat { display: flex; flex-direction: column; gap: 4px; }

.stat-value {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--c-blue);
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── PAGE HERO ── */
.page-hero {
  padding: 140px 5vw 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #E6F5FB 0%, #F4FAFE 100%);
  border-bottom: 1px solid var(--c-border);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(41,184,216,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41,184,216,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 30% 50%, black 20%, transparent 100%);
}

.page-hero-content { position: relative; z-index: 1; max-width: 700px; }

/* ── DASHBOARD MOCKUP ── */
.hero-visual {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 50vw;
  max-width: 760px;
  animation: fadeSlideLeft 1s 0.5s ease both;
  display: none;
}

@media (min-width: 1100px) { .hero-visual { display: block; } }

@keyframes fadeSlideLeft {
  from { opacity: 0; transform: translateY(-50%) translateX(60px); }
  to { opacity: 1; transform: translateY(-50%) translateX(0); }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.dashboard-mockup {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.mockup-bar {
  background: #EFF9FC;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--c-border);
}

.mockup-dot { width: 11px; height: 11px; border-radius: 50%; }

.mockup-inner {
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.mockup-card {
  background: #F8FCFE;
  border: 1px solid var(--c-border-light);
  border-radius: var(--r);
  padding: 16px;
}

.mockup-card-title {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.mockup-value {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--c-text);
}

.mockup-value.blue { color: var(--c-blue); }
.mockup-value.amber { color: var(--c-amber); }
.mockup-value.red { color: var(--c-red); }

.mockup-chart-bar {
  height: 6px;
  border-radius: 3px;
  background: var(--c-border);
  margin-top: 12px;
  position: relative;
  overflow: hidden;
}

.mockup-chart-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  border-radius: 3px;
  background: var(--c-blue);
  animation: fillBar 2s 1s ease both;
}

@keyframes fillBar { from { width: 0; } }

.mockup-table {
  grid-column: 1 / -1;
  background: #F8FCFE;
  border: 1px solid var(--c-border-light);
  border-radius: var(--r);
  padding: 16px;
}

.mockup-row {
  display: flex;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--c-border-light);
  gap: 12px;
  font-size: 0.8rem;
}

.mockup-row:last-child { border-bottom: none; }

.mockup-tag {
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
}

.tag-ok { background: rgba(22,163,74,0.1); color: #16A34A; }
.tag-warn { background: rgba(245,158,11,0.12); color: var(--c-amber); }
.tag-err { background: rgba(239,68,68,0.12); color: var(--c-red); }

/* ── FEATURES GRID ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 56px;
}

.feature-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
  cursor: default;
  box-shadow: var(--shadow-sm);
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--c-blue-soft), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  border-color: rgba(41,184,216,0.5);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--c-blue-soft);
  border: 1px solid rgba(41,184,216,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.feature-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--c-text);
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--c-text-dim);
  line-height: 1.65;
  font-weight: 300;
}

/* ── STEPS ── */
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  margin-top: 64px;
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 28px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-blue), transparent);
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  position: relative;
}

.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--c-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--c-blue);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--c-blue-soft);
}

.step-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--c-text);
}

.step-desc {
  font-size: 0.85rem;
  color: var(--c-text-dim);
  line-height: 1.6;
  font-weight: 300;
}

/* ── COMPLIANCE BAND ── */
.compliance-band {
  background: linear-gradient(135deg, #E8F6FB 0%, #F0FAFD 100%);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: 80px 5vw;
  position: relative;
  z-index: 1;
}

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

.compliance-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}

.compliance-item:hover {
  border-color: var(--c-blue);
  box-shadow: var(--shadow-md);
}

.compliance-check {
  color: var(--c-blue);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
  font-weight: 700;
}

.compliance-text strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 3px;
  color: var(--c-text);
}

.compliance-text span { font-size: 0.82rem; color: var(--c-text-dim); }

/* ── REGULATIONS ── */
.reg-visual { display: flex; flex-direction: column; gap: 12px; }

.reg-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}

.reg-card:hover {
  border-color: var(--c-blue);
  background: var(--c-blue-soft);
  box-shadow: var(--shadow-md);
}

.reg-badge {
  background: var(--c-blue-soft);
  border: 1px solid rgba(41,184,216,0.3);
  color: var(--c-blue-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
  white-space: nowrap;
  font-family: var(--font-head);
}

.reg-info strong { display: block; font-size: 0.9rem; font-weight: 600; color: var(--c-text); }
.reg-info span { font-size: 0.8rem; color: var(--c-text-dim); }

/* ── PRICING ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 56px;
  align-items: start;
}

.pricing-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  position: relative;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}

.pricing-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.pricing-card.featured {
  background: linear-gradient(145deg, #E6F5FB, #EDF9FD);
  border-color: var(--c-blue);
  box-shadow: 0 0 0 1px rgba(41,184,216,0.2), var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 50px;
  white-space: nowrap;
}

.pricing-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-text-muted);
  margin-bottom: 16px;
}

.pricing-price {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  color: var(--c-text);
}

.pricing-price sub { font-size: 1rem; font-weight: 400; color: var(--c-text-muted); vertical-align: baseline; }
.pricing-period { font-size: 0.85rem; color: var(--c-text-muted); margin-top: 4px; margin-bottom: 28px; }

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--c-text-dim);
}

.pricing-features li::before { content: '✓'; color: var(--c-blue); font-weight: 700; flex-shrink: 0; }
.pricing-features li.off { color: var(--c-text-muted); }
.pricing-features li.off::before { content: '×'; color: #CBD5DB; }

/* ── TESTIMONIALS ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 56px;
}

.testimonial {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}

.testimonial:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.testimonial::before {
  content: '"';
  font-family: var(--font-head);
  font-size: 5rem;
  font-weight: 800;
  color: var(--c-blue);
  opacity: 0.12;
  position: absolute;
  top: 8px; left: 20px;
  line-height: 1;
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--c-text-dim);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 20px;
  position: relative;
}

.testimonial-author { display: flex; align-items: center; gap: 12px; }

.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--c-blue-soft);
  border: 1.5px solid rgba(41,184,216,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--c-blue-dark);
  flex-shrink: 0;
}

.author-info strong { display: block; font-size: 0.88rem; font-weight: 600; color: var(--c-text); }
.author-info span { font-size: 0.78rem; color: var(--c-text-muted); }

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-blue-dark) 100%);
  border-radius: var(--r-lg);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none; /* ← aggiungi questa riga */
}
.cta-band h2 { max-width: 100%; color: #fff; }
.cta-band h2 em { color: rgba(255,255,255,0.72); }
.cta-band .section-label { color: rgba(255,255,255,0.75); justify-content: center; }
.cta-band .section-label::before { background: rgba(255,255,255,0.5); }
.cta-band .section-intro { max-width: 500px; margin: 16px auto 0; color: rgba(255,255,255,0.72); }

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 36px;
  flex-wrap: wrap;
}

.cta-band .btn-primary { background: #fff; color: var(--c-blue-dark); box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.cta-band .btn-primary:hover { background: #EDF9FD; }
.cta-band .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.cta-band .btn-secondary:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.75); }

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 56px;
  align-items: start;
}

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-text-dim);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-input, .form-select, .form-textarea {
  background: #fff;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r);
  padding: 12px 16px;
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--c-blue);
  box-shadow: 0 0 0 3px var(--c-blue-soft);
}

.form-select { cursor: pointer; }
.form-textarea { min-height: 120px; resize: vertical; }

.contact-info { display: flex; flex-direction: column; gap: 16px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}

.contact-item:hover { border-color: var(--c-blue); box-shadow: var(--shadow-md); }
.contact-item-icon { font-size: 1.4rem; flex-shrink: 0; }
.contact-item strong { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 4px; color: var(--c-text); }
.contact-item span, .contact-item a { font-size: 0.85rem; color: var(--c-text-dim); text-decoration: none; }
.contact-item a:hover { color: var(--c-blue-dark); }

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

.faq-item {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color 0.2s;
  box-shadow: var(--shadow-sm);
}

.faq-item.open { border-color: var(--c-blue); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.95rem;
  gap: 16px;
  color: var(--c-text);
}

.faq-arrow { color: var(--c-blue); font-size: 1.2rem; flex-shrink: 0; transition: transform 0.2s; }
.faq-item.open .faq-arrow { transform: rotate(45deg); }

.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-a { max-height: 300px; }

.faq-a-inner {
  padding: 0 24px 20px;
  font-size: 0.88rem;
  color: var(--c-text-dim);
  line-height: 1.7;
}

/* ── PRIVACY ── */
.privacy-section { background: var(--c-surface); border-top: 1px solid var(--c-border); }
.privacy-content { max-width: 800px; margin: 0 auto; }

.privacy-content h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--c-text);
}

.privacy-content p, .privacy-content li {
  font-size: 0.9rem;
  color: var(--c-text-dim);
  line-height: 1.75;
  margin-bottom: 8px;
}

.privacy-content ul { padding-left: 20px; }
.privacy-content a { color: var(--c-blue-dark); }

/* ── TICKER ── */
.ticker {
  background: #fff;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  overflow: hidden;
  padding: 14px 0;
}

.ticker-inner {
  display: flex;
  gap: 60px;
  animation: ticker 22s linear infinite;
  white-space: nowrap;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--c-text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ticker-item span { color: var(--c-blue); }

/* ── PLATFORM CHIPS ── */
.platforms {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.7s 0.45s ease both;
}

.platform-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 0.8rem;
  color: var(--c-text-dim);
  box-shadow: var(--shadow-sm);
}

/* ── FOOTER ── */
footer {
  background: var(--c-text);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 60px 5vw 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-logo-area { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }

/* FIX LOGO: sfondo trasparente, il logo azzurro si vede bene sul footer scuro senza filtro */
.footer-logo-area img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  opacity: 0.9;
}

.footer-logo-area span { font-family: var(--font-head); font-size: 0.95rem; font-weight: 800; color: rgba(255,255,255,0.8); }

.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.38); line-height: 1.7; max-width: 280px; }

.footer-col-title {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--c-blue-light); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.28); }
.footer-legal { display: flex; gap: 24px; }

.footer-legal a {
  color: rgba(255,255,255,0.28);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s;
}

.footer-legal a:hover { color: var(--c-blue-light); }

/* ── MOBILE NAV ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger div { width: 24px; height: 2px; background: var(--c-text-dim); transition: all 0.2s; border-radius: 2px; }

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--c-border);
  padding: 24px 5vw;
  z-index: 99;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-md);
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  color: var(--c-text-dim);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--c-border-light);
  transition: color 0.2s;
}

.mobile-menu a:hover { color: var(--c-blue-dark); }
.mobile-menu a:last-child { border-bottom: none; }

@media (max-width: 800px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  h1 { font-size: 2.2rem; }
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--c-bg); }
::-webkit-scrollbar-thumb { background: var(--c-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--c-blue); }

/* ── BREADCRUMB ── */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--c-text-muted); margin-bottom: 24px; }
.breadcrumb a { color: var(--c-text-muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--c-blue-dark); }
.breadcrumb span { color: var(--c-text-dim); }

/* ── MODULE DETAIL ── */
.module-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 60px;
}

@media (max-width: 800px) { .module-detail { grid-template-columns: 1fr; } }

.module-feature-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }

.module-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--c-text-dim);
  line-height: 1.6;
}

.module-feature-list li::before { content: '→'; color: var(--c-blue); font-weight: 700; flex-shrink: 0; }

/* =============================================
   SLIDER CSS - Aggiunto per far funzionare lo slider
   ============================================= */
.slider-section {
  padding: 0 5vw 80px;
  position: relative;
  z-index: 1;
}

.slider-wrapper {
  position: relative;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden; /* Questo nasconde le slide fuori dal contenitore */
  box-shadow: 0 32px 80px rgba(41,184,216,0.18), 0 4px 24px rgba(41,184,216,0.10);
  border: 1px solid var(--c-border);
}

#sliderTrack {
  display: flex;           /* ESSENZIALE: mette le slide in riga */
  transition: transform 0.5s ease;
  width: 100%;
}

.slide {
  flex: 0 0 100%;          /* ESSENZIALE: ogni slide occupa il 100% della larghezza */
  min-width: 100%;         /* ESSENZIALE: impedisce che si restringano */
}

.slide img {
  width: 100%;
  height: auto;
  display: block;          /* Rimuove lo spazio sotto l'immagine */
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--c-border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--c-text);
  z-index: 10;
  transition: all 0.2s;
  user-select: none;
}

.slider-btn:hover {
  background: var(--c-blue);
  color: #fff;
  border-color: var(--c-blue);
  box-shadow: 0 6px 20px var(--c-blue-glow);
  transform: translateY(-50%) scale(1.05);
}

.slider-btn-prev { left: 12px; }
.slider-btn-next { right: 12px; }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-border);
  cursor: pointer;
  transition: all 0.3s;
}

.slider-dot.active {
  background: var(--c-blue);
  width: 24px;
  border-radius: 4px;
}

.slider-label {
  text-align: center;
  margin-bottom: 32px;
}

.slider-label p {
  font-size: 0.9rem;
  color: var(--c-text-muted);
  margin-top: 8px;
}

/* Responsive */
@media (max-width: 800px) {
  .slider-btn-prev { left: 8px; }
  .slider-btn-next { right: 8px; }
}
