/* ── Dev Banner ────────────────────────────────────────────────── */
.dev-banner {
  width: 100%;
  background: #2a1f00;
  border-bottom: 1px solid #f59e0b44;
  color: #fbbf24;
  font-size: 0.85rem;
  text-align: center;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.dev-banner a {
  color: #fbbf24;
  font-weight: 600;
  text-decoration: underline;
}

/* ── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0a0b0f;
  --bg2:       #11131a;
  --bg3:       #181b25;
  --border:    rgba(255,255,255,0.08);
  --text:      #e8eaf0;
  --text-muted:#8b90a0;
  --accent:    #6c8aff;
  --accent2:   #a78bfa;
  --green:     #34d399;
  --radius:    14px;
  --font:      'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

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

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

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  box-shadow: 0 4px 24px rgba(108,138,255,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(108,138,255,0.5);
}

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

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

/* ── Nav ─────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(10,11,15,0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.scrolled { border-color: var(--border); }

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

.nav-logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.logo-ai {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a:not(.btn) {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:not(.btn):hover { color: var(--text); }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 160px 0 100px;
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(108,138,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(108,138,255,0.12);
  border: 1px solid rgba(108,138,255,0.3);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.hero-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 13px;
}
.hero-proof span { display: flex; align-items: center; gap: 6px; }

/* ── Section headers ─────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.section-header p {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 520px;
  margin: 0 auto;
}

/* ── Features ─────────────────────────────────────────────────── */
.features {
  padding: 100px 0;
  background: var(--bg2);
  scroll-margin-top: 80px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(108,138,255,0.35);
  transform: translateY(-3px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
  background: rgba(108,138,255,0.1);
  border-radius: 10px;
  flex-shrink: 0;
}
.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.75;
}

.sector-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
  background: rgba(108,138,255,0.08);
  border-radius: 12px;
  flex-shrink: 0;
}
.sector-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.75;
}

.platform-item {
  text-align: center;
  color: #94a3b8;
}
.platform-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.platform-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.5;
}
.platform-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── How it works ─────────────────────────────────────────────── */
.how-it-works { 
  padding: 100px 0; 
  scroll-margin-top: 80px;
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.step {
  flex: 1;
  min-width: 220px;
  max-width: 300px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.step-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

.step-divider {
  font-size: 24px;
  color: var(--border);
  align-self: center;
  padding-top: 20px;
}

/* ── FAQ ───────────────────────────────────────────────────────── */
.faq {
  padding: 100px 0;
  scroll-margin-top: 80px;
}

.faq-accordion {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item:hover, .faq-item.active {
  border-color: rgba(108,138,255,0.4);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 24px;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}

.faq-question:hover {
  color: #fff;
}

.faq-icon {
  font-size: 24px;
  color: var(--accent);
  transition: transform 0.3s ease;
  font-weight: 300;
  line-height: 1;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer p {
  padding: 0 24px 24px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Pricing ─────────────────────────────────────────────────── */
.pricing {
  padding: 100px 0;
  background: var(--bg2);
  scroll-margin-top: 80px;
}

.pricing-open {
  display: flex;
  justify-content: center;
}

.pricing-open-card {
  background: var(--bg3);
  border: 1px solid rgba(108,138,255,0.3);
  border-radius: var(--radius);
  padding: 56px 48px;
  max-width: 520px;
  width: 100%;
  text-align: center;
  box-shadow: 0 0 60px rgba(108,138,255,0.1);
}

.pricing-open-icon {
  font-size: 36px;
  margin-bottom: 20px;
}

.pricing-open-card h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 16px;
}

.pricing-open-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-features li {
  font-size: 14px;
  color: var(--text-muted);
}

/* ── Contact ─────────────────────────────────────────────────── */
.contact {
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 80px;
}
.contact::before {
  content: '';
  position: absolute;
  bottom: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(167,139,250,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.contact h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.contact p {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 36px;
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}
.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 13px;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--text);
}

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

/* ── Animations ─────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero .container > * {
  animation: fadeUp 0.6s ease both;
}
.hero .badge        { animation-delay: 0.1s; }
.hero .hero-title   { animation-delay: 0.2s; }
.hero .hero-sub     { animation-delay: 0.3s; }
.hero .hero-actions { animation-delay: 0.4s; }
.hero .hero-proof   { animation-delay: 0.5s; }

/* ── Hamburger ───────────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 20px;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-hamburger { display: block; }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(10,11,15,0.97);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    z-index: 1000;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: 15px;
  }
  .nav-links .btn { margin-top: 12px; text-align: center; justify-content: center; }

  .step-divider { display: none; }
  .steps { flex-direction: column; align-items: center; }
  .step { max-width: 100%; }
  .footer .container { flex-direction: column; text-align: center; }
}

/* ── Docs & Commands ─────────────────────────────────────────── */
.docs-main {
  padding-top: 120px;
  padding-bottom: 100px;
}

.docs-header {
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  margin-bottom: 60px;
}

.docs-header h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.docs-header p {
  color: var(--text-muted);
  font-size: 18px;
}

.docs-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 60px;
}

.docs-sidebar {
  border-right: 1px solid var(--border);
  padding-right: 24px;
}

.docs-sidebar-sticky {
  position: sticky;
  top: 120px;
}

.docs-sidebar h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.docs-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.docs-nav-list a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 15px;
  transition: all 0.2s;
}

.docs-nav-list a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.docs-nav-list a.active {
  background: rgba(108, 138, 255, 0.1);
  color: var(--accent);
  font-weight: 600;
}

.docs-section {
  margin-bottom: 80px;
  scroll-margin-top: 120px;
}

.docs-section h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.section-desc {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 32px;
}

.cmd-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 24px;
  transition: border-color 0.2s;
}

.cmd-card:hover {
  border-color: rgba(108, 138, 255, 0.3);
}

.cmd-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.cmd-name {
  font-family: 'Fira Code', monospace;
  font-size: 20px;
  font-weight: 600;
  color: var(--accent);
}

.cmd-perm {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.cmd-desc {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.6;
}

.cmd-args strong, .cmd-example strong {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.cmd-args ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.cmd-args li {
  font-size: 14px;
  padding-left: 16px;
  border-left: 2px solid var(--border);
}

.cmd-args code {
  font-family: 'Fira Code', monospace;
  background: rgba(0,0,0,0.3);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--accent2);
}

.arg-req { color: #f87171; font-size: 12px; margin-left: 4px; }
.arg-opt { color: #9ca3af; font-size: 12px; margin-left: 4px; }

.cmd-example {
  background: var(--bg);
  padding: 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.cmd-example code {
  font-family: 'Fira Code', monospace;
  font-size: 14px;
  color: var(--green);
}

.text-center { text-align: center; }

@media (max-width: 900px) {
  .docs-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .docs-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-right: 0;
    padding-bottom: 24px;
  }
  .docs-sidebar-sticky { position: static; }
  .docs-nav-list { flex-direction: row; flex-wrap: wrap; gap: 12px; }
  .cmd-header { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 600px) {
  .hero {
    padding: 120px 0 60px;
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-sub {
    font-size: 15px;
  }
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-proof {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
}
