/* ==========================================================================
   COODDEE DESIGN SYSTEM (Vibrant Dark & Crisp Light Themes)
   Brand Cyan: #008CCE | Secondary: #00A2FF | Accent Violet: #A78BFA
   ========================================================================== */

:root {
  /* Core Color Tokens */
  --brand-cyan: #008CCE;
  --brand-cyan-glow: rgba(0, 140, 206, 0.4);
  --brand-blue: #00A2FF;
  --brand-violet: #A78BFA;
  --brand-green: #10B981;
  --brand-yellow: #F59E0B;
  --brand-red: #EF4444;

  /* Dark Theme Palette (Default) */
  --bg-main: #090B0E;
  --bg-surface: #0E1218;
  --bg-surface-elevated: #151A22;
  --bg-glass: rgba(18, 24, 34, 0.75);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(0, 140, 206, 0.5);
  
  /* Text */
  --text-primary: #F3F4F6;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Transitions */
  --tr-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --tr-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
  --bg-main: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #F1F5F9;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --border-color: rgba(0, 0, 0, 0.08);
  --border-focus: rgba(0, 140, 206, 0.6);
  
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
}

body {
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Background Atmosphere & Cyber Grids */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.glow-1 {
  top: -100px;
  left: 15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 140, 206, 0.25), transparent 70%);
}

.glow-2 {
  top: 400px;
  right: 5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.15), transparent 70%);
}

.glow-3 {
  bottom: 200px;
  left: 20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 162, 255, 0.15), transparent 70%);
}

.cyber-grid-disabled { display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, var(--border-color) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border-color) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at top, black 40%, transparent 80%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

.section-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.glass-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--bg-glass);
  border-bottom: 1px solid var(--border-color);
  transition: var(--tr-smooth);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cooddee-logo-img {
  height: 38px;
  width: auto;
  display: block;
  transition: transform var(--tr-fast);
}

.cooddee-logo-img:hover {
  transform: scale(1.03);
}

.brand-divider {
  width: 1px;
  height: 24px;
  background: var(--border-color);
}

.interlock-badge {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.by-text {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.interlock-logo-img {
  height: 22px;
  width: auto;
  opacity: 0.9;
  filter: brightness(1.05);
}

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

.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--tr-fast);
}

.nav-links a:hover {
  color: var(--brand-cyan);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--tr-fast);
}

.theme-toggle:hover {
  border-color: var(--brand-cyan);
  color: var(--brand-cyan);
}

[data-theme="dark"] .light-icon { display: block; }
[data-theme="dark"] .dark-icon { display: none; }
[data-theme="light"] .light-icon { display: none; }
[data-theme="light"] .dark-icon { display: block; }

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--brand-cyan), #0070A8);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  box-shadow: 0 4px 14px var(--brand-cyan-glow);
  transition: var(--tr-fast);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 140, 206, 0.6);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  transition: var(--tr-fast);
}

.btn-secondary:hover {
  border-color: var(--brand-cyan);
  background: rgba(0, 140, 206, 0.08);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 5rem 0 4rem;
  text-align: center;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.9rem;
  background: rgba(0, 140, 206, 0.1);
  border: 1px solid rgba(0, 140, 206, 0.3);
  border-radius: 999px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--brand-cyan);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-cyan);
  box-shadow: 0 0 10px var(--brand-cyan);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 140, 206, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 140, 206, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 140, 206, 0); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 950px;
  margin: 0 auto 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, #00A2FF 0%, #008CCE 50%, #A78BFA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 2.8rem;
  line-height: 1.65;
}

.hero-subtitle strong {
  color: var(--text-primary);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.terminal-install-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.terminal-prefix {
  color: var(--brand-cyan);
  font-weight: bold;
}

.copy-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  position: relative;
  padding: 4px;
  transition: color var(--tr-fast);
}

.copy-btn:hover {
  color: var(--brand-cyan);
}

.copied-tooltip {
  position: absolute;
  top: -28px;
  right: -8px;
  background: var(--brand-cyan);
  color: white;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  display: none;
  font-family: var(--font-body);
}

.metrics-ribbon {
  display: inline-flex;
  align-items: center;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  padding: 1.2rem 2.5rem;
  border-radius: 16px;
  gap: 2.5rem;
  backdrop-filter: blur(12px);
  margin-top: 1rem;
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand-cyan);
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.metric-divider {
  width: 1px;
  height: 35px;
  background: var(--border-color);
}

/* ==========================================================================
   INTERACTIVE SIMULATOR (THE KANBAN BOARD)
   ========================================================================== */
.demo-section {
  padding: 4rem 0 6rem;
}

.section-header {
  margin-bottom: 3rem;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--brand-cyan);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.simulator-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

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

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

.window-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: #FF5F56; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #27C93F; }

.sim-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.sim-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sim-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--brand-cyan);
  color: white;
  border: none;
  padding: 0.35rem 0.8rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity var(--tr-fast);
}

.sim-btn:hover {
  opacity: 0.9;
}

.sim-status-live {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--brand-green);
  font-weight: bold;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 6px var(--brand-green);
}

.kanban-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-main);
  min-height: 300px;
}

.kanban-lane {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
}

.lane-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.lane-name {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.lane-count {
  background: var(--bg-surface-elevated);
  font-size: 0.7rem;
  font-family: var(--font-mono);
  padding: 1px 6px;
  border-radius: 999px;
  color: var(--text-muted);
}

.lane-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card-item {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.75rem;
  cursor: pointer;
  transition: var(--tr-fast);
}

.card-item:hover {
  border-color: var(--brand-cyan);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.card-key {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-cyan);
}

.card-title {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.badge-role {
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}
.builder-role { background: rgba(0, 162, 255, 0.15); color: #38BDF8; }
.badge-lease { font-size: 0.65rem; color: var(--brand-yellow); font-family: var(--font-mono); }
.badge-gate-pass { font-size: 0.65rem; color: var(--brand-green); font-weight: 600; }
.badge-pqc { font-size: 0.65rem; background: rgba(167, 139, 250, 0.15); color: #C084FC; font-weight: 600; padding: 2px 6px; border-radius: 4px; }

.worktree-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  background: var(--bg-main);
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.progress-bar-container {
  width: 100%;
  height: 3px;
  background: var(--bg-main);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 65%;
  background: linear-gradient(90deg, var(--brand-cyan), var(--brand-violet));
  animation: progressPulse 1.5s infinite;
}

@keyframes progressPulse {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

.audit-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  color: var(--brand-violet);
}

.ancestry-verified {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--brand-green);
  font-size: 0.72rem;
  font-weight: 600;
}

.sim-terminal-bar {
  background: #06080A;
  border-top: 1px solid var(--border-color);
  padding: 1rem 1.25rem;
}

.term-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.term-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.status-indicator.live {
  background: rgba(16, 185, 129, 0.15);
  color: var(--brand-green);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
}

.term-logs {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.6;
  color: #E2E8F0;
  white-space: pre-wrap;
  max-height: 120px;
  overflow-y: auto;
}

.t-cyan { color: #38BDF8; font-weight: bold; }
.t-blue { color: #60A5FA; }
.t-yellow { color: #FBBF24; font-weight: bold; }
.t-green { color: #4ADE80; font-weight: bold; }
.t-purple { color: #C084FC; }

/* ==========================================================================
   PILLARS & FEATURES
   ========================================================================== */
.pillars-section {
  padding: 5rem 0;
}

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

.glass-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  transition: var(--tr-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  border-color: var(--border-focus);
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25);
}

.pillar-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.cyan-glow { background: rgba(0, 140, 206, 0.15); color: var(--brand-cyan); }
.purple-glow { background: rgba(167, 139, 250, 0.15); color: var(--brand-violet); }
.blue-glow { background: rgba(0, 162, 255, 0.15); color: var(--brand-blue); }
.green-glow { background: rgba(16, 185, 129, 0.15); color: var(--brand-green); }

.pillar-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.pillar-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.pillar-highlight {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-cyan);
  border-top: 1px solid var(--border-color);
  padding-top: 0.75rem;
}

/* ==========================================================================
   PIPELINE SECTION
   ========================================================================== */
.pipeline-section {
  padding: 5rem 0;
}

.roles-breakdown-card {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.5rem;
}

.role-column {
  flex: 1;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.5rem;
}

.role-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.8rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}
.role-badge.builder { background: rgba(0, 140, 206, 0.2); color: var(--brand-cyan); border: 1px solid var(--brand-cyan); }
.role-badge.refiner { background: rgba(167, 139, 250, 0.2); color: var(--brand-violet); border: 1px solid var(--brand-violet); }
.role-badge.reviewer { background: rgba(245, 158, 11, 0.2); color: var(--brand-yellow); border: 1px solid var(--brand-yellow); }

.role-mandate {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.role-arrow {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  color: var(--text-muted);
  font-weight: bold;
}

/* ==========================================================================
   PRICING TIERS
   ========================================================================== */
.pricing-section {
  padding: 6rem 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  position: relative;
}

.featured-card {
  border-color: var(--brand-cyan);
  box-shadow: 0 8px 30px var(--brand-cyan-glow);
  transform: translateY(-8px);
}

.popular-badge, .sovereign-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  font-size: 0.65rem;
  font-family: var(--font-mono);
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}
.popular-badge { background: var(--brand-cyan); color: #fff; }
.sovereign-badge { background: var(--brand-violet); color: #fff; }

.tier-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.team-tag { color: var(--brand-cyan); }
.ent-tag { color: var(--brand-blue); }
.sov-tag { color: var(--brand-violet); }

.tier-name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.tier-price {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.tier-price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.tier-summary {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  min-height: 42px;
}

.tier-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.65rem;
  line-height: 1.4;
}

.tier-features li i {
  color: var(--brand-cyan);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.btn-tier {
  display: block;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem;
  border-radius: 8px;
  transition: var(--tr-fast);
}

.btn-ghost {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.btn-ghost:hover {
  border-color: var(--brand-cyan);
}

.btn-sovereign {
  background: linear-gradient(135deg, var(--brand-violet), #7C3AED);
  color: white;
  box-shadow: 0 4px 14px rgba(167, 139, 250, 0.4);
}

.btn-sovereign:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(167, 139, 250, 0.6);
}

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

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

.footer-cooddee-logo {
  height: 36px;
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  max-width: 320px;
  margin-bottom: 1.5rem;
}

.interlock-parent {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.interlock-parent span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.footer-interlock-logo {
  height: 24px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.9;
  display: block;
  margin-top: 4px;
}

.footer-nav-col h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.footer-nav-col a {
  display: block;
  text-decoration: none;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
  transition: color var(--tr-fast);
}

.footer-nav-col a:hover {
  color: var(--brand-cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-motto {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brand-cyan);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-title { font-size: 2.6rem; }
  .kanban-wrapper { grid-template-columns: 1fr 1fr; }
  .roles-breakdown-card { flex-direction: column; }
  .role-arrow { justify-content: center; transform: rotate(90deg); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .metrics-ribbon { flex-direction: column; gap: 1rem; }
  .metric-divider { display: none; }
}

@media (max-width: 600px) {
  .kanban-wrapper { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}


.interlock-parent {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.parent-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  max-width: 150px;
}

.footer-interlock-logo {
  height: 26px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.9;
  display: block;
}
