/* ========= RESET DI BASE ========= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #0f172a;
  background: #f3f4f6;
  line-height: 1.5;
}

/* ========= VARIABILI COLORI ========= */
:root {
  --c1: #7c3aed; /* violet */
  --c2: #06b6d4; /* cyan */
  --bg: #f3f4f6;
  --card: #ffffff;
  --ink: #0f172a;
  --muted: #6b7280;
  --line: #e5e7eb;
  --radius-lg: 18px;
  --radius-full: 999px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
}

/* =========================================================
   GLOBAL LINKS (NO UNDERLINE) + HOVER MODERNO
========================================================= */
a {
  text-decoration: none !important;
  color: var(--c1);
  transition: opacity 0.18s ease, color 0.18s ease, transform 0.15s ease;
}

a:hover {
  text-decoration: none !important;
  opacity: 0.88;
}

/* ========= LAYOUT GENERALE ========= */
main {
  padding: 0 20px 40px;
}

section {
  max-width: 1120px;
  margin: 0 auto;
}

/* ========= HEADER / TOPBAR ========= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

/* Nav al centro */
.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  justify-content: center;
}

.nav a {
  text-decoration: none !important;
  font-size: 0.95rem;
  color: #334155;
  padding: 6px 10px;
  border-radius: 999px;
  position: relative;
  transition: color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.nav a:hover {
  background: rgba(124, 58, 237, 0.08);
  color: var(--c1);
  transform: translateY(-1px);
  opacity: 1;
}

/* Language switcher */
.lang-switcher {
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
}

.lang-toggle {
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 5px 12px 5px 10px;
  font-size: 0.8rem;
  cursor: pointer;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.lang-toggle::after {
  content: "▾";
  font-size: 0.7rem;
  margin-left: 2px;
}

.lang-toggle:hover {
  background: #f9fafb;
}

.lang-menu {
  position: absolute;
  right: 0;
  top: 110%;
  background: #ffffff;
  border-radius: 12px;
  padding: 4px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 60;
}

.lang-switcher.open .lang-menu {
  display: flex;
}

.lang-menu button {
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  padding: 4px 12px;
  font-size: 0.8rem;
  cursor: pointer;
  text-align: left;
  color: #475569;
  width: 100%;
}

.lang-menu button:hover {
  background: #f3f4f6;
}

.lang-menu button.active {
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: #ffffff;
}

/* ========= HERO ========= */
.hero {
  max-width: 1120px;
  margin: 30px auto 50px;
  padding: 32px 26px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(124, 58, 237, 0.16), transparent 60%),
    radial-gradient(circle at bottom right, rgba(6, 182, 212, 0.22), transparent 65%),
    linear-gradient(135deg, #f9fafb, #e0f2fe);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}

/* layout interno: testo + telefono affiancati su desktop */
.hero-inner {
  display: flex;
  align-items: flex-start;
  gap: 28px;

  /* lascia spazio vuoto a destra dove metteremo il telefono */
  padding-right: 320px;
}

/* testo hero */
.hero-text {
  max-width: 540px;
  text-align: left;
  flex: 1 1 55%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.75);
  color: #e5e7eb;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.hero-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
}

/* Titolo + logo */
.hero-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
}

.hero-title-logo {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.55);
}

.hero-title-wrap h1 {
  margin: 0;
}

/* titolo */
.hero h1 {
  font-size: 1.7rem;
  line-height: 1.15;
  color: #0f172a;
  text-align: left;
}

.hero p {
  margin-top: 0;
  color: var(--muted);
}

.hero p[data-i18n="hero_body"] {
  font-size: 0.98rem;
  margin-bottom: 18px;
}

/* bottoni hero */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.btn {
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  padding: 9px 18px;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.18s, box-shadow 0.18s, transform 0.12s,
    color 0.18s, border-color 0.18s;
  white-space: nowrap;
  text-decoration: none !important;
}

.btn.primary {
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: #ffffff !important;
  box-shadow: 0 14px 30px rgba(124, 58, 237, 0.4);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.55);
  opacity: 1;
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(148, 163, 184, 0.55);
  color: #0f172a !important;
}

.btn.ghost:hover {
  background: #ffffff;
  opacity: 1;
}

/* bottone secondario (per link manuali) */
.btn.secondary {
  background: #ffffff;
  border-color: var(--c1);
  color: var(--c1) !important;
}

.btn.secondary:hover {
  background: #f9fafb;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.25);
  opacity: 1;
}

/* =========================================================
   GOOGLE PLAY BUTTON (ICONA OVUNQUE)
   Usa HTML:
   <a class="btn primary play-btn" ...>
     <img class="play-icon" src="assets/google-play.png" alt="Google Play">
     <span>Google Play öffnen</span>
   </a>
========================================================= */
.play-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.play-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: inline-block;
}

/* bottone download con icona Play Store (compatibilità vecchia classe) */
.btn-play {
  gap: 10px;
}

.playstore-icon {
  width: 22px;
  height: 22px;
  display: inline-block;
  flex-shrink: 0;
}

.hero-note {
  font-size: 0.8rem;
  color: #475569;
}

/* >>> COUNTDOWN CENTRALE <<< */
.hero-countdown {
  display: flex;
  justify-content: center;
}

.cd-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 560px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #020617, #0f172a);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.65);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.cd-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.cd-badge {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
}

.cd-label {
  font-size: 0.8rem;
  color: #cbd5f5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cd-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cd-time {
  text-align: center;
  min-width: 54px;
}

.cd-num {
  display: block;
  font-weight: 600;
  font-size: 1rem;
}

.cd-unit {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
}

/* telefono preview */
.hero-preview {
  position: absolute;
  right: 48px;
  top: 42px;
  transform: none;
  display: flex;
  align-items: flex-start;
}

.hero-phone {
  width: 260px;
  border-radius: 30px;
  padding: 12px 12px 16px;
  background: linear-gradient(145deg, #020617, #0f172a);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.65);
  color: #e5e7eb;
  position: relative;
  overflow: hidden;
}

.hero-phone::before,
.hero-phone::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(24px);
  opacity: 0.65;
}

.hero-phone::before {
  width: 130px;
  height: 130px;
  background: rgba(124, 58, 237, 0.9);
  top: 8%;
  right: -20%;
}

.hero-phone::after {
  width: 160px;
  height: 160px;
  background: rgba(6, 182, 212, 0.85);
  bottom: -25%;
  left: -25%;
}

.hero-phone-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.hero-phone-logo {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  padding: 3px;
  background: radial-gradient(circle at 30% 20%, #ffffff, #e5f0ff 60%, transparent 100%);
  border: 2px solid rgba(248, 250, 252, 0.95);
  box-shadow:
    0 0 0 2px rgba(15, 23, 42, 0.7),
    0 10px 24px rgba(59, 130, 246, 0.9);
  display: block;
}

.hero-phone-header span {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f9fafb;
  text-shadow: 0 1px 2px rgba(15, 23, 42, 0.9);
}

.hero-phone-header-text {
  font-size: 1rem;
  font-weight: 600;
  color: #e5e7eb;
}

/* card interna telefono */
.hero-phone-card {
  position: relative;
  z-index: 1;
  border-radius: 18px;
  padding: 12px 13px;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.55);
  margin-bottom: 12px;
}

.phone-welcome {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #f9fafb;
}

.phone-module-title {
  margin: 2px 0 2px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #e0f2fe;
}

.phone-module-text {
  margin: 0;
  font-size: 0.78rem;
  color: #cbd5f5;
}

/* moduli nel telefono */
.hero-phone-modules {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.hero-phone-modules .hero-mod-btn {
  font-size: 0.7rem;
  padding: 6px 6px;
  border-radius: 12px;
  text-align: center;
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.45);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.12s,
    box-shadow 0.18s, border-color 0.18s;
}

.hero-phone-modules .hero-mod-btn:hover {
  background: rgba(15, 23, 42, 1);
}

.hero-phone-modules .hero-mod-btn.active {
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: #f9fafb;
  border-color: transparent;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.5);
  transform: translateY(-1px);
}

/* ========= SEZIONI GENERICHE ========= */
.section {
  margin-top: 40px;
  padding: 40px 0 10px;
}

/* ===== SEZIONE SCREENSHOT APP ===== */
.section-screens {
  margin-top: 24px;
  padding-top: 30px;
  padding-bottom: 40px;
}

.screens-wrapper {
  margin: 24px auto 12px;
  max-width: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.screens-viewport {
  flex: 1;
  background: radial-gradient(circle at top, #e0f2fe, #eef2ff);
  border-radius: 24px;
  padding: 16px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  display: flex;
  justify-content: center;
  align-items: center;
}

#screens-image {
  max-width: 100%;
  border-radius: 20px;
  display: block;
}

/* frecce */
.screens-nav {
  border: none;
  background: #e5e7eb;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
  color: #475569;
}

.screens-nav:hover {
  background: #cbd5f5;
}

/* pallini */
.screens-dots {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.screens-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #e5e7eb;
  cursor: pointer;
}

.screens-dot.active {
  width: 18px;
  background: var(--c1);
}

/* ========= SEZIONE PREZZI (sfondo) ========= */
.section-alt {
  margin-top: 50px;
  padding: 42px 0 36px;
  background:
    radial-gradient(circle at 50% 60%, rgba(148, 163, 184, 0.20), transparent 68%),
    linear-gradient(180deg, #f3f4f6 0%, #f9fafb 35%, #eef2ff 100%);
  border-radius: 32px;
}

/* ========= MODULES GRID ========= */
.section-modules {
  margin-top: 30px;
}

.modules-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.module-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 18px 16px 16px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.module-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.module-icon {
  font-size: 1.2rem;
  width: 30px;
  height: 30px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 58, 237, 0.09);
}

.module-card h3 {
  margin: 0;
  font-size: 1rem;
}

.module-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.module-card ul {
  margin: 6px 0 10px;
  padding-left: 18px;
  font-size: 0.85rem;
  color: #4b5563;
}

.module-card .btn.small {
  align-self: flex-start;
  font-size: 0.8rem;
  padding: 7px 14px;
  border-color: #e5e7eb;
  background: #f9fafb;
}

.module-card .btn.small:hover {
  background: #ffffff;
}

/* CTA per i manuali sotto i moduli */
.modules-manual-cta {
  margin-top: 26px;
  text-align: center;
}

.modules-manual-cta p {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ========= PRICING ========= */
/* Riga sottile per il piano Free */
.pricing-free-row {
  max-width: 900px;
  margin: 0 auto 24px;
}

.pricing-card-free-slim {
  padding: 14px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f9fafb, #ffffff);
  border: 1px dashed rgba(148, 163, 184, 0.7);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.pricing-free-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 4px;
}

.pricing-free-price {
  font-weight: 600;
  font-size: 1.05rem;
}

.pricing-free-text {
  margin: 0;
  font-size: 0.88rem;
  color: #4b5563;
}

/* Grid per i due abbonamenti */
.pricing-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.pricing-grid-premium {
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 20px 20px 18px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-card h3 {
  margin: 0;
}

.price {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 4px 0;
}

.price-note {
  margin: 0;
  font-size: 0.85rem;
  color: #64748b;
}

.pricing-card ul {
  margin: 6px 0 0;
  padding-left: 18px;
  font-size: 0.87rem;
  color: #4b5563;
}

.pricing-card.highlight {
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.10);
  border: 1px solid rgba(226,232,240,0.9);
  background: #ffffff;
}

.pricing-card.highlight .badge {
  display: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 14px;
  font-size: 0.78rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.08);
  color: #166534;
  border: 1px solid rgba(22, 163, 74, 0.35);
}

/* ========= FAQ ========= */
.faq-list {
  margin-top: 22px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.05);
  padding: 6px 14px;
}

.faq-item + .faq-item {
  border-top: 1px solid #e5e7eb;
}

.faq-question {
  width: 100%;
  border: none;
  background: none;
  padding: 14px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 0.96rem;
  cursor: pointer;
}

.faq-toggle {
  font-weight: 600;
  color: #9ca3af;
  padding-left: 12px;
}

.faq-answer {
  display: none;
  padding: 0 4px 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

/* ========= CONTATTO ========= */
.contact-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: stretch;
}

.contact-info {
  background: #ffffff;
  border-radius: 20px;
  padding: 18px 18px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
  font-size: 0.92rem;
}

.contact-info p {
  margin: 0 0 6px;
}

.contact-info a {
  color: var(--c1);
  text-decoration: none !important;
}

.contact-info a:hover {
  text-decoration: none !important;
  opacity: 0.88;
}

.contact-form {
  background: #ffffff;
  border-radius: 22px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.form-row {
  margin-bottom: 12px;
}

.form-row label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.85rem;
  color: #475569;
}

.form-row input,
.form-row textarea {
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 9px 10px;
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color 0.16s, box-shadow 0.16s, background 0.16s;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--c1);
  box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.38);
  background: #f9fafb;
}

.form-note {
  margin-top: 8px;
  font-size: 0.78rem;
  color: #9ca3af;
}

/* ========= FOOTER ========= */
.footer {
  margin-top: 40px;
  padding: 16px 20px 24px;
  text-align: center;
  font-size: 0.8rem;
  color: #94a3b8;
}

.footer a {
  color: var(--c1);
  text-decoration: none !important;
  font-weight: 500;
}

.footer a:hover {
  text-decoration: none !important;
  opacity: 0.9;
}

.footer-links {
  margin: 0 0 4px;
}

.footer-text {
  margin: 0;
}

/* ========= RESPONSIVE ========= */
@media (max-width: 960px) {
  .hero-inner {
    padding-right: 0;
    flex-direction: column;
  }

  .hero-preview {
    position: static;
    transform: none;
    margin-top: 12px;
    justify-content: center;
  }

  .hero-phone {
    margin-top: 6px;
  }

  .modules-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav {
    display: none;
  }

  .pricing-card-free-slim {
    padding: 12px 14px;
  }
}

@media (max-width: 640px) {
  .hero {
    margin: 16px auto 32px;
    padding-inline: 20px;
  }

  section {
    padding: 30px 0 6px;
  }

  .modules-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero h1 {
    font-size: 1.4rem;
  }

  .topbar {
    padding-inline: 16px;
  }

  .cd-pill {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 20px;
  }

  .cd-right {
    width: 100%;
    justify-content: space-between;
  }

  .cd-time {
    flex: 1;
  }
}

/* ==== Stili specifici per la pagina Impressum ==== */
.page-impressum .section {
  margin-top: 24px;
  padding-top: 24px;
}

.page-impressum h1 {
  color: var(--c1);
  margin-top: 0;
}

/* ========= HERO VIDEO ========= */
.hero-video{
  margin-top: 14px;
  max-width: 520px;
}

.hero-video-link{
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  background: #000;
}

.hero-video-el{
  width: 100%;
  height: auto;
  display: block;
}

.hero-video-overlay{
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-weight: 700;
}

.hero-video-overlay img{
  width: 28px;
  height: 28px;
}

.hero-sound-btn{
  position: absolute;
  top: 12px;
  right: 12px;
  border: 0;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-weight: 700;
}

@media (max-width: 480px){
  .hero-video{
    max-width: 100%;
  }
  .hero-video-link{
    width: 100%;
  }
  .hero-video-el{
    width: 100%;
    height: auto;
  }
}

.hero-video-cta{
  margin-top: 10px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none !important;
  cursor: pointer;
}

.hero-video-cta:hover{
  text-decoration: none !important;
  opacity: 0.9;
}

.hero-video-cta-ico{
  width: 22px;
  height: 22px;
}

/* =========================================================
   FREE-FIRST + CTA + STICKY DOWNLOAD BAR (PATCH)
========================================================= */

/* CTA row (bottoni grandi) */
.cta-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
  margin-top:14px;
}

.btn.big{
  padding: 14px 18px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 0.98rem;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

/* linea fiducia sotto CTA */
.hero-trust{
  margin-top: 10px;
  font-size: 0.82rem;
  color: #475569;
  opacity: 0.9;
}

/* FREE strip in HERO */
.free-strip{
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(124, 58, 237, 0.22);
  background:
    radial-gradient(circle at 20% 0%, rgba(124, 58, 237, 0.12), transparent 55%),
    radial-gradient(circle at 90% 120%, rgba(6, 182, 212, 0.14), transparent 55%),
    rgba(255,255,255,0.60);
  box-shadow: 0 12px 26px rgba(15,23,42,0.06);
  color: #0f172a;
}

.free-strip strong{
  font-weight: 900;
}

.free-bullets{
  margin: 10px 0 0;
  padding-left: 18px;
  font-size: 0.9rem;
  color: #334155;
}
.free-bullets li{
  margin: 6px 0;
}

/* STICKY DOWNLOAD BAR */
body{
  padding-bottom: 70px;
}

.sticky-download{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(226,232,240,0.9);
  box-shadow: 0 -14px 34px rgba(15,23,42,0.10);
  padding: 10px 12px;
}

.sticky-inner{
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.sticky-left{
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.sticky-title{
  font-weight: 900;
  color: #0f172a;
}

.sticky-sub{
  font-size: 0.8rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-actions{
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.sticky-actions a{
  white-space: nowrap;
}

.sticky-close{
  border: none;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  opacity: 0.65;
  padding: 8px 10px;
  border-radius: 12px;
}

.sticky-close:hover{
  opacity: 1;
  background: rgba(124, 58, 237, 0.08);
}

/* Mobile sticky layout */
@media (max-width: 640px){
  body{ padding-bottom: 98px; }
  .sticky-inner{
    flex-direction: column;
    align-items: stretch;
  }
  .sticky-actions{
    justify-content: space-between;
  }
  .sticky-sub{
    white-space: normal;
  }
}
