:root {
  --bg: #05070c;
  --bg-alt: #080c14;
  --surface: #0c1220;
  --surface-2: #111a2e;
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(56, 189, 248, 0.35);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --emerald: #10b981;
  --amber: #f59e0b;
  --red: #f43f5e;
  --radius: 16px;
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  position: relative;
  overflow-x: hidden;
  background: radial-gradient(circle at 20% 0%, rgba(34, 211, 238, 0.08), transparent 45%),
              radial-gradient(circle at 85% 20%, rgba(244, 63, 94, 0.06), transparent 40%),
              var(--bg);
}

#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
}

main, header, footer {
  position: relative;
  z-index: 1;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: rgba(34, 211, 238, 0.1);
  color: var(--cyan);
  padding: 2px 6px;
  border-radius: 5px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(5, 7, 12, 0.78);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(16, 185, 129, 0.2));
  border: 1px solid rgba(34, 211, 238, 0.5);
  display: grid;
  place-items: center;
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.25);
}

.brand-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.btn-lg {
  padding: 14px 24px;
  font-size: 0.96rem;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.82rem;
}

.btn-primary {
  background: linear-gradient(135deg, #06b6d4, #2563eb);
  color: #fff;
  box-shadow: 0 8px 28px rgba(6, 182, 212, 0.28);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 34px rgba(6, 182, 212, 0.42);
}

.btn-outline {
  background: rgba(15, 23, 42, 0.65);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  background: rgba(34, 211, 238, 0.12);
  border-color: var(--cyan);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.4);
}

/* Hero */
.hero {
  padding: 68px 0 64px;
}

.hero .container {
  max-width: 1380px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.gradient-text {
  background: linear-gradient(120deg, #22d3ee 0%, #60a5fa 50%, #34d399 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 56ch;
  margin-bottom: 30px;
}

.hero-lead strong {
  color: var(--text);
}

.highlight-emerald { color: var(--emerald); font-weight: 600; }
.highlight-cyan { color: var(--cyan); font-weight: 600; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.metric-value {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text);
}

.metric-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Animated End-to-End Architecture SVG Card in Hero */
.arch-live-card {
  border-radius: 18px;
  background: radial-gradient(circle at 50% 40%, rgba(14, 165, 233, 0.08), rgba(6, 10, 18, 0.96) 72%);
  border: 1px solid rgba(34, 211, 238, 0.3);
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65), 0 0 40px rgba(6, 182, 212, 0.12);
}

.arch-live-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(10, 15, 28, 0.92);
  border-bottom: 1px solid var(--border);
}

.arch-svg {
  display: block;
  width: 100%;
  height: auto;
  padding: 8px 6px 4px;
}

.svg-node {
  transition: opacity 0.35s ease, filter 0.35s ease;
}

.arch-live-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(10, 15, 28, 0.92);
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
}

.arch-live-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.leg-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.leg-dot.red { background: var(--red); }
.leg-dot.green { background: var(--emerald); }
.leg-dot.amber { background: var(--amber); }
.leg-dot.violet { background: #818cf8; }
.leg-dot.cyan { background: var(--cyan); }

/* Hero Real App Command Deck */
.hero-showcase-deck {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.live-pipeline-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(10, 15, 26, 0.9);
  border: 1px solid rgba(34, 211, 238, 0.2);
  flex-wrap: wrap;
}

.pipe-step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.pipe-step.active {
  color: var(--text);
  background: rgba(34, 211, 238, 0.14);
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.18);
}

.pipe-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.pipe-dot.red { background: var(--red); }
.pipe-dot.cyan { background: var(--cyan); }
.pipe-dot.emerald { background: var(--emerald); }

.pipe-arrow {
  color: #475569;
  font-size: 0.78rem;
}

.hero-app-card {
  border-radius: 16px;
  overflow: hidden;
  background: #090d16;
  border: 1px solid rgba(34, 211, 238, 0.3);
  transition: transform 0.35s ease;
}

.hero-app-card:hover {
  transform: translateY(-2px);
}

.hero-app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(12, 18, 32, 0.95);
  border-bottom: 1px solid var(--border);
}

.hero-app-viewport {
  position: relative;
  overflow: hidden;
  background: #070a11;
}

.hero-app-viewport img {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 0.25s ease;
}

.scan-beam {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.7), transparent);
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.8);
  animation: scanDown 4.5s linear infinite;
  pointer-events: none;
}

@keyframes scanDown {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 0.9; }
  90% { opacity: 0.9; }
  100% { top: 100%; opacity: 0; }
}

.hero-app-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  background: rgba(12, 18, 32, 0.95);
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hero-inspect-link {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}
.hero-inspect-link:hover { text-decoration: underline; }

.floating-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.float-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 10px;
  background: rgba(10, 15, 26, 0.88);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.float-pill strong {
  color: var(--text);
}

.fp-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.fp-dot.red { background: var(--red); }
.fp-dot.cyan { background: var(--cyan); }
.fp-dot.emerald { background: var(--emerald); }

/* Futuristic Holographic HUD Frame */
.hud-frame {
  position: relative;
  border-radius: 20px;
  background: radial-gradient(circle at 50% 45%, rgba(14, 165, 233, 0.14), rgba(5, 8, 16, 0.94) 70%);
  border: 1px solid rgba(34, 211, 238, 0.25);
  box-shadow: 0 0 60px rgba(6, 182, 212, 0.14), inset 0 0 40px rgba(6, 182, 212, 0.06);
  overflow: hidden;
  padding: 18px;
}

.hud-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--cyan);
  border-style: solid;
  pointer-events: none;
  opacity: 0.75;
}
.hud-corner.tl { top: 10px; left: 10px; border-width: 2px 0 0 2px; border-top-left-radius: 4px; }
.hud-corner.tr { top: 10px; right: 10px; border-width: 2px 2px 0 0; border-top-right-radius: 4px; }
.hud-corner.bl { bottom: 10px; left: 10px; border-width: 0 0 2px 2px; border-bottom-left-radius: 4px; }
.hud-corner.br { bottom: 10px; right: 10px; border-width: 0 2px 2px 0; border-bottom-right-radius: 4px; }

.hud-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 8px 12px;
  border-bottom: 1px solid rgba(34, 211, 238, 0.14);
}

.hud-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--cyan);
}

.hud-badge {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.hud-bottom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(34, 211, 238, 0.14);
}

.hud-stat {
  background: rgba(5, 8, 16, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 10px;
  padding: 9px 11px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hud-stat-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  color: #64748b;
}

.hud-stat-val {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
}
.hud-stat-val.red { color: var(--red); }
.hud-stat-val.emerald { color: var(--emerald); }
.hud-stat-val.cyan { color: var(--cyan); }

/* Terminal & Glow Cards */
.terminal-card {
  background: rgba(10, 15, 26, 0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.glow-border {
  border-color: rgba(34, 211, 238, 0.28);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.08), 0 24px 64px rgba(0, 0, 0, 0.6);
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(15, 23, 42, 0.85);
  border-bottom: 1px solid var(--border);
  gap: 10px;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.amber { background: #f59e0b; }
.dot.green { background: #10b981; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.14);
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.3);
}

.status-pill.live {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
  border-color: rgba(16, 185, 129, 0.35);
}

.hero-canvas-wrap {
  position: relative;
  background: radial-gradient(circle at center, rgba(14, 165, 233, 0.08), transparent 70%);
  border-bottom: 1px solid var(--border);
}

#hero-radar {
  display: block;
  width: 100%;
  height: auto;
}

.radar-overlay-stats {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.overlay-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(5, 7, 12, 0.85);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.red-chip .chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.cyan-chip .chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }

.hero-feed {
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feed-line {
  color: var(--text-muted);
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.feed-line .ts { color: #64748b; }

.tag {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 4px;
}
.tag.red { background: rgba(244, 63, 94, 0.16); color: var(--red); }
.tag.cyan { background: rgba(34, 211, 238, 0.16); color: var(--cyan); }
.tag.amber { background: rgba(245, 158, 11, 0.16); color: var(--amber); }
.tag.green { background: rgba(16, 185, 129, 0.16); color: var(--emerald); }

/* Sections */
.section {
  padding: 96px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(12, 18, 32, 0.55) 0%, rgba(5, 7, 12, 0.2) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  color: var(--cyan);
  margin-bottom: 12px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Thesis Banner */
.thesis-banner {
  position: relative;
  padding: 36px 40px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(16, 185, 129, 0.06));
  border: 1px solid rgba(34, 211, 238, 0.28);
  margin-bottom: 36px;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 0.6;
  color: rgba(34, 211, 238, 0.35);
  margin-bottom: 12px;
}

.thesis-banner blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 14px;
}

.thesis-footnote {
  color: var(--text-muted);
  max-width: 76ch;
}

/* Cards */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card, .feature-card, .domain-card {
  background: rgba(12, 18, 32, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover, .feature-card:hover, .domain-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.35);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.card-icon.red { background: rgba(244, 63, 94, 0.14); color: var(--red); border: 1px solid rgba(244, 63, 94, 0.3); }
.card-icon.amber { background: rgba(245, 158, 11, 0.14); color: var(--amber); border: 1px solid rgba(245, 158, 11, 0.3); }
.card-icon.cyan { background: rgba(34, 211, 238, 0.14); color: var(--cyan); border: 1px solid rgba(34, 211, 238, 0.3); }

.card h3, .feature-card h3, .domain-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.card p, .feature-card p, .domain-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Real Product Showcase */
.showcase-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.showcase-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 10px;
  background: rgba(12, 18, 32, 0.8);
  color: var(--text-muted);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s ease;
}

.showcase-tab .tab-num {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--cyan);
  opacity: 0.75;
}

.showcase-tab:hover {
  color: var(--text);
  border-color: rgba(34, 211, 238, 0.4);
}

.showcase-tab.active {
  color: var(--text);
  background: rgba(34, 211, 238, 0.14);
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.16);
}

.browser-frame {
  border-radius: var(--radius);
  overflow: hidden;
  background: #0b0f17;
  border: 1px solid var(--border);
}

.browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid var(--border);
}

.browser-url {
  flex: 1;
  max-width: 460px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
  background: rgba(5, 7, 12, 0.75);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 8px;
}

.browser-viewport {
  position: relative;
  background: #0a0d14;
  overflow: hidden;
}

.browser-viewport img {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
  transition: opacity 0.25s ease;
}

.showcase-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  background: rgba(12, 18, 32, 0.92);
  border-top: 1px solid var(--border);
}

.showcase-caption h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.showcase-caption p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 72ch;
}

.showcase-nav-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(3, 5, 10, 0.92);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 96vw;
  max-height: 92vh;
  border-radius: 12px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 26px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* Architecture Frame */
.arch-frame {
  border-radius: var(--radius);
  overflow: hidden;
  background: #0a0f18;
  border: 1px solid var(--border);
}

.arch-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.arch-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px;
  background: rgba(12, 18, 32, 0.9);
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.arch-caption a {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 600;
}

.arch-caption a:hover { text-decoration: underline; }

/* Threat Landscape Grid */
.threat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.threat-panel {
  background: rgba(12, 18, 32, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.threat-panel h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.panel-intro {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.link-list li {
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.link-list li:first-child {
  padding-top: 0;
  border-top: none;
}

.link-list a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

.link-list a:hover {
  color: var(--cyan);
}

.link-list li > span {
  display: block;
  margin-top: 4px;
}

.badge-inline {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 2px 7px;
  border-radius: 5px;
  margin-left: 6px;
  background: rgba(34, 211, 238, 0.12);
  color: var(--cyan);
  vertical-align: middle;
}

.badge-inline.red {
  background: rgba(244, 63, 94, 0.16);
  color: var(--red);
}

.badge-inline.amber {
  background: rgba(245, 158, 11, 0.16);
  color: var(--amber);
}

/* Feature Tags */
.feature-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.feature-tag.emerald { background: rgba(16, 185, 129, 0.14); color: var(--emerald); }
.feature-tag.cyan { background: rgba(34, 211, 238, 0.14); color: var(--cyan); }
.feature-tag.amber { background: rgba(245, 158, 11, 0.14); color: var(--amber); }
.feature-tag.red { background: rgba(244, 63, 94, 0.14); color: var(--red); }

/* Modular Domains */
.domain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.active-domain {
  border-color: rgba(16, 185, 129, 0.45);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08), rgba(12, 18, 32, 0.9));
}

.domain-status {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.domain-status.live { background: rgba(16, 185, 129, 0.18); color: var(--emerald); }
.domain-status.next { background: rgba(148, 163, 184, 0.12); color: var(--text-muted); }

/* Contact CTA */
.contact-card {
  text-align: center;
  padding: 64px 40px;
  border-radius: 24px;
  background: radial-gradient(circle at top, rgba(34, 211, 238, 0.12), rgba(10, 15, 26, 0.95) 60%);
}

.contact-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  max-width: 22ch;
  margin: 0 auto 16px;
  line-height: 1.15;
}

.contact-lead {
  color: var(--text-muted);
  max-width: 54ch;
  margin: 0 auto 30px;
  font-size: 1.05rem;
}

.contact-box {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px 10px 22px;
  border-radius: 14px;
  background: rgba(5, 7, 12, 0.85);
  border: 1px solid rgba(34, 211, 238, 0.35);
  margin-bottom: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.email-display {
  font-family: var(--font-mono);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--cyan);
  text-decoration: none;
}

.email-display:hover { text-decoration: underline; }

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background: rgba(5, 7, 12, 0.85);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.86rem;
}

.footer-links a:hover { color: var(--cyan); }

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Interactive Architecture Animation & Overview Styles */
.hud-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-ctrl {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 7px;
  padding: 4px 10px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.btn-ctrl:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.flow-group {
  transition: opacity 0.45s ease, filter 0.45s ease;
}

.arch-svg[data-active-phase] .flow-group {
  opacity: 0.22;
}

.arch-svg[data-active-phase="1"] .flow-p1,
.arch-svg[data-active-phase="2"] .flow-p2,
.arch-svg[data-active-phase="3"] .flow-p3,
.arch-svg[data-active-phase="4"] .flow-p4,
.arch-svg[data-active-phase="5"] .flow-p5 {
  opacity: 1;
}

.svg-node {
  transition: opacity 0.45s ease, filter 0.45s ease;
}

.arch-svg[data-active-phase] .svg-node {
  opacity: 0.52;
}

.arch-svg[data-active-phase="1"] .node-p1,
.arch-svg[data-active-phase="2"] .node-p2,
.arch-svg[data-active-phase="3"] .node-p3,
.arch-svg[data-active-phase="4"] .node-p4,
.arch-svg[data-active-phase="5"] .node-p5 {
  opacity: 1;
  filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.2));
}

.arch-svg[data-active-phase="4"] .mod-wf {
  filter: drop-shadow(0 0 12px rgba(52, 211, 153, 0.42));
}

.phase-stepper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.phase-btn {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 9px;
  padding: 7px 8px;
  text-align: left;
  cursor: pointer;
  transition: all 0.22s ease;
  color: var(--text-muted);
}

.phase-btn:hover {
  border-color: rgba(148, 163, 184, 0.4);
  color: var(--text);
}

.phase-btn.active {
  background: rgba(15, 23, 42, 0.96);
  border-color: var(--cyan);
  color: var(--text);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.2) inset;
}

.phase-btn .p-num {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.phase-btn .p-desc {
  font-size: 0.68rem;
  line-height: 1.3;
  color: #94a3b8;
}

.phase-btn.active .p-desc {
  color: #cbd5e1;
}

.arch-overview-inner {
  padding: 20px 20px 14px;
}

.arch-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.step-box {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 10px;
  padding: 10px 12px;
}

.step-box h4 {
  font-size: 0.78rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.step-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-box p {
  font-size: 0.72rem;
  color: #94a3b8;
  line-height: 1.42;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid, .theater-grid, .threat-grid {
    grid-template-columns: 1fr;
  }
  .domain-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .arch-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .cards-3, .cards-2, .domain-grid, .phase-stepper, .arch-steps-grid {
    grid-template-columns: 1fr;
  }
  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-card {
    padding: 40px 20px;
  }
}
