:root {
  --bg: #0a0a0a;
  --bg-alt: #0d0d12;
  --card: #121218;
  --text: #ffffff;
  --muted: #b4b4c7;
  --purple: #7c3aed;
  --purple-2: #a855f7;
  --purple-dark: #6d28d9;
  --purple-light: #c084fc;
  --glow: 0 0 24px rgba(168,85,247,.25), 0 0 48px rgba(124,58,237,.18);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 64px;
}

.noise-overlay {
  position: fixed; inset: 0; pointer-events: none; opacity: .05; mix-blend-mode: soft-light;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="160" height="160" viewBox="0 0 160 160"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="2" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23n)" opacity="0.7"/></svg>');
  z-index: 1;
}

.container { width: 100%; max-width: 1200px; padding: 0 20px; margin: 0 auto; }

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; backdrop-filter: blur(8px);
  background: linear-gradient(to bottom, rgba(10,10,10,.85), rgba(10,10,10,.4), rgba(10,10,10,0));
  border-bottom: none;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-dot { width: 8px; height: 8px; border-radius: 50%; background: radial-gradient(circle, var(--purple-light), var(--purple-dark)); display: inline-block; }
.brand .logo-gradient {
  font-family: 'Space Grotesk', Inter, sans-serif; font-weight: 700; font-size: 20px; letter-spacing: .6px;
  background: linear-gradient(90deg, #fff, #c7b7ff 30%, #a855f7 60%, #7c3aed 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav a { color: var(--text); text-decoration: none; margin-left: 18px; opacity: .8; transition: color .2s ease, opacity .2s ease; font-size: 14px; }
.nav a:hover { opacity: 1; color: #e5defb; }
.nav a.active { color: #d8c8ff; opacity: 1; }
.actions { display: flex; align-items: center; gap: 10px; }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 12px; border: 1px solid rgba(168,85,247,.22); color: var(--text); text-decoration: none; font-size: 13px; opacity: .9; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; background: rgba(255,255,255,.02); }
.btn .icon svg, .btn .icon i { display: block; width: 16px; height: 16px; }
.btn .icon { display: inline-flex; }
.btn:hover { opacity: 1; border-color: rgba(168,85,247,.4); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.03); }
.section-subtitle { text-align: center; color: var(--muted); margin: -6px 0 18px; }

.hero { position: relative; padding: 140px 0 80px; }
.hero-title { font-family: 'Space Grotesk', Inter, sans-serif; font-weight: 700; font-size: 80px; letter-spacing: -0.5px; margin: 0 0 18px; text-align: center; }
.hero-subtitle { max-width: 960px; margin: 0 auto 36px; text-align: center; color: var(--muted); font-size: 18px; }
.hero .cta { display: flex; margin: 16px auto 0; width: max-content; }
.hero .stats-grid { margin-top: 56px; gap: 32px; }
.post-stats { max-width: 840px; margin: 72px auto 0; text-align: center; }
.section-intro { max-width: 840px; margin: 0 auto 36px; text-align: center; }
.post-stats-title { margin: 0 0 8px; font-size: 26px; font-weight: 700; }
.post-stats-subtitle { margin: 0; color: var(--muted); }

.cta {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; border: 1px solid rgba(168,85,247,.28);
  color: var(--text); text-decoration: none; margin: 0 auto; position: relative; isolation: isolate; overflow: hidden;
  background: rgba(255,255,255,.02);
  transition: transform .3s ease, border-color .3s ease, box-shadow .35s ease, background .3s ease;
  box-shadow: 0 0 0 rgba(0,0,0,0);
}
.cta:hover { transform: translateY(-2px); border-color: rgba(168,85,247,.5); background: rgba(124,58,237,.08); }
.cta:active { transform: translateY(0); }
.cta-icon { display: inline-flex; }

/* Soft glow follow mouse for CTA */
.cta::before {
  content: ""; position: absolute; inset: -24px; background: radial-gradient(300px 200px at var(--mx, 50%) var(--my, 50%), rgba(168,85,247,.18), transparent 60%);
  z-index: -1; filter: blur(20px); transition: opacity .3s ease;
}
.cta:hover::before { opacity: 1; }

.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 28px; }
.card {
  background: linear-gradient(145deg, rgba(18,18,24,.9), rgba(13,13,18,.9));
  border: 1px solid rgba(124,58,237,.12);
  border-radius: 16px; padding: 20px; position: relative; overflow: hidden;
  transition: transform .3s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.card:hover { 
  transform: translateY(-2px);
  background: linear-gradient(145deg, rgba(20,15,40,.9), rgba(15,10,35,.9));
  border-color: rgba(168,85,247,.25);
  box-shadow: var(--glow);
}

/* subtle light sweep on card hover */
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.06), transparent);
  transform: translateX(-100%);
  transition: transform .6s ease;
}
.card:hover::after { transform: translateX(100%); }

.stat-value { font-size: 26px; font-weight: 700; letter-spacing: .3px; }
.stat-label { color: var(--muted); font-size: 14px; margin-top: 6px; }

.section { padding: 120px 0; }
.section.alt { background: transparent; }
.section-title { text-align: center; margin: 0 0 24px; font-size: 28px; font-weight: 700; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.feature h3, .benefit h3 { margin: 0 0 8px; font-size: 18px; }
.feature p, .benefit p { margin: 0; color: var(--muted); }

.pricing-grid { gap: 32px; }
.pricing-grid .pricing { display: flex; flex-direction: column; gap: 20px; }
.card.pricing { padding: 28px; }
.pricing-header { margin-bottom: 12px; }
.pricing-grid .featured { }
.pricing-header h3 { margin: 0 0 6px; font-size: 18px; }
.plan-icon { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-right: 8px; color: #e7d5ff; }
.plan-icon i { width: 18px; height: 18px; line-height: 18px; }
.price { margin: 0; color: #e7d5ff; font-weight: 600; }
.price .muted { color: var(--muted); font-weight: 400; }
.pricing-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; color: var(--muted); font-size: 14px; }
.btn-buy { align-self: flex-start; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(168,85,247,.4); background: rgba(168,85,247,.15); color: var(--text); cursor: pointer; transition: .25s; }
.btn-buy:hover { transform: translateY(-2px); box-shadow: var(--glow); }

.tools-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.chip { padding: 10px 12px; border-radius: 999px; border: 1px solid rgba(124,58,237,.22); background: rgba(124,58,237,.09); text-align: center; font-weight: 600; letter-spacing: .2px; font-size: 13px; transition: transform .25s ease, box-shadow .3s ease, border-color .25s ease; }
.chip:hover { transform: translateY(-1px); border-color: rgba(168,85,247,.35); box-shadow: var(--glow); }

.site-footer { padding: 36px 0; border-top: none; background: rgba(10,10,15,.6); text-align: center; color: var(--muted); font-size: 14px; }

.hero-orb { position: absolute; width: 560px; height: 560px; border-radius: 50%; filter: blur(80px); opacity: .35; background: radial-gradient(circle at 30% 30%, rgba(168,85,247,.9), rgba(124,58,237,.7), rgba(124,58,237,0)); left: 50%; transform: translateX(-50%); top: -120px; z-index: -1; }

/* Minimal modern page gradient overlay */
.page-gradient {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 420px at 12% 8%, rgba(124,58,237,.10), rgba(124,58,237,0) 60%),
    radial-gradient(780px 360px at 88% 28%, rgba(168,85,247,.12), rgba(168,85,247,0) 65%),
    radial-gradient(640px 280px at 50% 90%, rgba(124,58,237,.08), rgba(124,58,237,0) 70%),
    linear-gradient(180deg, #0a0a0a 0%, #0b0b10 55%, #0d0d12 100%);
}

[data-animate] { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
[data-animate].visible { opacity: 1; transform: translateY(0); }

@media (max-width: 960px) {
  .hero-title { font-size: 56px; }
  .stats-grid, .grid-3 { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Soft section transitions and fade overlays */
.section { position: relative; }
.section::before,
.section::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 80px;
  pointer-events: none;
}
.section::before {
  content: none;
  background: none;
  height: 0;
}
.section::after {
  content: none;
  background: none;
  height: 0;
}

/* Gentler alt section tone */
.section.alt {
  background: transparent;
  border-top: none;
  border-bottom: none;
}

/* Spotlight leggero dietro la griglia pricing */
.pricing-grid { position: relative; }
.pricing-grid::before {
  content: none;
  background: none;
}

/* Fade the hero into the next section */
.hero::after {
  content: none;
  background: none;
  height: 0;
}


