/* ============================================
   InferX Static Site - styles.css
   Cyberpunk Dark Theme
   ============================================ */

/* === DESIGN TOKENS === */
:root {
  --neon: #00FF41;
  --neon-10: rgba(0, 255, 65, 0.1);
  --neon-15: rgba(0, 255, 65, 0.15);
  --neon-20: rgba(0, 255, 65, 0.2);
  --neon-40: rgba(0, 255, 65, 0.4);
  --neon-60: rgba(0, 255, 65, 0.6);
  --red: #FF4444;
  --bg: #050505;
  --bg-card: #0a0a0a;
  --bg-elevated: #111111;
  --border: #1a1a1a;
  --border-light: #333333;
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --text-muted: #888888;
  --text-dim: #666666;
  --text-faint: #555555;
  --text-ghost: #444444;
  --font-heading: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
}

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

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

img { max-width: 100%; }

::selection {
  background: var(--neon-20);
}

/* === LAYOUT === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.4); opacity: 0; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes growWidth {
  from { width: 0%; }
  to { width: 100%; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }
.animate-on-scroll.delay-5 { transition-delay: 0.5s; }

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(5, 5, 5, 0.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.logo-icon {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
}

.navbar-logo:hover .logo-icon {
  transform: scale(1.1);
}

.hamburger-btn {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 8px;
  transition: color 0.2s;
}

.hamburger-btn:hover {
  color: #ccc;
}

.nav-dropdown {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 8px;
  width: 224px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  display: none;
}

.nav-dropdown.open {
  display: block;
}

.nav-dropdown a {
  display: block;
  padding: 12px 20px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: #ccc;
  transition: all 0.2s;
}

.nav-dropdown a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.05);
}

/* Simple navbar variant (pricing, etc.) */
.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-links a {
  font-family: var(--font-mono);
  font-size: 14px;
  color: #999;
  transition: color 0.2s;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: white;
}

.btn-nav-cta {
  font-family: var(--font-mono);
  font-size: 14px;
  padding: 8px 20px;
  border-radius: 4px;
  border: 1px solid var(--neon);
  color: var(--neon);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-nav-cta:hover {
  box-shadow: 0 0 20px var(--neon-40);
}

/* === BUTTONS === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  padding: 16px 40px;
  border-radius: 4px;
  border: none;
  background-color: var(--neon);
  color: #000;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-primary:hover {
  box-shadow: 0 0 30px var(--neon-40);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 16px;
  padding: 16px 40px;
  border-radius: 4px;
  border: 1px solid #555;
  background: transparent;
  color: white;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: #888;
}

.btn-outline-neon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 8px;
  border: 1px solid var(--neon-60);
  color: var(--neon);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-outline-neon:hover {
  box-shadow: 0 0 20px var(--neon-20);
  background: rgba(0, 255, 65, 0.03);
}

/* === SECTION STYLES === */
.section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--neon);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  margin-top: 12px;
}

.section-subtitle {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 16px;
  max-width: 600px;
}

/* === HERO SECTION === */
.hero {
  padding-top: 128px;
  padding-bottom: 64px;
  position: relative;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(0,255,65,0.06) 60px, rgba(0,255,65,0.06) 61px),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(0,255,65,0.06) 60px, rgba(0,255,65,0.06) 61px);
}

.hero-gpu-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
}

.hero-gpu-bg svg {
  width: 700px;
  height: 700px;
  opacity: 0.03;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

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

.hero-subtitle {
  display: block;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  letter-spacing: 0;
  margin-top: 12px;
  font-family: var(--font-mono);
  color: var(--text-dim);
}

.hero-description {
  font-size: clamp(16px, 2vw, 20px);
  color: #999;
  margin-bottom: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-description .highlight {
  color: white;
  font-weight: 600;
}

.hero-description .neon-text {
  color: var(--neon);
  font-weight: 700;
}

.badge-container {
  margin-bottom: 40px;
}

.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: var(--neon-10);
  border: 1px solid var(--neon);
  color: var(--neon);
}

.badge-sub {
  display: block;
  font-size: 12px;
  color: #999;
  margin-top: 4px;
  font-family: var(--font-mono);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 48px;
}

.hero-fine-print {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-dim);
  margin-top: -36px;
  margin-bottom: 32px;
}

/* === TERMINAL DEMO === */
.terminal {
  max-width: 680px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-card);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #444;
}

.terminal-title {
  font-size: 12px;
  color: var(--text-dim);
  margin-left: 8px;
}

.terminal-body {
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: clamp(12px, 1.5vw, 14px);
  line-height: 1.8;
  min-height: 220px;
  text-align: left;
}

.terminal-line {
  white-space: pre-wrap;
  word-break: break-all;
}

.terminal-line.command { color: #e0e0e0; }
.terminal-line.output { color: var(--text-dim); }
.terminal-line.success { color: var(--neon); }

.cursor-blink {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: var(--neon);
  animation: blink 0.6s infinite;
  vertical-align: middle;
  margin-left: 2px;
}

/* === SPIKY TRAFFIC GRAPH === */
.traffic-graph {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 24px;
  background: var(--bg-card);
}

.traffic-graph-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.traffic-graph-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.traffic-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon);
}

.traffic-graph-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 112px;
}

.traffic-bar {
  flex: 1;
  border-radius: 2px 2px 0 0;
  transition: height 0.4s ease-out;
  min-width: 2px;
}

.traffic-bar.spike { background: var(--neon); opacity: 0.9; }
.traffic-bar.idle { background: #333; opacity: 0.5; }

.traffic-graph-times {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

.traffic-graph-times span {
  font-size: 12px;
  color: #444;
}

.traffic-graph-legend {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-dim);
}

.legend-swatch {
  width: 12px;
  height: 8px;
  border-radius: 2px;
}

/* === COMPARISON CARDS === */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  align-items: stretch;
}

@media (max-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .vs-divider-desktop { display: none !important; }
  .vs-divider-mobile { display: flex !important; }
}

.comparison-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
}

.comparison-card .accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.comparison-card .card-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-dim);
}

.comparison-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  margin-top: 8px;
}

.comparison-rows {
  margin: 24px 0;
}

.comparison-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.comparison-row .label { color: #999; }
.comparison-row .value { color: #ccc; }

.counter-box {
  text-align: center;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.counter-value {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  font-family: var(--font-mono);
}

.counter-label {
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 4px;
}

.card-footnote {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-dim);
}

.card-footnote .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.vs-divider-desktop {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

.vs-divider-mobile {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4px 0;
}

.vs-line { width: 1px; height: 64px; background: var(--border); }

.vs-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #555;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: #999;
}

.inferx-card { border-color: var(--neon-40); }

/* Savings callout */
.savings-callout {
  text-align: center;
  margin-top: 40px;
  padding: 24px;
}

.savings-old {
  font-size: 24px;
  font-family: var(--font-mono);
  color: var(--red);
  text-decoration: line-through;
  opacity: 0.7;
}

.savings-arrow {
  font-size: 24px;
  color: var(--text-dim);
  margin: 0 16px;
}

.savings-new {
  font-size: 32px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--neon);
}

.savings-label {
  font-size: 14px;
  color: var(--text-dim);
}

/* === HOW IT WORKS SECTION === */
.flow-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 40px 0;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  overflow-x: auto;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-elevated);
  font-size: 13px;
  white-space: nowrap;
}

.flow-step .flow-label { color: white; font-weight: 600; }
.flow-step .flow-time { color: var(--neon); font-size: 11px; }

.flow-arrow {
  color: var(--text-ghost);
  font-size: 18px;
}

.cold-start-bar {
  max-width: 500px;
  margin: 16px auto;
}

.cold-start-bar-track {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
}

.cold-start-segment {
  height: 100%;
  background: var(--neon);
  transition: width 1s ease;
}

.step-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.step-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  background: var(--bg-card);
  transition: border-color 0.3s;
}

.step-card:hover {
  border-color: var(--border-light);
}

.step-card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--neon);
  color: var(--neon);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}

.step-card h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-dim);
}

/* === DOCKER SECTION === */
.runtime-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.runtime-badge {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
}

.runtime-badge.active {
  border-color: var(--neon-40);
  color: var(--neon);
}

.code-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #ccc;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
  line-height: 1.7;
}

.code-block .code-comment { color: var(--text-dim); }
.code-block .code-string { color: #a5d6a7; }
.code-block .code-flag { color: #90caf9; }

.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.feature-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  background: var(--bg-card);
}

.feature-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-card p {
  font-size: 13px;
  color: var(--text-dim);
}

/* === SCALE OUT SECTION === */
.scale-section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

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

.check-list {
  list-style: none;
  margin-top: 20px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.check-icon {
  color: var(--neon);
  font-weight: 700;
  font-size: 16px;
}

.scale-graph {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  background: var(--bg-card);
}

/* === BILLING SECTION === */
.billing-bar {
  display: flex;
  align-items: stretch;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  max-width: 700px;
  margin: 32px auto;
}

.billing-segment {
  flex: 1;
  padding: 20px 16px;
  text-align: center;
  font-size: 13px;
}

.billing-segment.standby {
  background: var(--bg-card);
  border-right: 1px solid var(--border);
}

.billing-segment.active {
  background: var(--neon-10);
  border-left: 1px solid var(--neon-40);
  border-right: 1px solid var(--neon-40);
}

.billing-segment .segment-label {
  display: block;
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.billing-segment .segment-price {
  font-weight: 700;
  font-size: 16px;
}

.billing-segment .segment-sublabel {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 2px;
}

.billing-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 16px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* === CTA SECTION === */
.cta-section {
  text-align: center;
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.cta-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--text-dim);
  font-size: 16px;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
  background: var(--bg);
}

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

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

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

.footer-brand .logo-icon { height: 32px; margin-bottom: 16px; }

.footer-tagline {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: var(--text-dim);
  transition: color 0.2s;
}

.footer-social a:hover { color: white; }

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  color: white;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-dim);
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-col a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
}

/* === PRICING PAGE === */
.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

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

.pricing-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  background: var(--bg-card);
}

.pricing-card .pricing-num {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-dim);
}

.pricing-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin: 8px 0 4px;
}

.pricing-card .pricing-amount {
  font-size: 24px;
  font-weight: 700;
  color: var(--neon);
}

.pricing-card .pricing-amount .pricing-unit {
  font-size: 14px;
  color: var(--text-dim);
}

.pricing-card .pricing-desc {
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 12px;
  line-height: 1.6;
}

.scenario-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 32px;
  background: var(--bg-card);
  margin-bottom: 24px;
}

.scenario-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.scenario-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

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

.scenario-label {
  font-size: 14px;
  font-weight: 600;
  color: #999;
  margin-bottom: 12px;
}

.scenario-list {
  list-style: none;
  font-size: 14px;
  color: var(--text-dim);
}

.scenario-list li { padding: 4px 0; }
.scenario-list .val { color: #ccc; }

.scenario-cost-item {
  margin-bottom: 12px;
}

.scenario-cost-item .cost-label {
  font-size: 12px;
  color: var(--text-dim);
}

.scenario-cost-item .cost-value {
  font-size: 14px;
  color: #ccc;
}

.scenario-total {
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: 12px;
}

.scenario-compare {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.not-paying-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.not-paying-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-dim);
}

.not-paying-item .x-icon { color: var(--neon); }

/* === HOW IT WORKS PAGE === */
.hiw-page {
  position: relative;
}

.hiw-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(0,255,65,0.06) 60px, rgba(0,255,65,0.06) 61px),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(0,255,65,0.06) 60px, rgba(0,255,65,0.06) 61px);
}

.lifecycle-svg-container {
  max-width: 750px;
  margin: 0 auto;
}

.lifecycle-mobile {
  display: none;
}

@media (max-width: 768px) {
  .lifecycle-svg-container { display: none; }
  .lifecycle-mobile { display: block; }
}

.lifecycle-mobile-step {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  transition: all 0.3s;
  margin-bottom: 8px;
  color: white;
  font-family: var(--font-mono);
}

.lifecycle-mobile-step.active {
  background: rgba(0, 255, 65, 0.03);
  border-color: var(--neon);
}

.lifecycle-mobile-num {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
}

.lifecycle-mobile-step.active .lifecycle-mobile-num {
  border-color: var(--neon);
  color: var(--neon);
  background: var(--neon-15);
}

.lifecycle-mobile-label {
  font-size: 14px;
  font-weight: 700;
  color: #ccc;
}

.lifecycle-mobile-step.active .lifecycle-mobile-label {
  color: var(--neon);
}

.lifecycle-mobile-sub {
  font-size: 12px;
  color: var(--text-faint);
}

.lifecycle-mobile-step.active .lifecycle-mobile-sub {
  color: #999;
}

.lifecycle-mobile-arrow {
  text-align: center;
  color: var(--text-ghost);
  font-size: 12px;
  margin-bottom: 8px;
}

.lifecycle-mobile-loop {
  text-align: center;
  color: var(--neon-40);
  font-size: 12px;
  margin-top: 4px;
}

/* Step detail cards */
.step-detail-cards {
  max-width: 800px;
  margin: 48px auto 0;
  position: relative;
}

.step-detail-line {
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--neon-20);
  display: none;
}

@media (min-width: 769px) {
  .step-detail-line { display: block; }
}

.step-detail-card {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  position: relative;
}

.step-detail-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--neon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: var(--neon);
  background: var(--bg);
  position: relative;
  z-index: 2;
}

.step-detail-content {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  background: var(--bg-card);
  transition: border-color 0.3s;
}

.step-detail-content:hover {
  border-color: var(--border-light);
}

.step-detail-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.step-detail-icon {
  color: var(--neon);
}

.step-detail-content h4 {
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-mono);
}

.step-detail-content .step-sub {
  font-size: 14px;
  color: #999;
}

.step-code {
  background: #000;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  margin-top: 12px;
  font-size: 12px;
  color: #999;
}

.step-code .neon { color: var(--neon); }

.step-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.step-progress-bar {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: var(--border);
  overflow: hidden;
}

.step-progress-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--neon);
  width: 0%;
  transition: width 1.5s ease;
}

.step-progress-fill.visible { width: 100%; }

.step-progress-label {
  font-size: 12px;
  color: var(--neon);
  white-space: nowrap;
}

.step-evict-bar {
  width: 60px;
  height: 8px;
  border-radius: 4px;
  background: var(--border);
  overflow: hidden;
}

.step-evict-fill {
  height: 100%;
  border-radius: 4px;
  background: #eab308;
  width: 100%;
  transition: width 0.3s ease 0.5s;
}

.step-evict-fill.visible { width: 0%; }

.step-evict-label {
  font-size: 12px;
  color: #eab308;
}

/* Loop end marker */
.step-detail-loop {
  display: flex;
  gap: 24px;
  align-items: center;
}

.step-detail-loop-circle {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px dashed var(--neon-40);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--neon-60);
  background: var(--bg);
  position: relative;
  z-index: 2;
}

.step-detail-loop p {
  font-size: 14px;
  color: var(--text-dim);
}

/* === USE CASES PAGE === */
.use-cases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

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

.use-case-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  background: var(--bg-card);
}

.use-case-card.full-width {
  grid-column: 1 / -1;
}

.use-case-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.use-case-icon svg {
  width: 24px;
  height: 24px;
  stroke: white;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.use-case-card h3 {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.use-case-card h4 {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.use-case-card p {
  font-size: 14px;
  color: #999;
  margin-bottom: 20px;
  line-height: 1.6;
}

.use-case-benefits {
  list-style: none;
  margin-bottom: 24px;
}

.use-case-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 4px 0;
  font-size: 14px;
  color: #ccc;
}

.use-case-benefits .check { color: var(--neon); flex-shrink: 0; }

.use-case-btn {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: transparent;
  color: white;
  cursor: pointer;
  transition: all 0.2s;
}

.use-case-btn:hover {
  border-color: #666;
  background: rgba(255, 255, 255, 0.03);
}

/* === CONTACT PAGE === */
.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
}

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

.contact-form-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  background: var(--bg-card);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #ccc;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  color: white;
  font-family: var(--font-mono);
  font-size: 14px;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--neon-40);
}

.form-group textarea {
  resize: none;
  height: 128px;
}

.form-submit {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 6px;
  background: var(--neon);
  color: #000;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: box-shadow 0.3s;
}

.form-submit:hover {
  box-shadow: 0 0 20px var(--neon-40);
}

.contact-info-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  background: var(--bg-card);
}

.social-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
  color: #ccc;
  transition: color 0.2s;
}

.social-link:hover { color: white; }

.social-link-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}

.social-link:hover .social-link-icon {
  border-color: white;
}

.social-link-icon svg {
  width: 18px;
  height: 18px;
}

.faq-section {
  margin-top: 64px;
}

.faq-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  background: var(--bg-card);
  margin-bottom: 16px;
}

.faq-card h3 {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.faq-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* === BLOG PAGE === */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.blog-filter-btn {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: transparent;
  color: #999;
  cursor: pointer;
  transition: all 0.2s;
}

.blog-filter-btn:hover {
  border-color: #666;
  color: white;
}

.blog-filter-btn.active {
  background: white;
  color: black;
  border-color: white;
}

.blog-empty {
  text-align: center;
  padding: 80px 0;
}

.blog-empty h3 {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.blog-empty p {
  color: var(--text-dim);
}

/* === ARCHITECTURE PAGE === */
.arch-card {
  max-width: 1000px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  background: var(--bg-card);
}

.arch-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.arch-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 16px;
}

.arch-card ul {
  list-style: none;
  margin-bottom: 24px;
}

.arch-card ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 14px;
  color: #ccc;
}

.arch-card ul li .bullet {
  color: var(--neon);
}

.arch-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
}

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

.arch-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.arch-component {
  border: 1px solid transparent;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.arch-component:hover {
  border-color: #333;
}

.arch-component.active {
  border-color: var(--neon);
  background: rgba(0,255,65,0.05);
}

.arch-component h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #ccc;
}

.arch-component.active h4 {
  color: var(--neon);
}

.arch-component p {
  font-size: 12px;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

.arch-diagram-wrap {
  background: #000;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
}

.arch-interactive rect,
.arch-interactive text {
  transition: all 0.2s;
}

.arch-interactive.active rect {
  stroke: var(--neon) !important;
  stroke-width: 2 !important;
  filter: drop-shadow(0 0 6px rgba(0,255,65,0.4));
}

.arch-innovations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

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

.arch-innovation-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  background: var(--bg-card);
}

.arch-innovation-card h5 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ccc;
}

.arch-innovation-card p {
  font-size: 12px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* === CALENDLY MODAL === */
.calendly-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #475569;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  font-family: var(--font-mono);
  font-size: 14px;
  transition: background 0.2s;
}

.calendly-fab:hover {
  background: #334155;
}

.calendly-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
}

.calendly-modal.open {
  display: flex;
}

.calendly-modal-content {
  position: relative;
  width: calc(100% - 32px);
  max-width: 900px;
  height: 90vh;
  background: white;
  border-radius: 8px;
  overflow: hidden;
}

.calendly-close {
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 101;
  background: none;
  border: none;
  color: #333;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
}

.calendly-close:hover { color: #000; }

#calendly-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* === PAGE WRAPPER === */
.page {
  min-height: 100vh;
}

.page-header {
  padding-top: 120px;
  padding-bottom: 48px;
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
}

.page-header p {
  font-size: 16px;
  color: var(--text-dim);
  margin-top: 12px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-content {
  padding-bottom: 80px;
}

/* === SECTION BORDERS === */
.section {
  padding: 96px 0;
  border-top: 1px solid var(--border);
}

.section.no-border {
  border-top: none;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero h1 { letter-spacing: -1px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 320px; justify-content: center; }
  .navbar-links { display: none; }
  .flow-diagram { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); }
  .savings-callout { flex-direction: column; }
}

/* === MISC === */
.text-center { text-align: center; }
.mt-8 { margin-top: 32px; }
.mt-10 { margin-top: 40px; }
.mt-16 { margin-top: 64px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }

.neon-glow { color: var(--neon); }
.red-text { color: var(--red); }

.strike { text-decoration: line-through; }

.max-w-3xl { max-width: 768px; margin-left: auto; margin-right: auto; }
.max-w-4xl { max-width: 900px; margin-left: auto; margin-right: auto; }

/* ============================================
   TOP BANNER + NEW NAVBAR
   ============================================ */
.top-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: #000;
  color: #fff;
  text-align: center;
  padding: 8px 0;
  font-size: 13px;
  font-family: var(--font-mono);
}
.top-banner a {
  color: #fff;
  text-decoration: underline;
  transition: color 0.2s;
}
.top-banner a:hover { color: #ccc; }

.navbar.navbar-main {
  margin-top: 36px;
  background: transparent;
  transition: background 0.2s;
}
.navbar.navbar-main.scrolled {
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.navbar-links-main {
  display: flex;
  align-items: center;
  gap: 32px;
}
.navbar-links-main a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.5px;
}
.navbar-links-main a:hover { color: #aaa; }
.navbar-links-main a.active { color: var(--neon); }

@media (max-width: 768px) {
  .navbar-links-main { display: none; }
  .mobile-hamburger-wrap { display: block !important; }
}
@media (min-width: 769px) {
  .mobile-hamburger-wrap { display: none !important; }
}

/* ============================================
   ARCHITECTURE HERO
   ============================================ */
.arch-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px 20px 96px;
  overflow: hidden;
}
.arch-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}
.arch-hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.arch-hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  font-family: var(--font-mono);
  color: #fff;
  line-height: 1.1;
  letter-spacing: -2px;
  margin: 0;
}
.arch-hero-subtitle {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  font-family: var(--font-mono);
  color: rgba(255,255,255,0.7);
  line-height: 1.2;
  margin: 8px 0 0;
  letter-spacing: -1px;
}
.arch-hero-tagline {
  margin-top: 24px;
  font-size: 16px;
  font-family: var(--font-mono);
  color: rgba(255,255,255,0.75);
}
.arch-hero-highlight {
  font-weight: 600;
  color: #fff;
}

/* Stat Cards */
.arch-stat-cards {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.arch-stat-card {
  border: 1px solid rgba(255,255,255,0.2);
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 180px;
  transition: border-color 0.3s, transform 0.3s;
}
.arch-stat-card:hover {
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-4px);
}
.arch-stat-value {
  font-size: 42px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: #fff;
  line-height: 1;
}
.arch-stat-label {
  font-size: 12px;
  font-family: var(--font-mono);
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
  letter-spacing: 2px;
}

.arch-hero-pilot {
  margin-top: 32px;
  font-size: 14px;
  font-family: var(--font-mono);
  color: rgba(255,255,255,0.5);
  font-style: italic;
}

.arch-hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.btn-arch-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 14px 32px;
  font-family: var(--font-mono);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 0.5px;
}
.btn-arch-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

/* ============================================
   ARCHITECTURE SECTIONS
   ============================================ */
.arch-section-title {
  font-size: 32px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: #fff;
  margin: 0;
  letter-spacing: 2px;
}

/* Key Features Grid */
.arch-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 64px;
}
.arch-feature-card {
  display: flex;
  flex-direction: column;
}
.arch-feature-card:hover { transform: scale(1.03); transition: transform 0.2s; }
.arch-feature-icon {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #fff;
  transition: transform 0.3s;
}
.arch-feature-card:hover .arch-feature-icon { transform: rotate(12deg); }
.arch-feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: #fff;
  margin: 0 0 12px;
}
.arch-feature-card p {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

/* How It Works Steps */
.arch-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 64px;
  margin-bottom: 64px;
}
.arch-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.arch-step-num {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin-bottom: 20px;
}
.arch-step h3 {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin: 0 0 12px;
}
.arch-step p {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

/* Code Block */
.arch-code-block {
  max-width: 640px;
  margin: 0 auto;
  background: #1a1f2e;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.arch-code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  color: rgba(255,255,255,0.6);
}
.arch-code-body {
  background: #111827;
  border-radius: 8px;
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.8;
}

/* Video Modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-modal-overlay {
  position: absolute;
  inset: 0;
  cursor: pointer;
}
.video-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  z-index: 10;
}
.video-modal-content {
  position: relative;
  z-index: 5;
  width: 90%;
  max-width: 1200px;
}
.video-modal-content iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
  border-radius: 8px;
}

/* Responsive for new arch sections */
@media (max-width: 768px) {
  .arch-stat-cards { flex-direction: column; align-items: center; }
  .arch-stat-card { width: 100%; max-width: 280px; }
  .arch-features-grid { grid-template-columns: 1fr; gap: 32px; }
  .arch-steps-grid { grid-template-columns: 1fr; gap: 32px; }
  .arch-hero { padding: 120px 16px 64px; min-height: auto; }
  .arch-hero-buttons { flex-direction: column; align-items: center; }
  .btn-arch-outline { width: 100%; max-width: 300px; text-align: center; }
}
