/* ViralGain — theme */
:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --surface2: #1a1a1a;
  --border: #2a2a2a;
  --text: #f0f0f0;
  --text-muted: #888888;
  --accent: #00FF6A;
  --accent-dim: rgba(0,255,106,0.12);
}

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

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.1;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 700; }
nav { display: flex; gap: 32px; }
nav a { color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
nav a:hover { color: var(--text); }

/* HERO */
.hero { padding: 100px 0 80px; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--accent-dim); border: 1px solid rgba(0,255,106,0.2); border-radius: 100px; padding: 6px 14px; font-size: 13px; font-weight: 500; color: var(--accent); margin-bottom: 28px; width: fit-content; }
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero-title { font-size: clamp(40px, 5vw, 64px); margin-bottom: 24px; }
.highlight { color: var(--accent); }
.hero-sub { font-size: 18px; color: var(--text-muted); max-width: 440px; margin-bottom: 40px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 16px; }
.action-note { font-size: 14px; color: var(--text-muted); }

/* DASHBOARD MOCK */
.hero-visual { display: flex; justify-content: flex-end; }
.dashboard-mock {
  background: #1a1a1a;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.03);
}
.mock-topbar { background: #222; padding: 10px 16px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--border); }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-dot.red { background: #ff5f57; }
.mock-dot.yellow { background: #ffbd2e; }
.mock-dot.green { background: #28c840; }
.mock-title { font-size: 12px; color: var(--text-muted); margin-left: 8px; font-family: 'DM Sans', sans-serif; }
.mock-body { display: grid; grid-template-columns: 90px 1fr; }
.mock-sidebar { background: #181818; border-right: 1px solid var(--border); padding: 12px 0; }
.mock-nav { padding: 8px 14px; font-size: 11px; color: var(--text-muted); }
.mock-nav.active { color: var(--accent); background: var(--accent-dim); border-left: 2px solid var(--accent); }
.mock-main { padding: 16px; display: grid; gap: 10px; }
.mock-card { background: var(--surface2); border-radius: 8px; padding: 12px; }
.mock-card-label { font-size: 10px; color: var(--text-muted); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.05em; }
.mock-card-val { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 700; color: var(--text); }
.mock-card-change { font-size: 10px; margin-top: 4px; }
.mock-card-change.up { color: var(--accent); }
.mock-card.wide { grid-column: 1 / -1; }
.mock-chart { padding: 8px 0 0; }
.chart-bars { display: flex; align-items: flex-end; gap: 4px; height: 48px; }
.bar { flex: 1; background: var(--border); border-radius: 3px; min-height: 8px; transition: background 0.3s; }
.bar.active { background: var(--accent); }
.chart-label { font-size: 9px; color: var(--text-muted); margin-top: 8px; }

/* STATS BAND */
.stats-band { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 40px 0; background: var(--surface); }
.stats-row { display: flex; align-items: center; justify-content: center; gap: 0; }
.stat { text-align: center; padding: 0 48px; }
.stat-number { font-family: 'Space Grotesk', sans-serif; font-size: 48px; font-weight: 700; color: var(--text); line-height: 1; }
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 8px; max-width: 180px; }
.stat-divider { width: 1px; height: 60px; background: var(--border); }

/* SECTION HEADERS */
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.section-header h2 { font-size: clamp(32px, 4vw, 48px); }

/* HOW IT WORKS */
.how-it-works { padding: 100px 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step { padding: 32px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; position: relative; }
.step-num { font-family: 'Space Grotesk', sans-serif; font-size: 48px; font-weight: 700; color: var(--accent); opacity: 0.2; margin-bottom: 16px; }
.step h3 { font-size: 20px; margin-bottom: 12px; }
.step p { font-size: 15px; color: var(--text-muted); line-height: 1.6; }
.step-badge { display: inline-block; background: var(--accent-dim); border: 1px solid rgba(0,255,106,0.2); color: var(--accent); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 100px; margin-bottom: 12px; }

/* FEATURES */
.features { padding: 100px 0; background: var(--surface); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.feature { background: var(--surface); padding: 36px; }
.feature-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--accent-dim); display: flex; align-items: center; justify-content: center; color: var(--accent); margin-bottom: 20px; }
.feature h3 { font-size: 17px; margin-bottom: 10px; font-weight: 600; }
.feature p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* DIFFERENCE TABLE */
.difference { padding: 100px 0; }
.comparison-table { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.comp-header { display: grid; grid-template-columns: 200px 1fr 1fr; background: var(--surface); border-bottom: 1px solid var(--border); }
.comp-col { padding: 20px 28px; font-size: 13px; font-weight: 500; color: var(--text-muted); }
.comp-col.old { border-left: 1px solid var(--border); }
.comp-col.new { border-left: 1px solid var(--border); }
.comp-badge { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; background: var(--surface2); border: 1px solid var(--border); padding: 4px 10px; border-radius: 100px; margin-right: 8px; color: var(--text-muted); }
.comp-badge.fresh { background: var(--accent-dim); border-color: rgba(0,255,106,0.3); color: var(--accent); }
.comp-row { display: grid; grid-template-columns: 200px 1fr 1fr; border-bottom: 1px solid var(--border); }
.comp-row:last-child { border-bottom: none; }
.comp-row-label { padding: 18px 28px; font-size: 14px; font-weight: 600; font-family: 'Space Grotesk', sans-serif; color: var(--text); background: var(--surface); border-right: 1px solid var(--border); }
.comp-row-old { padding: 18px 28px; font-size: 14px; color: var(--text-muted); border-left: 1px solid var(--border); background: var(--surface); }
.comp-row-new { padding: 18px 28px; font-size: 14px; color: var(--text); border-left: 1px solid var(--border); display: flex; align-items: center; gap: 8px; background: rgba(0,255,106,0.03); }

/* CLOSING */
.closing { padding: 120px 0; position: relative; overflow: hidden; }
.closing-inner { text-align: center; position: relative; z-index: 1; }
.closing-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 600px; height: 400px; background: radial-gradient(ellipse, rgba(0,255,106,0.08) 0%, transparent 70%); pointer-events: none; }
.closing-tagline { font-family: 'Space Grotesk', sans-serif; font-size: clamp(28px, 4vw, 48px); font-weight: 700; line-height: 1.2; margin-bottom: 28px; }
.closing-sub { font-size: 17px; color: var(--text-muted); max-width: 520px; margin: 0 auto; line-height: 1.7; }

/* FOOTER */
footer { border-top: 1px solid var(--border); padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 16px; }
.footer-note { font-size: 14px; color: var(--text-muted); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { justify-content: center; }
  .dashboard-mock { max-width: 100%; }
  .stats-row { flex-direction: column; gap: 24px; }
  .stat-divider { display: none; }
  .steps { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .comp-header, .comp-row { grid-template-columns: 1fr; }
  .comp-col, .comp-row-label, .comp-row-old, .comp-row-new { border-left: none; border-right: none; }
  .comp-col.old, .comp-col.new { border-left: none; }
  nav { display: none; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .hero { padding: 60px 0 60px; }
  .section-header { margin-bottom: 40px; }
  .how-it-works, .features, .difference { padding: 60px 0; }
  .closing { padding: 80px 0; }
}