:root {
  --bg: #0d0d1f;
  --surface: #1c1c3a;
  --surface2: #252550;
  --border: rgba(255,255,255,0.08);
  --text: #e8e6f0;
  --text-muted: rgba(232,230,240,0.55);
  --text-faint: rgba(232,230,240,0.3);
  --accent: #7c6fff;
  --accent-soft: rgba(124,111,255,0.15);
  --gold: #f5c030;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.5;
}

.bg-glow {
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 1200px;
  background: radial-gradient(circle, rgba(124,111,255,0.16) 0%, rgba(124,111,255,0) 60%);
  pointer-events: none;
  z-index: 0;
}

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,31,0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--text-faint);
  text-transform: uppercase;
}
.logo span {
  color: var(--text);
  font-weight: 800;
  letter-spacing: 1px;
}
.logo.small { font-size: 11px; }
.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 100px;
  padding: 6px 12px;
  font-size: 11px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 1px;
}
.lang-toggle:hover { border-color: var(--accent); color: var(--accent); }

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 100px;
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, var(--accent), #6c63ff); color: #080814; box-shadow: 0 4px 20px rgba(124,111,255,0.35); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 26px rgba(124,111,255,0.5); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 14px 28px; font-size: 14px; }

main { position: relative; z-index: 1; }

section { padding: 100px 24px; max-width: 1100px; margin: 0 auto; }

/* ---------- reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- hero ---------- */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding-top: 60px;
}
.hero-orb {
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,111,255,0.25), rgba(245,192,48,0.08) 55%, transparent 75%);
  filter: blur(40px);
  animation: pulse-orb 8s ease-in-out infinite;
  z-index: -1;
}
@keyframes pulse-orb {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
}
.hero-content { max-width: 760px; }
.eyebrow {
  font-family: monospace;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.65;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }

.hero-tuner { display: flex; align-items: center; justify-content: center; gap: 14px; }
.tuner-bars { display: flex; align-items: flex-end; gap: 4px; height: 28px; }
.tuner-bars span {
  width: 3px;
  background: var(--accent);
  border-radius: 2px;
  animation: tuner-bounce 1.2s ease-in-out infinite;
  opacity: 0.85;
}
.tuner-bars span:nth-child(1) { height: 40%; animation-delay: 0s; }
.tuner-bars span:nth-child(2) { height: 70%; animation-delay: 0.1s; }
.tuner-bars span:nth-child(3) { height: 100%; animation-delay: 0.2s; }
.tuner-bars span:nth-child(4) { height: 55%; animation-delay: 0.3s; }
.tuner-bars span:nth-child(5) { height: 85%; animation-delay: 0.4s; }
.tuner-bars span:nth-child(6) { height: 60%; animation-delay: 0.5s; }
.tuner-bars span:nth-child(7) { height: 35%; animation-delay: 0.6s; }
@keyframes tuner-bounce {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}
.tuner-label { font-family: monospace; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-faint); }

/* ---------- stats ---------- */
.stats { padding-top: 40px; padding-bottom: 40px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}
.stat-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.stat-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
}
.stat-causa .stat-value { color: var(--gold); }
.stat-label { font-size: 12px; color: var(--text-muted); font-family: monospace; }
.stats-note { text-align: center; font-size: 11px; color: var(--text-faint); margin-top: 20px; font-family: monospace; }

/* ---------- manifesto ---------- */
.manifesto { text-align: center; }
.manifesto-inner { max-width: 720px; margin: 0 auto; }
.manifesto h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  margin-bottom: 28px;
  letter-spacing: -0.5px;
}
.manifesto p { font-size: 17px; color: var(--text-muted); line-height: 1.75; margin-bottom: 20px; }
.manifesto-highlight {
  color: var(--text);
  font-size: 18px;
  padding: 24px 28px;
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
}
.manifesto-highlight strong { color: var(--accent); }

/* ---------- section heading ---------- */
.section-heading { text-align: center; margin-bottom: 56px; }
.section-heading h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -0.5px; }
.section-sub { font-size: 16px; color: var(--text-muted); max-width: 520px; margin: 12px auto 0; }

/* ---------- pillars ---------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.pillar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.3); border-color: var(--accent); }
.pillar-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  border-radius: 14px;
  margin-bottom: 20px;
}
.pillar-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: var(--accent); }
.pillar-card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.65; }

/* ---------- how it works ---------- */
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}
.how-step { text-align: center; }
.how-num {
  font-family: monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-faint);
  border: 1px solid var(--border);
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.how-step h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.how-step p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ---------- pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 640px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  position: relative;
}
.pricing-card-featured { border-color: var(--accent); background: linear-gradient(180deg, var(--surface2), var(--surface)); }
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #080814;
  font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 14px; border-radius: 100px;
}
.pricing-label { font-size: 13px; color: var(--text-muted); font-family: monospace; margin-bottom: 8px; }
.pricing-value { font-size: 42px; font-weight: 800; margin-bottom: 12px; }
.pricing-value span { font-size: 16px; font-weight: 500; color: var(--text-muted); }
.pricing-detail { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }

/* ---------- causa ---------- */
.causa {
  background: linear-gradient(135deg, rgba(124,111,255,0.08), rgba(245,192,48,0.06));
  border-radius: 32px;
  max-width: 1050px;
}
.causa-inner { text-align: center; max-width: 620px; margin: 0 auto; }
.causa-icon { font-size: 40px; margin-bottom: 16px; }
.causa h2 { font-size: clamp(24px, 3.5vw, 34px); font-weight: 800; margin-bottom: 16px; }
.causa p { color: var(--text-muted); font-size: 15.5px; line-height: 1.7; }

/* ---------- professionals ---------- */
.pros-inner { text-align: center; max-width: 680px; margin: 0 auto; }
.pros p { font-size: 16px; color: var(--text-muted); line-height: 1.75; margin: 24px 0 32px; }

/* ---------- final cta ---------- */
.final-cta { text-align: center; padding-bottom: 140px; }
.final-cta h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 12px; }
.final-cta p { color: var(--text-muted); font-size: 16px; margin-bottom: 32px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 40px 24px; }
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 13px; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 12px; color: var(--text-faint); font-family: monospace; }

@media (max-width: 640px) {
  section { padding: 64px 20px; }
  .header-actions .btn-ghost { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
}
