/* Willy Push – Sito commerciale */
:root {
  --bg: #081227;
  --bg2: #0c1a3a;
  --panel: #0f1b34;
  --line: #1f3561;
  --text: #e8efff;
  --muted: #9fb2d9;
  --accent: #5ea0ff;
  --accent2: #31d69b;
  --ok: #31d69b;
  --warn: #f6c35b;
  --danger: #ff6b6b;
}
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: system-ui, -apple-system, Segoe UI, sans-serif; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== LAYOUT ===== */
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg2); }
.text-center { text-align: center; }

/* ===== NAVBAR ===== */
.navbar { position: sticky; top: 0; z-index: 100; background: rgba(8,18,39,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo { display: flex; align-items: center; line-height: 0; }
.nav-logo:hover { text-decoration: none; }
.nav-logo img { height: 38px; width: auto; max-width: min(220px, 58vw); object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a { padding: 7px 10px; border-radius: 8px; color: var(--muted); font-size: 0.84rem; font-weight: 500; transition: background 0.2s, color 0.2s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(94,160,255,0.1); text-decoration: none; }
.nav-cta { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff !important; border-radius: 8px; padding: 9px 16px !important; font-weight: 600; }
.nav-cta:hover { filter: brightness(1.1); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); padding: 8px 12px; border-radius: 8px; font-size: 1.3rem; cursor: pointer; transition: transform 0.2s; }
.nav-toggle.is-active { transform: rotate(90deg); }
@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; background: rgba(12,22,48,0.98); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line); padding: 20px 24px 24px; gap: 6px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.3s ease;
  }
  .nav-links.is-open {
    display: flex; max-height: 700px; opacity: 1;
    animation: navSlideIn 0.3s ease forwards;
  }
  @keyframes navSlideIn {
    from { max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; }
    to { max-height: 700px; opacity: 1; padding-top: 20px; padding-bottom: 24px; }
  }
  .nav-links li { opacity: 0; transform: translateY(-8px); animation: navItemIn 0.3s ease forwards; list-style: none; }
  .nav-links.is-open li { opacity: 1; transform: translateY(0); }
  .nav-links.is-open li:nth-child(1) { animation-delay: 0.02s; }
  .nav-links.is-open li:nth-child(2) { animation-delay: 0.05s; }
  .nav-links.is-open li:nth-child(3) { animation-delay: 0.08s; }
  .nav-links.is-open li:nth-child(4) { animation-delay: 0.11s; }
  .nav-links.is-open li:nth-child(5) { animation-delay: 0.14s; }
  .nav-links.is-open li:nth-child(6) { animation-delay: 0.17s; }
  .nav-links.is-open li:nth-child(7) { animation-delay: 0.20s; }
  .nav-links.is-open li:nth-child(8) { animation-delay: 0.23s; }
  .nav-links.is-open li:nth-child(9) { animation-delay: 0.26s; }
  @keyframes navItemIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .nav-links a {
    padding: 16px 20px; width: 100%; font-size: 1.05rem; font-weight: 500;
    border-radius: 12px; display: flex; align-items: center; gap: 10px;
    transition: background 0.2s; letter-spacing: 0.01em;
  }
  .nav-links a:hover, .nav-links a.active { background: rgba(94,160,255,0.12); }
  .nav-links li:last-child { margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
  .nav-links .nav-cta {
    padding: 16px 24px !important; text-align: center; justify-content: center;
    font-size: 1.08rem; border-radius: 14px; margin-top: 4px;
  }
}

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: 1.25rem; font-weight: 600; }
.subtitle { font-size: clamp(1rem, 2vw, 1.25rem); color: var(--muted); max-width: 640px; margin: 16px auto 0; line-height: 1.6; }

/* ===== HERO ===== */
.hero { margin-top: -24px; padding: 0 0 80px; text-align: center; background: radial-gradient(ellipse 100% 70% at 50% -10%, rgba(94,160,255,0.15), transparent), radial-gradient(ellipse 70% 50% at 80% 90%, rgba(49,214,155,0.08), transparent); }
.hero h1 .accent { color: var(--accent); }
.hero h1 .accent2 { color: var(--accent2); }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
@media (max-width: 480px) { .hero { padding: 0 0 50px; } }

/* Hero prodotto (home) */
.hero-product { padding: 48px 0 72px; text-align: left; }
.hero-product-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr); gap: 40px; align-items: center; }
.hero-product-copy h1 { text-align: left; max-width: 14ch; }
.hero-product-copy .subtitle { margin-left: 0; text-align: left; }
.hero-lead { margin-top: 14px; font-size: 1rem; color: var(--muted); max-width: 520px; line-height: 1.65; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; background: rgba(94,160,255,0.14); border: 1px solid rgba(94,160,255,0.35); color: var(--accent); }
.hero-badge--price { background: rgba(49,214,155,0.12); border-color: rgba(49,214,155,0.35); color: var(--accent2); }
.hero-product-copy .hero-cta { justify-content: flex-start; margin-top: 28px; gap: 12px; }
.hero-cta-secondary { margin-top: 18px; font-size: 0.9rem; color: var(--muted); max-width: 520px; line-height: 1.6; }
.hero-cta-secondary a { font-weight: 600; color: var(--accent); text-decoration: none; }
.hero-cta-secondary a:hover { color: var(--accent2); text-decoration: underline; }
.hero-product-visual { position: relative; display: flex; align-items: center; justify-content: center; padding: 8px 0; min-height: 340px; }
.hero-product-visual .wp-mascot-wrap,
.hero-product-visual .willy-mascot-frame { width: min(100%, 440px); max-width: 440px; min-height: 320px; }
.hero-product-visual .wp-mascot--hero img,
.hero-product-visual .willy-mascot--hero img { width: min(400px, 92vw); max-width: 400px; min-width: 280px; }
.hero-visual-scene { position: relative; width: min(100%, 440px); margin: 0 auto; padding: 12px 8px 0; }
.hero-visual-glow { position: absolute; inset: 8% 0 18%; border-radius: 28px; background: radial-gradient(ellipse 90% 80% at 50% 42%, rgba(94,160,255,0.16), transparent 68%), radial-gradient(ellipse 60% 50% at 70% 75%, rgba(49,214,155,0.1), transparent 70%); border: 1px solid rgba(94,160,255,0.12); pointer-events: none; }
.hero-visual-scene .wp-mascot--hero, .hero-visual-scene .site-mascot--hero { position: relative; z-index: 1; width: min(100%, 420px); margin: 0 auto; }
.hero-visual-scene .wp-mascot--hero img, .hero-visual-scene .site-mascot--hero img { width: min(420px, 100%); max-width: 420px; min-width: 260px; margin: 0 auto; }
.hero-notif-mock { position: relative; z-index: 2; width: min(100%, 320px); margin: -48px 0 0 auto; display: flex; gap: 12px; padding: 16px 18px; background: rgba(15,27,52,0.98); border: 1px solid rgba(94,160,255,0.28); border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,0.42), 0 0 0 1px rgba(255,255,255,0.04) inset; text-align: left; transform: translateX(6%); }
.hero-notif-mock img { width: 44px; height: 44px; border-radius: 11px; flex-shrink: 0; }
.hero-notif-mock-title { font-size: 0.92rem; font-weight: 700; margin-bottom: 4px; }
.hero-notif-mock-text { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 900px) {
  .hero-product { text-align: center; }
  .hero-product-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-product-copy h1, .hero-product-copy .subtitle, .hero-lead { margin-left: auto; margin-right: auto; text-align: center; }
  .hero-product-copy .hero-cta { justify-content: center; }
  .hero-cta-secondary { margin-left: auto; margin-right: auto; text-align: center; }
  .hero-badges { justify-content: center; }
  .hero-visual-scene { max-width: 380px; }
  .hero-notif-mock { margin-top: -36px; transform: none; margin-left: auto; margin-right: auto; }
}

/* ===== Willy Push mascot layout system ===== */
.willy-mascot-frame { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; max-width: 460px; margin: 0 auto; }
.willy-mascot-glow { position: absolute; inset: 4% 0 8%; border-radius: 28px; background: radial-gradient(ellipse 85% 75% at 50% 38%, rgba(94,160,255,0.18), transparent 70%), radial-gradient(ellipse 55% 45% at 65% 72%, rgba(49,214,155,0.1), transparent 68%); border: 1px solid rgba(94,160,255,0.14); pointer-events: none; z-index: 0; }
.willy-mascot { position: relative; z-index: 1; display: block; line-height: 0; margin: 0 auto; }
.willy-mascot img { display: block; width: 100%; height: auto; max-width: 100%; object-fit: contain; filter: none; }
.willy-mascot--hero { width: clamp(280px, 28vw, 460px); flex-shrink: 0; }
.willy-mascot--hero img { width: 100%; max-width: 460px; min-width: 280px; height: auto; }
.willy-mascot--section { width: clamp(220px, 22vw, 340px); }
.willy-mascot--section img { width: 100%; max-width: 340px; height: auto; }
.willy-mascot--card { width: clamp(140px, 14vw, 190px); margin: 0 auto; }
.willy-mascot--card img { width: 100%; max-width: 190px; min-width: 140px; height: auto; }
.willy-mascot--cta { width: min(100%, 220px); margin: 0 auto; }
.willy-mascot--cta img { width: min(220px, 100%); max-width: 220px; height: auto; }
.willy-mascot--mini { width: min(100%, 100px); margin: 0 auto; }
.willy-mascot--mini img { width: min(100px, 100%); max-width: 100px; height: auto; }

/* Willy mascot visual slots — immagini grandi, non icone */
.willy-mascot-slot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-height: 320px;
  margin: 0 auto;
  padding: 24px 28px;
  overflow: visible;
  border: none;
  background: transparent;
  text-align: center;
}

.willy-mascot-slot[data-needed-asset] {
  border-radius: 18px;
  border: 1px dashed rgba(94,160,255,0.45);
  background:
    radial-gradient(ellipse 86% 76% at 50% 34%, rgba(94,160,255,0.18), transparent 72%),
    radial-gradient(ellipse 60% 48% at 60% 76%, rgba(49,214,155,0.12), transparent 72%),
    rgba(7, 16, 35, 0.65);
}

.willy-mascot-slot[data-needed-asset]::before {
  content: attr(data-needed-asset);
  display: block;
  font-size: .76rem;
  letter-spacing: .03em;
  color: #b8cbef;
  font-weight: 600;
}

.willy-mascot-slot--hero { min-height: 380px; max-width: 480px; padding: 28px 32px; }
.willy-mascot-slot--section { min-height: 300px; max-width: 380px; padding: 24px 28px; }
.willy-mascot-slot--card { min-height: 200px; max-width: 240px; padding: 18px 16px; }
.willy-mascot-slot--plan { min-height: 0; max-width: none; padding: 0; }
.willy-mascot-slot--mini { min-height: 96px; max-width: 100px; padding: 8px; border-radius: 999px; }

.willy-mascot-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto;
}

.willy-mascot-img--hero {
  width: min(420px, 90%);
  max-height: 430px;
}

.willy-mascot-img--section {
  width: min(340px, 88%);
  max-height: 360px;
}

.willy-mascot-img--card {
  width: min(190px, 82%);
  max-height: 220px;
}

.willy-mascot-img--plan {
  width: min(300px, 92%);
  max-height: 230px;
}

.willy-mascot-img--support {
  width: min(380px, 90%);
  max-height: 400px;
}

.willy-mascot-img--mini {
  width: min(92px, 100%);
  max-height: 92px;
  min-width: 80px;
}

.wp-mascot-wrap { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; max-width: 460px; margin: 0 auto; }
.wp-mascot-wrap--right { margin-left: auto; margin-right: 0; }
.wp-mascot-wrap--left { margin-left: 0; margin-right: auto; }
.wp-mascot-glow { position: absolute; inset: 4% 0 8%; border-radius: 28px; background: radial-gradient(ellipse 85% 75% at 50% 38%, rgba(94,160,255,0.18), transparent 70%), radial-gradient(ellipse 55% 45% at 65% 72%, rgba(49,214,155,0.1), transparent 68%); border: 1px solid rgba(94,160,255,0.14); pointer-events: none; z-index: 0; }
.wp-mascot, .site-mascot { position: relative; z-index: 1; display: block; line-height: 0; margin: 0 auto; }
.wp-mascot img, .site-mascot img { display: block; width: 100%; height: auto; max-width: 100%; object-fit: contain; filter: none; }

.wp-mascot--hero, .site-mascot--hero { width: min(100%, 420px); flex-shrink: 0; }
.wp-mascot--hero img, .site-mascot--hero img { width: min(420px, 100%); max-width: 420px; min-width: 240px; height: auto; }

.wp-mascot--section, .site-mascot--xl { width: min(100%, 280px); }
.wp-mascot--section img, .site-mascot--xl img { width: min(280px, 100%); max-width: 280px; height: auto; }
.site-mascot--lg img { max-width: 220px; width: min(220px, 100%); height: auto; }

.wp-mascot--card, .site-mascot--md { width: min(100%, 170px); margin: 0 auto 14px; }
.wp-mascot--card img, .site-mascot--md img { width: min(170px, 100%); max-width: 170px; height: auto; }

.wp-mascot--mini, .site-mascot--sm, .site-mascot--xs { width: min(100%, 100px); margin: 0 auto; }
.wp-mascot--mini img, .site-mascot--sm img { width: min(100px, 100%); max-width: 100px; height: auto; }
.site-mascot--xs img { max-width: 80px; width: min(80px, 100%); }

.wp-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(260px, 440px); gap: 40px; align-items: center; }
.wp-split--reverse { grid-template-columns: minmax(260px, 440px) minmax(0, 1.05fr); }
.wp-split--reverse > .wp-mascot-wrap { order: -1; }
.wp-split-copy { min-width: 0; }

.wp-step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: 18px; margin-top: 32px; }
.wp-step-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wp-step-card { text-align: center; padding: 20px 14px 18px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.wp-step-card .step-num { margin: 0 auto 8px; }
.wp-step-card h4 { font-size: .94rem; margin: 0 0 8px; }
.wp-step-card p { color: var(--muted); font-size: .82rem; line-height: 1.55; margin: 0; }

.wp-feature-spot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 320px); gap: 32px; align-items: center; margin-top: 36px; padding: 28px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.wp-feature-spot--alt { background: var(--bg2); }
@media (max-width: 900px) {
  .wp-split, .wp-split--reverse, .wp-feature-spot { grid-template-columns: 1fr; text-align: center; }
  .wp-split--reverse > .wp-mascot-wrap { order: 0; }
  .wp-mascot-wrap--right, .wp-mascot-wrap--left { margin-left: auto; margin-right: auto; }
  .wp-mascot--hero img { min-width: 0; width: min(340px, 84vw); max-width: 340px; }
  .hero-visual-scene .wp-mascot--hero img { width: min(340px, 84vw); }
}
@media (max-width: 768px) {
  .wp-mascot--section img, .site-mascot--xl img { width: min(240px, 72vw); max-width: 240px; }
  .wp-step-grid, .wp-step-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .willy-mascot-slot { min-height: 220px; padding: 18px 20px; }
  .willy-mascot-slot--hero { min-height: 260px; }
  .willy-mascot-slot--section { min-height: 220px; }
  .willy-mascot-slot--card { min-height: 170px; }
  .willy-mascot-img--hero { width: min(260px, 86%); max-height: 280px; }
  .willy-mascot-img--section { width: min(220px, 86%); max-height: 240px; }
  .willy-mascot-img--card { width: min(150px, 80%); max-height: 170px; }
  .feature-mascot-frame, .feature-card-visual { min-height: 190px; }
}
@media (max-width: 520px) {
  .wp-step-grid, .wp-step-grid--4 { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
  .willy-mascot--hero img, .wp-mascot--hero img { min-width: 0; width: clamp(190px, 58vw, 260px); max-width: 260px; }
  .willy-mascot--card img, .wp-mascot--card img { width: clamp(120px, 34vw, 160px); max-width: 160px; min-width: 120px; }
  .willy-mascot-slot--mini { min-height: 84px; max-width: 84px; }
}

/* Step con mascotte (home) */
.steps-mascot { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.step-mascot { text-align: center; padding: 24px 18px 22px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.step-mascot .willy-mascot--card,
.step-mascot .wp-mascot--card { width: clamp(130px, 12vw, 170px); margin: 0 auto 12px; }
.step-mascot-num { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.step-mascot h3 { font-size: 1rem; margin: 12px 0 8px; }
.step-mascot p { color: var(--muted); font-size: 0.88rem; line-height: 1.55; margin: 0; }
@media (max-width: 900px) { .steps-mascot { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps-mascot { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; } }

/* Sezione WordPress home */
.wp-home-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 0.85fr); gap: 36px; align-items: center; margin-top: 36px; text-align: left; }
.wp-home-copy ul { list-style: none; margin: 16px 0 0; }
.wp-home-copy li { position: relative; padding: 6px 0 6px 24px; color: var(--muted); font-size: 0.92rem; }
.wp-home-copy li::before { content: '\2713'; position: absolute; left: 0; color: var(--accent2); font-weight: 700; }
.wp-home-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.wp-home-badge { display: inline-block; margin-bottom: 10px; padding: 5px 12px; border-radius: 999px; background: rgba(33,117,155,0.2); border: 1px solid rgba(33,117,155,0.45); color: #7ec8ea; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.wp-home-visual { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.wp-home-mascot-accent { margin-top: -12px; margin-left: min(36%, 120px); opacity: 0.95; }
@media (max-width: 768px) { .wp-home-section { grid-template-columns: 1fr; text-align: center; } .wp-home-actions { justify-content: center; } .wp-home-mascot-accent { margin-left: 0; } }

/* Card integrazioni – mascotte visibili */
.ic-mascot-wrap { position: absolute; top: 12px; right: 12px; line-height: 0; opacity: 0.95; pointer-events: none; z-index: 1; width: min(44%, 210px); }
.integration-card.popular .ic-mascot-wrap { top: 46px; right: 10px; }
@media (max-width: 640px) {
  .ic-mascot-wrap { position: relative; top: auto; right: auto; width: min(220px, 62%); margin: 0 auto 14px; }
}
.intro-callout .wp-mascot--section { flex-shrink: 0; }

/* Callout intro con mascotte */
.intro-callout { display: flex; align-items: center; gap: 20px; max-width: 760px; margin: 0 auto 28px; padding: 20px 22px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); text-align: left; }
.intro-callout p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.6; }
@media (max-width: 640px) { .intro-callout { flex-direction: column; text-align: center; } }

/* CTA con mascotte */
.cta-mascot-wrap { margin: 0 auto 16px; line-height: 0; }

/* Privacy cards */
.privacy-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 36px; text-align: left; }
.privacy-card { padding: 24px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.privacy-card h3 { font-size: 1rem; margin-bottom: 8px; }
.privacy-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; margin: 0; }

/* Footer brand */
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid rgba(31,53,97,0.6); }
.footer-brand-link { line-height: 0; }
.footer-brand-logo { height: 38px; width: auto; max-width: min(220px, 70vw); object-fit: contain; }
.footer-brand .site-mascot--sm { opacity: 0.92; }
.footer-brand-tagline { color: var(--muted); font-size: 0.88rem; text-align: center; max-width: 420px; line-height: 1.5; margin: 0; }

/* ===== COSA · QUANDO · COME (colori allineati alla hero: testo / blu / mint) ===== */
.triade-section { padding: 56px 0 72px; text-align: center; border-top: 1px solid var(--line); background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(94,160,255,0.06), transparent); }
.triade-title { font-size: clamp(1.55rem, 3.6vw, 2.35rem); font-weight: 800; line-height: 1.28; letter-spacing: -0.02em; margin: 0 auto; max-width: 920px; }
.triade-title .triade-dot { color: var(--muted); font-weight: 600; padding: 0 2px; }
.triade-cosa { color: var(--text); }
.triade-quando { color: var(--accent); }
.triade-come { color: var(--accent2); }
.triade-sub { margin-top: 20px !important; max-width: 720px; }
.triade-sub .triade-cosa, .triade-sub .triade-quando, .triade-sub .triade-come { font-weight: 600; }
.triade-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; text-align: left; max-width: 1020px; margin-left: auto; margin-right: auto; }
.triade-card { padding: 24px 22px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.triade-card-border { display: block; width: 40px; height: 3px; border-radius: 2px; margin-bottom: 10px; }
.triade-card-border--cosa { background: var(--text); opacity: 0.95; }
.triade-card-border--quando { background: var(--accent); }
.triade-card-border--come { background: var(--accent2); }
.triade-card h3 { margin: 0 0 8px; font-size: 1.12rem; font-weight: 700; }
.triade-card-lead { margin: 0 0 10px !important; font-size: 1rem; font-weight: 600; color: var(--text) !important; line-height: 1.4; }
.triade-card p:not(.triade-card-lead) { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.55; }
.triade-card p:not(.triade-card-lead) + p:not(.triade-card-lead) { margin-top: 12px; }
.triade-footer { margin: 36px auto 0; max-width: 720px; font-size: 0.98rem; line-height: 1.55; color: var(--muted); text-align: center; }
.triade-footer strong { color: var(--text); font-weight: 600; }
@media (max-width: 900px) { .triade-cards { grid-template-columns: 1fr; max-width: 420px; } }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 28px; border-radius: 10px; font-weight: 600; font-size: 1rem; border: none; cursor: pointer; transition: filter 0.2s, transform 0.1s; text-decoration: none; min-height: 48px; }
.btn:hover { filter: brightness(1.08); text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; }
.btn-outline { background: transparent; border: 2px solid var(--line); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }
.btn-whatsapp { background: #25D366; color: #fff; }

/* ===== STEPS ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.step { text-align: center; padding: 32px 24px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.step-num { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; font-size: 1.5rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 768px) { .steps { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; } }

/* ===== FEATURES GRID ===== */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 48px; }
.feature { padding: 28px 24px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.feature-icon { font-size: 2rem; margin-bottom: 12px; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.9rem; }

/* Feature cards con mascotte grandi (home "Cosa puoi fare") */
.feature-cards-mascot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; text-align: center; }
.feature-card-mascot { border-radius: 18px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.feature-mascot-frame,
.feature-card-visual {
  position: relative;
  min-height: 220px;
  padding: 24px 20px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  background: radial-gradient(ellipse 85% 75% at 50% 38%, rgba(94,160,255,0.1), transparent 72%), radial-gradient(ellipse 55% 50% at 50% 85%, rgba(49,214,155,0.06), transparent 70%);
}
.feature-mascot-frame .willy-mascot-glow { inset: 8% 10% 12%; }
.feature-mascot-frame .willy-mascot-slot--card,
.feature-card-visual .willy-mascot-slot--card { min-height: 190px; width: 100%; max-width: none; }
.feature-mascot-frame .willy-mascot-img--card,
.feature-card-visual .willy-mascot-img--card { width: min(200px, 84%); max-height: 210px; }
.feature-card-mascot__body { padding: 8px 22px 26px; flex: 1; }
.feature-card-mascot h3 { margin: 0 0 10px; font-size: 1.05rem; }
.feature-card-mascot p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; margin: 0; }
@media (max-width: 960px) { .feature-cards-mascot { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .feature-cards-mascot { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; } .feature-mascot-frame { min-height: 190px; } }

/* ===== PRICING CARDS ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 48px; }
.price-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 36px 28px; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 20px 40px rgba(94,160,255,0.1); position: relative; }
.price-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; padding: 4px 18px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; white-space: nowrap; }
.price-name { font-size: 1.3rem; font-weight: 700; margin-bottom: 4px; }
.price-desc { color: var(--muted); font-size: 0.9rem; margin-bottom: 20px; }
.price-amount { font-size: 2.8rem; font-weight: 800; letter-spacing: -0.03em; }
.price-amount span { font-size: 1rem; font-weight: 400; color: var(--muted); }
.price-annual { font-size: 0.95rem; color: var(--accent2); margin-top: 4px; }
.price-features { list-style: none; margin: 28px 0; flex: 1; }
.price-features li { padding: 8px 0; border-bottom: 1px solid rgba(31,53,97,0.5); color: var(--muted); font-size: 0.9rem; display: flex; align-items: center; gap: 10px; }
.price-features li::before { content: '\2713'; color: var(--accent2); font-weight: 700; flex-shrink: 0; }
.price-features li.no::before { content: '\2717'; color: var(--danger); }
.price-card .btn { width: 100%; margin-top: auto; }
.plan-mascot-frame {
  position: relative;
  height: 240px;
  min-height: 240px;
  max-height: 240px;
  margin: -20px -12px 16px;
  padding: 8px 12px 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: radial-gradient(ellipse 80% 70% at 50% 40%, rgba(94,160,255,0.08), transparent 72%);
  border-radius: 12px 12px 0 0;
  flex-shrink: 0;
}
.plan-mascot-frame .willy-mascot-slot,
.plan-mascot-frame .willy-mascot-slot--card,
.plan-mascot-frame .willy-mascot-slot--section,
.plan-mascot-frame .willy-mascot-slot--plan {
  width: 100%;
  max-width: none;
  min-height: 0;
  height: 100%;
  padding: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.plan-mascot-frame .willy-mascot-img--plan,
.plan-mascot-frame .willy-mascot-img--card,
.plan-mascot-frame .willy-mascot-img--section {
  width: min(100%, 300px);
  max-height: 228px;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
}
.pricing-grid .price-desc { min-height: 2.75em; }
.price-card.featured .price-badge { top: 10px; z-index: 2; }
@media (max-width: 768px) {
  .plan-mascot-frame {
    height: 200px;
    min-height: 200px;
    max-height: 200px;
  }
  .plan-mascot-frame .willy-mascot-img--plan,
  .plan-mascot-frame .willy-mascot-img--card,
  .plan-mascot-frame .willy-mascot-img--section {
    width: min(100%, 260px);
    max-height: 188px;
  }
}

/* ===== COMPARE TABLE ===== */
.compare-wrap { overflow-x: auto; margin-top: 48px; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.compare-table th, .compare-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.compare-table thead th { background: var(--panel); font-weight: 700; color: var(--text); }
.compare-table td { color: var(--muted); }
.compare-table .check { color: var(--accent2); font-weight: 700; }
.compare-table .cross { color: rgba(255,255,255,0.2); }

/* ===== PROBLEM / SOLUTION ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 768px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.split-box { padding: 36px; border-radius: 16px; }
.split-problem { background: rgba(255,107,107,0.08); border: 1px solid rgba(255,107,107,0.2); }
.split-solution { background: rgba(49,214,155,0.08); border: 1px solid rgba(49,214,155,0.2); }
.split-box h3 { margin-bottom: 16px; }
.split-box ul { list-style: none; }
.split-box li { padding: 8px 0; color: var(--muted); font-size: 0.95rem; padding-left: 24px; position: relative; }
.split-box li::before { position: absolute; left: 0; }
.split-problem li::before { content: '\2717'; color: var(--danger); }
.split-solution li::before { content: '\2713'; color: var(--accent2); }

/* ===== VERSUS ===== */
.versus { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; margin-top: 48px; align-items: start; }
.versus-col { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.versus-vs { display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.3rem; color: var(--accent); padding-top: 40px; }
@media (max-width: 640px) { .versus { grid-template-columns: 1fr; } .versus-vs { padding: 0; } }

/* ===== FAQ ===== */
.faq-list { max-width: 720px; margin: 48px auto 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; cursor: pointer; font-weight: 600; font-size: 1.05rem; color: var(--text); background: none; border: none; width: 100%; text-align: left; }
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--accent); flex-shrink: 0; margin-left: 16px; transition: transform 0.2s; }
.faq-q.open::after { content: '\2212'; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-a.open { max-height: 300px; padding-bottom: 20px; }
.faq-a p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; }

/* ===== CODE SNIPPET ===== */
.code-block { background: #0a1020; border: 1px solid var(--line); border-radius: 12px; padding: 24px; font-family: 'Fira Code', 'Consolas', monospace; font-size: 0.85rem; overflow-x: auto; color: var(--accent); position: relative; margin-top: 16px; }
.code-copy { position: absolute; top: 12px; right: 12px; background: var(--line); border: none; color: var(--text); padding: 6px 12px; border-radius: 6px; cursor: pointer; font-size: 0.8rem; }
.code-copy:hover { background: var(--accent); }

/* ===== TRUST ===== */
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; margin-top: 48px; }
.trust-item { text-align: center; }
.trust-num { font-size: 2rem; font-weight: 800; color: var(--accent); }
.trust-label { font-size: 0.85rem; color: var(--muted); }

/* ===== CTA BANNER ===== */
.cta-banner { background: linear-gradient(135deg, rgba(94,160,255,0.15), rgba(49,214,155,0.1)); border: 1px solid rgba(94,160,255,0.3); border-radius: 20px; padding: 48px 40px 60px; text-align: center; margin-top: 48px; }
.cta-final { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-banner h2 { margin-bottom: 16px; }
.cta-banner .subtitle { margin-bottom: 32px; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 48px; }
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form label { display: block; color: var(--muted); font-size: 0.85rem; margin-bottom: 6px; margin-top: 16px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 14px 16px; background: #0a1020; border: 1px solid var(--line); border-radius: 10px; color: var(--text); font-size: 1rem; font-family: inherit; }
.contact-form textarea { height: 140px; resize: vertical; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.contact-card h3 { margin-bottom: 8px; }
.contact-card p { color: var(--muted); font-size: 0.9rem; }

/* ===== DEMO BLOCK ===== */
.demo-block { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 48px 40px; }
.demo-header { text-align: center; margin-bottom: 40px; }
.demo-badge { display: inline-block; background: var(--accent); color: #fff; padding: 6px 18px; border-radius: 999px; font-size: 0.85rem; font-weight: 700; margin-bottom: 16px; }
.demo-body { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 768px) { .demo-body { grid-template-columns: 1fr; } .demo-block { padding: 32px 20px; } }
.demo-form label { display: block; color: var(--muted); font-size: 0.85rem; margin-bottom: 6px; margin-top: 16px; }
.demo-form label:first-child { margin-top: 0; }
.demo-form input { width: 100%; padding: 16px 18px; background: #0a1020; border: 1px solid var(--line); border-radius: 12px; color: var(--text); font-size: 1.05rem; font-family: inherit; transition: border-color 0.2s; }
.demo-form input:focus { outline: none; border-color: var(--accent); }
.demo-send { font-size: 1.15rem !important; padding: 18px 24px !important; }
.demo-status { margin-top: 16px; padding: 12px 16px; border-radius: 10px; font-size: 0.95rem; text-align: center; min-height: 20px; }
.demo-status:empty { display: none; }
.demo-status-ok { background: rgba(49,214,155,0.12); color: var(--accent2); border: 1px solid rgba(49,214,155,0.3); }
.demo-status-err { background: rgba(255,107,107,0.1); color: var(--danger); border: 1px solid rgba(255,107,107,0.2); }

.demo-preview { display: flex; flex-direction: column; align-items: center; }
.demo-preview-label { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.demo-notif { display: flex; gap: 14px; padding: 20px; background: #1a2540; border: 1px solid var(--line); border-radius: 14px; width: 100%; max-width: 380px; box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.demo-notif-icon { flex-shrink: 0; }
.demo-notif-icon img { width: 44px; height: 44px; border-radius: 10px; }
.demo-notif-content { min-width: 0; }
.demo-notif-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; word-break: break-word; }
.demo-notif-text { font-size: 0.85rem; color: var(--muted); line-height: 1.4; word-break: break-word; }
.demo-notif-origin { font-size: 0.75rem; color: var(--accent); margin-top: 8px; }

/* ===== INSTALL BLOCK ===== */
.install-block .code-block { font-size: 0.95rem; padding: 28px; max-width: 700px; margin: 0 auto; }
.install-steps-row { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.install-mini-step { text-align: center; }
.install-mini-step p { color: var(--muted); font-size: 0.9rem; margin-top: 8px; font-weight: 600; }
.install-arrow { font-size: 1.5rem; color: var(--accent); font-weight: 700; }
@media (max-width: 480px) { .install-arrow { display: none; } .install-steps-row { flex-direction: column; gap: 12px; } }

/* ===== USE CASES ===== */
.usecases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 48px; }
.usecase { padding: 28px 24px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); text-align: left; }
.usecase-icon { font-size: 2rem; margin-bottom: 12px; }
.usecase h3 { margin-bottom: 8px; }
.usecase p { color: var(--muted); font-size: 0.9rem; margin-bottom: 12px; }
.usecase-example { background: rgba(94,160,255,0.08); border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0; padding: 10px 14px; font-size: 0.85rem; color: var(--accent); font-style: italic; }

/* ===== PERSONAL PUSH SECTION (sfondo bianco, stacca dalla home) ===== */
.section-light {
  background: #f8fafc !important;
  color: #1e293b;
}
.section-light .btn { color: #fff; }
.section-light .btn-outline {
  border-color: #94a3b8;
  color: #475569;
  background: #fff;
}
.section-light .btn-outline:hover {
  border-color: #3b82f6;
  color: #3b82f6;
}
.section-light .subtitle,
.section-light .personal-push-subtitle { color: #64748b; }
.personal-push-intro { margin-bottom: 48px; }
.personal-push-badge {
  display: inline-block;
  background: rgba(49, 214, 155, 0.2);
  color: #059669;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.personal-push-title { color: #0f172a !important; }
.personal-push-subtitle { color: #64748b !important; max-width: 640px; margin: 0 auto; }
.personal-push-cta {
  margin-top: 24px;
  font-size: 0.95rem;
  color: #475569;
}
.personal-demo-rotazione { margin-top: 20px !important; }
.personal-demo-status {
  margin-top: 12px;
  font-size: 0.9rem;
  min-height: 24px;
  color: #059669;
}
.personal-push-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .personal-push-grid { grid-template-columns: 1fr; }
}
.personal-card {
  border-radius: 18px;
  padding: 32px;
  position: relative;
}
.personal-card-competitor {
  background: #fff;
  border: 1px solid #e2e8f0;
  opacity: 0.85;
}
.personal-card-willy {
  background: #fff;
  border: 2px solid #3b82f6;
  box-shadow: 0 4px 24px rgba(59, 130, 246, 0.12);
}
.personal-card-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: #3b82f6;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 14px;
  border-radius: 20px;
}
.personal-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.personal-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.personal-card-icon-bad { background: rgba(239, 68, 68, 0.15); }
.personal-card-icon-ok { background: rgba(59, 130, 246, 0.15); }
.personal-card-title { font-weight: 700; font-size: 1rem; color: #0f172a; }
.personal-card-desc { font-size: 0.78rem; color: #64748b; }
.personal-card-desc-ok { color: #3b82f6; }
.personal-notif {
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}
.personal-notif-competitor {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}
.personal-notif-willy {
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.2);
}
.personal-notif-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0f172a;
}
.personal-notif-ico { font-size: 0.75rem; }
.personal-notif-logo { width: 28px; height: 28px; border-radius: 6px; }
.personal-notif-body {
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.6;
}
.personal-card .btn { width: 100%; margin-top: 16px; }
.personal-card-footer {
  margin-top: 16px;
  font-size: 0.8rem;
  font-weight: 600;
}
.personal-card-footer-bad { color: #dc2626; }
.personal-card-footer-ok { color: #059669; }
/* Tech box light theme */
.personal-tech-box {
  max-width: 800px;
  margin: 56px auto 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 40px;
}
.personal-tech-box h3 { text-align: center; margin-bottom: 8px; color: #0f172a; }
.personal-tech-box > p { text-align: center; color: #64748b; font-size: 0.92rem; margin-bottom: 32px; }
.personal-tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 640px) {
  .personal-tech-grid { grid-template-columns: 1fr; }
  #personal-push [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
}
.personal-tech-card {
  border-radius: 14px;
  padding: 24px;
}
.personal-tech-bad {
  background: #fff;
  border: 1px solid #e2e8f0;
}
.personal-tech-bad h4 { color: #0f172a; }
.personal-tech-bad p { color: #64748b; font-size: 0.85rem; line-height: 1.7; }
.personal-tech-bad strong { color: #dc2626; }
.personal-tech-ok {
  background: #fff;
  border: 1px solid rgba(59, 130, 246, 0.3);
}
.personal-tech-ok h4 { color: #0f172a; }
.personal-tech-ok p { color: #64748b; font-size: 0.85rem; line-height: 1.7; }
.personal-tech-ok strong { color: #059669; }
.personal-tech-icon { font-size: 1.4rem; margin-bottom: 8px; }
.personal-tech-flow {
  margin-top: 28px;
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  font-family: 'Cascadia Code', 'Fira Code', monospace;
  font-size: 0.82rem;
  line-height: 1.8;
  color: #64748b;
}
.personal-tech-flow .flow-bad { color: #dc2626; }
.personal-tech-flow .flow-ok { color: #059669; }
.personal-tech-flow code {
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
}
.personal-tech-badges {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.personal-tech-badges span {
  background: rgba(49, 214, 155, 0.2);
  color: #059669;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
}

/* ===== CASE STUDY MINI ===== */
.case-study-mini { margin-top: 48px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 36px; max-width: 720px; margin-left: auto; margin-right: auto; }
.case-study-header { margin-bottom: 24px; }
.case-study-header h3 { font-size: 1.1rem; }
.case-study-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.case-stat { text-align: center; }
.case-stat-num { font-size: 1.6rem; font-weight: 800; color: var(--accent2); }
.case-stat-label { font-size: 0.8rem; color: var(--muted); margin-top: 4px; }
@media (max-width: 640px) { .case-study-stats { grid-template-columns: repeat(2, 1fr); } }

/* ===== TESTIMONIALS ===== */
.testimonials-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 36px; }
.testimonial { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 24px; text-align: left; }
.testimonial-text { color: var(--muted); font-size: 0.95rem; line-height: 1.6; font-style: italic; margin-bottom: 16px; }
.testimonial-text::before { content: '\201C'; font-size: 2rem; color: var(--accent); line-height: 0; vertical-align: -0.3em; margin-right: 4px; }
.testimonial-author { font-size: 0.85rem; }
.testimonial-author strong { display: block; color: var(--text); }
.testimonial-author span { color: var(--muted); }

/* ===== CLIENTS BAR ===== */
.clients-bar { margin-top: 40px; }
.clients-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.client-logo { display: inline-flex; align-items: center; padding: 8px 20px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.02em; opacity: 0.7; }

/* ===== PLAN PERSONA ===== */
.plan-persona { margin-top: 16px; padding: 16px; background: rgba(94,160,255,0.06); border-radius: 10px; border: 1px solid rgba(94,160,255,0.12); }
.plan-persona h4 { font-size: 0.85rem; color: var(--accent); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.06em; }
.plan-persona p { color: var(--muted); font-size: 0.85rem; margin: 0; line-height: 1.5; }

/* ===== VERTICAL CARDS (per-chi-e) ===== */
.verticals-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin-top: 48px; }
.vertical-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 36px 28px; }
.vertical-card .vertical-icon { font-size: 2.5rem; margin-bottom: 16px; }
.vertical-card h3 { margin-bottom: 12px; font-size: 1.2rem; }
.vertical-card p { color: var(--muted); font-size: 0.9rem; margin-bottom: 16px; }
.vertical-benefits { list-style: none; margin-bottom: 20px; }
.vertical-benefits li { padding: 6px 0; color: var(--muted); font-size: 0.9rem; padding-left: 24px; position: relative; }
.vertical-benefits li::before { content: '\2713'; color: var(--accent2); position: absolute; left: 0; font-weight: 700; }
.vertical-example { background: rgba(49,214,155,0.06); border: 1px solid rgba(49,214,155,0.15); border-radius: 10px; padding: 14px; margin-top: 12px; }
.vertical-example .ve-label { font-size: 0.75rem; color: var(--accent2); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.vertical-example .ve-msg { font-size: 0.9rem; font-weight: 600; }
.vertical-example .ve-stats { display: flex; gap: 16px; margin-top: 8px; font-size: 0.8rem; color: var(--muted); }

/* ===== BEFORE/AFTER ===== */
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; max-width: 700px; margin-left: auto; margin-right: auto; }
.ba-box { padding: 24px; border-radius: 12px; text-align: left; }
.ba-before { background: rgba(255,107,107,0.06); border: 1px solid rgba(255,107,107,0.15); }
.ba-after { background: rgba(49,214,155,0.06); border: 1px solid rgba(49,214,155,0.15); }
.ba-box h4 { margin-bottom: 12px; font-size: 0.9rem; }
.ba-box ul { list-style: none; }
.ba-box li { padding: 5px 0; font-size: 0.88rem; color: var(--muted); padding-left: 22px; position: relative; }
.ba-before li::before { content: '\2717'; color: var(--danger); position: absolute; left: 0; }
.ba-after li::before { content: '\2713'; color: var(--accent2); position: absolute; left: 0; }
@media (max-width: 640px) { .before-after { grid-template-columns: 1fr; } }

/* ===== COMPAT BADGES ===== */
.compat-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.compat-badge { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; font-size: 0.85rem; color: var(--muted); font-weight: 500; }

/* ===== HUB INTRO ===== */
.hub-intros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; margin-bottom: 14px; }
.hub-intro-card { border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(160deg, #12254b, #0e1d38); padding: 20px; text-align: center; transition: border-color 0.2s; }
.hub-intro-card:hover { border-color: var(--accent); }
.hub-intro-card .hic-icon { font-size: 1.8rem; margin-bottom: 8px; }
.hub-intro-card h3 { font-size: 1rem; margin-bottom: 6px; }
.hub-intro-card p { font-size: 0.82rem; color: var(--muted); margin-bottom: 10px; }
@media (max-width: 720px) { .hub-intros { grid-template-columns: 1fr; } }

/* ===== FOOTER ===== */
.footer { padding: 48px 0 32px; border-top: 1px solid var(--line); margin-top: 80px; }
.footer-inner { display: flex; flex-direction: column; gap: 20px; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-nav a { color: var(--muted); font-size: 0.85rem; }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer-legal a { color: var(--muted); font-size: 0.78rem; opacity: 0.8; }
.footer-legal a:hover { opacity: 1; }
.footer-credit { text-align: center; margin-top: 8px; }
.footer-credit p { color: var(--muted); font-size: 0.78rem; line-height: 1.6; opacity: 0.7; }
.footer-credit strong { color: var(--text); opacity: 0.85; font-weight: 600; }
.footer-copy { color: var(--muted); font-size: 0.78rem; text-align: center; opacity: 0.6; margin-top: 4px; }
@media (max-width: 640px) { .footer-nav, .footer-legal { flex-direction: column; align-items: center; gap: 10px; } }

/* ===== COOKIE CONSENT BANNER ===== */
#wp-cookie-overlay { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999; padding: 16px; animation: wpccSlideUp 0.35s ease-out; }
#wp-cookie-overlay.wpcc-hide { animation: wpccSlideDown 0.35s ease-in forwards; }
@keyframes wpccSlideUp { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes wpccSlideDown { from { transform: translateY(0); opacity: 1; } to { transform: translateY(100%); opacity: 0; } }

#wp-cookie-banner { max-width: 820px; margin: 0 auto; background: #0f1b34; border: 1px solid #1f3561; border-radius: 16px; padding: 24px 28px; box-shadow: 0 -4px 32px rgba(0,0,0,0.4); }

.wpcc-main { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.wpcc-icon { font-size: 2rem; flex-shrink: 0; line-height: 1; }
.wpcc-text { flex: 1; min-width: 240px; }
.wpcc-text strong { font-size: 1rem; display: block; margin-bottom: 6px; color: #e8efff; }
.wpcc-text p { font-size: 0.82rem; color: #9fb2d9; line-height: 1.6; margin: 0; }
.wpcc-link { color: #5ea0ff; font-size: 0.82rem; }

.wpcc-buttons { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 4px; }
.wpcc-btn { border: none; border-radius: 8px; padding: 10px 20px; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: opacity 0.2s, transform 0.1s; }
.wpcc-btn:hover { opacity: 0.88; }
.wpcc-btn:active { transform: scale(0.97); }
.wpcc-accept { background: #31d69b; color: #081227; }
.wpcc-reject { background: transparent; border: 1px solid #1f3561; color: #9fb2d9; }
.wpcc-reject:hover { border-color: #5ea0ff; color: #e8efff; }
.wpcc-settings { background: transparent; color: #5ea0ff; padding: 10px 12px; text-decoration: underline; font-size: 0.82rem; }

.wpcc-details { margin-top: 20px; border-top: 1px solid #1f3561; padding-top: 16px; }
.wpcc-detail-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(31,53,97,0.5); }
.wpcc-detail-row:last-of-type { border-bottom: none; }
.wpcc-detail-info { flex: 1; }
.wpcc-detail-info strong { font-size: 0.88rem; color: #e8efff; display: block; margin-bottom: 2px; }
.wpcc-detail-info p { font-size: 0.78rem; color: #9fb2d9; margin: 0; line-height: 1.5; }

.wpcc-toggle-wrap { flex-shrink: 0; }
.wpcc-toggle { position: relative; display: inline-block; width: 44px; height: 24px; cursor: pointer; }
.wpcc-toggle.disabled { opacity: 0.5; cursor: not-allowed; }
.wpcc-toggle input { opacity: 0; width: 0; height: 0; }
.wpcc-slider { position: absolute; inset: 0; background: #1f3561; border-radius: 24px; transition: background 0.25s; }
.wpcc-slider::before { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; bottom: 3px; background: #9fb2d9; border-radius: 50%; transition: transform 0.25s, background 0.25s; }
.wpcc-toggle input:checked + .wpcc-slider { background: #31d69b; }
.wpcc-toggle input:checked + .wpcc-slider::before { transform: translateX(20px); background: #fff; }

.wp-manage-cookies { cursor: pointer; }

@media (max-width: 640px) {
  .wpcc-main { flex-direction: column; }
  .wpcc-icon { display: none; }
  .wpcc-buttons { width: 100%; }
  .wpcc-btn { flex: 1; text-align: center; min-width: 0; }
  .wpcc-detail-row { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ===== MOBILE KITS SECTION (responsive) ===== */
@media (max-width: 640px) {
  #mobile-kits .integrations-grid { grid-template-columns: 1fr; }
  #mobile-kits [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
}

/* ===== DEMO TOAST (notifica in-page per mobile) ===== */
#wp-demo-toast-root { position: fixed; top: 80px; left: 50%; transform: translateX(-50%); z-index: 9998; pointer-events: none; max-width: 94vw; width: 360px; }
.wp-demo-toast {
  background: #1a2540;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(94,160,255,0.2);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  animation: wpToastIn 0.35s ease-out;
}
@keyframes wpToastIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
.wp-demo-toast-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; background: var(--accent); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.wp-demo-toast-icon img { width: 100%; height: 100%; object-fit: cover; }
.wp-demo-toast-content { flex: 1; min-width: 0; }
.wp-demo-toast-title { font-weight: 700; font-size: 0.95rem; color: var(--text); margin-bottom: 4px; word-break: break-word; }
.wp-demo-toast-body { font-size: 0.85rem; color: var(--muted); line-height: 1.4; word-break: break-word; }
.wp-demo-toast-origin { font-size: 0.72rem; color: var(--accent); margin-top: 6px; }
@media (max-width: 480px) {
  #wp-demo-toast-root { top: 72px; width: calc(100vw - 24px); max-width: 360px; }
}
