/* =========================================
   Klaudii Marketing Site — style.css
   Dark-first, developer-focused design
   ========================================= */

:root {
  /* Colors */
  --bg:            #0a0a0f;
  --bg-raised:     #111118;
  --bg-card:       #16161f;
  --bg-card-hover: #1c1c28;
  --border:        rgba(255,255,255,0.06);
  --border-bright: rgba(255,255,255,0.12);

  --text:          #e4e4ed;
  --text-muted:    #8888a0;
  --text-dim:      #55556a;

  --accent:        #7c5bf5;
  --accent-light:  #a78bfa;
  --accent-glow:   rgba(124,91,245,0.15);
  --accent-glow-strong: rgba(124,91,245,0.3);

  --green:         #34d399;
  --green-bg:      rgba(52,211,153,0.1);
  --yellow:        #fbbf24;
  --yellow-bg:     rgba(251,191,36,0.1);
  --red:           #f87171;
  --red-bg:        rgba(248,113,113,0.1);

  /* Typography */
  --font:          'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:     'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

  /* Spacing */
  --section-gap:   8rem;
  --container-max: 1200px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
}

::selection {
  background: rgba(124,91,245,0.3);
  color: #fff;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ---- UTILITIES ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.gradient-text {
  background: linear-gradient(135deg, var(--accent-light) 0%, #c084fc 50%, #e879f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-title .gradient-text {
  background-size: 200% 200%;
  animation: gradient-shift 6s ease infinite;
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.muted { color: var(--text-muted); }
.dim { color: var(--text-dim); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: #6d4de8;
  box-shadow: 0 0 24px var(--accent-glow-strong);
}
.btn-green {
  background: #15803d;
  color: #fff;
  border-color: #15803d;
}
.btn-green:hover {
  background: #166534;
  box-shadow: 0 0 24px rgba(21,128,61,0.3);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-bright);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.2);
}
.btn-lg {
  padding: 0.8rem 1.75rem;
  font-size: 1rem;
}
.btn-block {
  display: block;
  text-align: center;
  width: 100%;
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10,10,15,0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.nav-logo-icon { width: 28px; height: 28px; }
.nav-links {
  display: flex;
  gap: 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  position: relative;
}
.nav-links a {
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
.nav-link-muted { opacity: 0.6; }
.nav-indicator {
  position: absolute;
  bottom: -4px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1), width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.nav-actions { display: flex; gap: 0.75rem; }
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: 0.2s;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 1rem 1.5rem 1.5rem;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}
.nav-mobile a:hover { color: var(--text); }
.nav-mobile.open { display: flex; }

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-mobile-toggle { display: flex; }
}

/* ---- HERO ---- */
.hero {
  position: relative;
  padding: 10rem 0 4rem;
  text-align: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, var(--accent-glow-strong) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }
.hero-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-light);
  background: var(--accent-glow);
  border: 1px solid rgba(124,91,245,0.2);
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-visual {
  margin-top: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- TERMINAL MOCKUP ---- */
.terminal {
  background: #0d0d14;
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 4px 24px rgba(0,0,0,0.4),
    0 0 0 1px rgba(255,255,255,0.03),
    0 0 80px var(--accent-glow);
}
.terminal-bar {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.terminal-dots { display: flex; gap: 6px; margin-right: 1rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }
.terminal-title {
  font-size: 0.8rem;
  color: var(--text-dim);
  flex: 1;
  text-align: center;
}
.terminal-body {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.8;
  min-height: 60px;
}
.terminal-line {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.terminal-prompt { color: var(--green); font-weight: 500; }
.terminal-cmd, .terminal-cmd-static { color: var(--text); }
.terminal-cursor {
  color: var(--accent-light);
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.terminal-output {
  margin-top: 0.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.8;
}
.terminal-output .line-check { color: var(--green); }
.terminal-output .line-arrow { color: var(--accent-light); }

.copy-btn {
  margin-left: auto;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-bright);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font);
}
.copy-btn:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text);
}

/* ---- LOGOS ---- */
.logos-section {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.logos-label {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.logos-row {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.logo-item {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dim);
  opacity: 0.5;
  transition: opacity 0.2s;
  font-family: var(--font-mono);
}
.logo-item:hover { opacity: 0.8; }

/* ---- FEATURES ---- */
.features {
  padding: var(--section-gap) 0;
}
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: var(--section-gap);
}
.feature-block:last-child { margin-bottom: 0; }
.feature-block-reverse { direction: rtl; }
.feature-block-reverse > * { direction: ltr; }
.feature-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-light);
  margin-bottom: 0.75rem;
}
.feature-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.feature-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.feature-list li {
  font-size: 0.95rem;
  color: var(--text-muted);
  padding-left: 1.5rem;
  position: relative;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.feature-visual {
  display: flex;
  justify-content: center;
}

@media (max-width: 900px) {
  .feature-block {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .feature-block-reverse { direction: ltr; }
}

/* ---- MOCK DASHBOARD ---- */
.mock-dashboard {
  background: var(--bg-raised);
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 600;
}
.mock-header-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.mock-logo-sm {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--accent), #a855f7);
}
.mock-btn-sm {
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
}
.mock-cards { padding: 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; }
.mock-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem;
  transition: border-color 0.2s;
}
.mock-card:hover { border-color: var(--border-bright); }
.mock-card-dim { opacity: 0.6; }
.mock-card-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}
.mock-card-name {
  font-size: 0.85rem;
  font-weight: 600;
}
.mock-branch {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 400;
  font-family: var(--font-mono);
}
.mock-badge {
  font-size: 0.65rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.mock-badge.running {
  background: var(--green-bg);
  color: var(--green);
}
.mock-badge.stopped {
  background: rgba(255,255,255,0.05);
  color: var(--text-dim);
}
.mock-card-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.7rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  margin-bottom: 0.4rem;
}
.mock-card-git {
  display: flex;
  gap: 0.75rem;
  font-size: 0.7rem;
  margin-bottom: 0.5rem;
}
.mock-git-clean {
  color: var(--green);
  background: var(--green-bg);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-weight: 500;
}
.mock-git-dirty {
  color: var(--yellow);
  background: var(--yellow-bg);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-weight: 500;
}
.mock-card-actions {
  display: flex;
  gap: 0.4rem;
}
.mock-action-btn {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
  font-weight: 500;
}

/* ---- MOCK TERMINAL FULL ---- */
.mock-terminal-full {
  background: #0d0d14;
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  max-width: 560px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.terminal-body-tall {
  min-height: 260px;
  font-size: 0.8rem;
  line-height: 1.9;
}
.term-line {
  padding: 0.1rem 0;
  color: var(--text-muted);
}
.term-line.dim { color: var(--text-dim); padding-left: 0.5rem; }
.term-line.success { color: var(--green); padding-left: 0.5rem; }
.term-claude {
  color: var(--accent-light);
  font-weight: 600;
  margin-right: 0.3rem;
}

/* ---- GIT FLOW VISUAL ---- */
.git-flow-visual {
  width: 100%;
  max-width: 400px;
}
.git-repo-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.git-repo-icon { color: var(--text-muted); display: flex; }
.git-branches {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--border-bright);
}
.git-branch-line {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}
.git-branch-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-bright);
  margin-left: -6px;
  flex-shrink: 0;
}
.git-branch-dot.active { background: var(--green); box-shadow: 0 0 8px rgba(52,211,153,0.4); }
.git-branch-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  flex: 1;
}
.git-branch-name {
  font-size: 0.85rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

/* ---- PERMISSIONS VISUAL ---- */
.permissions-visual {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.perm-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
}
.perm-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}
.perm-name {
  font-weight: 600;
  font-size: 0.9rem;
}
.perm-toggle {
  display: flex;
  gap: 2px;
  padding: 2px;
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
}
.perm-opt {
  font-size: 0.7rem;
  padding: 0.25rem 0.6rem;
  border-radius: 5px;
  color: var(--text-dim);
  font-weight: 500;
}
.perm-active-yolo { background: var(--green-bg); color: var(--green); }
.perm-active-ask { background: var(--yellow-bg); color: var(--yellow); }
.perm-active-strict { background: var(--red-bg); color: var(--red); }
.perm-desc {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ---- SECURITY / E2E ---- */
.security {
  padding: var(--section-gap) 0;
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* E2E Diagram */
.e2e-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}
.e2e-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  min-width: 140px;
}
.e2e-relay {
  border-color: rgba(255,255,255,0.04);
  background: rgba(255,255,255,0.02);
  opacity: 0.5;
}
.e2e-icon { color: var(--accent-light); }
.e2e-label { font-weight: 600; font-size: 0.9rem; }
.e2e-sublabel { font-size: 0.75rem; color: var(--text-dim); font-family: var(--font-mono); }
.e2e-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0 1rem;
}
.e2e-arrow-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(124,91,245,0.2) 50%, var(--accent) 100%);
  border-radius: 1px;
}
.e2e-arrow-label {
  font-size: 0.65rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .e2e-diagram { flex-direction: column; gap: 0.5rem; }
  .e2e-arrow {
    transform: rotate(90deg);
    padding: 0.5rem 0;
  }
}

/* Security Cards */
.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.security-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.security-card:hover {
  border-color: var(--border-bright);
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}
.security-card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--accent-glow);
  color: var(--accent-light);
  margin-bottom: 1rem;
}
.security-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.security-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- CHROME EXTENSION SECTION ---- */
.extension-section {
  padding: var(--section-gap) 0;
}

/* Mock Extension */
.mock-extension {
  width: 300px;
  background: var(--bg-raised);
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.mock-ext-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 600;
}
.mock-ext-logo {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--accent), #a855f7);
}
.mock-ext-status {
  margin-left: auto;
  font-size: 0.65rem;
  color: var(--green);
  font-weight: 500;
}
.mock-ext-cards {
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.mock-ext-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
}
.mock-ext-card-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}
.mock-ext-name { font-size: 0.8rem; font-weight: 600; }
.mock-ext-branch {
  font-size: 0.7rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  margin-bottom: 0.3rem;
}
.mock-ext-actions {
  display: flex;
  gap: 0.4rem;
  font-size: 0.65rem;
  color: var(--accent-light);
  font-weight: 500;
}

/* ---- STATS BAND ---- */
.stats-band {
  padding: 4rem 0;
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-value {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-dim);
}

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- SETUP ---- */
.setup {
  padding: var(--section-gap) 0;
}
.setup-terminal {
  max-width: 640px;
  margin: 0 auto 4rem;
}
.setup-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}
.setup-step {
  display: flex;
  gap: 1rem;
}
.setup-step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-glow);
  color: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.setup-step-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.setup-step-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .setup-steps { grid-template-columns: 1fr; }
}

.setup-reqs {
  text-align: center;
}
.setup-reqs h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}
.reqs-list {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.req-item {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ---- PRICING ---- */
.pricing {
  padding: var(--section-gap) 0;
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
}
.pricing-card-pro {
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-glow);
}
.pricing-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 1rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--accent);
  color: #fff;
}
.pricing-tier {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.pricing-price {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.pricing-period {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}
.pricing-features {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.pricing-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
}
.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-dim);
}
.pricing-highlight { color: var(--text) !important; font-weight: 500; }
.pricing-highlight::before { background: var(--accent) !important; }

@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ---- ARCHITECTURE ---- */
.architecture {
  padding: var(--section-gap) 0;
}
.arch-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
}
.arch-layer {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
}
.arch-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  width: 80px;
  text-align: right;
  flex-shrink: 0;
}
.arch-items {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.arch-item {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.arch-connector {
  display: flex;
  justify-content: center;
  padding-left: 80px;
}

/* ---- FINAL CTA ---- */
.final-cta {
  padding: var(--section-gap) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.final-cta > .container { position: relative; z-index: 1; }

/* ---- FOOTER ---- */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-logo { margin-bottom: 0.75rem; }
.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.5;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 0.25rem;
}
.footer-col a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-dim);
  text-align: center;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---- SCROLL ANIMATIONS ---- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .terminal-cursor { animation: none; opacity: 1; }
}
