/* ===== CSS RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #0C2340;
  --blue: #00B0E4;
  --green: #84BD00;
  --red: #FF6B6B;
  --bg: #0d1117;
  --bg2: #161b22;
  --bg3: #1c2333;
  --border: #30363d;
  --text: #e6edf3;
  --text-muted: #8b949e;
  --text-dim: #6e7681;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;

  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-blue: 0 0 40px rgba(0, 176, 228, 0.15);
  --shadow-green: 0 0 40px rgba(132, 189, 0, 0.12);

  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

a:hover {
  opacity: 0.8;
}

img, svg {
  display: block;
  max-width: 100%;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 8vw, 5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

p {
  color: var(--text-muted);
  max-width: 65ch;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1rem;
  color: var(--text);
}

.section-desc {
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 6rem 0;
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(48, 54, 61, 0.5);
  transition: box-shadow 0.3s;
}

nav.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo svg {
  width: 28px;
  height: 28px;
}

.nav-logo .logo-text {
  color: var(--blue);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--text);
  opacity: 1;
}

.nav-cta {
  background: var(--blue);
  color: var(--bg) !important;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta:hover {
  background: #00c9ff;
  transform: translateY(-1px);
  opacity: 1 !important;
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text);
}

/* ===== HERO ===== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 0 6rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0, 176, 228, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(12, 35, 64, 0.6) 0%, transparent 50%),
    radial-gradient(ellipse 40% 30% at 20% 70%, rgba(132, 189, 0, 0.06) 0%, transparent 50%);
  animation: bgPulse 8s ease-in-out infinite alternate;
}

@keyframes bgPulse {
  0% {
    background:
      radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0, 176, 228, 0.12) 0%, transparent 60%),
      radial-gradient(ellipse 60% 40% at 80% 80%, rgba(12, 35, 64, 0.6) 0%, transparent 50%),
      radial-gradient(ellipse 40% 30% at 20% 70%, rgba(132, 189, 0, 0.06) 0%, transparent 50%);
  }
  100% {
    background:
      radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0, 176, 228, 0.18) 0%, transparent 60%),
      radial-gradient(ellipse 60% 40% at 80% 80%, rgba(12, 35, 64, 0.8) 0%, transparent 50%),
      radial-gradient(ellipse 40% 30% at 20% 70%, rgba(132, 189, 0, 0.1) 0%, transparent 50%);
  }
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0, 176, 228, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 176, 228, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0, 176, 228, 0.1);
  border: 1px solid rgba(0, 176, 228, 0.3);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease both;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: blink 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-size: clamp(3.5rem, 10vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #ffffff 0%, var(--blue) 60%, #84BD00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-subtitle {
  font-size: clamp(1.15rem, 2.8vw, 1.55rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.35;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-desc {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: var(--text-muted);
  margin: 0 auto 2.5rem;
  max-width: 55ch;
  line-height: 1.75;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, opacity 0.2s;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 176, 228, 0.35);
}

.btn-primary:hover {
  background: #00c9ff;
  box-shadow: 0 6px 30px rgba(0, 176, 228, 0.5);
}

.btn-secondary {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--blue);
}

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

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

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 4rem;
  animation: fadeInUp 0.6s ease 0.5s both;
  flex-wrap: wrap;
}

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

.hero-stat-num {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  display: block;
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== THE PROBLEM ===== */
#problem {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(20, 10, 10, 0.6) 50%, var(--bg) 100%);
  border-top: 1px solid var(--border);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.problem-card {
  background: var(--bg2);
  border: 1px solid rgba(255, 107, 107, 0.15);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}

.problem-card:hover {
  border-color: rgba(255, 107, 107, 0.35);
  transform: translateY(-2px);
}

.problem-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
  line-height: 1;
}

.problem-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.problem-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: none;
  margin: 0;
}

.problem-callout {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 107, 107, 0.06);
  border: 1px solid rgba(255, 107, 107, 0.2);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.problem-callout strong {
  color: #FF6B6B;
}

.callout-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ===== ZERO TRUST ===== */
#zerotrust {
  background: linear-gradient(180deg, var(--bg) 0%, var(--navy) 40%, var(--bg) 100%);
  border-top: 1px solid var(--border);
}

/* Architecture comparison */
.arch-comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 4rem;
}

.arch-panel {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  overflow: hidden;
}

.arch-panel-bad {
  border-color: rgba(255, 107, 107, 0.2);
}

.arch-panel-good {
  border-color: rgba(132, 189, 0, 0.25);
  box-shadow: var(--shadow-green);
}

.arch-panel-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  display: inline-block;
}

.arch-panel-label.danger {
  background: rgba(255, 107, 107, 0.1);
  color: #FF6B6B;
}

.arch-panel-label.success {
  background: rgba(132, 189, 0, 0.12);
  color: var(--green);
}

.arch-vs {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dim);
  text-align: center;
  padding: 0 0.5rem;
  flex-shrink: 0;
}

/* ZT Feature Grid */
.zt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.zt-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.zt-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  opacity: 0;
  transition: opacity 0.2s;
}

.zt-card:hover {
  border-color: rgba(0, 176, 228, 0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow-blue);
}

.zt-card:hover::before {
  opacity: 1;
}

.zt-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.zt-icon.tailscale { background: rgba(0, 176, 228, 0.12); }
.zt-icon.pki { background: rgba(132, 189, 0, 0.12); }
.zt-icon.mtls { background: rgba(0, 176, 228, 0.08); }
.zt-icon.plugcharge { background: rgba(132, 189, 0, 0.1); }
.zt-icon.nis2 { background: rgba(0, 176, 228, 0.1); }
.zt-icon.audit { background: rgba(132, 189, 0, 0.08); }

.zt-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.65rem;
}

.zt-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: none;
  margin-bottom: 1rem;
}

.zt-card p strong {
  color: var(--text);
  font-weight: 600;
}

.zt-badge {
  display: inline-flex;
  padding: 0.25rem 0.65rem;
  background: rgba(0, 176, 228, 0.08);
  border: 1px solid rgba(0, 176, 228, 0.2);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--blue);
  text-transform: uppercase;
}

/* ===== STACK SECTION ===== */
#stack {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.stack-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  cursor: default;
}

.stack-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  opacity: 0;
  transition: opacity 0.2s;
}

.stack-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 176, 228, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), var(--shadow-blue);
}

.stack-card:hover::before {
  opacity: 1;
}

.stack-icon {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  display: block;
  line-height: 1;
}

.stack-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.stack-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: none;
}

.stack-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--blue);
  margin-top: 1rem;
  font-weight: 500;
  text-decoration: none;
}

.stack-link:hover {
  opacity: 0.8;
}

/* ===== COMPARISON TABLE ===== */
#comparison {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 50%, var(--bg) 100%);
  border-top: 1px solid var(--border);
}

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.comparison-table th {
  text-align: left;
  padding: 1rem 1.25rem;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.comparison-table th.col-opencpo {
  color: var(--green);
  background: rgba(132, 189, 0, 0.06);
}

.comparison-table td {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid rgba(48, 54, 61, 0.5);
  vertical-align: middle;
  color: var(--text-muted);
}

.comparison-table td.col-opencpo {
  background: rgba(132, 189, 0, 0.04);
  font-weight: 600;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.comparison-table tr:hover td.col-opencpo {
  background: rgba(132, 189, 0, 0.06);
}

.check {
  color: var(--green);
  font-weight: 700;
  font-size: 1rem;
}

.cross {
  color: var(--text-dim);
  font-size: 1rem;
}

.partial {
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 600;
}

.table-note {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 1rem;
  text-align: center;
  max-width: none;
}

/* ===== IMPACT ===== */
#impact {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.impact-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.2s, border-color 0.2s;
}

.impact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 176, 228, 0.3);
}

.impact-who {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.impact-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.impact-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: none;
  margin: 0;
}

.impact-card em {
  color: var(--text);
  font-style: italic;
}

.impact-callout {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.impact-stat {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.impact-stat-num {
  display: block;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.impact-stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.4;
  display: block;
}

.impact-divider {
  width: 1px;
  background: var(--border);
  margin: 2rem 0;
  display: none; /* handled by border */
}

.impact-callout .impact-stat + .impact-stat {
  border-left: 1px solid var(--border);
}

/* ===== QUICKSTART ===== */
#quickstart {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.quickstart-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.code-block {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: sticky;
  top: 6rem;
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
}

.code-dots {
  display: flex;
  gap: 6px;
}

.code-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.code-dot-red { background: #ff5f57; }
.code-dot-yellow { background: #febc2e; }
.code-dot-green { background: #28c840; }

.code-title {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.code-body {
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.8;
  overflow-x: auto;
}

.code-comment { color: #6e7681; }
.code-prompt { color: var(--green); user-select: none; }
.code-cmd { color: var(--text); }
.code-string { color: var(--blue); }
.code-output { color: var(--text-dim); }

.qs-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.qs-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.qs-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 176, 228, 0.15);
  border: 1px solid rgba(0, 176, 228, 0.3);
  color: var(--blue);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.qs-step-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.qs-step-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: none;
}

.qs-ready {
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: rgba(132, 189, 0, 0.08);
  border: 1px solid rgba(132, 189, 0, 0.25);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.qs-prod {
  padding: 1.25rem 1.5rem;
  background: rgba(0, 176, 228, 0.06);
  border: 1px solid rgba(0, 176, 228, 0.2);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
}

.qs-prod-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 0.6rem;
}

.qs-prod p {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: none;
  line-height: 1.6;
  margin: 0;
}

/* ===== PRACTITIONERS ===== */
#practitioners {
  background: linear-gradient(180deg, var(--bg) 0%, var(--navy) 50%, var(--bg) 100%);
  border-top: 1px solid var(--border);
}

.practitioners-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: start;
}

.practitioners-text p {
  margin-bottom: 1rem;
  max-width: 55ch;
}

.practitioners-facts {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.pf-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.pf-check {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 0.9rem;
  margin-top: 1px;
}

.practitioners-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: sticky;
  top: 6rem;
}

.pc-quote {
  font-size: 4rem;
  line-height: 0.8;
  color: var(--blue);
  opacity: 0.4;
  font-family: Georgia, serif;
  margin-bottom: 0.5rem;
}

.pc-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  font-style: italic;
  margin-bottom: 1.25rem;
  max-width: none;
}

.pc-subtext {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: none;
}

.pc-attribution strong {
  color: var(--text);
  font-size: 0.9rem;
}

.pc-attribution span {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ===== COMMUNITY ===== */
#community {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.community-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: start;
}

.community-channels {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.community-channel {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.community-channel:hover {
  border-color: rgba(0, 176, 228, 0.4);
  transform: translateX(4px);
  box-shadow: var(--shadow-blue);
  opacity: 1;
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.channel-icon.discord { background: rgba(88, 101, 242, 0.15); }
.channel-icon.github { background: rgba(255, 255, 255, 0.06); }
.channel-icon.docs { background: rgba(0, 176, 228, 0.12); }
.channel-icon.profiles { background: rgba(132, 189, 0, 0.12); }

.channel-name {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.channel-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: none;
  margin-bottom: 0;
}

.community-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 6rem;
}

.contributing-box,
.security-disclosure-box,
.roadmap-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.contributing-box { border-left: 3px solid var(--green); }
.security-disclosure-box { border-left: 3px solid var(--blue); }
.roadmap-box { border-left: 3px solid rgba(132, 189, 0, 0.5); }

.cb-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.contributing-box p,
.security-disclosure-box p {
  font-size: 0.875rem;
  max-width: none;
  margin: 0;
}

.roadmap-list {
  list-style: none;
  margin-top: 0.25rem;
}

.roadmap-list li {
  font-size: 0.875rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(48, 54, 61, 0.4);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.roadmap-list li:last-child {
  border-bottom: none;
}

.roadmap-list li::before {
  content: '→';
  color: var(--blue);
  font-weight: 600;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ===== FOOTER ===== */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

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

.footer-brand .nav-logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.875rem;
  max-width: 28ch;
  margin-bottom: 1.25rem;
}

.footer-license {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.8rem;
  background: rgba(132, 189, 0, 0.1);
  border: 1px solid rgba(132, 189, 0, 0.25);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--text);
  opacity: 1;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-dim);
  max-width: none;
  margin: 0;
}

.footer-bottom a {
  color: var(--text-dim);
  font-size: 0.8rem;
}

.footer-bottom a:hover {
  color: var(--text-muted);
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-center p { margin: 0 auto; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .arch-comparison {
    grid-template-columns: 1fr;
  }
  .arch-vs {
    text-align: center;
    padding: 0.5rem 0;
  }
}

@media (max-width: 900px) {
  .quickstart-inner,
  .community-grid,
  .practitioners-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .code-block,
  .practitioners-card,
  .community-side {
    position: static;
  }

  .impact-callout {
    grid-template-columns: repeat(2, 1fr);
  }

  .impact-callout .impact-stat:nth-child(3) {
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .impact-callout .impact-stat:nth-child(2n+1):not(:first-child) {
    border-left: none;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  section { padding: 4rem 0; }

  .nav-links {
    display: none;
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-mobile-toggle {
    display: flex;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .problem-grid,
  .zt-grid {
    grid-template-columns: 1fr;
  }

  .impact-callout {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .impact-callout {
    grid-template-columns: 1fr;
  }

  .impact-callout .impact-stat + .impact-stat {
    border-left: none;
    border-top: 1px solid var(--border);
  }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-dim);
}

/* ===== AI SECTION ===== */
.ai-flow {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin: 3rem 0 2rem;
  justify-content: center;
}

.ai-step {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 1.5rem;
}

.ai-step-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.ai-step-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.ai-step p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.ai-arrow {
  font-size: 1.5rem;
  color: var(--blue);
  margin-top: 2.5rem;
  opacity: 0.6;
  flex-shrink: 0;
}

.ai-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}

.ai-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

.ai-detail-card h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.ai-detail-card p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .ai-flow {
    flex-direction: column;
    align-items: center;
  }
  .ai-arrow {
    transform: rotate(90deg);
    margin: 0;
  }
  .ai-details {
    grid-template-columns: 1fr;
  }
}

/* ===== FOCUS STYLES ===== */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}
