/**
 * Cadence Landing — restyling visivo marcato (override + estensioni)
 * Caricato DOPO landing-2026.css
 */
body.landing-page {
  background: #06080a;
}

/* Barra accent in cima — cambio visivo immediato */
body.landing-page::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0f766e, #14b8a6, #0ea5e9, #38bdf8, #14b8a6);
  z-index: 9999;
  pointer-events: none;
}

body.landing-page::before {
  opacity: 0.55;
}

/* ── NAV: pill flottante con glow teal ── */
body.landing-page .site-header {
  padding-top: 18px;
}

body.landing-page .main-nav {
  background: rgba(8, 12, 16, 0.82);
  border: 1px solid rgba(45, 212, 191, 0.28);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 16px 48px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(20, 184, 166, 0.12);
  padding: 12px 22px;
}

body.landing-page .main-nav.is-scrolled {
  border-color: rgba(45, 212, 191, 0.45);
  box-shadow:
    0 0 0 1px rgba(45, 212, 191, 0.1) inset,
    0 20px 56px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(20, 184, 166, 0.18);
}

body.landing-page .nav-logo-mark {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.25), rgba(14, 165, 233, 0.2));
  border-color: rgba(45, 212, 191, 0.45);
  box-shadow: 0 0 20px rgba(20, 184, 166, 0.2);
}

body.landing-page .nav-links a {
  font-weight: 500;
  color: #b8c0cc;
}

body.landing-page .btn-primary {
  border-radius: 12px;
  padding: 11px 22px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* ── HERO: layout split + pannello luminoso ── */
body.landing-page .hero {
  padding-top: clamp(120px, 14vw, 150px);
  padding-bottom: 40px;
}

body.landing-page .hero-aurora {
  opacity: 1;
  background:
    radial-gradient(ellipse 45% 35% at 15% 30%, rgba(45, 212, 191, 0.18), transparent 65%),
    radial-gradient(ellipse 40% 30% at 85% 25%, rgba(56, 189, 248, 0.14), transparent 60%),
    radial-gradient(ellipse 50% 40% at 60% 90%, rgba(15, 118, 110, 0.12), transparent 65%);
}

body.landing-page .hero-content.reveal,
body.landing-page .hero-visual.reveal {
  opacity: 1;
  transform: none;
}

body.landing-page .hero h1 {
  font-size: clamp(2.2rem, 1.6rem + 3.8vw, 4rem);
  line-height: 1.05;
  max-width: 11ch;
}

body.landing-page .hero h1 .grad {
  display: inline;
  background: linear-gradient(120deg, #5eead4 0%, #38bdf8 50%, #2dd4bf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 24px rgba(45, 212, 191, 0.25));
}

body.landing-page .hero-badge {
  background: rgba(20, 184, 166, 0.14);
  border-color: rgba(94, 234, 212, 0.35);
  color: #ccfbf1;
  font-weight: 600;
  padding: 8px 16px;
}

body.landing-page .hero-visual {
  position: relative;
}

body.landing-page .hero-visual::before {
  content: '';
  position: absolute;
  inset: -8% -6% -8% -12%;
  background:
    linear-gradient(145deg, rgba(20, 184, 166, 0.15) 0%, rgba(14, 165, 233, 0.08) 50%, transparent 100%);
  border-radius: 32px;
  border: 1px solid rgba(45, 212, 191, 0.2);
  z-index: 0;
  pointer-events: none;
}

body.landing-page .hero-visual::after {
  content: '';
  position: absolute;
  top: 10%;
  right: -5%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.35), transparent 70%);
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
}

body.landing-page .dashboard-wrap {
  position: relative;
  z-index: 1;
  transform: perspective(1400px) rotateY(-8deg) rotateX(3deg) scale(1.02);
}

body.landing-page .dashboard-frame {
  border: 1px solid rgba(94, 234, 212, 0.35);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.7),
    0 0 80px rgba(20, 184, 166, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

body.landing-page .hero-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.8rem;
  color: #c5cdd8;
}

/* ── TRUST STRIP ── */
.landing-trust-strip {
  max-width: var(--container, 1180px);
  margin: 0 auto 48px;
  padding: 0 max(16px, 4vw);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 28px;
}

.landing-trust-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
}

.landing-trust-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.landing-trust-pill {
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── STATS: card colorate ── */
body.landing-page .stats-inner {
  background: linear-gradient(160deg, rgba(16, 22, 28, 0.95), rgba(8, 10, 14, 0.98));
  border: 1px solid rgba(45, 212, 191, 0.22);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 60px rgba(20, 184, 166, 0.06);
}

body.landing-page .stat-item:nth-child(1) { border-color: rgba(45, 212, 191, 0.25); background: rgba(20, 184, 166, 0.06); }
body.landing-page .stat-item:nth-child(2) { border-color: rgba(56, 189, 248, 0.25); background: rgba(14, 165, 233, 0.06); }
body.landing-page .stat-item:nth-child(3) { border-color: rgba(52, 211, 153, 0.25); background: rgba(52, 211, 153, 0.05); }
body.landing-page .stat-item:nth-child(4) { border-color: rgba(251, 191, 36, 0.25); background: rgba(251, 191, 36, 0.05); }

body.landing-page .stat-num {
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
}

/* ── SEZIONI: sfondi alternati ── */
body.landing-page #features {
  background: linear-gradient(180deg, transparent 0%, rgba(14, 17, 22, 0.8) 100%);
  border-top: 1px solid rgba(45, 212, 191, 0.1);
  border-bottom: 1px solid rgba(45, 212, 191, 0.08);
}

body.landing-page .workflow-section {
  background:
    radial-gradient(ellipse 60% 50% at 0% 50%, rgba(14, 165, 233, 0.06), transparent 55%),
    var(--surface, #0e1114);
}

body.landing-page .testimonials-section {
  background: #0a0d10;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body.landing-page .pricing-section {
  background:
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(20, 184, 166, 0.08), transparent 55%),
    var(--surface, #0e1114);
}

body.landing-page .section-tag {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.15), rgba(14, 165, 233, 0.1));
  border-color: rgba(94, 234, 212, 0.3);
  color: #a7f3d0;
}

/* ── FEATURE CARDS: bento evidente ── */
body.landing-page .feature-card {
  border-radius: 20px;
  border-color: rgba(255, 255, 255, 0.09);
  min-height: 200px;
}

body.landing-page .feature-card--lead {
  min-height: 220px;
  border-color: rgba(45, 212, 191, 0.35);
  box-shadow: 0 0 40px rgba(20, 184, 166, 0.08);
}

body.landing-page .feature-card--lead h3 {
  font-size: 1.35rem;
}

body.landing-page .feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(14, 165, 233, 0.12));
  border-color: rgba(45, 212, 191, 0.35);
  color: #5eead4;
  box-shadow: 0 8px 24px rgba(20, 184, 166, 0.15);
}

body.landing-page .bento-grid {
  gap: 20px;
}

body.landing-page .feature-card--lead.feature-card--link {
  cursor: pointer;
}

body.landing-page .analisi-sito-section {
  background: linear-gradient(180deg, transparent 0%, rgba(20, 184, 166, 0.04) 50%, transparent 100%);
}

body.landing-page .as-visual {
  border-color: rgba(45, 212, 191, 0.35);
  box-shadow:
    0 0 0 1px rgba(45, 212, 191, 0.08) inset,
    0 24px 56px rgba(0, 0, 0, 0.4),
    0 0 80px rgba(20, 184, 166, 0.12);
}

/* ── PRICING: Pro molto evidente ── */
body.landing-page .price-card.popular {
  border-width: 2px;
  border-color: rgba(45, 212, 191, 0.55);
  transform: scale(1.04);
  box-shadow:
    0 0 0 1px rgba(45, 212, 191, 0.15) inset,
    0 28px 64px rgba(0, 0, 0, 0.45),
    0 0 100px rgba(20, 184, 166, 0.2);
}

body.landing-page .popular-tag {
  font-size: 0.75rem;
  padding: 6px 20px;
  box-shadow: 0 4px 16px rgba(20, 184, 166, 0.35);
}

/* ── CTA ── */
body.landing-page .cta-inner {
  border-color: rgba(45, 212, 191, 0.35);
  background:
    linear-gradient(160deg, rgba(20, 184, 166, 0.1) 0%, rgba(12, 15, 19, 0.95) 45%);
  box-shadow: 0 0 80px rgba(20, 184, 166, 0.1), 0 32px 80px rgba(0, 0, 0, 0.5);
}

body.landing-page .cta-inner h2 {
  font-size: clamp(1.6rem, 1.2rem + 2.5vw, 2.75rem);
}

/* ── FOOTER ── */
body.landing-page .site-footer {
  background: #06080a;
  border-top: 1px solid rgba(45, 212, 191, 0.12);
}

/* ── REVEAL: visibile subito se JS lento ── */
body.landing-page .reveal {
  opacity: 1;
  transform: none;
}

body.landing-page .reveal:not(.is-visible) {
  opacity: 0.35;
  transform: translateY(12px);
}

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

@media (max-width: 1024px) {
  body.landing-page .hero h1 { max-width: none; }
  body.landing-page .dashboard-wrap { transform: none; }
  body.landing-page .hero-visual::before { inset: -4%; }
}

@media (max-width: 900px) {
  body.landing-page .price-card.popular { transform: none; }
}
