:root {
  --bg: #070d18;
  --panel: #0d192b;
  --panel-border: rgba(56, 189, 248, 0.18);
  --card-bg: rgba(13, 25, 43, 0.7);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent-cyan: #38bdf8;
  --accent-emerald: #34d399;
  --accent-glow: rgba(56, 189, 248, 0.25);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background-color: var(--bg);
  background-image: 
    radial-gradient(circle at 50% 10%, rgba(14, 165, 233, 0.12), transparent 45%),
    radial-gradient(circle at 90% 70%, rgba(16, 185, 129, 0.08), transparent 40%);
  color: var(--text-main);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Navbar */
.navbar {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(7, 13, 24, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
}
.nav-content { display: flex; align-items: center; justify-content: space-between; }
.logo-wrap { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-img { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 14px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: 8px; font-size: 15px; font-weight: 600;
  text-decoration: none; transition: all 0.2s; cursor: pointer; border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-emerald));
  color: #041019; box-shadow: 0 4px 18px rgba(56, 189, 248, 0.35);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(56, 189, 248, 0.5); }
.btn-secondary {
  background: rgba(255, 255, 255, 0.06); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.12); }
.btn-large { padding: 14px 28px; font-size: 17px; }

/* Hero */
.hero { padding: 80px 0 60px; text-align: center; position: relative; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(56, 189, 248, 0.1); border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--accent-cyan);
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(38px, 5.2vw, 68px); font-weight: 800; line-height: 1.15;
  letter-spacing: -0.02em; margin-bottom: 20px;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-emerald));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: clamp(18px, 1.8vw, 22px); color: var(--text-muted);
  max-width: 780px; margin: 0 auto 36px;
}
.hero-cta { display: flex; justify-content: center; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }

/* Terminal Snippet */
.terminal-card {
  max-width: 640px; margin: 0 auto 64px;
  background: #040912; border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 12px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  text-align: left; overflow: hidden;
}
.terminal-header {
  background: rgba(255, 255, 255, 0.04); padding: 10px 16px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.terminal-dots { display: flex; gap: 6px; }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-red { background: #f43f5e; }
.dot-yellow { background: #eab308; }
.dot-green { background: #10b981; }
.terminal-body {
  padding: 16px 20px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px; color: #e2e8f0; display: flex; align-items: center; justify-content: space-between;
}
.terminal-prompt { color: var(--accent-cyan); margin-right: 8px; }
.copy-btn {
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff; padding: 4px 10px; border-radius: 6px; font-size: 12px; cursor: pointer;
}
.copy-btn:hover { background: rgba(255, 255, 255, 0.16); }

/* Value Proposition Grid */
.features { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 56px; }
.section-title h2 { font-size: 38px; font-weight: 700; margin-bottom: 12px; }
.section-title p { color: var(--text-muted); font-size: 18px; max-width: 620px; margin: 0 auto; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 28px; }
.card {
  background: var(--card-bg); border: 1px solid var(--panel-border);
  border-radius: 16px; padding: 32px; backdrop-filter: blur(8px);
  transition: transform 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent-cyan); }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: rgba(56, 189, 248, 0.12); border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px;
}
.card h3 { font-size: 20px; font-weight: 650; margin-bottom: 12px; }
.card p { color: var(--text-muted); font-size: 15px; line-height: 1.6; }

/* Pricing */
.pricing { padding: 80px 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; max-width: 1080px; margin: 0 auto; }
.price-card {
  background: var(--card-bg); border: 1px solid var(--panel-border);
  border-radius: 20px; padding: 40px 32px; text-align: left; position: relative;
}
.price-card.featured {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 32px rgba(56, 189, 248, 0.2);
}
.price-tag { font-size: 44px; font-weight: 800; margin: 16px 0; color: #fff; }
.price-tag span { font-size: 16px; font-weight: 500; color: var(--text-muted); }
.price-features { list-style: none; margin: 28px 0; display: grid; gap: 12px; }
.price-features li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #cbd5e1; }
.price-features li svg { color: var(--accent-emerald); flex-shrink: 0; }

/* Auth Modal */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center;
  z-index: 1000; padding: 20px;
}
.modal-backdrop.open { display: flex; }
.modal-box {
  background: #0d192b; border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 16px; width: 100%; max-width: 440px; padding: 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8); position: relative;
}
.modal-close {
  position: absolute; top: 18px; right: 20px; background: none; border: none;
  color: var(--text-muted); font-size: 24px; cursor: pointer;
}
.input-group { margin-bottom: 18px; text-align: left; }
.input-group label { display: block; font-size: 13px; font-weight: 600; color: #94a3b8; margin-bottom: 6px; }
.input-group input {
  width: 100%; padding: 11px 14px; background: #070d18; border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px; color: #fff; font-size: 15px;
}
.input-group input:focus { outline: none; border-color: var(--accent-cyan); }

/* Footer */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 48px 0;
  text-align: center; color: var(--text-muted); font-size: 14px;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-cta { flex-direction: column; align-items: stretch; }
}
