/* ============================================
   Structural Photonics - Design System
   Professional, Technical, Reliable
   ============================================ */

/* CSS Variables */
:root {
  /* Primary Colors - Technical Blues */
  --primary-900: #0a1628;
  --primary-800: #0f2847;
  --primary-700: #153a66;
  --primary-600: #1a4d85;
  --primary-500: #2563eb;
  --primary-400: #3b82f6;
  --primary-300: #60a5fa;
  --primary-200: #93c5fd;
  --primary-100: #dbeafe;

  /* Neutral Grays */
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;

  /* Accent Colors */
  --accent-teal: #0d9488;
  --accent-teal-light: #14b8a6;
  --accent-orange: #ea580c;
  --accent-green: #16a34a;
  --accent-red: #dc2626;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Container */
  --container-max: 1200px;
  --container-narrow: 800px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-base: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-base: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--gray-50);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary-500);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-600);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.25;
  color: var(--gray-900);
}

h1 {
  font-size: 2.5rem;
  letter-spacing: -0.025em;
}

h2 {
  font-size: 2rem;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: var(--space-4);
}

.text-mono {
  font-family: var(--font-mono);
}

.text-sm {
  font-size: 0.875rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-muted {
  color: var(--gray-600);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-narrow {
  max-width: var(--container-narrow);
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition-base);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--gray-900);
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-500), var(--accent-teal));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}

.nav-link {
  color: var(--gray-600);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gray-900);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-500);
  border-radius: 1px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: var(--primary-500);
  color: white;
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: var(--radius-base);
  transition: background var(--transition-fast);
}

.nav-cta:hover {
  background: var(--primary-600);
  color: white;
}

/* Mobile Navigation */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 1px;
  transition: var(--transition-fast);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    flex-direction: column;
    padding: var(--space-8);
    gap: var(--space-6);
    transform: translateX(100%);
    transition: transform var(--transition-base);
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }

  .nav-link {
    font-size: 1.125rem;
  }
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  padding: calc(72px + var(--space-20)) 0 var(--space-20);
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-700) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(13, 148, 136, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

/* Grid pattern overlay */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  color: var(--primary-200);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: var(--space-6);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  color: white;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-6);
}

.hero-tagline {
  color: var(--primary-200);
  font-size: 1.375rem;
  line-height: 1.5;
  margin-bottom: var(--space-8);
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* Stats bar */
.hero-stats {
  display: flex;
  gap: var(--space-12);
  margin-top: var(--space-16);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
  text-align: left;
}

.hero-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  font-family: var(--font-mono);
}

.hero-stat-label {
  font-size: 0.875rem;
  color: var(--primary-300);
  margin-top: var(--space-1);
}

@media (max-width: 768px) {
  .hero {
    padding: calc(72px + var(--space-12)) 0 var(--space-12);
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-tagline {
    font-size: 1.125rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-6);
  }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-base);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary-500);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-600);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--gray-900);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--gray-50);
  color: var(--gray-900);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

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

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: 1.0625rem;
}

.btn svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   Sections
   ============================================ */
.section {
  padding: var(--space-20) 0;
}

.section-dark {
  background: var(--gray-900);
  color: white;
}

.section-dark h2,
.section-dark h3 {
  color: white;
}

.section-light {
  background: white;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-12);
}

.section-header h2 {
  margin-bottom: var(--space-4);
}

.section-header p {
  color: var(--gray-600);
  font-size: 1.125rem;
}

.section-dark .section-header p {
  color: var(--gray-400);
}

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-500);
  margin-bottom: var(--space-3);
}

.section-dark .section-label {
  color: var(--primary-400);
}

/* ============================================
   Cards
   ============================================ */
.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-base);
  border: 1px solid var(--gray-200);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary-600);
}

.card h3 {
  margin-bottom: var(--space-3);
}

.card p {
  color: var(--gray-600);
  margin-bottom: 0;
}

/* Feature Cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

@media (max-width: 992px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Problem/Solution Layout
   ============================================ */
.problem-solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

.problem-box,
.solution-box {
  padding: var(--space-8);
  border-radius: var(--radius-lg);
}

.problem-box {
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  border: 1px solid #fecaca;
}

.solution-box {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border: 1px solid #a7f3d0;
}

.problem-box h3 {
  color: var(--accent-red);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.solution-box h3 {
  color: var(--accent-green);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.problem-list,
.solution-list {
  list-style: none;
}

.problem-list li,
.solution-list li {
  padding: var(--space-3) 0;
  padding-left: var(--space-6);
  position: relative;
  color: var(--gray-700);
}

.problem-list li::before {
  content: '×';
  position: absolute;
  left: 0;
  color: var(--accent-red);
  font-weight: 700;
}

.solution-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: 700;
}

@media (max-width: 768px) {
  .problem-solution {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

/* ============================================
   Credibility Bar
   ============================================ */
.credibility-bar {
  background: white;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: var(--space-8) 0;
}

.credibility-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-12);
  flex-wrap: wrap;
}

.credibility-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--gray-600);
  font-size: 0.9375rem;
}

.credibility-item svg {
  width: 32px;
  height: 32px;
  color: var(--gray-400);
}

.credibility-item strong {
  color: var(--gray-800);
}

/* ============================================
   Tech Specs
   ============================================ */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.spec-card {
  text-align: center;
  padding: var(--space-6);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
}

.spec-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-400);
  font-family: var(--font-mono);
  line-height: 1;
}

.spec-unit {
  font-size: 1rem;
  color: var(--primary-300);
  margin-left: var(--space-1);
}

.spec-label {
  margin-top: var(--space-2);
  color: var(--gray-400);
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   Applications Grid
   ============================================ */
.applications-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.application-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.application-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.application-image {
  height: 180px;
  background: linear-gradient(135deg, var(--primary-800), var(--primary-600));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.application-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 20px 20px;
}

.application-image svg {
  width: 64px;
  height: 64px;
  color: white;
  opacity: 0.9;
}

.application-content {
  padding: var(--space-6);
}

.application-content h3 {
  margin-bottom: var(--space-3);
}

.application-content p {
  color: var(--gray-600);
  font-size: 0.9375rem;
  margin-bottom: var(--space-4);
}

.application-features {
  list-style: none;
}

.application-features li {
  padding: var(--space-2) 0;
  padding-left: var(--space-5);
  position: relative;
  font-size: 0.875rem;
  color: var(--gray-700);
}

.application-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--primary-500);
  border-radius: 50%;
}

@media (max-width: 992px) {
  .applications-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .applications-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Team Section
   ============================================ */
.team-division {
  margin-bottom: var(--space-16);
}

.team-division:last-child {
  margin-bottom: 0;
}

.division-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--gray-200);
}

.division-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-500);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.division-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.division-header h3 {
  margin: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.team-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  text-align: center;
}

.team-photo {
  height: 200px;
  background: linear-gradient(135deg, var(--gray-200), var(--gray-300));
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-photo svg {
  width: 64px;
  height: 64px;
  color: var(--gray-400);
}

.team-info {
  padding: var(--space-5);
}

.team-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--space-1);
}

.team-title {
  font-size: 0.875rem;
  color: var(--primary-600);
  font-weight: 500;
  margin-bottom: var(--space-2);
}

.team-bio {
  font-size: 0.8125rem;
  color: var(--gray-600);
  line-height: 1.5;
}

@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Timeline
   ============================================ */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}

.timeline-item {
  position: relative;
  padding-left: var(--space-10);
  padding-bottom: var(--space-8);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -5px;
  top: 0;
  width: 12px;
  height: 12px;
  background: var(--primary-500);
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: var(--shadow-sm);
}

.timeline-item.completed .timeline-marker {
  background: var(--accent-green);
}

.timeline-item.current .timeline-marker {
  background: var(--primary-500);
  box-shadow: 0 0 0 4px var(--primary-100);
}

.timeline-item.upcoming .timeline-marker {
  background: var(--gray-300);
}

.timeline-date {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
}

.timeline-content h4 {
  margin-bottom: var(--space-2);
}

.timeline-content p {
  color: var(--gray-600);
  margin-bottom: 0;
  font-size: 0.9375rem;
}

/* ============================================
   Contact Form
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
}

.contact-info h2 {
  margin-bottom: var(--space-4);
}

.contact-info > p {
  color: var(--gray-600);
  font-size: 1.125rem;
  margin-bottom: var(--space-8);
}

.contact-methods {
  list-style: none;
}

.contact-methods li {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--gray-200);
}

.contact-methods li:last-child {
  border-bottom: none;
}

.contact-methods svg {
  width: 24px;
  height: 24px;
  color: var(--primary-500);
}

.contact-methods a {
  color: var(--gray-800);
}

.contact-methods a:hover {
  color: var(--primary-500);
}

.contact-form-wrapper {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: var(--space-2);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--gray-900);
  background: white;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-base);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px var(--primary-100);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-brand p {
  margin-top: var(--space-4);
  max-width: 280px;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.footer h4 {
  color: white;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}

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

.footer-links li {
  margin-bottom: var(--space-3);
}

.footer-links a {
  color: var(--gray-400);
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid var(--gray-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  gap: var(--space-6);
}

.footer-legal a {
  color: var(--gray-500);
}

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

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .footer-brand {
    grid-column: span 2;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }
}

/* ============================================
   Page Headers (Internal Pages)
   ============================================ */
.page-header {
  padding: calc(72px + var(--space-16)) 0 var(--space-12);
  background: linear-gradient(135deg, var(--primary-900), var(--primary-700));
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  color: white;
  margin-bottom: var(--space-4);
}

.page-header p {
  color: var(--primary-200);
  font-size: 1.25rem;
  max-width: 600px;
}

/* ============================================
   Technology Page Specifics
   ============================================ */
.tech-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.tech-visual {
  background: linear-gradient(135deg, var(--primary-100), var(--primary-50));
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.fiber-animation {
  position: relative;
  width: 100%;
  height: 200px;
}

.fiber-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-500), var(--accent-teal), var(--primary-500));
  border-radius: 2px;
  top: 50%;
  transform: translateY(-50%);
}

.fiber-pulse {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--primary-400);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  animation: pulse-travel 3s ease-in-out infinite;
  box-shadow: 0 0 20px var(--primary-400);
}

@keyframes pulse-travel {
  0% { left: 0; opacity: 1; }
  100% { left: calc(100% - 20px); opacity: 0.5; }
}

.tech-content h2 {
  margin-bottom: var(--space-6);
}

.tech-content p {
  color: var(--gray-600);
  font-size: 1.0625rem;
  margin-bottom: var(--space-6);
}

@media (max-width: 768px) {
  .tech-overview {
    grid-template-columns: 1fr;
  }

  .tech-visual {
    min-height: 300px;
  }
}

/* How it works */
.how-it-works {
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--primary-500);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.step-content h4 {
  margin-bottom: var(--space-2);
}

.step-content p {
  color: var(--gray-600);
  margin-bottom: 0;
}

/* Comparison table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-8);
}

.comparison-table th,
.comparison-table td {
  padding: var(--space-4) var(--space-5);
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

.comparison-table th {
  background: var(--gray-100);
  font-weight: 600;
  color: var(--gray-700);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.comparison-table td {
  color: var(--gray-700);
}

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

.comparison-table .highlight {
  background: var(--primary-50);
  font-weight: 500;
  color: var(--primary-700);
}

.check-icon {
  color: var(--accent-green);
}

.x-icon {
  color: var(--gray-400);
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center {
  text-align: center;
}

.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-4 {
  gap: var(--space-4);
}

.gap-8 {
  gap: var(--space-8);
}

/* Scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Print styles */
@media print {
  .header,
  .footer,
  .nav-cta {
    display: none;
  }

  .hero {
    padding-top: var(--space-8);
    background: none;
    color: black;
  }

  .hero h1,
  .hero-tagline {
    color: black;
  }
}
