/* ============================================
   MGBI - Microgravity Bio-Island Platform
   Aerospace Theme Stylesheet
   ============================================ */

/* --- CSS Variables --- */
:root {
  --bg-deep: #020710;
  --bg-space: #0a0f1e;
  --bg-card: rgba(10, 20, 40, 0.85);
  --bg-glass: rgba(15, 30, 60, 0.6);
  --accent-cyan: #00d4ff;
  --accent-teal: #00ff88;
  --accent-blue: #1a6fff;
  --accent-purple: #7b5cff;
  --text-primary: #e8ecf1;
  --text-secondary: #8a9bb5;
  --text-muted: #556580;
  --border-glass: rgba(0, 212, 255, 0.15);
  --border-glow: rgba(0, 212, 255, 0.4);
  --gradient-hero: linear-gradient(180deg, rgba(2,7,16,0.35) 0%, rgba(10,22,40,0.35) 50%, rgba(13,31,60,0.35) 100%);
  --gradient-section: linear-gradient(180deg, #0a0f1e 0%, #0d1830 100%);
  --font-mono: 'SF Mono', 'Cascadia Code', 'JetBrains Mono', monospace;
  --font-sans: 'Inter', 'SF Pro Display', -apple-system, sans-serif;
  --font-cn: 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  --radius: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-cyan) var(--bg-deep);
}

body {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--accent-cyan); border-radius: 3px; }

/* --- Navigation --- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(2, 7, 16, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-cyan);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent-cyan);
  transition: width 0.3s ease;
}

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

/* --- Hero Section --- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--gradient-hero);
  padding: 100px 0 40px;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
  padding: 0 2rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border: 1px solid var(--border-glow);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.08);
  margin-bottom: 2rem;
  animation: fadeInDown 0.8s ease;
}

.hero-title {
  margin-bottom: 1rem;
}

.title-line1 {
  display: block;
  font-family: var(--font-cn);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  animation: fadeInUp 0.8s ease;
}

.title-line2 {
  display: block;
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  margin: 0.3rem 0;
  animation: fadeInUp 1s ease;
}

.title-line3 {
  display: block;
  font-family: var(--font-mono);
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1.2s ease, glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.3); }
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1.4s ease;
}

/* --- Gravity Showcase (3 image cards) --- */
.hero-gravity-showcase {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1.5s ease;
  max-width: 900px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.gravity-card {
  flex: 1;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  max-width: 230px;
}

.gravity-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.12);
}

.gravity-img-wrap {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.5rem;
}

.gravity-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 4px;
}

.gravity-info {
  padding: 0.5rem 0.6rem;
  text-align: center;
  border-top: 1px solid var(--border-glass);
}

.gravity-val {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-teal);
  margin-bottom: 0.1rem;
}

.gravity-lbl {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-cn);
  letter-spacing: 0.03em;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  animation: fadeInUp 1.6s ease;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.stat-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-teal);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border: 1.5px solid var(--accent-cyan);
  border-radius: 100px;
  color: var(--accent-cyan);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  animation: fadeInUp 1.8s ease;
}

.hero-cta:hover {
  background: rgba(0, 212, 255, 0.1);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
  transform: translateY(-2px);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, var(--accent-cyan), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* --- Section Common --- */
section {
  padding: 6rem 2rem;
  position: relative;
}

section:nth-child(odd) {
  background: var(--bg-space);
}

section:nth-child(even) {
  background: var(--bg-deep);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 5rem;
}

.section-title {
  font-family: var(--font-cn);
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--accent-cyan);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Canvas Defaults --- */
canvas {
  display: block;
  max-width: 100%;
}

.block-visual canvas {
  max-width: 100%;
  height: auto !important;
}

/* Full-width variant for single-column content blocks */
.content-block--full {
  grid-template-columns: 1fr;
}

.block-text--full {
  grid-column: 1 / -1;
  max-width: 100%;
}

/* --- Content Blocks --- */
.content-block {
  max-width: 1100px;
  margin: 0 auto 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.block-text h3 {
  font-family: var(--font-cn);
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.5rem;
}

.block-text h3 .accent {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-cyan);
  margin-right: 0.75rem;
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--border-glass);
  border-radius: 4px;
  vertical-align: middle;
}

.block-text p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.block-text p strong {
  color: var(--text-primary);
}

.block-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.block-visual canvas {
  max-width: 100%;
  height: auto;
}

/* --- Tech Evolution Section --- */
.tech-evolution-section {
  max-width: 1100px;
  margin: 0 auto 5rem;
}

.section-inner h3 {
  font-family: var(--font-cn);
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.5rem;
}

.section-inner h3 .accent {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-cyan);
  margin-right: 0.75rem;
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--border-glass);
  border-radius: 4px;
  vertical-align: middle;
}

.evolution-canvas-wrap {
  margin-top: 2rem;
  text-align: center;
}

.evolution-canvas-wrap canvas {
  max-width: 100%;
  height: auto !important;
  border-radius: var(--radius);
  background: rgba(10, 15, 30, 0.5);
  border: 1px solid var(--border-glass);
}

/* --- Tech Evolution --- */
.tech-evolution {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.tech-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: var(--transition);
}

.tech-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.1);
}

.tech-gen {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
}

.tech-gen.highlight {
  background: rgba(0, 255, 136, 0.15);
  color: var(--accent-teal);
}

.tech-card h4 {
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.tech-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.tech-era {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* --- Bottlenecks --- */
.bottleneck-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.bottleneck-item {
  background: var(--bg-glass);
  border: 1px solid rgba(255, 100, 50, 0.2);
  border-left: 3px solid #ff6432;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.bottleneck-item h4 {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 0.4rem;
}

.bottleneck-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.bn-icon {
  flex-shrink: 0;
  color: #ff6432;
  font-size: 1.2rem;
  line-height: 1.4;
  margin-top: 1px;
}

.bn-content {
  flex: 1;
  min-width: 0;
}

/* --- Architecture Diagram --- */
.arch-diagram-container {
  max-width: 1100px;
  margin: 0 auto 4rem;
  text-align: center;
}

.arch-diagram-container canvas {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  background: rgba(10, 15, 30, 0.5);
  border: 1px solid var(--border-glass);
}

/* --- Features Grid --- */
.features-grid {
  max-width: 1100px;
  margin: 0 auto 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.12);
}

.feature-icon {
  margin-bottom: 1rem;
}

.feature-card h4 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Comparison Table --- */
.comparison-section {
  max-width: 1100px;
  margin: 0 auto;
}

.comparison-section h3 {
  text-align: center;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 2rem;
}

.comparison-table-wrapper {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.comparison-table th {
  background: rgba(0, 212, 255, 0.08);
  color: var(--accent-cyan);
  padding: 0.8rem 1rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 1px solid var(--border-glass);
  white-space: nowrap;
}

.comparison-table th.highlight-col {
  background: rgba(0, 255, 136, 0.1);
  color: var(--accent-teal);
}

.comparison-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--text-secondary);
}

.comparison-table td.highlight-col {
  color: var(--accent-teal);
  font-weight: 500;
  background: rgba(0, 255, 136, 0.03);
}

.comparison-table tr:hover td {
  background: rgba(0, 212, 255, 0.03);
}

/* --- Strategy List --- */
.strategy-list {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.strategy-item {
  background: var(--bg-glass);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  border-left: 2px solid var(--accent-cyan);
}

.strategy-item h4 {
  font-size: 0.95rem;
  color: var(--accent-cyan);
  margin-bottom: 0.3rem;
}

.strategy-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Chip Design --- */
.chip-design-section {
  max-width: 1100px;
  margin: 4rem auto 0;
  text-align: center;
}

.chip-design-section h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 2rem;
}

.chip-design-section canvas {
  max-width: 100%;
  margin-bottom: 1.5rem;
}

.chip-chambers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.chamber-type {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.chamber-label {
  display: block;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

/* --- Algorithm List --- */
.algo-list {
  list-style: none;
  margin: 1rem 0;
}

.algo-list li {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.algo-list li strong {
  color: var(--accent-cyan);
}

.perf-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.badge {
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--accent-teal);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--accent-teal);
  font-family: var(--font-mono);
  background: rgba(0, 255, 136, 0.06);
}

/* --- Tracking Features --- */
.tracking-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.track-item {
  background: var(--bg-glass);
  border-radius: var(--radius);
  padding: 1rem;
}

.track-item h4 {
  font-size: 0.9rem;
  color: var(--accent-cyan);
  margin-bottom: 0.3rem;
}

.track-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- Image Carousel --- */
.tracking-carousel,
.tracking-carousel-wide {
  width: 100%;
  max-width: 580px;
}

.tracking-carousel-wide {
  max-width: 100%;
  margin-top: 1.5rem;
}

.carousel-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 480px;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(10, 15, 30, 0.5);
  border: 1px solid var(--border-glass);
}

.tracking-carousel-wide .carousel-viewport {
  max-height: 520px;
  aspect-ratio: 16 / 9;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.carousel-slide img {
  width: 92%;
  height: 92%;
  object-fit: contain;
  border-radius: 4px;
}

.carousel-slide canvas {
  max-width: 100%;
  max-height: 100%;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.75rem;
}

.carousel-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  background: var(--bg-glass);
  color: var(--accent-cyan);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}

.carousel-btn:hover {
  background: rgba(0, 212, 255, 0.15);
  border-color: var(--border-glow);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.2);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  background: var(--accent-cyan);
  box-shadow: 0 0 6px rgba(0, 212, 255, 0.5);
}

/* --- Application Grid --- */
.app-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.app-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.12);
}

.app-icon {
  margin-bottom: 1.25rem;
  width: 120px;
  height: 120px;
  margin-left: auto;
  margin-right: auto;
}

.app-icon canvas {
  width: 120px !important;
  height: 120px !important;
}

.app-card h4 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.app-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.app-tags {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.app-tags span {
  padding: 0.2rem 0.7rem;
  border: 1px solid var(--border-glass);
  border-radius: 100px;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* --- Future Section --- */
.future-section {
  max-width: 1100px;
  margin: 5rem auto 0;
  text-align: center;
}

.future-section h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 2rem;
}

.future-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.future-item {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
}

.future-item:hover {
  border-color: rgba(123, 92, 255, 0.4);
  box-shadow: 0 4px 20px rgba(123, 92, 255, 0.1);
}

.future-item h4 {
  font-size: 0.95rem;
  color: var(--accent-purple);
  margin-bottom: 0.5rem;
}

.future-item p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- Footer --- */
footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-glass);
  padding: 4rem 2rem;
  text-align: center;
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo span {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-cyan);
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-ref {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 1.5rem;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-family: var(--font-mono);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .content-block {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .features-grid,
  .app-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-evolution {
    grid-template-columns: 1fr;
  }

  .chip-chambers {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .title-line1 { font-size: 2rem; }
  .title-line2 { font-size: 1rem; }
  .title-line3 { font-size: 3.5rem; }

  .section-title { font-size: 1.8rem; }
  .nav-links { display: none; }

  .features-grid,
  .app-grid,
  .future-grid {
    grid-template-columns: 1fr;
  }

  .tracking-features {
    grid-template-columns: 1fr;
  }

  .hero-stats { gap: 1.25rem; }
  .stat-num { font-size: 1.2rem; }

  section { padding: 3rem 1rem; }
}
