:root {
  --bg: #0b0f19;
  --bg-alt: #0f1424;
  --card: #131a2c;
  --border: #212a42;
  --text: #e7ebf6;
  --text-dim: #9aa4bf;
  --accent: #6d5bff;
  --accent-2: #22d3ee;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.5;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow { max-width: 760px; }

a { color: inherit; text-decoration: none; }

.accent { color: var(--accent-2); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(11, 15, 25, 0.8);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.logo span { color: var(--accent); }

.nav {
  display: flex;
  gap: 28px;
}
.nav a {
  color: var(--text-dim);
  font-size: 15px;
  transition: color .15s;
}
.nav a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s, box-shadow .15s, background .15s, border-color .15s;
}
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-block { width: 100%; padding: 13px 0; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #4b3df0);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(109, 91, 255, .6);
}
.btn-primary:hover { transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--accent); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--accent-2); color: var(--accent-2); }

/* Hero */
.hero { padding: 96px 0 80px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(109, 91, 255, .12);
  border: 1px solid rgba(109, 91, 255, .35);
  color: #c4bdff;
  font-size: 13px;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -1px;
  margin: 0 0 18px;
}

.hero-sub {
  color: var(--text-dim);
  font-size: 18px;
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-actions { display: flex; gap: 14px; margin-bottom: 48px; }

.hero-stats {
  display: flex;
  gap: 40px;
}
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 24px; }
.hero-stats span { color: var(--text-dim); font-size: 13px; }

.terminal {
  background: #090c15;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
}
.terminal-bar {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  background: #0f1424;
  border-bottom: 1px solid var(--border);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.terminal pre {
  margin: 0;
  padding: 22px;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 14px;
  color: #8dffb0;
  overflow-x: auto;
}

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-title {
  font-size: 34px;
  text-align: center;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}
.section-sub {
  text-align: center;
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto 48px;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .15s, border-color .15s;
}
.feature-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.feature-icon { font-size: 28px; margin-bottom: 14px; }
.feature-card h3 { margin: 0 0 8px; font-size: 18px; }
.feature-card p { margin: 0; color: var(--text-dim); font-size: 14px; }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.plan-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
}
.plan-featured {
  border-color: var(--accent);
  box-shadow: 0 20px 50px -20px rgba(109, 91, 255, .5);
  transform: scale(1.03);
}
.plan-tag {
  position: absolute;
  top: -13px;
  left: 24px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.plan-card h3 { margin: 0 0 8px; font-size: 20px; }
.plan-price {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 22px;
}
.plan-price span { font-size: 18px; vertical-align: top; margin-right: 2px; color: var(--text-dim); }
.plan-price small { font-size: 14px; font-weight: 400; color: var(--text-dim); }
.plan-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  color: var(--text-dim);
  font-size: 14px;
  flex-grow: 1;
}
.plan-specs li {
  padding: 8px 0;
  border-top: 1px solid var(--border);
}
.plan-specs li:first-child { border-top: none; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--accent-2);
  font-size: 18px;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { color: var(--text-dim); margin: 12px 0 0; font-size: 14px; }

/* Contact form */
.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.form-row { display: flex; gap: 14px; margin-bottom: 14px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  margin-bottom: 14px;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-status {
  text-align: center;
  color: var(--accent-2);
  font-size: 14px;
  min-height: 20px;
  margin: 10px 0 0;
}

/* Footer */
.site-footer { padding: 36px 0; border-top: 1px solid var(--border); }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 13px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
}
@media (max-width: 560px) {
  .hero-text h1 { font-size: 34px; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .plan-featured { transform: none; }
  .form-row { flex-direction: column; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
}
