/* ==========================================================================
   ADDIO CLIENTI PERSI — ENTERPRISE WHITE MODE DESIGN SYSTEM
   Stile: Clean White SaaS (#FFFFFF) + Slate (#F8FAFC) + Emerald WhatsApp (#059669)
   Responsive: Mobile, Tablet, PC, Mac (Fluid Grid & Clamp Typography)
   WCAG AAA Compliant Contrast
   ========================================================================== */

:root {
  --bg-main: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --bg-input: #FFFFFF;
  --border-subtle: #E2E8F0;
  --border-focus: #10B981;
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-dim: #64748B;
  
  --primary: #059669;
  --primary-hover: #047857;
  --primary-glow: rgba(5, 150, 105, 0.2);
  --whatsapp: #25D366;
  --accent-blue: #0284C7;
  --accent-gold: #D97706;
  --danger: #DC2626;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-subtle: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --shadow-elevated: 0 20px 40px -15px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(15, 23, 42, 0.05);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(at 10% 15%, rgba(16, 185, 129, 0.05) 0px, transparent 40%),
    radial-gradient(at 90% 70%, rgba(2, 132, 199, 0.04) 0px, transparent 40%);
  background-attachment: fixed;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: #34D399;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
}

.brand-logo * {
  cursor: pointer;
  pointer-events: auto;
}

.brand-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(52, 211, 153, 0.3);
  transition: transform 0.2s ease;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.05);
}

.brand-logo svg {
  width: 32px;
  height: 32px;
  fill: var(--primary);
}

.brand-logo span {
  color: var(--primary);
}

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

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

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

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
  line-height: 1.2;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #047857 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(5, 150, 105, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(5, 150, 105, 0.35);
  color: #FFFFFF;
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-main);
  border: 1px solid #CBD5E1;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.btn-secondary:hover {
  background: #F8FAFC;
  border-color: #94A3B8;
  color: #0F172A;
}

.btn-lg {
  padding: 1.15rem 2.25rem;
  font-size: 1.15rem;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.badge-blue {
  background: #F0F9FF;
  border-color: #BAE6FD;
  color: #0369A1;
}

.badge-gold {
  background: #FEF3C7;
  border-color: #FDE68A;
  color: #92400E;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  text-align: center;
}

.hero-tag {
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #10B981 0%, #38BDF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 2.25rem;
  font-weight: 400;
}

.hero-cta-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-microcopy {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  justify-content: center;
}

.cta-microcopy span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-mockup-wrap {
  position: relative;
  max-width: 1050px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.06);
  border: 1px solid #E2E8F0;
}

.hero-mockup-wrap img {
  width: 100%;
  display: block;
  transition: transform 0.6s ease;
}

.hero-mockup-wrap:hover img {
  transform: scale(1.015);
}

/* ==========================================================================
   TRUST LOGOS & SOCIAL PROOF BAR
   ========================================================================== */
.proof-strip {
  padding: 2rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: #FFFFFF;
}

.proof-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.proof-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
}

.proof-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* ==========================================================================
   VERTICAL SELECTOR TABS
   ========================================================================== */
.vertical-nav {
  padding: 1.5rem 0;
  background: #F8FAFC;
  border-bottom: 1px solid var(--border-subtle);
}

.vertical-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.vertical-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  background: #FFFFFF;
  color: var(--text-muted);
  border: 1px solid #CBD5E1;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: var(--transition);
}

.vertical-tab:hover,
.vertical-tab.active {
  background: #ECFDF5;
  color: #047857;
  border-color: var(--primary);
}

/* ==========================================================================
   INTERACTIVE ROI & CHURN CALCULATOR
   ========================================================================== */
.calculator-section {
  padding: 5rem 0;
}

.calc-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-elevated);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.calc-field label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.calc-field .slider-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.calc-field input[type="range"] {
  flex: 1;
  accent-color: var(--primary);
  height: 6px;
  background: #E2E8F0;
  border-radius: 4px;
}

.calc-field .slider-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  min-width: 90px;
  text-align: right;
}

.calc-result-box {
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.03);
}

.calc-result-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent-blue));
}

.calc-label-res {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.calc-big-money {
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 900;
  color: #059669;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.calc-subtitle-res {
  font-size: 0.95rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   BEFORE & AFTER STORYBOARD SECTION
   ========================================================================== */
.storyboard-section {
  padding: 5rem 0;
  background: #F8FAFC;
}

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem;
}

.section-head h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-head p {
  font-size: 1.15rem;
  color: var(--text-muted);
}

.storyboard-img-card {
  max-width: 1024px;
  width: 100%;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #E2E8F0;
  box-shadow: var(--shadow-elevated);
  background: #FFFFFF;
}

.storyboard-img-card img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1024 / 571;
  object-fit: cover;
}

/* ==========================================================================
   US VS THEM COMPARATIVE MATRIX
   ========================================================================== */
.comparison-section {
  padding: 5rem 0;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 980px;
  margin: 0 auto;
}

.comp-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
}

.comp-card.them {
  border-color: #FECACA;
  background: linear-gradient(180deg, #FEF2F2 0%, #FFFFFF 100%);
}

.comp-card.us {
  border-color: #A7F3D0;
  background: linear-gradient(180deg, #F0FDF4 0%, #FFFFFF 100%);
  position: relative;
}

.comp-card.us::before {
  content: 'CONSIGLIATO';
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--primary);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.comp-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 1.35rem;
  font-weight: 800;
}

.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comp-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.comp-list li strong {
  color: var(--text-main);
}

/* ==========================================================================
   PRICING TABLE & TOGGLE
   ========================================================================== */
.pricing-section {
  padding: 5.5rem 0;
  background: #F8FAFC;
}

.billing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.toggle-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
}

.toggle-label.active {
  color: var(--text-main);
}

.toggle-switch {
  position: relative;
  width: 58px;
  height: 32px;
  background: #CBD5E1;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  background: #FFFFFF;
  border-radius: 50%;
  transition: var(--transition);
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.12);
}

.toggle-switch.annual {
  background: var(--primary);
}

.toggle-switch.annual::after {
  transform: translateX(26px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: #94A3B8;
  box-shadow: var(--shadow-elevated);
}

.pricing-card.featured {
  border: 2px solid #059669;
  background: #FFFFFF;
  box-shadow: 0 15px 45px -10px rgba(5, 150, 105, 0.18);
}

.featured-ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.plan-name {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.plan-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  min-height: 44px;
  margin-bottom: 1.5rem;
}

.plan-price-wrap {
  margin-bottom: 2rem;
}

.plan-price {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-main);
  line-height: 1;
}

.plan-price small {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dim);
}

.plan-sub {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 0.4rem;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.plan-features li svg {
  flex-shrink: 0;
  color: var(--primary);
}

/* ==========================================================================
   GUARANTEE BOX
   ========================================================================== */
.guarantee-wrap {
  margin-top: 4rem;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow-subtle);
}

.guarantee-icon {
  font-size: 3.5rem;
  flex-shrink: 0;
}

.guarantee-text h4 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #B45309;
  margin-bottom: 0.5rem;
}

.guarantee-text p {
  font-size: 0.95rem;
  color: #78350F;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
  padding: 5rem 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: var(--transition);
}

.faq-question {
  padding: 1.4rem 1.75rem;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  color: var(--text-dim);
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  display: none;
  padding: 0 1.75rem 1.4rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 0 2rem;
  background: #0F172A;
  color: #94A3B8;
  font-size: 0.9rem;
}

.site-footer .brand-logo {
  color: #FFFFFF !important;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.35rem;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.site-footer .brand-logo:hover {
  opacity: 0.9;
}

.site-footer .brand-logo span {
  color: #10B981 !important;
  cursor: pointer;
}

.site-footer .brand-logo-img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
  display: block;
}

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

.footer-col h5 {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  color: #94A3B8;
}

.footer-col a:hover {
  color: #FFFFFF;
}

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

/* ==========================================================================
   STICKY MOBILE CTA BAR
   ========================================================================== */
.sticky-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-subtle);
  padding: 0.75rem 1rem;
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
}

.sticky-mobile-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.sticky-mobile-text small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.sticky-mobile-text strong {
  font-size: 1rem;
  color: var(--primary);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Mobile, Tablet, Desktop, Mac Retina)
   ========================================================================== */
@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  
  .calc-card {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
  
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hero-section {
    padding: 2.5rem 0 1.5rem;
  }

  .hero-title {
    font-size: clamp(1.85rem, 6vw, 2.75rem);
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1.05rem;
  }

  .section-head h2 {
    font-size: clamp(1.65rem, 5vw, 2.25rem);
  }

  .guarantee-wrap {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .guarantee-icon {
    margin: 0 auto;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .billing-toggle-wrap {
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
  }
  
  .sticky-mobile-bar {
    display: block;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  }
  
  body {
    padding-bottom: calc(75px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 1rem;
  }

  .brand-logo {
    font-size: 1.1rem;
    gap: 0.5rem;
  }

  .brand-logo-img {
    width: 30px;
    height: 30px;
  }

  .header-cta .btn {
    padding: 0.5rem 0.85rem !important;
    font-size: 0.82rem !important;
  }

  .header-cta .btn-secondary {
    display: none;
  }

  .pricing-card {
    padding: 1.75rem 1.25rem;
  }

  .plan-price {
    font-size: 2.6rem;
  }

  .calc-card {
    padding: 1.5rem 1rem;
    gap: 1.75rem;
  }

  .calc-result-box {
    padding: 1.5rem 1rem;
  }

  .comp-card {
    padding: 1.5rem 1.25rem;
  }

  .vertical-tabs {
    gap: 0.5rem;
  }

  .vertical-tab {
    font-size: 0.82rem;
    padding: 0.5rem 0.9rem;
  }
}

@media (max-width: 380px) {
  .hero-title {
    font-size: 1.65rem;
  }

  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }
}

/* ==========================================================================
   VIDEO TUTORIALS & SCREEN DEMO SECTION (PRE-PRICING)
   ========================================================================== */
.video-tutorials-section {
  padding: 5rem 0 4.5rem;
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.video-tutorials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem;
  margin-top: 2.75rem;
}

.video-tutorial-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.07);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.video-tutorial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.12);
  border-color: #CBD5E1;
}

/* Custom Video Player Container */
.video-player-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0F172A;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  cursor: pointer;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.custom-video-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #0F172A;
}

/* Central Big Play Button */
.video-big-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(5, 150, 105, 0.92);
  color: #FFFFFF;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, opacity 0.25s ease;
  z-index: 5;
}

.video-big-play-btn svg {
  margin-left: 5px;
}

.video-big-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background: #047857;
}

.video-player-wrapper.is-playing .video-big-play-btn {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.8);
}

/* Bottom Controls Bar */
.video-controls-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.15rem 0.85rem;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.6) 70%, transparent 100%);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 6;
  transition: opacity 0.3s ease;
}

.video-player-wrapper.is-playing:not(:hover):not(.show-controls) .video-controls-bar {
  opacity: 0;
  pointer-events: none;
}

.video-player-wrapper.show-controls .video-controls-bar {
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Control Buttons (Play/Pause, Mute) */
.vctl-btn {
  background: transparent;
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  min-width: 38px;
  min-height: 38px;
  touch-action: manipulation;
  transition: color 0.15s, background 0.15s, transform 0.1s;
}

.vctl-btn:hover {
  color: #34D399;
  background: rgba(255, 255, 255, 0.12);
}

.vctl-btn:active {
  transform: scale(0.92);
}

/* Timeline Progress Track */
.vctl-progress-container {
  flex: 1;
  height: 24px;
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.vctl-progress-bar {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  position: relative;
  overflow: visible;
  transition: height 0.15s ease;
}

.vctl-progress-container:hover .vctl-progress-bar {
  height: 7px;
}

.vctl-progress-filled {
  height: 100%;
  background: #10B981;
  border-radius: 999px;
  width: 0%;
  pointer-events: none;
}

.vctl-progress-handle {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.vctl-progress-container:hover .vctl-progress-handle,
.vctl-progress-container.is-dragging .vctl-progress-handle {
  opacity: 1;
}

/* Time Indicator */
.vctl-time {
  font-size: 0.78rem;
  color: #E2E8F0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

/* Volume Wrap */
.vctl-volume-wrap {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.vctl-vol-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 65px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
  transition: background 0.15s;
}

.vctl-vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #FFFFFF;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.vctl-vol-slider::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #FFFFFF;
  cursor: pointer;
  border: none;
}

/* Floating Close "X" Button for Fullscreen */
.video-fullscreen-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  top: calc(1rem + env(safe-area-inset-top, 0px));
  right: calc(1rem + env(safe-area-inset-right, 0px));
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30;
  transition: background 0.2s, transform 0.15s, opacity 0.3s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.45);
}

.video-fullscreen-close-btn:hover {
  background: rgba(220, 38, 38, 0.95);
  border-color: rgba(220, 38, 38, 1);
  transform: scale(1.08);
}

.video-fullscreen-close-btn:active {
  transform: scale(0.92);
}

/* Fullscreen Mode (Native & CSS Fixed Fallback) */
.video-player-wrapper:fullscreen,
.video-player-wrapper:-webkit-full-screen,
.video-player-wrapper.is-fullscreen {
  width: 100vw !important;
  height: 100dvh !important;
  max-width: none !important;
  max-height: none !important;
  border-radius: 0 !important;
  background: #000000 !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

.video-player-wrapper.is-fullscreen {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
}

.video-player-wrapper:fullscreen .custom-video-el,
.video-player-wrapper:-webkit-full-screen .custom-video-el,
.video-player-wrapper.is-fullscreen .custom-video-el {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-player-wrapper:fullscreen .video-fullscreen-close-btn,
.video-player-wrapper:-webkit-full-screen .video-fullscreen-close-btn,
.video-player-wrapper.is-fullscreen .video-fullscreen-close-btn {
  display: flex;
}

.video-player-wrapper.is-playing:not(:hover):not(.show-controls) .video-fullscreen-close-btn {
  opacity: 0;
  pointer-events: none;
}

.video-player-wrapper.show-controls .video-fullscreen-close-btn {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.video-player-wrapper:fullscreen .video-controls-bar,
.video-player-wrapper:-webkit-full-screen .video-controls-bar,
.video-player-wrapper.is-fullscreen .video-controls-bar {
  padding-bottom: calc(1.15rem + env(safe-area-inset-bottom, 0px));
  padding-left: calc(1.25rem + env(safe-area-inset-left, 0px));
  padding-right: calc(1.25rem + env(safe-area-inset-right, 0px));
}

body.video-fs-open {
  overflow: hidden !important;
  touch-action: none;
}

/* Tutorial Body Text */
.video-tutorial-body {
  padding: 1.85rem 1.85rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.video-tutorial-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.vpill-tag {
  background: #ECFDF5;
  color: #047857;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #A7F3D0;
}

.vpill-duration {
  font-size: 0.76rem;
  color: #64748B;
  font-weight: 600;
}

.video-tutorial-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.35;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.video-tutorial-desc {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.video-tutorial-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
  margin-top: auto;
}

.video-tutorial-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.87rem;
  color: #334155;
  line-height: 1.45;
}

.video-tutorial-bullets li svg {
  flex-shrink: 0;
  margin-top: 3px;
}

/* Trust Banner Under Videos */
.video-trust-callout {
  margin-top: 3rem;
  background: linear-gradient(135deg, #F0FDF4 0%, #FFFFFF 100%);
  border: 1.5px solid #BBF7D0;
  border-radius: 18px;
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: 0 4px 20px -3px rgba(5, 150, 105, 0.08);
}

.vtc-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #DCFCE7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vtc-text {
  flex: 1;
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.5;
}

.vtc-text strong {
  display: block;
  font-size: 1rem;
  color: #0F172A;
  margin-bottom: 0.2rem;
}

.vtc-btn {
  background: #059669;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 0.85rem 1.4rem;
  border-radius: 12px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
  transition: background 0.15s, transform 0.15s;
  flex-shrink: 0;
}

.vtc-btn:hover {
  background: #047857;
  color: #FFFFFF;
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .video-tutorials-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .video-trust-callout {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .vtc-btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .video-tutorials-section {
    padding: 3.5rem 0 3rem;
  }
  .video-tutorial-body {
    padding: 1.4rem 1.25rem 1.6rem;
  }
  .video-tutorial-title {
    font-size: 1.15rem;
  }
  .video-big-play-btn {
    width: 64px;
    height: 64px;
  }
  .video-big-play-btn svg {
    width: 26px;
    height: 26px;
  }
  .video-fullscreen-close-btn {
    width: 40px;
    height: 40px;
  }
  .video-controls-bar {
    padding: 1rem 0.75rem 0.65rem;
    gap: 0.6rem;
  }
  .vctl-time {
    font-size: 0.72rem;
  }
  .vctl-vol-slider {
    width: 48px;
  }
}

@media (max-width: 420px) {
  .video-fullscreen-close-btn {
    width: 38px;
    height: 38px;
  }
  .video-controls-bar {
    gap: 0.45rem;
    padding: 0.85rem 0.6rem 0.55rem;
  }
  .vctl-btn {
    min-width: 34px;
    min-height: 34px;
    padding: 0.25rem;
  }
  .vctl-vol-slider {
    display: none; /* Su smartphone compatti diamo il 100% di respiro alla linea di avanzamento; il tasto Muto resta sempre a portata di dito */
  }
}

/* ==================== PRICING DEAL BOXES (ANNUALE VS MENSILE A CONFRONTO) ==================== */
.pricing-comparison-banner {
  display: block;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  max-width: 980px;
  margin: 0 auto 2.5rem;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
  text-align: left;
}

.pcb-header {
  margin-bottom: 1.25rem;
}

.pcb-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1D4ED8;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.pcb-heading {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 0.35rem;
  line-height: 1.3;
}

.pcb-intro {
  margin: 0;
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.5;
}

.pcb-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.pcb-col {
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
}

.pcb-col-monthly {
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
}

.pcb-col-annual {
  background: #F0FDF4;
  border: 2px solid #10B981;
}

.pcb-col-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.pcb-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.pcb-icon-badge.blue {
  background: #DBEAFE;
}
.pcb-icon-badge.green {
  background: #DCFCE7;
}

.pcb-col-header strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.2;
}

.pcb-sub {
  display: block;
  font-size: 0.78rem;
  color: #64748B;
  font-weight: 600;
}
.pcb-sub.green-sub {
  color: #059669;
}

.pcb-col-text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #334155;
}
.pcb-col-text strong {
  color: #0F172A;
}

/* CARDS DEAL BOXES */
.plan-deal-box {
  border-radius: 14px;
  padding: 1.25rem 1.15rem;
  margin-bottom: 0.85rem;
  position: relative;
  text-align: left;
}

/* 1. Monthly Box (At the Top of Card) */
.deal-monthly {
  background: #F8FAFC;
  border: 1.5px solid #94A3B8;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.deal-monthly-price {
  font-size: 1.75rem;
  font-weight: 900;
  color: #0F172A;
  line-height: 1;
  letter-spacing: -0.02em;
}
.deal-monthly-price small {
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748B;
}

.deal-setup-note {
  font-size: 0.82rem;
  color: #475569;
  font-weight: 600;
  background: #F1F5F9;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}

.deal-monthly-total {
  font-size: 0.84rem;
  color: #334155;
  margin-top: 0.45rem;
  padding-top: 0.45rem;
  border-top: 1px dashed #CBD5E1;
  line-height: 1.4;
}
.deal-monthly-total strong {
  color: #0F172A;
}

.btn-deal-monthly {
  width: 100%;
  margin-top: 0.85rem;
  padding: 0.75rem 1rem !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
  transition: all 0.2s ease;
  text-decoration: none;
  border: none;
  white-space: nowrap !important;
  line-height: 1.25;
}
.btn-deal-monthly:hover {
  background: linear-gradient(135deg, #1D4ED8 0%, #1E40AF 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
  color: #FFFFFF !important;
}

/* 2. Annual Deal Box (Underneath Monthly Box) */
.deal-annual {
  background: #F0FDF4;
  border: 2px solid #10B981;
  box-shadow: 0 4px 14px -2px rgba(16, 185, 129, 0.2);
  margin-bottom: 1.5rem;
}
.deal-annual.featured-deal {
  background: #ECFDF5;
  border: 2.5px solid #059669;
  box-shadow: 0 8px 25px -4px rgba(5, 150, 105, 0.28);
}

.deal-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}

.deal-main-price {
  font-size: 2rem;
  font-weight: 900;
  color: #065F46;
  line-height: 1;
  letter-spacing: -0.02em;
}
.deal-main-price small {
  font-size: 0.85rem;
  font-weight: 600;
  color: #047857;
}

.deal-equiv-tag {
  font-size: 0.82rem;
  font-weight: 700;
  color: #047857;
  background: #DCFCE7;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}

.deal-perks {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.deal-perks li {
  font-size: 0.86rem;
  color: #065F46;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  line-height: 1.35;
}
.deal-perks li strong {
  color: #064E3B;
}

.btn-deal-cta {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.8rem 1rem !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 10px;
  white-space: nowrap !important;
  line-height: 1.25;
}

.btn-deal-secondary {
  width: 100%;
  margin-top: 0.65rem;
  padding: 0.55rem 0.85rem !important;
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  text-align: center;
  display: block;
  border-radius: 8px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #334155;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-deal-secondary:hover {
  background: #F1F5F9;
  color: #0F172A;
  border-color: #94A3B8;
}

.plan-divider {
  display: flex;
  align-items: center;
  margin: 0.5rem 0 1.25rem;
  color: var(--text-dim);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.plan-divider::before,
.plan-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--border-subtle);
}
.plan-divider span {
  padding: 0 0.65rem;
}

@media (max-width: 640px) {
  .pricing-comparison-banner {
    padding: 1.25rem 1rem;
    text-align: left;
  }
  .pcb-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .deal-price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
  .plan-deal-box {
    padding: 1.1rem 0.9rem;
  }
  .btn-deal-monthly,
  .btn-deal-cta {
    font-size: 0.92rem !important;
    padding: 0.75rem 0.6rem !important;
    letter-spacing: 0.01em;
  }
}

