:root {
  --bg: #050507;
  --surface: #0f0f13;
  --surface-hover: #15151a;
  --border: #22222a;
  --text: #e2e2e8;
  --muted: #888893;
  --accent: #22d3ee;
  --accent-glow: rgba(34, 211, 238, 0.15);
  --purple: #a855f7;
  --green: #22c55e;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background Effect */
.glow-bg {
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 60vh;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(5, 5, 7, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.nav-brand {
  font-family: 'Fira Code', monospace;
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dot {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
}
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.btn-nav {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  color: var(--text) !important;
}
.btn-nav:hover { border-color: var(--accent); }

/* Hero Section */
.hero {
  padding: 10rem 1rem 4rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-family: 'Fira Code', monospace;
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 2rem;
}
.pulse {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #fff, #a1a1aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.cta-group { display: flex; gap: 1rem; justify-content: center; margin-bottom: 5rem; }
.btn {
  padding: 0.8rem 1.8rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  font-size: 0.95rem;
}
.btn.primary {
  background: var(--text);
  color: var(--bg);
}
.btn.primary:hover { background: #fff; transform: translateY(-2px); }
.btn.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn.secondary:hover { border-color: var(--muted); }

/* Terminal Preview */
.terminal-preview {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  overflow: hidden;
}
.term-header {
  background: #09090b;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.mac-dots { display: flex; gap: 6px; }
.mac-dots span { width: 10px; height: 10px; border-radius: 50%; background: #333; }
.mac-dots span:nth-child(1) { background: #ff5f56; }
.mac-dots span:nth-child(2) { background: #ffbd2e; }
.mac-dots span:nth-child(3) { background: #27c93f; }
.term-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Fira Code', monospace;
  font-size: 0.8rem;
  color: var(--muted);
}
.terminal-preview pre {
  padding: 1.5rem;
  font-family: 'Fira Code', monospace;
  font-size: 0.85rem;
  line-height: 1.7;
  overflow-x: auto;
  color: #d4d4d8;
}
.c-gray { color: #52525b; }
.c-green { color: #4ade80; }
.c-yellow { color: #facc15; }
.c-blue { color: #60a5fa; }
.c-purple { color: #c084fc; }

/* Stats Section */
.stats-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.stat-box {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  transition: border-color 0.3s;
}
.stat-box:hover { border-color: var(--accent); }
.stat-icon { font-size: 1.8rem; }
.stat-info { display: flex; flex-direction: column; }
.stat-label { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.stat-val { font-size: 1.5rem; font-weight: 700; font-family: 'Fira Code', monospace; color: #fff; }

/* Features Section */
.features, .pricing {
  max-width: 1100px;
  margin: 6rem auto;
  padding: 0 2rem;
}
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 {
  font-family: 'Fira Code', monospace;
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.section-header p { color: var(--muted); font-size: 1.1rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  transition: transform 0.3s, border-color 0.3s;
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}
.icon-wrap {
  width: 48px; height: 48px;
  background: #1a1a24;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
.feature-card h3 { font-size: 1.2rem; margin-bottom: 0.8rem; color: #fff; }
.feature-card p { color: var(--muted); font-size: 0.95rem; }

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2.5rem;
  border-radius: 16px;
  position: relative;
}
.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 30px var(--accent-glow);
  transform: scale(1.05);
  z-index: 10;
}
.ribbon {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 1rem;
  border-radius: 20px;
  letter-spacing: 0.05em;
}
.tier-name { font-weight: 600; color: var(--muted); margin-bottom: 0.5rem; }
.price { font-size: 2.5rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; font-family: 'Fira Code', monospace; }
.price span { font-size: 1rem; color: var(--muted); font-weight: 400; }
.desc { color: var(--muted); font-size: 0.9rem; margin-bottom: 2rem; }
.features-list { list-style: none; margin-bottom: 2.5rem; }
.features-list li {
  padding: 0.6rem 0;
  font-size: 0.9rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.features-list span { color: var(--accent); font-weight: bold; }
.btn-card {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.9rem;
  border-radius: 8px;
  background: transparent;
  border: 1px solid var(--border);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-card:hover { background: #1a1a24; }
.btn-card.primary-glow {
  background: var(--accent);
  color: #000;
  border: none;
}
.btn-card.primary-glow:hover { background: #67e8f9; }

footer {
  text-align: center;
  padding: 4rem 2rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 4rem;
}
