/* ═══════════════════════════════════════
   LANDING PAGE — Stile tailadmin.com
   Marketing page professionale
   ═══════════════════════════════════════ */

/* ═══ HERO CONTAINER (TailAdmin-style) ═══ */
/* Padding simmetrico sopra e sotto: 56px navbar offset + 56px bottom breathing */
.hero-wrapper {
  padding: 0;
  position: relative;
  overflow: hidden;
}
/* Grande sfumatura lavanda/blu che copre hero + trusted (stile Tail) */
.hero-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 30%, rgba(139,92,246,.18), transparent 65%),
    radial-gradient(ellipse 80% 50% at 50% 70%, rgba(70,95,255,.15), transparent 65%),
    linear-gradient(180deg, #F8F9FC 0%, #EEF0F8 100%);
  pointer-events: none;
  z-index: 0;
}
[data-theme="dark"] .hero-wrapper::before,
:root:not([data-theme="light"]) .hero-wrapper::before {
  background:
    radial-gradient(ellipse 70% 60% at 50% 30%, rgba(139,92,246,.14), transparent 65%),
    radial-gradient(ellipse 80% 50% at 50% 70%, rgba(70,95,255,.12), transparent 65%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);
}
.hero-container {
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  position: relative;
  z-index: 1;
}
[data-theme="light"] .hero-container { background: transparent; }

/* ═══ TRUSTED BY — marquee scorrevole infinito (Tail-style logo cloud) ═══ */
.trusted-by {
  padding: 40px 0 28px;
  border-top: 1px solid var(--border);
  margin-top: 60px;
  text-align: center;
  overflow: hidden;
}
.trusted-by-label {
  font-size: .74rem; font-weight: 700;
  color: var(--text-muted);
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 24px;
  padding: 0 20px;
}
.trusted-by-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.trusted-by-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: trustedScroll 40s linear infinite;
}
.trusted-by-marquee:hover .trusted-by-track { animation-play-state: paused; }
@keyframes trustedScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.trusted-item {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 1rem; font-weight: 700; color: var(--text-secondary);
  opacity: .7; transition: opacity .2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.trusted-item:hover { opacity: 1; color: var(--text-primary); }
.trusted-item svg { color: var(--accent); flex-shrink: 0; }
@media (max-width: 720px) {
  .trusted-by-track { gap: 40px; animation-duration: 30s; }
  .trusted-item { font-size: .88rem; }
  .trusted-item svg { width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .trusted-by-track { animation: none; justify-content: center; flex-wrap: wrap; width: auto; }
}

/* ═══ TRUSTED BY — dentro lo stesso gradient hero (stile Tail) ═══ */
.trusted-section {
  padding: 32px 0 40px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.trusted-section-label {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 32px;
}
.trusted-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.trusted-marquee-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: trustedScroll 45s linear infinite;
}
.trusted-marquee:hover .trusted-marquee-track { animation-play-state: paused; }
.trusted-logo {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -.035em;
  color: var(--text-secondary);
  opacity: .5;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity .2s;
}
.trusted-logo:hover { opacity: 1; }
@media (max-width: 720px) {
  .trusted-section { padding: 24px 0 28px; }
  .trusted-marquee-track { gap: 44px; animation-duration: 35s; }
  .trusted-logo { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .trusted-marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}

/* Trusted by — riga statica stile Tail */
.trusted-static {
  padding: 32px 0 20px;
  border-top: 1px solid var(--border);
  margin-top: 48px;
}
.trusted-static .trusted-by-label {
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 20px;
}
.trusted-static-row {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 24px;
}
.trusted-brand {
  font-size: 1.15rem; font-weight: 700;
  color: var(--text-tertiary);
  opacity: .75;
  letter-spacing: -.01em;
  transition: opacity .2s, color .2s;
}
.trusted-brand:hover { opacity: 1; color: var(--text-secondary); }
.trusted-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--border-hover);
  opacity: .6;
}
@media (max-width: 720px) {
  .trusted-static-row { gap: 14px; }
  .trusted-brand { font-size: .95rem; }
}

/* ═══ HERO ═══ */
.hero {
  padding: 110px 0 40px;
  text-align: center;
  position: relative;
}
/* Badge pill outline stile Tail */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(70,95,255,.2);
  backdrop-filter: blur(8px);
  font-size: .8rem; font-weight: 500;
  color: var(--accent);
  margin-bottom: 22px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
[data-theme="dark"] .hero-badge,
:root:not([data-theme="light"]) .hero-badge {
  background: rgba(24,24,27,.5);
  border-color: rgba(70,95,255,.3);
}
.hero-badge svg { width: 14px; height: 14px; }
.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700; line-height: 1.15;
  letter-spacing: -.025em;
  color: var(--text-primary);
  margin-bottom: 20px;
  max-width: 780px; margin-left: auto; margin-right: auto;
}
.hero-title .tgrad {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-sub {
  font-size: 1.15rem; color: var(--text-secondary);
  max-width: 720px; margin: 0 auto 28px;
  line-height: 1.65;
}
/* Row di categorie — icone grandi colorate brand-style */
.hero-categories {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 20px;
  margin-bottom: 32px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.hero-cat {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: transform .2s;
}
.hero-cat:hover { transform: translateY(-3px); }
.hero-cat-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.hero-cat:nth-child(1) .hero-cat-icon { background: linear-gradient(135deg,#F59E0B,#EA580C); }
.hero-cat:nth-child(2) .hero-cat-icon { background: linear-gradient(135deg,#EF4444,#DC2626); }
.hero-cat:nth-child(3) .hero-cat-icon { background: linear-gradient(135deg,#3B82F6,#1D4ED8); }
.hero-cat:nth-child(4) .hero-cat-icon { background: linear-gradient(135deg,#8B5CF6,#6D28D9); }
.hero-cat:nth-child(5) .hero-cat-icon { background: linear-gradient(135deg,#EC4899,#BE185D); }
.hero-cat:nth-child(6) .hero-cat-icon { background: linear-gradient(135deg,#10B981,#047857); }
.hero-cat:nth-child(7) .hero-cat-icon { background: linear-gradient(135deg,#6366F1,#4338CA); }
.hero-cat:nth-child(8) .hero-cat-icon { background: linear-gradient(135deg,#06B6D4,#0E7490); }
.hero-cat svg { width: 24px; height: 24px; }
.hero-cat span {
  font-size: .85rem; font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0;
}
@media (max-width: 720px) {
  .hero-categories { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .hero-cat-icon { width: 40px; height: 40px; border-radius: 10px; }
  .hero-cat svg { width: 20px; height: 20px; }
  .hero-cat span { font-size: .75rem; }
}
.hero-actions {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  flex-wrap: wrap; margin-bottom: 32px;
}

/* Social proof avatars */
.hero-social-proof {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-bottom: 48px;
}
.hero-avatars { display: flex; }
.hero-ava {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 700; color: #fff;
  border: 2px solid var(--bg-0);
  margin-left: -8px;
}
.hero-ava:first-child { margin-left: 0; }
.hero-social-text { font-size: .85rem; color: var(--text-secondary); }
.hero-social-text strong { color: var(--text-primary); }

/* Hero mockup — full dashboard preview (Tail-style: grande, ombra morbida ampia) */
.hero-mockup {
  max-width: 1100px; margin: 0 auto;
  border-radius: 20px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 40px 100px -20px rgba(0,0,0,.45), 0 20px 40px -12px rgba(0,0,0,.3);
  background: var(--bg-3);
  position: relative;
}
[data-theme="light"] .hero-mockup {
  box-shadow: 0 40px 100px -20px rgba(70,95,255,.18), 0 20px 40px -12px rgba(0,0,0,.1);
}
.hero-mockup-bar {
  height: 36px; background: var(--bg-2);
  display: flex; align-items: center; gap: 6px;
  padding: 0 14px;
}
[data-theme="light"] .hero-mockup-bar { background: #1C2434; }
.hero-mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.hero-mockup-dot:nth-child(1) { background: #EF4444; }
.hero-mockup-dot:nth-child(2) { background: #F59E0B; }
.hero-mockup-dot:nth-child(3) { background: #22C55E; }
.hero-mockup-body { display: flex; min-height: 320px; }

/* Mockup sidebar */
.mockup-sidebar {
  width: 56px; background: var(--bg-2); border-right: 1px solid var(--border);
  padding: 12px 0; display: flex; flex-direction: column; align-items: center; gap: 8px;
  flex-shrink: 0;
}
[data-theme="light"] .mockup-sidebar { background: #1C2434; border-right-color: rgba(255,255,255,.06); }
.mockup-sb-logo {
  width: 28px; height: 28px; border-radius: var(--r-sm);
  background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.mockup-sb-item {
  width: 32px; height: 6px; border-radius: 3px;
  background: rgba(255,255,255,.08);
}
.mockup-sb-item.active { background: var(--accent); }

/* Mockup content */
.mockup-content { flex: 1; padding: 16px; overflow: hidden; }
.mockup-kpi-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 14px; }
.mockup-kpi {
  padding: 12px; border-radius: var(--r-lg);
  background: var(--bg-4); border: 1px solid var(--border);
  text-align: center;
}
.mockup-kpi-icon {
  width: 28px; height: 28px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 6px;
}
.mockup-kpi-val { font-size: 1.15rem; font-weight: 800; font-family: var(--font-mono); line-height: 1; }
.mockup-kpi-label { font-size: .62rem; color: var(--text-muted); margin-top: 2px; }

/* Mockup charts */
.mockup-charts { display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px; }
.mockup-chart-card {
  padding: 12px; border-radius: var(--r-lg);
  background: var(--bg-4); border: 1px solid var(--border);
}
.mockup-chart-title { font-size: .65rem; font-weight: 700; margin-bottom: 10px; color: var(--text-secondary); }
.mockup-bars { display: flex; align-items: flex-end; gap: 6px; height: 100px; }
.mockup-bar {
  flex: 1; background: var(--accent); border-radius: 4px 4px 0 0;
  height: var(--h); min-height: 8px; position: relative;
  animation: barGrow .8s var(--ease) both;
}
.mockup-bar span {
  position: absolute; bottom: -16px; left: 50%; transform: translateX(-50%);
  font-size: .55rem; color: var(--text-muted);
}
.mockup-donut { display: flex; align-items: center; gap: 12px; justify-content: center; padding: 8px 0; }
.mockup-donut-legend { display: flex; flex-direction: column; gap: 4px; }
.mockup-donut-legend span { display: flex; align-items: center; gap: 4px; font-size: .6rem; color: var(--text-secondary); }
.mockup-donut-legend i { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }

/* ═══ FEATURES ═══ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 32px 28px;
  border-radius: var(--r-2xl);
  background: var(--bg-3);
  border: 1px solid var(--border);
  transition: all .3s var(--ease);
}
.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 6px 14px rgba(0,0,0,.08);
  transition: transform .25s var(--ease);
}
.feature-card:hover .feature-icon { transform: scale(1.05) rotate(-3deg); }
/* Icone vibranti: gradient pieno + bianco — stile Tail */
.feature-icon.purple { background: linear-gradient(135deg, #7c3aed, #a855f7); color: #fff; }
.feature-icon.green  { background: linear-gradient(135deg, #16a34a, #22c55e); color: #fff; }
.feature-icon.yellow { background: linear-gradient(135deg, #f59e0b, #fbbf24); color: #fff; }
.feature-icon.blue   { background: linear-gradient(135deg, #2563eb, #3b82f6); color: #fff; }
.feature-icon.red    { background: linear-gradient(135deg, #dc2626, #ef4444); color: #fff; }
.feature-icon.violet { background: linear-gradient(135deg, #8b5cf6, #c084fc); color: #fff; }
.feature-icon.pink   { background: linear-gradient(135deg, #db2777, #f472b6); color: #fff; }
.feature-icon.cyan   { background: linear-gradient(135deg, #0891b2, #22d3ee); color: #fff; }
.feature-title { font-weight: 700; font-size: 1.2rem; margin-bottom: 10px; letter-spacing: -.02em; color: var(--text-primary); }
.feature-desc { font-size: 1rem; color: var(--text-secondary); line-height: 1.65; }

/* Feature badges row */
.feature-badges {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-top: 40px;
}
.feature-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: var(--r-full);
  background: var(--bg-3); border: 1px solid var(--border);
  font-size: .78rem; font-weight: 500; color: var(--text-secondary);
  transition: all .2s;
}
.feature-badge:hover { border-color: var(--accent); color: var(--accent); }
.feature-badge svg { color: var(--success); }

/* ═══ ALTERNATING FEATURES (Showcase) ═══ */
.alt-feature {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px;
  align-items: center;
  margin-bottom: 120px;
}
.alt-feature:last-child { margin-bottom: 0; }
.alt-feature-reverse { direction: rtl; }
.alt-feature-reverse > * { direction: ltr; }
.alt-feature-badge {
  display: inline-block; padding: 6px 14px; border-radius: var(--r-full);
  background: var(--accent-muted);
  color: var(--accent); border: 1px solid rgba(70,95,255,.2);
  font-size: .74rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; margin-bottom: 16px;
}
.alt-feature-title { font-size: 1.75rem; font-weight: 700; margin-bottom: 16px; letter-spacing: -.025em; line-height: 1.2; color: var(--text-primary); }
.alt-feature-desc { font-size: 1rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px; }
.alt-feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.alt-feature-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: .92rem; color: var(--text-secondary); font-weight: 500;
}
.alt-feature-visual { display: flex; justify-content: center; position: relative; }
.alt-feature-visual::before {
  content: ''; position: absolute; inset: -20px -40px;
  background: radial-gradient(circle at center, rgba(124,58,237,.1), transparent 60%);
  filter: blur(40px); pointer-events: none; z-index: 0;
}
.alt-visual-card {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--r-2xl); overflow: hidden; width: 100%;
  box-shadow: 0 30px 80px rgba(0,0,0,.12), 0 10px 30px rgba(0,0,0,.06);
  position: relative; z-index: 1;
  transition: transform .4s var(--ease);
}
.alt-feature:hover .alt-visual-card { transform: translateY(-6px) scale(1.02); }
[data-theme="light"] .alt-visual-card { box-shadow: 0 30px 80px rgba(0,0,0,.08), 0 10px 30px rgba(0,0,0,.04); }
.alt-mini-card {
  padding: 10px 12px; border-radius: var(--r-md);
  background: var(--bg-4); border: 1px solid var(--border);
  font-size: .75rem; color: var(--text-secondary); line-height: 1.5;
}
.alt-mini-table { display: flex; flex-direction: column; gap: 6px; }
.alt-mini-row {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: var(--r-md);
  background: var(--bg-5);
}

/* Stamp dots in mockup */
.stamp-dot {
  width: 100%; aspect-ratio: 1; border-radius: var(--r-sm);
  background: var(--bg-5); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .6rem;
}
.stamp-dot.on { background: var(--accent-muted); border-color: var(--accent); }
.stamp-dot.on::after { content: '⭐'; font-size: .65rem; }
.stamp-dot.gift { background: linear-gradient(135deg,rgba(70,95,255,.08),rgba(139,92,246,.08)); border-color: var(--accent); font-size: .55rem; }

/* ═══ HOW IT WORKS ═══ */
.how-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  position: relative;
}
.how-grid::before {
  content: ''; position: absolute; top: 56px;
  left: 15%; right: 15%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .15; z-index: 0;
}
.how-step { text-align: center; position: relative; z-index: 1; }
.how-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent-muted); border: 2px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-mono); font-weight: 800; font-size: 1.1rem;
  color: var(--accent); transition: all .3s var(--ease);
}
.how-step:hover .how-num {
  background: var(--accent); color: #fff;
  transform: scale(1.1); box-shadow: var(--shadow-glow);
}
.how-step-icon { color: var(--accent); margin-bottom: 12px; }
.how-title { font-weight: 700; font-size: 1.2rem; margin-bottom: 10px; letter-spacing: -.02em; color: var(--text-primary); }
.how-desc { font-size: 1rem; color: var(--text-secondary); line-height: 1.65; max-width: 320px; margin: 0 auto; }

/* ═══ TESTIMONIALS ═══ */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.testimonial-card {
  padding: 28px 24px; border-radius: var(--r-2xl);
  background: var(--bg-3); border: 1px solid var(--border);
  transition: all .3s var(--ease);
}
.testimonial-card:hover { border-color: var(--border-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.testimonial-stars { color: var(--warning); font-size: .9rem; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-text { font-size: .9rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.testimonial-name { font-weight: 700; font-size: .85rem; }
.testimonial-role { font-size: .75rem; color: var(--text-tertiary); }

/* ═══ PRICING ═══ */
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; max-width: 960px; margin: 0 auto;
}
/* Fallback mobile: add-on row torna a stack sotto 900px */
@media (max-width: 900px) {
  .pricing-grid.addon-row { grid-template-columns: 1fr !important; max-width: 440px !important; }
}
.price-card {
  padding: 36px 28px; border-radius: var(--r-2xl);
  position: relative; overflow: hidden; text-align: center;
  background: var(--bg-3); border: 1px solid var(--border);
  transition: all .3s var(--ease);
  display: flex; flex-direction: column;
}
/* Min-height su desc per coprire fino a 3 righe e allineare il prezzo tra le card */
.price-card .price-desc {
  min-height: calc(1rem * 1.55 * 3);
  display: flex; align-items: flex-start; justify-content: center;
  text-align: center;
}
.price-card .price-period { min-height: calc(.85rem * 1.4); display: block; }
/* Features iniziano subito dopo period (non spinte in fondo) */
.price-card .price-features { margin-top: 0; }
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -10px rgba(70,95,255,.18), 0 10px 20px -8px rgba(0,0,0,.12);
  border-color: rgba(70,95,255,.35);
}
/* Card add-on selezionata (quando checkbox interno è checked) */
.price-card:has(input[type="checkbox"]:checked) {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(70,95,255,.06), var(--bg-3));
  box-shadow: 0 0 0 2px var(--accent), 0 20px 40px -10px rgba(70,95,255,.25);
  transform: translateY(-4px);
}
[data-theme="light"] .price-card:has(input[type="checkbox"]:checked) {
  background: linear-gradient(180deg, rgba(70,95,255,.04), #FFFFFF);
}
/* Checkbox più grande e visibile */
.price-card input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 24px !important; height: 24px !important;
  border: 2px solid var(--border-hover);
  border-radius: 6px;
  background: var(--bg-3);
  cursor: pointer;
  transition: all .2s var(--ease);
  position: relative;
}
.price-card input[type="checkbox"]:hover { border-color: var(--accent); }
.price-card input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.price-card input[type="checkbox"]:checked::after {
  content: ''; position: absolute;
  left: 6px; top: 2px;
  width: 6px; height: 12px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.price-card.pop {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(70,95,255,.05), var(--bg-3));
}
.price-card.pop::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--grad-brand);
}
.price-pop-tag {
  position: absolute; top: 16px; right: 16px;
  padding: 4px 12px; border-radius: var(--r-full);
  background: var(--accent); color: #fff;
  font-size: .68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em;
}
.price-icon { margin-bottom: 16px; }
.price-name { font-size: 1.25rem; font-weight: 700; margin-bottom: 6px; letter-spacing: -.02em; }
.price-desc { font-size: 1rem; color: var(--text-secondary); line-height: 1.55; margin-bottom: 24px; }
.price-amount { font-size: 3rem; font-weight: 900; font-family: var(--font-mono); margin-bottom: 4px; }
.price-amount span { font-size: 1rem; color: var(--text-muted); font-weight: 500; }
.price-period { font-size: .85rem; color: var(--text-tertiary); margin-bottom: 28px; line-height: 1.4; }
.price-features { text-align: left; margin-bottom: 28px; }
.price-feat {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; font-size: .88rem; color: var(--text-secondary);
}
.price-feat::before {
  content: '\2713'; width: 20px; height: 20px; border-radius: 50%;
  background: var(--success-muted); color: var(--success);
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 700; flex-shrink: 0;
}
.price-feat.dis { opacity: .4; }
.price-feat.dis::before { content: '\2717'; background: var(--error-muted); color: var(--error); }

/* ═══ ADD-ON CARD ═══ */
.addon-section { max-width: 720px; margin-left: auto; margin-right: auto; }
.addon-card {
  padding: 32px; border-radius: var(--r-2xl);
  border: 1px solid var(--border); border-left: 4px solid var(--accent);
  background: linear-gradient(135deg, rgba(70,95,255,.03), var(--bg-3));
  transition: all .3s var(--ease);
}
.addon-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.addon-content {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 20px; position: relative;
}
.addon-badge {
  position: absolute; top: -8px; right: -8px;
  padding: 3px 10px; border-radius: var(--r-full);
  background: var(--accent); color: #fff;
  font-size: .65rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em;
}
.addon-icon {
  width: 52px; height: 52px; border-radius: var(--r-lg);
  background: rgba(139,92,246,.1); display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.addon-name { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; letter-spacing: -.02em; color: var(--text-primary); }
.addon-desc { font-size: 1rem; color: var(--text-secondary); line-height: 1.55; }
.addon-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px;
  margin-bottom: 20px; padding-left: 68px;
}
.addon-price-row {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 20px; border-top: 1px solid var(--border);
}
.addon-price {
  font-size: 2rem; font-weight: 900; font-family: var(--font-mono);
}
.addon-price span { font-size: .9rem; color: var(--text-muted); font-weight: 500; }
@media (max-width: 640px) {
  .addon-content { flex-direction: column; text-align: center; }
  .addon-features { grid-template-columns: 1fr; padding-left: 0; }
  .addon-price-row { flex-direction: column; gap: 16px; text-align: center; }
}

/* ═══ FAQ ═══ */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  transition: all .2s;
}
.faq-item[open] { border-color: var(--accent); }
.faq-question {
  padding: 18px 24px; cursor: pointer;
  font-weight: 700; font-size: .95rem;
  list-style: none; display: flex; align-items: center; justify-content: space-between;
  transition: color .2s;
}
.faq-question:hover { color: var(--accent); }
.faq-question::after { content: '+'; font-size: 1.3rem; font-weight: 300; color: var(--text-muted); transition: transform .2s; }
.faq-item[open] .faq-question::after { content: '−'; color: var(--accent); }
.faq-question::-webkit-details-marker { display: none; }
.faq-answer { padding: 0 24px 18px; font-size: .88rem; color: var(--text-secondary); line-height: 1.7; }

/* ═══ CTA SECTION ═══ */
.cta-section {
  text-align: center; padding: 80px 40px;
  border-radius: var(--r-2xl);
  background: linear-gradient(135deg, rgba(70,95,255,.06), rgba(139,92,246,.04));
  border: 1px solid rgba(70,95,255,.1);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(70,95,255,.05), transparent 70%);
  pointer-events: none;
}
.cta-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 12px; }
.cta-sub { font-size: 1rem; color: var(--text-tertiary); margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ═══ FOOTER ═══ */
.footer {
  padding: 60px 0 24px;
  border-top: 1px solid var(--border);
  margin-top: 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  margin-bottom: 40px;
}
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: .95rem;
}
.footer-col-title { font-weight: 700; font-size: .82rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-primary); }
.footer-grid a { display: block; font-size: .85rem; color: var(--text-tertiary); padding: 4px 0; transition: color .2s; }
.footer-grid a:hover { color: var(--accent); }
.footer-copy { font-size: .78rem; color: var(--text-muted); text-align: center; padding: 20px 24px 0; border-top: 1px solid var(--border); max-width: 1200px; margin: 0 auto; }

/* ═══ SCREENSHOT CAROUSEL ═══ */
@keyframes scrollLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes scrollRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.carousel-track {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  margin-bottom: 16px;
}
.carousel-slides {
  display: flex; gap: 16px;
  animation: scrollLeft 30s linear infinite;
  width: max-content;
}
.carousel-reverse .carousel-slides { animation: scrollRight 35s linear infinite; }
.carousel-track:hover .carousel-slides { animation-play-state: paused; }

.carousel-slide { flex-shrink: 0; width: 280px; }
.carousel-card {
  border-radius: var(--r-2xl); overflow: hidden;
  background: var(--bg-3); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all .3s var(--ease);
  height: 100%;
}
.carousel-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.carousel-card-bar {
  height: 28px; background: var(--bg-2); display: flex; align-items: center; gap: 4px; padding: 0 10px;
}
[data-theme="light"] .carousel-card-bar { background: #1C2434; }
.carousel-card-bar > span:nth-child(-n+3) { width: 7px; height: 7px; border-radius: 50%; }
.carousel-card-bar > span:nth-child(1) { background: #EF4444; }
.carousel-card-bar > span:nth-child(2) { background: #F59E0B; }
.carousel-card-bar > span:nth-child(3) { background: #22C55E; }
.carousel-card-url { flex: 1; text-align: center; font-size: .58rem; color: rgba(255,255,255,.4); font-family: var(--font-mono); }
.carousel-card-body { padding: 14px; }

/* Carousel inner components */
.c-kpi { padding: 8px 6px; border-radius: var(--r-md); background: var(--bg-4); border: 1px solid var(--border); text-align: center; }
.c-kpi-v { font-size: .85rem; font-weight: 800; font-family: var(--font-mono); line-height: 1; }
.c-kpi-l { font-size: .55rem; color: var(--text-muted); margin-top: 2px; }
.c-chart { flex: 1; padding: 8px; border-radius: var(--r-md); background: var(--bg-4); border: 1px solid var(--border); }
.c-bars { display: flex; align-items: flex-end; gap: 3px; height: 60px; }
.c-bars > div { flex: 1; background: var(--accent); border-radius: 3px 3px 0 0; height: var(--h); min-height: 4px; }
.c-svc { padding: 6px 8px; border-radius: var(--r-sm); background: var(--bg-4); border: 1px solid var(--border); font-size: .68rem; color: var(--text-secondary); }
.c-svc strong { color: var(--accent); display: block; margin-top: 2px; }
.c-client { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: var(--r-md); margin-bottom: 4px; background: var(--bg-4); }
.c-ava { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .55rem; font-weight: 700; color: #fff; flex-shrink: 0; }
.c-client-info { flex: 1; min-width: 0; }
.c-client-info strong { font-size: .72rem; display: block; }
.c-client-info small { font-size: .6rem; color: var(--text-muted); }
.c-dot { width: 100%; aspect-ratio: 1; border-radius: 3px; background: var(--bg-5); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.c-dot.on { background: var(--accent-muted); border-color: var(--accent); }
.c-dot.on::after { content: '★'; font-size: .5rem; color: var(--accent); }
.c-dot.last { background: var(--accent-muted); border-color: var(--accent); color: var(--accent); }
.c-review { padding: 8px 10px; border-radius: var(--r-md); background: var(--bg-4); border: 1px solid var(--border); margin-bottom: 4px; }
.c-top { display: flex; align-items: center; gap: 6px; padding: 5px 8px; font-size: .7rem; font-weight: 500; border-radius: var(--r-sm); margin-bottom: 3px; }
.c-top:hover { background: var(--bg-4); }
.c-rank { width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .6rem; font-weight: 800; font-family: var(--font-mono); }
.c-rank.r1 { background: rgba(255,215,0,.15); color: #FFD700; }
.c-rank.r2 { background: rgba(192,192,192,.15); color: #C0C0C0; }
.c-rank.r3 { background: rgba(205,127,50,.15); color: #CD7F32; }
.c-setting { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: .72rem; font-weight: 500; color: var(--text-secondary); }
.c-setting:last-child { border-bottom: none; }
.c-setting svg { flex-shrink: 0; }
.c-toggle { width: 28px; height: 14px; border-radius: 7px; background: var(--bg-5); margin-left: auto; position: relative; flex-shrink: 0; }
.c-toggle::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--text-muted); position: absolute; top: 2px; left: 2px; }
.c-toggle.on { background: var(--accent); }
.c-toggle.on::after { background: #fff; left: auto; right: 2px; }
.c-sched { display: flex; justify-content: space-between; padding: 5px 8px; font-size: .7rem; border-radius: var(--r-sm); color: var(--text-secondary); }
.c-sched:nth-child(odd) { background: var(--bg-4); }
.c-sched.today { background: var(--accent-muted); color: var(--text-primary); font-weight: 600; }
.c-sched.closed span:last-child { color: var(--error); }
.c-notif-preview { padding: 10px 12px; border-radius: var(--r-md); background: var(--bg-4); border: 1px solid var(--border); }
.c-config-row { display: flex; align-items: center; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--border); }
.c-config-row:last-child { border-bottom: none; }

/* ═══ LIVE PREVIEW (iframe della storefront reale) ═══ */
.live-preview-wrap {
  max-width: 1200px; margin: 48px auto 0;
}
.live-preview-frame {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.15), 0 12px 36px rgba(0,0,0,.08);
  position: relative;
}
[data-theme="light"] .live-preview-frame { box-shadow: 0 30px 80px rgba(0,0,0,.1), 0 12px 36px rgba(0,0,0,.05); }
.live-preview-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  background: var(--bg-5);
  border-bottom: 1px solid var(--border);
}
.live-preview-dot { width: 11px; height: 11px; border-radius: 50%; }
.live-preview-dot:nth-child(1) { background: #ef4444; }
.live-preview-dot:nth-child(2) { background: #f59e0b; }
.live-preview-dot:nth-child(3) { background: #22c55e; }
.live-preview-url {
  flex: 1; text-align: center; margin: 0 16px;
  font-family: var(--font-mono); font-size: .78rem;
  color: var(--text-muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.live-preview-open {
  font-size: .78rem; font-weight: 600; color: var(--accent);
  text-decoration: none; white-space: nowrap; padding: 4px 10px;
  border-radius: var(--r-sm); transition: background .2s;
}
.live-preview-open:hover { background: var(--accent-muted); }

.live-preview-iframe-wrap {
  position: relative;
  height: 720px;
  overflow: hidden;
  background: var(--bg-1);
}
.live-preview-iframe {
  /* Renderizza la storefront a 1600x1440px interni, poi scala al 75% → viewport effettivo 1200x1080 */
  width: 1600px;
  height: 1440px;
  border: none;
  display: block;
  transform: scale(.75);
  transform-origin: top left;
  pointer-events: none;
}
.live-preview-overlay {
  position: absolute; inset: 0;
  cursor: zoom-in;
  background: transparent;
  transition: background .2s;
}
.live-preview-overlay:hover { background: rgba(70,95,255,.04); }

.live-preview-note {
  max-width: 720px; margin: 20px auto 0;
  text-align: center;
  font-size: .86rem; color: var(--text-tertiary);
  line-height: 1.5;
}

@media (max-width: 1240px) {
  .live-preview-iframe-wrap { height: 600px; }
  .live-preview-iframe { width: 1400px; height: 1200px; transform: scale(.65); }
}
@media (max-width: 900px) {
  .live-preview-iframe-wrap { height: 480px; }
  .live-preview-iframe { width: 1200px; height: 1200px; transform: scale(.5); }
  .live-preview-url { display: none; }
}
@media (max-width: 600px) {
  .live-preview-iframe-wrap { height: 380px; }
  .live-preview-iframe { width: 1000px; height: 1000px; transform: scale(.38); }
  .live-preview-open { font-size: .7rem; padding: 4px 8px; }
}

/* ═══ TESTIMONIAL ═══ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.testimonial-card {
  padding: 28px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  display: flex; flex-direction: column; gap: 14px;
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.testimonial-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #7c3aed, #ec4899, #f59e0b);
  opacity: 0; transition: opacity .3s;
}
.testimonial-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 20px 40px rgba(0,0,0,.08); }
.testimonial-card:hover::before { opacity: 1; }
.testimonial-stars { color: #f59e0b; font-size: .95rem; letter-spacing: .1em; }
.testimonial-text { font-size: .92rem; line-height: 1.6; color: var(--text-secondary); font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); }
.testimonial-ava {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 1.05rem;
  box-shadow: 0 4px 10px rgba(0,0,0,.1);
}
.testimonial-name { font-weight: 700; font-size: .9rem; }
.testimonial-role { font-size: .78rem; color: var(--text-tertiary); }

/* ═══ DEVICE SHOWCASE ═══ */
.devices-row {
  display: flex; align-items: flex-end; justify-content: center;
  gap: 24px; margin-top: 48px; flex-wrap: wrap;
}
.device { flex-shrink: 0; }
.device-frame {
  background: var(--bg-4); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,.15);
  position: relative;
}
[data-theme="light"] .device-frame { background: #fff; box-shadow: 0 30px 60px rgba(0,0,0,.08); }
.device-header { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--bg-5); }
.device-dot { width: 10px; height: 10px; border-radius: 50%; background: #d1d5db; }
.device-dot:nth-child(1) { background: #ef4444; }
.device-dot:nth-child(2) { background: #f59e0b; }
.device-dot:nth-child(3) { background: #22c55e; }
.device-content { padding: 20px; }
.device-hero-bar { height: 90px; border-radius: var(--r-md); background: linear-gradient(135deg, #7c3aed, #ec4899); margin-bottom: 14px; }
.device-card-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.device-service { padding: 8px 12px; background: var(--bg-5); border-radius: var(--r-sm); font-size: .72rem; font-weight: 600; color: var(--text-secondary); border: 1px solid var(--border); }
.device-stamp-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 12px; }
.device-stamp-grid.small { gap: 4px; }
.device-stamp { aspect-ratio: 1; border-radius: 50%; background: var(--bg-5); border: 2px dashed var(--border); }
.device-stamp.on { background: linear-gradient(135deg, #22c55e, #16a34a); border: none; box-shadow: 0 2px 6px rgba(34,197,94,.3); }
.device-stamp.reward { background: linear-gradient(135deg, #f59e0b, #fbbf24); border: none; }
.device-progress { height: 6px; background: var(--bg-5); border-radius: 3px; overflow: hidden; margin-bottom: 8px; }
.device-progress-fill { height: 100%; width: 60%; background: linear-gradient(90deg, #22c55e, #16a34a); }
.device-level { font-size: .72rem; text-align: center; color: var(--text-tertiary); font-weight: 600; }
.device-tablet-inner { padding: 24px 20px; }
.device-phone-inner { padding: 14px; text-align: center; }
.device-phone-title { font-size: .85rem; font-weight: 800; margin-bottom: 2px; }
.device-phone-sub { font-size: .65rem; color: var(--text-tertiary); margin-bottom: 12px; }
.device-cta { margin-top: 10px; padding: 8px 14px; background: var(--accent); color: #fff; border: none; border-radius: var(--r-md); font-size: .72rem; font-weight: 700; cursor: default; width: 100%; }

.device-desktop .device-frame { width: 420px; }
.device-tablet .device-frame { width: 240px; border-radius: var(--r-2xl); }
.device-tablet .device-header { display: none; }
.device-phone .device-frame { width: 160px; border-radius: 22px; border: 4px solid var(--bg-5); }
.device-phone .device-header { display: none; }
.device-notch { position: absolute; top: 4px; left: 50%; transform: translateX(-50%); width: 60px; height: 14px; background: var(--bg-5); border-radius: 0 0 10px 10px; z-index: 2; }

/* ═══ CTA INTERMEDIO ═══ */
.cta-mid-sec { padding: 60px 20px; }
.cta-mid {
  display: flex; align-items: center; justify-content: space-between; gap: 48px;
  padding: 56px 64px;
  background: linear-gradient(135deg, rgba(70,95,255,.06), rgba(139,92,246,.04));
  border: 1px solid rgba(70,95,255,.1);
  border-radius: var(--r-2xl);
  position: relative; overflow: hidden;
}
.cta-mid::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(70,95,255,.05), transparent 70%);
  pointer-events: none;
}
.cta-mid::after { content: none; }
.cta-mid-content { flex: 1; position: relative; z-index: 1; }
.cta-mid .btn { position: relative; z-index: 1; flex-shrink: 0; }
.cta-mid-title { font-size: 1.85rem; font-weight: 700; margin: 0 0 10px; letter-spacing: -.025em; line-height: 1.2; color: var(--text-primary); }
.cta-mid-title .tgrad {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.cta-mid-sub { font-size: 1.1rem; color: var(--text-secondary); margin: 0; line-height: 1.6; max-width: 560px; }
.cta-mid .btn { position: relative; z-index: 1; flex-shrink: 0; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .alt-feature { grid-template-columns: 1fr; gap: 40px; margin-bottom: 80px; }
  .alt-feature-reverse { direction: ltr; }
  .alt-feature-title { font-size: 1.6rem; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  /* Hero */
  .hero { padding: 88px 0 32px; }
  .hero-badge { font-size: .72rem; padding: 6px 14px; margin-bottom: 18px; }
  .hero-title { margin-bottom: 16px; }
  .hero-sub { font-size: 1rem; margin-bottom: 24px; line-height: 1.6; padding: 0 4px; }
  .hero-actions { gap: 10px; margin-bottom: 28px; }
  .hero-actions .btn-xl { padding: 12px 24px; font-size: .95rem; }

  /* Hero categories — grid 4×2 */
  .hero-categories { grid-template-columns: repeat(4, 1fr); gap: 16px 18px; margin-bottom: 28px; }

  /* Mockup */
  .hero-mockup { max-width: 100%; border-radius: 14px; }
  .mockup-kpi-grid { grid-template-columns: repeat(2,1fr); }
  .mockup-charts { grid-template-columns: 1fr; }
  .hero-mockup-body { flex-direction: column; min-height: auto; }
  .mockup-sidebar { flex-direction: row; width: 100%; padding: 8px 12px; border-right: none; border-bottom: 1px solid var(--border); }
  .mockup-content { padding: 14px; }

  /* Navbar */
  .navbar-inner { padding: 10px 14px !important; }
  .navbar-logo { font-size: 1.35rem; }
  .navbar-logo-icon { width: 32px; height: 32px; }
  .navbar-actions { gap: 6px !important; margin-right: 0; }

  /* Sections spacing */
  .sec { padding: 28px 0; }
  .sec-header { margin-bottom: 28px; }
  .sec-title { font-size: clamp(1.65rem, 7vw, 2.1rem) !important; }
  .sec-sub { font-size: 1rem; }

  /* Features/how/pricing grids */
  .features-grid { grid-template-columns: 1fr; gap: 14px; }
  .feature-card { padding: 22px; }
  .how-grid { grid-template-columns: 1fr; gap: 36px; }
  .how-grid::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .price-card { padding: 28px 22px; }
  .feature-badges { gap: 6px; }

  /* Carousel — non far scattare orizzontalmente in larghezza completa */
  .carousel-sec { padding: 40px 0; }

  /* CTA mid */
  .cta-mid { flex-direction: column; padding: 32px 24px; gap: 20px; text-align: center; }
  .cta-mid-title { font-size: 1.5rem; }
  .cta-mid-sub { font-size: .98rem; }
  .cta-mid-sec { padding: 28px 16px; }

  /* CTA finale */
  .cta-section { padding: 48px 24px; }
  .cta-title { font-size: 1.55rem; }
  .cta-sub { font-size: 1rem; }

  /* FAQ */
  .faq-question { font-size: .95rem; padding: 18px 20px; }
  .faq-answer { padding: 0 20px 16px; font-size: .92rem; }

  /* Footer */
  .footer { padding: 40px 0 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 0 20px; margin-bottom: 28px; }
  .footer-copy { padding: 0 20px; font-size: .78rem; }

  /* Devices showcase */
  .testimonial-grid { grid-template-columns: 1fr; gap: 16px; }
  .devices-row { gap: 16px; }
  .device-desktop .device-frame { width: 320px; }
  .device-tablet .device-frame { width: 200px; }
  .device-phone .device-frame { width: 140px; }

  /* Container */
  .container { padding: 0 20px; }
}
/* Phone in landscape (altezza bassa, larghezza fino a ~930px) */
@media (max-width: 930px) and (orientation: landscape) and (max-height: 500px) {
  /* Navbar compatta */
  .navbar-links { display: none !important; }
  .navbar-actions .btn-sm { display: none !important; }
  .navbar-mobile-btn { display: flex !important; }
  .navbar-inner { padding: 8px 14px !important; }
  .navbar-logo { font-size: 1.2rem; }
  .navbar-logo-icon { width: 28px; height: 28px; }
  .navbar-actions { margin-right: 0 !important; gap: 6px !important; }

  /* Hero compatto */
  .hero { padding: 60px 0 20px; }
  .hero-badge { margin-bottom: 10px; font-size: .65rem; padding: 4px 12px; }
  .hero-title { font-size: clamp(1.5rem, 4vw, 1.9rem) !important; margin-bottom: 10px; line-height: 1.15; }
  .hero-sub { font-size: .88rem; margin-bottom: 14px; max-width: 600px; line-height: 1.5; padding: 0 12px; }
  .hero-categories { grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
  .hero-cat-icon { width: 34px; height: 34px; border-radius: 9px; }
  .hero-cat svg { width: 16px; height: 16px; }
  .hero-cat span { font-size: .62rem; }
  .hero-actions { flex-direction: row; margin-bottom: 18px; gap: 10px; width: auto; }
  .hero-actions .btn-xl { padding: 9px 18px; font-size: .85rem; width: auto; }

  /* Mockup ridotto */
  .hero-mockup { max-width: 80%; margin: 0 auto; }
  .hero-mockup-body { min-height: auto; }

  /* Sezioni più strette */
  .sec { padding: 28px 0; }
  .sec-header { margin-bottom: 24px; }
  .sec-title { font-size: clamp(1.5rem, 4vw, 2rem) !important; }
  .sec-sub { font-size: .92rem; }

  /* Trusted */
  .trusted-section { padding: 20px 0 20px; }
  .trusted-logo { font-size: 1.15rem; }
  .trusted-section-label { font-size: .85rem; margin-bottom: 18px; }

  /* Pricing / cards */
  .pricing-grid { max-width: 520px; }
  .price-card { padding: 24px 20px; }

  /* CTA */
  .cta-mid { padding: 28px 24px; gap: 16px; flex-direction: row; text-align: left; }
  .cta-mid-title { font-size: 1.3rem; }
  .cta-mid-sub { font-size: .9rem; }
  .cta-section { padding: 36px 24px; }
  .cta-title { font-size: 1.45rem; }
}

@media (max-width: 480px) {
  .hero { padding: 80px 0 24px; }
  .hero-title { font-size: clamp(1.8rem, 8vw, 2.2rem) !important; }
  .hero-sub { font-size: .95rem; }
  .hero-badge { font-size: .68rem; }
  .hero-actions { flex-direction: column; width: 100%; align-items: stretch; gap: 10px; }
  .hero-actions .btn-xl { width: 100%; justify-content: center; padding: 13px 20px; }
  .hero-social-proof { flex-direction: column; gap: 8px; }
  .hero-categories { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .hero-cat-icon { width: 40px; height: 40px; border-radius: 10px; }
  .hero-cat svg { width: 20px; height: 20px; }
  .hero-cat span { font-size: .72rem; }
  .device-desktop { display: none; }
  .cta-section { padding: 36px 18px; }
  .cta-title { font-size: 1.35rem; }
  .trusted-logo { font-size: 1.3rem; }
  .trusted-marquee-track { gap: 36px; }
  /* Navbar compact */
  .navbar-logo span { font-size: 1.15rem; }
  .navbar-inner { padding: 10px 10px !important; }
  .navbar-actions { margin-right: 0 !important; }
  /* Nascondi bottone Registrati in top nav per non affollare — resta in mobile-nav */
  .navbar-actions .btn-sm { display: none !important; }
}
