/* ZitStack Brand HQ Corporate CSS Stylesheet */

/* Design Tokens & Theme Variables */
:root {
  /* Font Families */
  --font-heading: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Colors (Light Theme Default) */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-accent-trans: rgba(249, 115, 22, 0.05);

  --text-primary: #0b0f19;
  --text-secondary: #475569;
  --text-muted: #94a3b8;

  --border-color: #e2e8f0;
  --border-glow: rgba(249, 115, 22, 0.1);

  --color-accent: #f97316; /* Vibrant Orange */
  --color-accent-hover: #ea580c;
  --color-success: #10b981;
  --color-warning: #f59e0b;

  --gradient-accent: linear-gradient(135deg, #f97316 0%, #f59e0b 100%);
  --gradient-mesh: radial-gradient(at 0% 0%, rgba(255, 237, 213, 0.5) 0px, transparent 50%),
                   radial-gradient(at 100% 0%, rgba(254, 215, 170, 0.5) 0px, transparent 50%);

  /* Shadow tokens */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 20px -2px rgba(11, 15, 25, 0.04), 0 2px 8px -1px rgba(11, 15, 25, 0.02);
  --shadow-lg: 0 20px 40px -15px rgba(11, 15, 25, 0.08), 0 0 0 1px rgba(11, 15, 25, 0.01);
  
  --card-radius: 14px;
}

/* Dark Theme Tokens */
body.dark-mode {
  --bg-primary: #080b11;
  --bg-secondary: #0e131f;
  --bg-tertiary: #171d2e;
  --bg-accent-trans: rgba(249, 115, 22, 0.1);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --border-color: rgba(255, 255, 255, 0.07);
  --border-glow: rgba(249, 115, 22, 0.25);
  
  --gradient-mesh: radial-gradient(at 0% 0%, rgba(30, 41, 59, 0.6) 0px, transparent 50%),
                   radial-gradient(at 100% 0%, rgba(46, 16, 101, 0.3) 0px, transparent 50%);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 20px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.03);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.4s ease, color 0.3s ease;
  overflow-x: hidden;
  padding-bottom: 80px; /* Space for ecosystem switcher */
}

/* Common Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.mini-container {
  max-width: 800px;
}

.section {
  padding: 96px 0;
}

.border-top {
  border-top: 1px solid var(--border-color);
}

/* Headings & Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

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

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

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

.btn-secondary:hover {
  background-color: var(--bg-secondary);
  border-color: var(--text-muted);
  transform: translateY(-1px);
}

.btn-white-border {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-white-border:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 6px;
}

/* Section Header Styling */
.section-header {
  margin-bottom: 56px;
  max-width: 640px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-tag {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: 32px;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.section-subtitle.center {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

body.dark-mode .header {
  background-color: rgba(8, 11, 17, 0.8);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  height: 72px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.logo-icon {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
}

.logo-text span {
  color: var(--color-accent);
}

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

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

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

/* Theme Toggle Button */
.theme-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-btn:hover {
  color: var(--text-primary);
  background-color: var(--bg-secondary);
}

.sun-icon { display: block; width: 18px; height: 18px; }
.moon-icon { display: none; width: 18px; height: 18px; }

body.dark-mode .sun-icon { display: none; }
body.dark-mode .moon-icon { display: block; }

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  width: 32px;
  height: 32px;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 80px 0 120px;
  background: var(--gradient-mesh);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 12px;
  background: var(--bg-accent-trans);
  color: var(--color-accent);
  border: 1px solid var(--border-glow);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 9999px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 46px;
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.6;
  max-width: 520px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.trusted-strip {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.trusted-text {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.trusted-logos {
  display: flex;
  gap: 24px;
  align-items: center;
}

.trusted-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: -0.02em;
}

/* Hero Network Visualization */
.hero-visualization {
  position: relative;
  height: 400px;
  width: 100%;
}

.viz-container {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

#node-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.viz-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.stat-bubble {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

body.dark-mode .stat-bubble {
  background: rgba(14, 19, 31, 0.85);
}

.stat-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--color-success);
  border-radius: 50%;
  display: inline-block;
  animation: pulse-glow 1.5s infinite;
}

.stat-bubble svg {
  width: 12px;
  height: 12px;
  color: var(--color-accent);
}

/* Product Section Filter Bar */
.filter-bar {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.filter-tab {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.filter-tab:hover {
  color: var(--text-primary);
  background-color: var(--bg-tertiary);
}

.filter-tab.active {
  color: var(--color-accent);
  background-color: var(--bg-accent-trans);
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.product-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-glow);
}

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.prod-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prod-icon svg {
  width: 22px;
  height: 22px;
}

.icon-commerce {
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.icon-infra {
  background-color: rgba(249, 115, 22, 0.1);
  color: #f97316;
}

.icon-labs {
  background-color: rgba(168, 85, 247, 0.1);
  color: #a855f7;
}

.prod-badge {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 8px;
  border-radius: 4px;
}

.bg-emerald { background-color: rgba(16, 185, 129, 0.1); color: #10b981; }
.bg-indigo { background-color: rgba(249, 115, 22, 0.1); color: #f97316; }
.bg-purple { background-color: rgba(168, 85, 247, 0.1); color: #a855f7; }

.prod-title {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.prod-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.prod-meta {
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.prod-link {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.prod-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.prod-cta:hover {
  gap: 8px;
}

/* Ecosystem Map Section */
.ecosystem-box {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 56px 24px;
  box-shadow: var(--shadow-md);
}

.map-visualizer {
  position: relative;
  height: 380px;
  margin: 48px auto;
  max-width: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.center-hub {
  position: relative;
  width: 100%;
  height: 100%;
}

.hub-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: var(--text-primary);
  border: 4px solid var(--bg-primary);
  color: var(--bg-primary);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.hub-label {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
}

.hub-sublabel {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
  margin-top: 4px;
}

/* Concentric Orbiting Rings */
.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px dashed var(--border-color);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-1 { width: 220px; height: 220px; }
.orbit-2 { width: 340px; height: 340px; }
.orbit-3 { width: 460px; height: 460px; }

/* Branching Nodes */
.node-item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 15;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.node-dot {
  width: 16px;
  height: 16px;
  background-color: var(--bg-primary);
  border: 3px solid var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.node-label {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
  background: var(--bg-primary);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

/* Mathematical positioning of nodes around a circle */
.n1 { transform: translate(calc(-50% - 150px), calc(-50% - 50px)); }
.n2 { transform: translate(calc(-50% - 80px), calc(-50% + 120px)); }
.n3 { transform: translate(calc(-50% + 120px), calc(-50% + 90px)); }
.n4 { transform: translate(calc(-50% + 130px), calc(-50% - 80px)); }
.n5 { transform: translate(calc(-50% + 0px), calc(-50% - 140px)); }

/* Hover states on nodes */
.node-item:hover {
  transform: scale(1.15) translate(var(--tw-translate-x, 0), var(--tw-translate-y, 0));
}

.n1:hover { transform: translate(calc(-50% - 150px), calc(-50% - 50px)) scale(1.1); }
.n2:hover { transform: translate(calc(-50% - 80px), calc(-50% + 120px)) scale(1.1); }
.n3:hover { transform: translate(calc(-50% + 120px), calc(-50% + 90px)) scale(1.1); }
.n4:hover { transform: translate(calc(-50% + 130px), calc(-50% - 80px)) scale(1.1); }
.n5:hover { transform: translate(calc(-50% + 0px), calc(-50% - 140px)) scale(1.1); }

.node-item:hover .node-dot {
  background-color: var(--color-accent);
  box-shadow: 0 0 12px var(--color-accent);
}

.node-item:hover .node-label {
  color: var(--text-primary);
  border-color: var(--color-accent);
}

.ecosystem-details {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  max-width: 500px;
  margin: 0 auto;
}

/* Labs Dark Section (Ultra premium R&D showcase) */
.labs-dark-section {
  background-color: #030712;
  color: #f3f4f6;
  border-radius: 24px;
  margin: 40px 0;
  padding: 80px 0;
}

.labs-dark-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.labs-dark-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.labs-dark-badge {
  color: #a855f7;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  display: inline-block;
  margin-bottom: 16px;
}

.labs-dark-title {
  font-size: 36px;
  color: #ffffff;
  margin-bottom: 20px;
}

.labs-dark-text {
  color: #9ca3af;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.labs-dark-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.labs-feature {
  display: flex;
  gap: 16px;
}

.labs-feature-icon {
  font-size: 24px;
}

.labs-feature h5 {
  color: #ffffff;
  font-size: 14px;
  margin-bottom: 4px;
}

.labs-feature p {
  color: #6b7280;
  font-size: 12px;
}

/* Code Terminal Mockup */
.code-terminal-mock {
  background-color: #0d0e12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  overflow: hidden;
  font-family: 'Courier New', Courier, monospace;
}

.terminal-header {
  background-color: #17181c;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.term-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-r { background-color: #ef4444; }
.dot-y { background-color: #eab308; }
.dot-g { background-color: #22c55e; }

.term-title {
  color: #6b7280;
  font-size: 11px;
  margin-left: 12px;
}

.terminal-body {
  padding: 20px;
  font-size: 12px;
  line-height: 1.8;
}

.term-line {
  color: #9ca3af;
  margin-bottom: 4px;
}

.term-prompt {
  color: #a855f7;
}

.term-line.output {
  color: #4b5563;
}

.term-highlight {
  color: #22c55e;
}

.blinking-cursor {
  animation: blink 1s step-end infinite;
  color: #ffffff;
}

/* Developer Section & API Playground */
.dev-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.dev-perks {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
}

.perk {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-secondary);
}

.perk svg {
  width: 18px;
  height: 18px;
  color: var(--color-success);
}

.dev-ctas {
  display: flex;
  gap: 16px;
}

/* Sandbox Terminal Card */
.sandbox-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

body.dark-mode .sandbox-card {
  background-color: var(--bg-secondary);
  border-color: var(--border-color);
}

.sandbox-header {
  background-color: var(--bg-tertiary);
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sandbox-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.sandbox-tabs {
  display: flex;
  gap: 6px;
}

.sandbox-tab {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sandbox-tab.active {
  background-color: var(--bg-primary);
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.sandbox-console {
  padding: 24px;
  background-color: #0b0f17;
  color: #e2e8f0;
}

.console-input {
  display: flex;
  gap: 8px;
  font-family: monospace;
  font-size: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.console-prompt {
  color: #f97316;
}

.console-value {
  color: #94a3b8;
}

.console-output pre {
  margin: 0;
  font-family: monospace;
  font-size: 12px;
  color: #34d399; /* Green output */
  overflow-x: auto;
  max-height: 200px;
}

.console-footer {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.query-status-text {
  font-size: 11px;
  color: #64748b;
}

.operational-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--color-success);
  border-radius: 50%;
  display: inline-block;
}

/* About / Vision section */
.about-section {
  background: radial-gradient(circle at 50% 50%, var(--bg-secondary) 0%, transparent 80%);
}

/* Footer Section */
.footer {
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  padding: 80px 0 40px;
}

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

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

.footer-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  max-width: 280px;
}

.status-indicator-footer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-secondary);
  padding: 6px 12px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 9999px;
}

.footer-links-col h6 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

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

.footer-links-col li {
  margin-bottom: 10px;
}

.footer-links-col a {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links-col a:hover {
  color: var(--color-accent);
}

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

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

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--color-accent);
}

/* Animations */
@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

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

/* Responsive Rules */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-btns {
    justify-content: center;
  }
  .trusted-logos {
    justify-content: center;
  }
  .dev-grid {
    grid-template-columns: 1fr;
  }
  .labs-dark-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none; /* In a real project, we would build a full hamburger menu */
  }
  .mobile-menu-btn {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
