:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #18181f;
  --text-primary: #f0f0f5;
  --text-secondary: #8888a0;
  --accent: #00ff88;
  --accent-dim: rgba(0, 255, 136, 0.15);
  --border: rgba(255, 255, 255, 0.08);
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 6rem 8%;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 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;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.4rem 0.8rem;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* Terminal */
.terminal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.terminal-header {
  background: var(--bg-secondary);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.terminal-title {
  color: var(--text-secondary);
  margin-left: 0.5rem;
  font-size: 0.75rem;
}

.terminal-body {
  padding: 1.5rem;
}

.line {
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.prompt {
  color: var(--accent);
  margin-right: 0.5rem;
}

.output {
  padding-left: 1rem;
}

.highlight {
  color: var(--accent);
  font-weight: 600;
}

.success {
  color: var(--accent);
  font-weight: 600;
}

.active {
  color: #00ff88;
  font-weight: 600;
}

/* Hero Graphic */
.hero-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.shield-animation {
  position: relative;
}

.shield-svg {
  width: 280px;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(0, 255, 136, 0.3));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.shield-bg {
  animation: shieldPulse 3s ease-in-out infinite;
}

@keyframes shieldPulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

/* Problem Section */
.problem {
  padding: 8rem 8%;
  background: var(--bg-secondary);
}

.problem-header {
  max-width: 600px;
  margin-bottom: 4rem;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.problem h2, .features h2, .closing h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.stat-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.problem-closing {
  max-width: 700px;
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Features */
.features {
  padding: 8rem 8%;
  background: var(--bg-primary);
}

.features-header {
  max-width: 600px;
  margin-bottom: 4rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  transition: border-color 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(0, 255, 136, 0.3);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Closing */
.closing {
  padding: 8rem 8%;
  background: var(--bg-secondary);
  text-align: center;
}

.closing-content {
  max-width: 700px;
  margin: 0 auto;
}

.closing-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.4rem 0.8rem;
  border-radius: 2rem;
  margin-bottom: 2rem;
}

.closing h2 {
  margin-bottom: 1.5rem;
}

.closing p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Footer */
footer {
  padding: 4rem 8%;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.footer-logo svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.footer-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 4rem 6%;
  }

  .hero-sub {
    margin: 0 auto 2.5rem;
  }

  .hero-graphic {
    order: -1;
  }

  .shield-svg {
    width: 180px;
  }

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

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 3rem 5%;
  }

  h1 {
    font-size: 2rem;
  }

  .terminal {
    font-size: 0.75rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .problem, .features, .closing {
    padding: 5rem 5%;
  }
}