:root {
  --bg: #05060a;
  --bg-alt: #0d121d;
  --navy: #0c1730;
  --border: rgba(255, 255, 255, 0.08);
  --blue: #6b9bff;
  --glow: rgba(107, 155, 255, 0.55);
  --white: #eef1f6;
  --gray-light: #aab2c5;
  --gray: #6f7891;

  --font-head: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--gray-light);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--white);
  margin: 0;
  line-height: 1.15;
}

p { margin: 0; }

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

code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: var(--blue);
  background: rgba(77, 124, 255, 0.08);
  padding: 0.1em 0.4em;
  border-radius: 4px;
}

.center { text-align: center; }
.center.section-lead, .center .quote, h2.center { margin-left: auto; margin-right: auto; }

/* ---------- Background ---------- */

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, rgba(0,0,0,0.9), transparent 75%);
}

#particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 1;
}

.page { position: relative; z-index: 1; }

/* ---------- Intro ---------- */

#intro {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background: rgba(5, 6, 10, 0.95);
  transition: opacity 1.6s cubic-bezier(0.25, 0, 0.1, 1);
}

#intro.intro-out { opacity: 0; }

#intro-word {
  position: absolute;
  font-family: var(--font-head);
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--white);
  text-align: center;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

#intro-word.show {
  opacity: 1;
  transform: translateY(0);
}

#intro-word.accent { color: var(--blue); }

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

.hero-title .line { transition-delay: 0s; }
.hero-title .line:nth-child(2) { transition-delay: 0.1s; }
.hero-title .line:nth-child(3) { transition-delay: 0.2s; }
.hero-sub { transition-delay: 0.3s; }
.cta-group { transition-delay: 0.4s; }
.status-badge { transition-delay: 0.5s; }
.hero-visual { transition-delay: 0.2s; }

.card-grid .card:nth-child(2) { transition-delay: 0.1s; }
.card-grid .card:nth-child(3) { transition-delay: 0.2s; }

.steps-line .step:nth-child(2) { transition-delay: 0.08s; }
.steps-line .step:nth-child(3) { transition-delay: 0.16s; }
.steps-line .step:nth-child(4) { transition-delay: 0.24s; }

.cmd-groups .cmd-group:nth-child(2) { transition-delay: 0.05s; }
.cmd-groups .cmd-group:nth-child(3) { transition-delay: 0.1s; }
.cmd-groups .cmd-group:nth-child(4) { transition-delay: 0.15s; }
.cmd-groups .cmd-group:nth-child(5) { transition-delay: 0.2s; }
.cmd-groups .cmd-group:nth-child(6) { transition-delay: 0.25s; }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(5, 6, 10, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  gap: 2rem;
}

.logo { display: inline-block; }

.logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2rem;
  font-size: 0.875rem;
  margin-right: auto;
}

.nav-links a {
  color: var(--gray-light);
  transition: color 0.15s ease;
}

.nav-links a:hover { color: var(--white); }

/* ---------- Hero ---------- */

.hero { border-bottom: 1px solid var(--border); }

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 2.5rem 1.5rem 2.5rem;
  min-height: calc(100vh - 60px);
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-label-name { color: var(--white); font-weight: 500; }
.hero-label-text { color: var(--gray); }

.hero-label-divider {
  width: 1px;
  height: 14px;
  background: var(--border);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.9rem;
}

.hero-title {
  font-size: clamp(2rem, 4.8vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero-title .line { display: block; }

.hero-title .accent { color: var(--blue); }

.hero-sub {
  margin-top: 1rem;
  max-width: 540px;
  font-size: 1rem;
  color: var(--gray-light);
}

.section-lead {
  margin-top: 1rem;
  max-width: 620px;
  font-size: 1.05rem;
  color: var(--gray-light);
}

.cta-group {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.18s ease;
}

.btn-pill {
  padding: 0.95rem 2.1rem;
  border-radius: 999px;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.btn-primary {
  background: var(--blue);
  color: #05060a;
  box-shadow: 0 0 0 0 var(--glow);
}

.btn-primary:hover {
  box-shadow: 0 0 32px 4px var(--glow);
  transform: translateY(-1px);
}

/* ---------- Flow Button ---------- */

.btn-flow {
  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border-radius: 100px;
  border: 1.5px solid rgba(107, 155, 255, 0.45);
  background: transparent;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  text-decoration: none;
  cursor: pointer;
  transition:
    border-color 600ms cubic-bezier(0.23, 1, 0.32, 1),
    border-radius 600ms cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-flow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background: var(--blue);
  border-radius: 50%;
  opacity: 0;
  z-index: 0;
  transition:
    width 800ms cubic-bezier(0.19, 1, 0.22, 1),
    height 800ms cubic-bezier(0.19, 1, 0.22, 1),
    opacity 600ms cubic-bezier(0.19, 1, 0.22, 1);
}

.btn-flow:hover {
  border-color: transparent;
  border-radius: 12px;
}

.btn-flow:hover::before {
  width: 360px;
  height: 360px;
  opacity: 1;
}

.btn-flow:active { transform: scale(0.96); }

.btn-flow .arr-left {
  position: absolute;
  left: -20%;
  width: 15px;
  height: 15px;
  z-index: 2;
  flex-shrink: 0;
  transition: left 800ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-flow:hover .arr-left { left: 1.1rem; }

.btn-flow .btn-text {
  position: relative;
  z-index: 1;
  transform: translateX(-3px);
  transition: transform 800ms ease-out;
}

.btn-flow:hover .btn-text { transform: translateX(5px); }

.btn-flow .arr-right {
  position: absolute;
  right: 1.1rem;
  width: 15px;
  height: 15px;
  z-index: 2;
  flex-shrink: 0;
  transition: right 800ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-flow:hover .arr-right { right: -20%; }

.btn-flow-lg {
  padding: 1.05rem 2.6rem;
  font-size: 0.85rem;
}

.btn-flow-sm {
  padding: 0.5rem 1.5rem;
  font-size: 0.72rem;
}

.btn-flow-sm .btn-text {
  transform: none;
}

.btn-flow-sm:hover .btn-text {
  transform: none;
}

.btn-link {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--gray-light);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.2rem;
}

.btn-link span {
  display: inline-block;
  transition: transform 0.18s ease;
}

.btn-link:hover { color: var(--white); border-color: var(--blue); }
.btn-link:hover span { transform: translateX(4px); }

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--white);
  border-radius: 999px;
  padding: 0.5rem 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.btn-sm { font-size: 0.7rem; }

.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

.status-badge {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gray);
  letter-spacing: 0.04em;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0 rgba(77, 124, 255, 0.6);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(77, 124, 255, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(77, 124, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(77, 124, 255, 0); }
}

/* ---------- Hero visual / AI core ---------- */

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
}

@keyframes brain-float {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 0 30px rgba(107, 155, 255, 0.5));
  }
  50% {
    transform: translateY(-18px) scale(1.03);
    filter: drop-shadow(0 0 70px rgba(107, 155, 255, 0.85));
  }
}

.hero-brain {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  animation: brain-float 4.5s ease-in-out infinite;
}

.brain-lightning {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.core {
  position: relative;
  width: 58%;
  aspect-ratio: 1;
}

.core-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(77, 124, 255, 0.22);
  border-radius: 50%;
  animation: spin linear infinite;
}

.core-ring.ring-2 {
  inset: 13%;
  border-color: rgba(77, 124, 255, 0.38);
  border-style: dashed;
  animation-duration: 26s;
  animation-direction: reverse;
}

.core-ring.ring-3 {
  inset: 28%;
  border-color: rgba(255, 255, 255, 0.12);
  animation-duration: 34s;
}

.core-ring.ring-1 { animation-duration: 18s; }

@keyframes spin { to { transform: rotate(360deg); } }

.core-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  margin: -5px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 30px 6px rgba(77, 124, 255, 0.55);
  animation: pulse-core 3s ease-in-out infinite;
}

@keyframes pulse-core {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; }
}

.visual-label {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  border-top: 1px dashed var(--border);
  padding-top: 0.85rem;
}

/* ---------- Terminal ---------- */

.terminal {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}

.terminal-bar .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border);
}

.terminal-title {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gray);
  letter-spacing: 0.05em;
}

.terminal-body {
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 2;
}

.terminal-body p { margin: 0; }

.terminal-body .prompt { color: var(--blue); }
.terminal-body .harvey { color: var(--white); }
.terminal-body .muted { color: var(--gray); }

.cursor {
  display: inline-block;
  width: 7px;
  height: 1em;
  margin-left: 0.3em;
  background: var(--blue);
  vertical-align: -0.15em;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

/* ---------- Sections ---------- */

.section {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border);
}

.section.alt { background: rgba(13, 18, 29, 0.5); }

h2 { font-size: clamp(2rem, 4.5vw, 3rem); }

/* Cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  background: var(--bg-alt);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.section.alt .card { background: var(--bg); }

.card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -20px var(--glow);
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--gray-light);
}

/* How it works: steps + terminal */

.how-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
  align-items: start;
}

.steps-line {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border-left: 1px solid var(--border);
}

.step { padding-left: 1.75rem; position: relative; }

.step::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 0.4rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px var(--bg);
}

.step-number {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--blue);
  letter-spacing: 0.05em;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0.5rem 0 0.5rem;
}

.step p {
  font-size: 0.9rem;
  color: var(--gray-light);
}

.how-grid .terminal { align-self: center; }

/* File tree */

.tree {
  margin-top: 3rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.95;
  color: var(--gray-light);
}

.tree .dir { color: var(--blue); }
.tree .comment { color: var(--gray); }

/* Commands */

.cmd-groups {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.cmd-group h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray);
  margin-bottom: 0.9rem;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.badges span {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gray-light);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0.4rem 0.8rem;
  background: var(--bg);
  transition: border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.section.alt .badges span { background: var(--bg-alt); }

.badges span:hover {
  border-color: var(--blue);
  color: var(--white);
  box-shadow: 0 0 18px -2px var(--glow);
  transform: translateY(-2px);
}

/* Principle */

.principle {
  background: var(--navy);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.quote {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3.5vw, 2.25rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--white);
  max-width: 820px;
  margin: 0 auto;
}

.quote-attr {
  margin-top: 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}

/* FAQ */

.faq-section h2 { margin-top: 0.5rem; }

.faq-list {
  margin-top: 3rem;
  border-top: 1px solid var(--border);
}

.faq-item { border-bottom: 1px solid var(--border); }

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.6rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  transition: color 0.15s ease;
}

.faq-q:hover { color: var(--blue); }

.faq-icon {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--blue);
  transition: transform 0.25s ease;
}

.faq-icon::before {
  left: 0;
  top: 50%;
  width: 100%;
  height: 1.5px;
  transform: translateY(-50%);
}

.faq-icon::after {
  top: 0;
  left: 50%;
  width: 1.5px;
  height: 100%;
  transform: translateX(-50%);
}

.faq-item.open .faq-icon::after { transform: translateX(-50%) scaleY(0); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-a-inner { padding-bottom: 1.6rem; }

.faq-a p {
  font-size: 0.95rem;
  color: var(--gray-light);
  max-width: 620px;
}

/* ---------- Pricing Section ---------- */

.pricing-section { background: rgba(13, 18, 29, 0.5); }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  background: #060b14;
  border: 1px solid rgba(77, 124, 255, 0.22);
  border-radius: 16px;
  padding: 2.75rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: inset 0 0 80px -40px rgba(77, 124, 255, 0.1), 0 0 60px -30px rgba(77, 124, 255, 0.12);
}

.pricing-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0;
}

.pricing-heading {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin: 0;
}

.pricing-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-light);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.28rem 0.65rem;
  width: fit-content;
}

.pricing-price {
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 7vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin: 0.25rem 0;
  letter-spacing: -0.03em;
}


.pricing-fine {
  font-size: 0.78rem;
  color: var(--gray);
  margin: 0;
  line-height: 1.55;
}

/* VS Code window */

.vscode-window {
  background: #0d1117;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}

.vscode-titlebar {
  display: flex;
  align-items: center;
  height: 34px;
  padding: 0 1rem;
  gap: 0.6rem;
  background: #161b22;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex: none;
}

.vscode-tl-dots { display: flex; gap: 0.45rem; flex: none; }

.vscode-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.vscode-dot-red    { background: #ff5f57; }
.vscode-dot-yellow { background: #febc2e; }
.vscode-dot-green  { background: #28c840; }

.vscode-tl-name {
  margin: 0 auto;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--gray);
}

.vscode-tl-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--gray);
  flex: none;
}

.vscode-status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

/* Body */
.vscode-body {
  display: flex;
  flex: 1;
  min-height: 320px;
  overflow: hidden;
}

/* Activity bar */
.vscode-activitybar {
  width: 44px;
  background: #161b22;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: none;
  padding: 6px 0;
}

.vscode-ab-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.vscode-ab-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.vscode-ab-btn {
  width: 36px; height: 36px;
  background: none; border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.33);
  border-radius: 6px;
  transition: color 0.12s, background 0.12s;
  position: relative;
  flex: none;
}

.vscode-ab-btn:hover { color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.05); }
.vscode-ab-active { color: rgba(255,255,255,0.88) !important; }

.vscode-ab-badge::after {
  content: attr(data-badge);
  position: absolute;
  top: 4px; right: 4px;
  min-width: 14px; height: 14px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  font-weight: 700;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

/* Explorer panel */
.vscode-explorer {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.vscode-explorer-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem 0.45rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  flex: none;
}

.vscode-eh-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.42);
}

.vscode-eh-path {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: rgba(255,255,255,0.22);
}

.vscode-eh-actions {
  margin-left: auto;
  display: flex;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.22);
}

.vscode-eh-actions span { cursor: pointer; }
.vscode-eh-actions span:hover { color: rgba(255,255,255,0.65); }

/* Tree */
.vscode-tree {
  flex: 1;
  padding: 3px 0;
  overflow: hidden;
}

.vscode-row {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 2.5px 8px 2.5px 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  cursor: default;
  white-space: nowrap;
}

.vscode-row-active { background: rgba(77,124,255,0.13); }
.vscode-row:not(.vscode-row-active):hover { background: rgba(255,255,255,0.04); }
.vscode-row-child { padding-left: 28px; }

.vscode-chevron {
  color: rgba(255,255,255,0.35);
  font-size: 0.6rem;
  width: 12px;
  flex: none;
  text-align: center;
}

/* Icons */
.vscode-fi {
  display: inline-block;
  flex: none;
  width: 14px; height: 11px;
  position: relative;
  margin-right: 4px;
}

.vscode-fi-folder {
  background: #e8a838;
  border-radius: 0 2px 2px 2px;
}
.vscode-fi-folder::before {
  content: "";
  position: absolute;
  top: -3px; left: 0;
  width: 6px; height: 3px;
  background: #e8a838;
  border-radius: 2px 2px 0 0;
}

.vscode-fi-folder-dot {
  background: transparent;
  border: 1.5px dashed rgba(200,160,80,0.65);
  border-radius: 0 2px 2px 2px;
}
.vscode-fi-folder-dot::before {
  content: "";
  position: absolute;
  top: -4px; left: -2px;
  width: 6px; height: 4px;
  border-top: 1.5px dashed rgba(200,160,80,0.65);
  border-left: 1.5px dashed rgba(200,160,80,0.65);
  border-right: 1.5px dashed rgba(200,160,80,0.65);
  border-radius: 2px 2px 0 0;
}

.vscode-fi-md {
  width: 12px; height: 14px;
  background: #4d7cff;
  border-radius: 2px 4px 2px 2px;
}
.vscode-fi-md::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 4px; height: 4px;
  background: #0d1117;
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.vscode-rname {
  color: rgba(204,215,235,0.85);
  flex: none;
}
.vscode-row-active .vscode-rname { color: #fff; }
.vscode-row-child .vscode-rname  { color: rgba(170,190,220,0.72); }

.vscode-rdesc {
  color: rgba(111,120,145,0.65);
  font-size: 0.7rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Terminal panel */
.vscode-terminal-panel {
  border-top: 1px solid rgba(255,255,255,0.06);
  background: #090d12;
  flex: none;
}

.vscode-terminal-tab {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  padding: 0.45rem 0.85rem 0.35rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.vscode-terminal-body {
  padding: 0.65rem 0.85rem 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.vscode-term-arrow { color: var(--blue); font-size: 0.7rem; }
.vscode-term-name  { color: var(--blue); font-weight: 500; }
.vscode-typing     { color: rgba(204,215,235,0.88); }

/* Status bar */
.vscode-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 24px;
  background: #1a2233;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 0 0.85rem;
  flex: none;
}

.vscode-sb-left,
.vscode-sb-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: rgba(255,255,255,0.42);
}

.vscode-sb-sep { opacity: 0.35; }

.vscode-sb-circle {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #febc2e;
  vertical-align: middle;
  margin-right: 2px;
}

.vscode-sb-ok { background: #28c840; }

@media (max-width: 860px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .vscode-activitybar { width: 36px; }
}

/* ---------- CTA final ---------- */

/* CTA final */

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

.cta-final .section-lead { margin-top: 1.25rem; }

.cta-final-actions { margin-top: 2.5rem; }

/* Footer */

.footer { padding: 3rem 0; }

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer .muted {
  font-size: 0.85rem;
  color: var(--gray);
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 2rem 1.25rem 2rem;
    gap: 2rem;
    min-height: unset;
  }

  .hero-visual { max-width: 360px; margin: 0 auto; }

  .how-grid { grid-template-columns: 1fr; gap: 3rem; }

  .card-grid { grid-template-columns: 1fr; }

  .nav-links { display: none; }

  .section { padding: 4rem 0; }
}

@media (max-width: 520px) {
  .cta-group { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
}
