@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #000000;
  --bg-elevated: #09090b;
  --text: #FAFAFA;
  --text-muted: #A1A1AA;
  --text-dim: #71717A;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.18);
  --primary: #8b5cf6;
  --primary-dim: rgba(139,92,246,0.15);
  --accent: #14b8a6;
  --accent-dim: rgba(20,184,166,0.12);
  --blue: #3b82f6;
  --green: #22c55e;
  --red: #ef4444;
  --yellow: #eab308;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', monospace;
  --radius: 12px;
  --transition: all 0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Subtle background grid */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: -1;
}

/* ─── Typography ─── */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
}

.mono { font-family: var(--mono); font-size: 0.85em; letter-spacing: -0.01em; }

.text-gradient {
  background: linear-gradient(135deg, #fff 0%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header {
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 650px;
  font-size: 1.1rem;
}

/* ─── Layout ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 100px 0;
  position: relative;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-white {
  background: #fff;
  color: #000;
  border-color: #fff;
}
.btn-white:hover {
  background: #e4e4e7;
  border-color: #e4e4e7;
  box-shadow: 0 0 25px rgba(255,255,255,0.1);
}

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

/* ─── Header ─── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(16px);
}

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

.logo {
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

.logo-icon {
  width: 26px; height: 26px;
  background: var(--primary);
  border-radius: 6px;
  display: grid;
  place-items: center;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition);
}
.nav-links a:hover { color: #fff; }

/* ─── Hero ─── */
.hero {
  text-align: center;
  padding: 150px 0 80px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.3rem 0.8rem;
  background: var(--primary-dim);
  border: 1px solid rgba(139,92,246,0.3);
  color: #c4b5fd;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.badge-dot {
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary);
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  max-width: 850px;
  margin: 0 auto 1.5rem;
}

.hero .subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Terminal mockup */
.terminal {
  margin: 4rem auto 0;
  max-width: 900px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 1rem;
  height: 44px;
  border-bottom: 1px solid var(--border);
  background: #0c0c0e;
}

.terminal-dot { width: 12px; height: 12px; border-radius: 50%; }
.terminal-dot.r { background: var(--red); }
.terminal-dot.y { background: var(--yellow); }
.terminal-dot.g { background: var(--green); }

.terminal-body {
  padding: 1.5rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.9;
}
.terminal-body .prompt { color: var(--green); }
.terminal-body .info { color: var(--primary); }
.terminal-body .ok { color: var(--green); }
.terminal-body .val { color: var(--text); }
.terminal-body .comment { color: var(--text-dim); font-style: italic; }

/* ─── Bento Grid ─── */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card:hover {
  border-color: var(--border-hover);
  background: #0e0e11;
}

.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }

.card-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}
.card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.card .tag {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  background: var(--primary-dim);
  color: #c4b5fd;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ─── Feature Grid ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.feature-cell {
  padding: 2rem;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  transition: var(--transition);
}
.feature-cell:hover {
  background: rgba(255,255,255,0.02);
}
.feature-cell:nth-child(3n) { border-right: none; }

.feature-cell h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.feature-cell h4 svg { color: var(--primary); width: 18px; height: 18px; }
.feature-cell p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ─── Package Cards ─── */
.packages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.pkg {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  transition: var(--transition);
  position: relative;
}
.pkg:hover {
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(139,92,246,0.08);
}

.pkg-number {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--primary);
  margin-bottom: 1rem;
  opacity: 0.7;
}

.pkg h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.pkg p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
}

.pkg-includes {
  list-style: none;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
.pkg-includes li {
  color: var(--text-dim);
  font-size: 0.82rem;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pkg-includes li svg { color: var(--accent); width: 14px; height: 14px; flex-shrink: 0; }

/* ─── Expert section ─── */
.expert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.expert-list {
  list-style: none;
  margin-top: 2rem;
}
.expert-list li {
  margin-bottom: 1.25rem;
  display: flex;
  gap: 12px;
}
.expert-list li svg { color: var(--primary); flex-shrink: 0; margin-top: 3px; }
.expert-list strong { color: var(--text); }
.expert-list p { margin: 0; }

.expert-terminal {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.expert-terminal-bar {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-dim);
}

.expert-terminal-body {
  padding: 1.5rem;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text);
}

/* ─── CTA ─── */
.cta {
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse at center, rgba(139,92,246,0.06) 0%, transparent 60%);
}

.cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.cta .subtitle {
  margin: 0 auto 2.5rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Footer ─── */
footer {
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h5 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  color: var(--text);
}
.footer-col ul { list-style: none; }
.footer-col a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  display: block;
  margin-bottom: 0.5rem;
  transition: var(--transition);
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.82rem;
}

/* ─── Animations ─── */
[data-anim] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-anim].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .span-4 { grid-column: span 6; }
  .span-8 { grid-column: span 12; }
  .packages { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .header-inner .btn { display: none; }
  .hero h1 { font-size: 2.2rem; }
  .span-4, .span-6, .span-8 { grid-column: span 12; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-cell { border-right: none; }
  .packages { grid-template-columns: 1fr; }
  .expert-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
