:root {
  --bg-primary: #0a0a0c;
  --bg-secondary: #111114;
  --bg-card: #16161a;
  --bg-card-hover: #1c1c21;
  --fg-primary: #e8e8ec;
  --fg-secondary: #8a8a96;
  --fg-muted: #55555f;
  --accent: #00ff88;
  --accent-dim: #00cc6e;
  --accent-glow: rgba(0, 255, 136, 0.15);
  --accent-subtle: rgba(0, 255, 136, 0.06);
  --border: #222228;
  --border-hover: #333340;
  --red: #ff4444;
  --yellow: #ffbb33;
  --font-body: 'Space Grotesk', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-primary);
  color: var(--fg-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  color: var(--accent);
  font-size: 20px;
}

.logo-text {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--fg-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
}

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

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 40%, black 20%, transparent 70%);
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin-bottom: 60px;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid rgba(0, 255, 136, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--fg-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 48px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-mono);
}

.stat-label {
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* TERMINAL */
.hero-terminal {
  position: relative;
  width: 100%;
  max-width: 720px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4), 0 0 60px var(--accent-glow);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-dot.red { background: var(--red); }
.terminal-dot.yellow { background: var(--yellow); }
.terminal-dot.green { background: var(--accent); }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  margin-left: 8px;
}

.terminal-body {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
}

.terminal-prompt {
  color: var(--fg-primary);
  margin-bottom: 12px;
}

.prompt-symbol {
  color: var(--accent);
  margin-right: 8px;
}

.terminal-response {
  color: var(--fg-secondary);
  margin-bottom: 20px;
  padding-left: 20px;
  border-left: 2px solid var(--border);
}

/* SECTION SHARED */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 16px;
}

/* PROBLEM */
.problem {
  padding: 120px 0;
  background: var(--bg-primary);
}

.problem h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 60px;
  max-width: 700px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: border-color 0.2s, background 0.2s;
}

.problem-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.problem-number {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 16px;
}

.problem-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.problem-card p {
  font-size: 14px;
  color: var(--fg-secondary);
  line-height: 1.65;
}

/* SOLUTION */
.solution {
  padding: 120px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.solution h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 600px;
}

.solution-desc {
  font-size: 16px;
  color: var(--fg-secondary);
  max-width: 640px;
  margin-bottom: 60px;
  line-height: 1.7;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.solution-feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: border-color 0.3s;
}

.solution-feature:hover {
  border-color: var(--accent-dim);
}

.feature-icon {
  color: var(--accent);
  font-size: 24px;
  margin-bottom: 16px;
  display: block;
}

.solution-feature h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.solution-feature p {
  font-size: 14px;
  color: var(--fg-secondary);
  line-height: 1.65;
}

/* ROLES */
.roles {
  padding: 120px 0;
  background: var(--bg-primary);
}

.roles h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 60px;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.role-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: border-color 0.3s;
}

.role-card:hover {
  border-color: var(--accent-dim);
}

.role-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: var(--accent-subtle);
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.role-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.role-card p {
  font-size: 14px;
  color: var(--fg-secondary);
  line-height: 1.65;
}

/* PRICING */
.pricing {
  padding: 120px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pricing h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 60px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 960px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 32px;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-glow);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--bg-primary);
  background: var(--accent);
  padding: 4px 12px;
  border-radius: 4px;
}

.pricing-tier {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.pricing-amount {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.pricing-amount span {
  font-size: 16px;
  font-weight: 500;
  color: var(--fg-muted);
}

.pricing-features {
  list-style: none;
}

.pricing-features li {
  font-size: 14px;
  color: var(--fg-secondary);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: '\2713';
  color: var(--accent);
  margin-right: 10px;
  font-weight: 600;
}

.pricing-note {
  font-size: 14px;
  color: var(--fg-muted);
  margin-top: 32px;
}

/* CLOSING */
.closing {
  padding: 120px 0;
  background: var(--bg-primary);
}

.closing-content {
  max-width: 720px;
}

.closing h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.closing p {
  font-size: 16px;
  color: var(--fg-secondary);
  line-height: 1.75;
}

/* FOOTER */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-primary);
}

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

.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-tagline {
  color: var(--fg-muted);
  font-size: 14px;
  margin-left: 12px;
}

.footer-right {
  text-align: right;
}

.footer-email {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-secondary);
  margin-bottom: 4px;
}

.footer-copy {
  font-size: 13px;
  color: var(--fg-muted);
}

/* MOBILE */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 100px 20px 60px; }
  .hero-stats { gap: 20px; }
  .stat-value { font-size: 24px; }
  .hero-terminal { margin: 0 -8px; }
  .terminal-body { padding: 16px; font-size: 12px; }
  .section-inner { padding: 0 20px; }
  .problem, .solution, .roles, .pricing, .closing { padding: 80px 0; }
  .problem-grid, .solution-grid, .roles-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .footer-right { text-align: center; }
  .footer-tagline { margin-left: 0; width: 100%; }
}