:root {
  --bg: #0a0b0f;
  --bg-elevated: #12131a;
  --bg-card: #181924;
  --fg: #e8e9ed;
  --fg-muted: #8b8d98;
  --fg-dim: #5a5c66;
  --accent: #6c5ce7;
  --accent-glow: rgba(108, 92, 231, 0.15);
  --green: #00d68f;
  --green-glow: rgba(0, 214, 143, 0.12);
  --yellow: #ffc048;
  --red: #ff6b6b;
  --border: rgba(255, 255, 255, 0.06);
  --radius: 12px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.15;
}

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

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

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent-glow);
  border: 1px solid rgba(108, 92, 231, 0.25);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  max-width: 800px;
  margin-bottom: 24px;
}

.highlight {
  color: var(--fg-muted);
  position: relative;
}

.highlight-green {
  color: var(--green);
  position: relative;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 560px;
  margin-bottom: 56px;
}

/* ═══ MOCK DASHBOARD ═══ */
.hero-visual {
  width: 100%;
  max-width: 720px;
  position: relative;
}

.mock-dashboard {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);
}

.mock-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.mock-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  text-align: left;
}

.mock-card.accent {
  border-color: rgba(0, 214, 143, 0.2);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0, 214, 143, 0.04) 100%);
}

.mock-label {
  display: block;
  font-size: 0.75rem;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.mock-value {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.mock-value.green { color: var(--green); }

.mock-trend {
  font-size: 0.8rem;
  font-weight: 500;
}

.mock-trend.up { color: var(--green); }
.mock-trend.down { color: var(--red); }

.mock-bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 20px;
  height: 120px;
  padding-top: 12px;
}

.bar-group {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  position: relative;
  padding-bottom: 24px;
}

.bar {
  width: 24px;
  border-radius: 4px 4px 0 0;
  transition: height 0.4s ease;
}

.bar.revenue {
  background: rgba(108, 92, 231, 0.35);
}

.bar.profit {
  background: var(--green);
  opacity: 0.8;
}

.bar-label {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  color: var(--fg-dim);
}

/* ═══ CTA BUTTON ═══ */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  margin-bottom: 56px;
  transition: all 0.2s;
  letter-spacing: -0.01em;
  box-shadow: 0 0 40px rgba(108, 92, 231, 0.3);
}

.hero-cta:hover {
  background: #7d6ef0;
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(108, 92, 231, 0.4);
}

/* ═══ PROBLEM ═══ */
.problem {
  padding: 100px 24px;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problem-inner {
  max-width: 960px;
  margin: 0 auto;
}

.problem h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}

.problem > .problem-inner > p {
  color: var(--fg-muted);
  font-size: 1.1rem;
  max-width: 640px;
  margin-bottom: 56px;
}

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

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

.problem-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border-radius: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.problem-item h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

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

/* ═══ FEATURES ═══ */
.features {
  padding: 100px 24px;
}

.features-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 80px;
}

.feature-block.reverse {
  direction: rtl;
}

.feature-block.reverse > * {
  direction: ltr;
}

.feature-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--green-glow);
  border: 1px solid rgba(0, 214, 143, 0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--green);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.feature-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 14px;
}

.feature-text p {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.feature-visual {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

/* Mini table */
.mini-table {
  font-size: 0.85rem;
}

.mini-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 0.8fr;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.mini-row.header {
  color: var(--fg-dim);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mini-row .green { color: var(--green); font-weight: 600; }
.mini-row .yellow { color: var(--yellow); font-weight: 600; }
.mini-row .red { color: var(--red); font-weight: 600; }

/* Client cards */
.client-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.client-card {
  padding: 14px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.client-card .client-name {
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 4px;
}

.client-card .client-margin {
  font-size: 0.8rem;
  color: var(--fg-dim);
  display: block;
  margin-bottom: 8px;
}

.client-bar {
  height: 6px;
  background: rgba(255,255,255,0.05);
  border-radius: 3px;
  overflow: hidden;
}

.client-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.4s ease;
}

.client-card.good .client-fill { background: var(--green); }
.client-card.ok .client-fill { background: var(--yellow); }
.client-card.bad .client-fill { background: var(--red); }

/* Tax preview */
.tax-preview {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tax-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.tax-item span:first-child {
  color: var(--fg-muted);
}

.tax-amount {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
}

.tax-amount.saved { color: var(--green); }
.tax-amount.needed { color: var(--yellow); }

.tax-bar {
  height: 8px;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 4px;
}

.tax-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--accent));
  border-radius: 4px;
}

.tax-note {
  font-size: 0.8rem;
  color: var(--fg-dim);
  text-align: right;
}

/* ═══ NUMBERS ═══ */
.numbers {
  padding: 80px 24px;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.numbers-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-value {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--green);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--fg-muted);
}

/* ═══ CLOSING ═══ */
.closing {
  padding: 120px 24px;
  text-align: center;
}

.closing-inner {
  max-width: 640px;
  margin: 0 auto;
}

.closing h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 20px;
}

.closing p {
  color: var(--fg-muted);
  font-size: 1.1rem;
  line-height: 1.65;
}

/* ═══ FOOTER ═══ */
.site-footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--fg-dim);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
  .mock-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-block,
  .feature-block.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    direction: ltr;
  }

  .numbers-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .mock-bar-chart {
    gap: 12px;
  }

  .bar {
    width: 18px;
  }
}