:root {
  --bg-dark: #0a0a0f;
  --bg-card: #12121a;
  --bg-elevated: #1a1a26;
  --fg: #e8e8ed;
  --fg-muted: #8888a0;
  --fg-dim: #55556a;
  --accent: #00e599;
  --accent-glow: rgba(0, 229, 153, 0.15);
  --accent-secondary: #7b61ff;
  --accent-warm: #ff6b4a;
  --border: rgba(255,255,255,0.06);
  --radius: 16px;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

body {
  background: var(--bg-dark);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ====== HERO ====== */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero .lede {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: var(--fg-muted);
  max-width: 560px;
  margin-top: 28px;
  position: relative;
  z-index: 1;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  position: relative;
  z-index: 1;
}

.hero-stat {
  text-align: center;
}

.hero-stat .number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.hero-stat .label {
  font-size: 0.85rem;
  color: var(--fg-dim);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ====== PROBLEM ====== */
.problem {
  padding: 100px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.problem-header {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.problem-header .highlight {
  color: var(--accent-warm);
}

.problem p {
  color: var(--fg-muted);
  font-size: 1.15rem;
  margin-top: 24px;
  max-width: 680px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.problem-card .icon {
  font-size: 1.6rem;
  margin-bottom: 16px;
  display: block;
}

.problem-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.problem-card p {
  font-size: 0.92rem;
  color: var(--fg-dim);
  margin-top: 0;
  line-height: 1.5;
}

/* ====== SERVICES ====== */
.services {
  padding: 100px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 16px;
}

.services h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  max-width: 600px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.service-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: border-color 0.3s ease;
}

.service-item:hover {
  border-color: rgba(0, 229, 153, 0.2);
}

.service-item .service-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent-glow);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.service-item h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-item p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.55;
}

/* ====== HOW IT WORKS ====== */
.how {
  padding: 100px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.how h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 64px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-secondary));
  opacity: 0.3;
}

.step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 28px 0;
}

.step-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  width: 56px;
  height: 56px;
  min-width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--accent);
  position: relative;
  z-index: 1;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.step-content p {
  color: var(--fg-muted);
  font-size: 0.95rem;
}

/* ====== CLOSING ====== */
.closing {
  padding: 120px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(123, 97, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.closing h2 .accent {
  color: var(--accent);
}

.closing p {
  color: var(--fg-muted);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 24px auto 0;
  position: relative;
  z-index: 1;
}

.closing-cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 40px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.hero-cta-row {
  display: flex;
  gap: 14px;
  margin-top: 40px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  justify-content: center;
}

/* ====== FOOTER ====== */
footer {
  padding: 48px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
}

footer .footer-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--fg);
}

footer p {
  font-size: 0.82rem;
  color: var(--fg-dim);
  margin-top: 8px;
}

/* ====== NAV ====== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--fg);
  text-decoration: none;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg); }
.nav-links .nav-cta {
  padding: 8px 20px;
  background: var(--accent);
  color: #0a0a0f;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: opacity 0.2s;
}
.nav-links .nav-cta:hover { opacity: 0.88; color: #0a0a0f; }

/* ====== SHARED BUTTONS ====== */
.btn-primary {
  display: inline-block;
  padding: 14px 28px;
  background: var(--accent);
  color: #0a0a0f;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-ghost {
  display: inline-block;
  padding: 14px 28px;
  background: var(--bg-card);
  color: var(--fg-muted);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--fg); border-color: rgba(255,255,255,0.15); }

/* ====== BEFORE / AFTER ====== */
.before-after {
  padding: 100px 24px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.ba-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.ba-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-align: center;
  margin-bottom: 12px;
}
.ba-heading .accent { color: var(--accent); }
.ba-subhead {
  text-align: center;
  color: var(--fg-muted);
  font-size: 1.05rem;
  margin-bottom: 56px;
}
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.ba-col {
  border-radius: var(--radius);
  padding: 36px 32px;
  border: 1px solid var(--border);
}
.ba-before { background: var(--bg-elevated); }
.ba-after {
  background: linear-gradient(160deg, rgba(0,229,153,0.04) 0%, var(--bg-elevated) 60%);
  border-color: rgba(0,229,153,0.2);
}
.ba-col-header { margin-bottom: 28px; }
.ba-label {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.ba-label--before {
  background: rgba(255,100,100,0.12);
  color: #ff7777;
}
.ba-label--after {
  background: var(--accent-glow);
  color: var(--accent);
}
.ba-col-header h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}
.ba-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}
.ba-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.ba-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 2px;
}
.ba-icon--bad { background: rgba(255,68,68,0.15); color: #ff4444; }
.ba-icon--good { background: rgba(0,229,153,0.15); color: var(--accent); }
.ba-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 3px;
}
.ba-item p {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.45;
}
.ba-summary {
  border-radius: 10px;
  padding: 16px 20px;
}
.ba-summary--before {
  background: rgba(255,68,68,0.06);
  border: 1px solid rgba(255,68,68,0.15);
}
.ba-summary--after {
  background: rgba(0,229,153,0.06);
  border: 1px solid rgba(0,229,153,0.2);
}
.ba-metric-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}
.ba-summary--before .ba-metric-num { color: #ff6b6b; }
.ba-summary--after .ba-metric-num { color: var(--accent); }
.ba-metric-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-top: 4px;
}
.ba-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 52px;
  flex-wrap: wrap;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .hero { padding: 100px 20px 60px; min-height: 80vh; }
  .hero-stats { gap: 28px; }
  .hero-stat .number { font-size: 1.8rem; }
  .problem-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .steps::before { left: 20px; }
  .step-num { width: 42px; height: 42px; min-width: 42px; font-size: 0.9rem; }
  .step { gap: 20px; }
  .ba-grid { grid-template-columns: 1fr; }
  .ba-col { padding: 28px 20px; }
  nav { padding: 0 20px; }
  .nav-links a:not(.nav-cta) { display: none; }
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: column; gap: 20px; }
  .ba-cta { flex-direction: column; align-items: center; }
}