:root {
  --bg-primary: #080c14;
  --bg-secondary: #0d1527;
  --bg-card: rgba(16, 26, 48, 0.65);
  --bg-card-hover: rgba(23, 38, 70, 0.85);
  --border-color: rgba(56, 189, 248, 0.18);
  --border-glow: rgba(56, 189, 248, 0.5);
  
  --cyan-core: #00f0ff;
  --cyan-dim: #0ea5e9;
  --cyan-glow: rgba(0, 240, 255, 0.35);
  
  --purple-core: #8b5cf6;
  --purple-glow: rgba(139, 92, 246, 0.3);
  
  --emerald-core: #10b981;
  --amber-core: #f59e0b;
  --rose-core: #f43f5e;
  
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang TC", "Microsoft JhengHei", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  background: radial-gradient(circle at 50% 0%, #111e3b 0%, #080c14 70%);
  overflow-x: hidden;
}

/* Background Cyber Grid & Glows */
.cyber-canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

#particleCanvas {
  width: 100%;
  height: 100%;
}

.cyber-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(0, 240, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 1;
}

/* Navbar */
.cyber-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.navbar-container {
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #00f0ff, #8b5cf6);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px var(--cyan-glow);
  position: relative;
}

.logo-icon svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.logo-text {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, #fff, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge-v15 {
  font-size: 0.65rem;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(0, 240, 255, 0.15);
  border: 1px solid var(--cyan-core);
  color: var(--cyan-core);
  font-family: var(--font-mono);
  font-weight: 600;
  margin-left: 6px;
  text-transform: uppercase;
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--cyan-core);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan-core);
  box-shadow: 0 0 8px var(--cyan-core);
  transition: width 0.25s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Lang Switcher Button */
.lang-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-family: var(--font-mono);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  border-color: var(--cyan-core);
  box-shadow: 0 0 10px var(--cyan-glow);
  color: var(--cyan-core);
}

/* Cyber CTA Button */
.btn-cyber-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(139, 92, 246, 0.2));
  border: 1px solid var(--cyan-core);
  color: #fff;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-cyber-primary:hover {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.35), rgba(139, 92, 246, 0.35));
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.45);
  transform: translateY(-2px);
  color: #fff;
}

.btn-cyber-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-cyber-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  color: #fff;
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Sections Common */
section {
  position: relative;
  z-index: 2;
  padding: 110px 0;
}

.container {
  width: 90%;
  max-width: 1250px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--cyan-core);
  letter-spacing: 2px;
  padding: 4px 12px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 4px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #ffffff 30%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.7;
}

.center-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 60px;
}

/* Hero Section */
.hero-section {
  padding-top: 170px;
  padding-bottom: 120px;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 30px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #34d399;
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero-highlight {
  background: linear-gradient(90deg, #00f0ff, #818cf8, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-tech-stack {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-dim);
}

.hero-tech-stack span {
  color: var(--cyan-core);
}

/* Hero Visual / Terminal / DAG Demo */
.hero-visual {
  position: relative;
}

.cyber-terminal-card {
  background: #090e1a;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 240, 255, 0.15);
  overflow: hidden;
  position: relative;
}

.terminal-header {
  background: rgba(15, 23, 42, 0.8);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

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

.terminal-body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  line-height: 1.6;
  min-height: 290px;
}

.terminal-line {
  margin-bottom: 8px;
  display: flex;
  gap: 10px;
}

.prompt-sym {
  color: var(--cyan-core);
  user-select: none;
}

.text-green { color: #34d399; }
.text-cyan { color: #38bdf8; }
.text-purple { color: #a78bfa; }
.text-yellow { color: #fbbf24; }
.text-dim { color: #64748b; }

.terminal-badge {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 0.72rem;
  font-weight: bold;
}
.badge-planner { background: rgba(139, 92, 246, 0.25); color: #c084fc; border: 1px solid rgba(139, 92, 246, 0.4); }
.badge-worker { background: rgba(56, 189, 248, 0.25); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.4); }
.badge-reviewer { background: rgba(16, 185, 129, 0.25); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.4); }

.cursor-blink {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: var(--cyan-core);
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}

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

/* Glass Floating Cards */
.floating-stat-card {
  position: absolute;
  background: rgba(13, 21, 39, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 10;
  animation: float 4s ease-in-out infinite alternate;
}

.card-top-right {
  top: -24px;
  right: -24px;
}

.card-bottom-left {
  bottom: -24px;
  left: -24px;
  animation-delay: -2s;
}

@keyframes float {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

.stat-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(0, 240, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-core);
}

.stat-meta .stat-val {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.stat-meta .stat-lbl {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* Features Matrix */
.matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
}

.cyber-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.cyber-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan-core), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cyber-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 240, 255, 0.12);
}

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

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--cyan-core);
}

.card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #f8fafc;
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-item {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-dim);
}

/* Architecture Showcase */
.arch-diagram-wrapper {
  background: #090e1b;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  position: relative;
}

.arch-layers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.arch-layer-box {
  background: rgba(16, 26, 48, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 14px;
  padding: 24px 20px;
  position: relative;
  transition: all 0.3s ease;
}

.arch-layer-box:hover {
  border-color: var(--cyan-core);
  box-shadow: 0 0 20px var(--cyan-glow);
  transform: translateY(-4px);
}

.layer-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan-core);
  margin-bottom: 8px;
}

.layer-heading {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.layer-list {
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.layer-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.layer-list li::before {
  content: '▸';
  color: var(--cyan-core);
}

/* Interactive Multi-Agent DAG Live Simulation */
.sim-container {
  background: rgba(11, 18, 33, 0.9);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 35px;
  margin-top: 40px;
}

.sim-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 16px;
}

.sim-status-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.sim-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin: 40px 0;
  gap: 16px;
  overflow-x: auto;
  padding: 10px 0;
}

.sim-node {
  flex: 1;
  min-width: 170px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 18px 14px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.sim-node.active {
  border-color: var(--cyan-core);
  box-shadow: 0 0 25px var(--cyan-glow);
  background: rgba(0, 240, 255, 0.08);
}

.sim-node.completed {
  border-color: var(--emerald-core);
  background: rgba(16, 185, 129, 0.08);
}

.sim-node-role {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan-dim);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.sim-node-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 8px;
}

.sim-node-state {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
}

.sim-arrow {
  color: var(--text-dim);
  font-size: 1.2rem;
  font-family: var(--font-mono);
}

.sim-log-terminal {
  background: #060911;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  height: 140px;
  overflow-y: auto;
  color: #a5f3fc;
  line-height: 1.6;
}

/* Blog & Tech Integration Section */
.blog-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.blog-banner-card {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(139, 92, 246, 0.15));
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 18px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.blog-banner-card::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.25), transparent 70%);
  pointer-events: none;
}

.blog-posts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blog-item-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.25s ease;
}

.blog-item-link:hover {
  background: var(--bg-card-hover);
  border-color: var(--cyan-core);
  transform: translateX(8px);
}

.blog-item-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan-dim);
  margin-bottom: 6px;
}

.blog-item-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
}

.blog-item-arrow {
  color: var(--text-dim);
  font-size: 1.2rem;
  transition: transform 0.25s ease;
}

.blog-item-link:hover .blog-item-arrow {
  color: var(--cyan-core);
  transform: translateX(4px);
}

/* Comparison Specs Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 10px;
}

.cyber-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.cyber-table th, .cyber-table td {
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cyber-table th {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--cyan-core);
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

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

.feature-check {
  color: var(--emerald-core);
  font-weight: bold;
}

.feature-cross {
  color: var(--rose-core);
}

/* Footer */
.cyber-footer {
  border-top: 1px solid var(--border-color);
  background: #05080e;
  padding: 70px 0 35px;
  position: relative;
  z-index: 2;
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 16px;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--cyan-core);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  flex-wrap: wrap;
  gap: 16px;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    max-width: 650px;
    margin: 0 auto;
    width: 100%;
  }
  .arch-layers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-feature-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .cyber-navbar {
    height: 64px;
  }
  .navbar-container {
    width: 92%;
  }
  .nav-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    height: calc(100vh - 64px);
    background: rgba(8, 12, 20, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    padding: 30px 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    z-index: 999;
    overflow-y: auto;
  }
  .nav-links.show {
    display: flex;
  }
  .nav-link {
    font-size: 1.15rem;
    padding: 10px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--cyan-core);
    font-size: 1.25rem;
  }
  .nav-actions {
    gap: 8px;
  }
  .nav-actions .btn-cyber-primary {
    display: none; /* Keep header clean on small phones, available in menu/hero */
  }

  section {
    padding: 70px 0;
  }
  .container {
    width: 92%;
  }

  .hero-section {
    padding-top: 105px;
    padding-bottom: 60px;
    min-height: auto;
  }
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.25;
    letter-spacing: -0.5px;
  }
  .hero-desc {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hero-actions .btn-cyber-primary,
  .hero-actions .btn-cyber-secondary {
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 12px 18px;
  }
  .hero-tech-stack {
    font-size: 0.75rem;
    flex-wrap: wrap;
    line-height: 1.6;
  }

  /* Floating cards adjust for mobile */
  .floating-stat-card {
    position: static;
    margin-bottom: 16px;
    animation: none;
    width: 100%;
  }
  .card-top-right, .card-bottom-left {
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
  }
  .hero-visual {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .cyber-terminal-card {
    width: 100%;
  }
  .terminal-body {
    padding: 14px;
    font-size: 0.78rem;
    min-height: 230px;
  }
  .terminal-line {
    word-break: break-word;
    flex-wrap: wrap;
    gap: 6px;
  }

  .section-title {
    font-size: 1.85rem;
    line-height: 1.25;
  }
  .section-subtitle {
    font-size: 0.95rem;
  }
  .center-header {
    margin-bottom: 40px;
  }

  .matrix-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .cyber-card {
    padding: 24px 20px;
  }

  .arch-diagram-wrapper {
    padding: 20px 16px;
  }
  .arch-layers-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .arch-layer-box {
    padding: 20px 16px;
  }

  /* Simulation mobile layout */
  .sim-container {
    padding: 20px 16px;
  }
  .sim-header {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .sim-header .btn-cyber-primary {
    justify-content: center;
    width: 100%;
  }
  .sim-flow {
    flex-direction: column;
    margin: 20px 0;
    gap: 12px;
  }
  .sim-node {
    width: 100%;
    min-width: 100%;
  }
  .sim-arrow {
    transform: rotate(90deg);
    margin: 2px 0;
  }
  .sim-log-terminal {
    font-size: 0.75rem;
    height: 160px;
  }

  /* Table mobile */
  .table-responsive {
    padding: 6px;
    margin: 0 -8px;
    width: calc(100% + 16px);
  }
  .cyber-table {
    font-size: 0.82rem;
  }
  .cyber-table th, .cyber-table td {
    padding: 12px 10px;
  }

  /* Blog section mobile */
  .blog-banner-card {
    padding: 24px 18px;
  }
  .blog-item-link {
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .blog-item-arrow {
    display: none;
  }

  /* Footer mobile */
  .cyber-footer {
    padding: 50px 0 25px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 35px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }
  .logo-text {
    font-size: 1.15rem;
  }
  .badge-v15 {
    display: none;
  }
  .stat-meta .stat-val {
    font-size: 0.95rem;
  }
  .stat-meta .stat-lbl {
    font-size: 0.7rem;
  }
}

/* ==========================================================
   Enterprise Governance & Case Studies Styles
   ========================================================== */
.gov-value-section {
  padding: 90px 0 50px;
  position: relative;
}

.gov-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 45px;
}

.gov-pillar-card {
  background: rgba(14, 23, 42, 0.75);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 18px;
  padding: 36px 30px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.gov-pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan-core);
  box-shadow: 0 16px 40px rgba(0, 240, 255, 0.15);
  background: rgba(18, 30, 56, 0.85);
}

.pillar-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(0, 240, 255, 0.12);
  color: var(--cyan-core);
  border: 1px solid rgba(0, 240, 255, 0.3);
  margin-bottom: 20px;
}

.pillar-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.pillar-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.4;
}

.pillar-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
}

.pillar-bullets {
  list-style: none;
  font-size: 0.85rem;
  color: #e2e8f0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pillar-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pillar-bullets li span {
  color: var(--emerald-core);
  font-weight: bold;
}

/* Case Studies Section */
.cases-section {
  padding: 80px 0;
  position: relative;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 45px;
}

.case-card {
  background: #090e1b;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan-core), #6366f1);
  opacity: 0.8;
}

.case-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.case-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  gap: 10px;
}

.case-industry {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cyan-core);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.case-metric-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  font-family: var(--font-mono);
  white-space: nowrap;
}

.metric-green {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-core);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.metric-cyan {
  background: rgba(0, 240, 255, 0.15);
  color: var(--cyan-core);
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.metric-purple {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.case-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.45;
  margin-bottom: 20px;
}

.case-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.case-section-block strong {
  display: block;
  color: #f1f5f9;
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.case-section-block p {
  margin: 0;
}

.case-metrics-footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: center;
}

.metric-item .m-val {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 800;
  color: #38bdf8;
}

.metric-item .m-lbl {
  display: block;
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 3px;
}

@media (max-width: 1024px) {
  .gov-pillars-grid,
  .cases-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

