:root {
  --color-midnight-canvas: #05060f;
  --color-steel-plate: #2f343e;
  --color-fog-veil: #9da7ba;
  --color-moon-mist: #c7d3ea;
  --color-frost-glow: #d1e4fa;
  --color-ice-highlight: #d8ecf8;
  --gradient-ice-highlight: linear-gradient(0deg, #d8ecf8 0%, #98c0ef 100%);
  --color-pure-white: #ffffff;
  --color-void-violet: #663af3;
  --color-blueprint-blue: #b6d9fc;
  --color-glass-edge: rgba(186, 215, 247, 0.12);
  --color-luminous-fill: rgba(199, 211, 234, 0.12);
  --color-frost-wash: rgba(186, 214, 247, 0.06);
  --color-frost-wash-hover: rgba(186, 214, 247, 0.12);
  --color-glass-surface: rgba(186, 214, 247, 0.03);
  --color-deep-glass: rgba(5, 6, 15, 0.97);

  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-eyebrow: "JetBrains Mono", ui-monospace, monospace;

  --page-max-width: 1200px;
  --section-gap: 120px;
  --card-padding: 24px;
  --element-gap: 16px;

  --radius-card: 16px;
  --radius-badge: 6px;
  --radius-input: 6px;
  --radius-pill: 999px;
  --radius-icon: 9999px;

  --shadow-feature: inset 0 1px 1px rgba(199, 211, 234, 0.12), inset 0 24px 48px rgba(199, 211, 234, 0.05), 0 24px 32px rgba(6, 6, 14, 0.7);
  --shadow-modal: inset 0 1px 1px rgba(216, 236, 248, 0.2), inset 0 24px 48px rgba(168, 216, 245, 0.06), 0 16px 32px rgba(0, 0, 0, 0.3);
  --shadow-inset: inset 0 0 0 1px rgba(186, 215, 247, 0.12);
  --shadow-glow: 0 0 6px rgba(186, 207, 247, 0.32), 0 0 12px rgba(238, 186, 247, 0.24);

  --success: #269684;
  --error: #e46d4c;
  --warning: #e8a838;
  --info: #027dea;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--color-midnight-canvas);
  color: var(--color-frost-glow);
  line-height: 1.5;
  min-height: 100vh;
  letter-spacing: -0.01em;
}

a {
  color: var(--color-frost-glow);
  text-decoration: none;
}

.container {
  width: min(var(--page-max-width), 92vw);
  margin: 0 auto;
}

/* Background atmosphere */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(186, 215, 247, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(186, 215, 247, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 75%);
}

.bg-spotlight {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 120vw);
  height: 500px;
  pointer-events: none;
  background: conic-gradient(
    at 50% 0%,
    transparent 42%,
    rgba(124, 145, 182, 0.28) 49%,
    rgba(124, 145, 182, 0.45) 50%,
    rgba(124, 145, 182, 0.28) 51%,
    transparent 58%
  );
  filter: blur(40px);
  opacity: 0.9;
}

/* Icons */
.icon {
  width: 22px;
  height: 22px;
  stroke-width: 1.5px;
  flex-shrink: 0;
}

.icon-sm { width: 18px; height: 18px; }
.icon-lg { width: 26px; height: 26px; }
.icon-xl { width: 32px; height: 32px; }

.icon-tile {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-icon);
  display: grid;
  place-items: center;
  background: var(--color-frost-wash);
  box-shadow: var(--shadow-inset);
  color: var(--color-frost-glow);
  margin-bottom: var(--spacing-20, 20px);
}

.icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-icon);
  display: grid;
  place-items: center;
  background: var(--color-frost-wash);
  box-shadow: var(--shadow-inset);
  color: var(--color-frost-glow);
  margin-bottom: 20px;
}

.icon-box-sm {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-icon);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--color-frost-wash);
  box-shadow: var(--shadow-inset);
  color: var(--color-frost-glow);
}

.empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: var(--radius-icon);
  background: var(--color-frost-wash);
  box-shadow: var(--shadow-inset);
  display: grid;
  place-items: center;
  color: var(--color-moon-mist);
}

/* Eyebrow labels */
.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.eyebrow-line {
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(186, 215, 247, 0.12), transparent);
}

.eyebrow-text,
.section-label {
  font-family: var(--font-eyebrow);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-moon-mist);
  white-space: nowrap;
}

.section-header .eyebrow { margin-bottom: 20px; }

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(5, 6, 15, 0.82);
  backdrop-filter: blur(20px);
  box-shadow: inset 0 -1px 0 rgba(186, 215, 247, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: var(--color-frost-glow);
}

.logo-img {
  height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo-img-footer {
  height: 64px;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-icon);
  background: var(--color-frost-wash);
  box-shadow: var(--shadow-inset);
  display: grid;
  place-items: center;
  color: var(--color-frost-glow);
}

.logo-mark svg { width: 20px; height: 20px; }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  color: var(--color-moon-mist);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.nav a:hover,
.nav a.active {
  color: var(--color-pure-white);
  background: var(--color-frost-wash);
  box-shadow: var(--shadow-inset);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-inset);
}

.btn-ghost {
  background: var(--color-frost-wash);
  color: var(--color-pure-white);
}

.btn-ghost:hover {
  background: var(--color-frost-wash-hover);
}

.btn-outline {
  background: transparent;
  color: var(--color-frost-glow);
}

.btn-outline:hover {
  background: var(--color-frost-wash);
}

.btn-violet,
.btn-primary {
  background: var(--color-void-violet);
  color: var(--color-pure-white);
  border-radius: var(--radius-badge);
  padding: 12px 24px;
  box-shadow: none;
}

.btn-violet:hover,
.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
}

.mobile-toggle {
  display: none;
  background: var(--color-frost-wash);
  box-shadow: var(--shadow-inset);
  border: none;
  border-radius: var(--radius-pill);
  color: var(--color-frost-glow);
  width: 40px;
  height: 40px;
  cursor: pointer;
  place-items: center;
}

/* Hero */
.hero {
  position: relative;
  padding: 160px 0 100px;
  text-align: center;
  overflow: hidden;
}

.hero-centered {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--color-ice-highlight);
  margin-bottom: 20px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.gradient-text {
  background: var(--gradient-ice-highlight);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-moon-mist);
  margin-bottom: 36px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 56px;
}

.hero-visual {
  max-width: 480px;
  margin: 0 auto 56px;
}

.glass-card,
.pipeline-card,
.panel,
.module-card,
.stat-card,
.product-card,
.list-item,
.event-card,
.consortium-card {
  background: var(--color-glass-surface);
  box-shadow: var(--shadow-feature);
}

.pipeline-card {
  border-radius: var(--radius-card);
  padding: var(--card-padding);
  text-align: left;
}

.pipeline-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--color-moon-mist);
}

.pipeline-steps { display: flex; flex-direction: column; gap: 10px; }

.pipeline-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-badge);
  background: rgba(199, 211, 234, 0.04);
  box-shadow: var(--shadow-inset);
  transition: all 0.25s;
}

.pipeline-step.active {
  background: rgba(186, 214, 247, 0.08);
  box-shadow: inset 0 0 0 1px rgba(186, 215, 247, 0.2), 0 0 20px rgba(102, 58, 243, 0.08);
}

.step-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-icon);
  background: var(--color-frost-wash);
  box-shadow: var(--shadow-inset);
  display: grid;
  place-items: center;
  color: var(--color-moon-mist);
  flex-shrink: 0;
}

.pipeline-step.active .step-icon {
  color: var(--color-frost-glow);
  box-shadow: var(--shadow-glow);
}

.pipeline-step strong {
  font-size: 14px;
  font-weight: 500;
  display: block;
  color: var(--color-frost-glow);
}

.pipeline-step small {
  font-size: 12px;
  color: var(--color-fog-veil);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}

.stat-card {
  border-radius: var(--radius-card);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  transition: box-shadow 0.2s;
}

.stat-card:hover {
  box-shadow: var(--shadow-modal);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-icon);
  display: grid;
  place-items: center;
  background: var(--color-frost-wash);
  box-shadow: var(--shadow-inset);
  color: var(--color-frost-glow);
}

.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-ice-highlight);
}

.stat-card span {
  font-size: 12px;
  color: var(--color-fog-veil);
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: var(--section-gap) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--color-ice-highlight);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--color-moon-mist);
  max-width: 640px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.5;
}

/* Module cards */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.module-card {
  border-radius: var(--radius-card);
  padding: var(--card-padding);
  transition: all 0.3s ease;
  cursor: pointer;
}

.module-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-modal);
}

.module-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--color-frost-glow);
}

.module-card p {
  font-size: 14px;
  color: var(--color-fog-veil);
  margin-bottom: 18px;
  line-height: 1.5;
}

.module-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-moon-mist);
}

.module-link .icon { width: 16px; height: 16px; }

/* Panels */
.panel {
  border-radius: var(--radius-card);
  overflow: hidden;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  box-shadow: inset 0 -1px 0 rgba(186, 215, 247, 0.08);
  flex-wrap: wrap;
  gap: 12px;
}

.panel-header h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--color-frost-glow);
}

.panel-body { padding: 24px; }

.filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.filter-input,
.filter-select {
  padding: 10px 16px;
  background: rgba(199, 211, 234, 0.06);
  box-shadow: var(--shadow-inset);
  border: none;
  border-radius: var(--radius-input);
  color: var(--color-pure-white);
  font-family: inherit;
  font-size: 14px;
  min-width: 160px;
  transition: box-shadow 0.2s;
  color-scheme: dark;
}

.filter-select option {
  background: var(--color-midnight-canvas);
  color: var(--color-frost-glow);
}

.filter-input::placeholder {
  color: rgba(199, 211, 234, 0.6);
}

.filter-input:focus,
.filter-select:focus {
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(186, 215, 247, 0.24);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;
}

.product-card {
  border-radius: var(--radius-card);
  padding: 24px;
  transition: all 0.25s;
}

.product-card:hover {
  box-shadow: var(--shadow-modal);
  transform: translateY(-2px);
}

.product-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.product-card h4 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--color-frost-glow);
}

.product-card p {
  font-size: 14px;
  color: var(--color-fog-veil);
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: var(--color-luminous-fill);
  color: var(--color-frost-glow);
  border-radius: var(--radius-badge);
  font-size: 12px;
  font-weight: 500;
  box-shadow: var(--shadow-inset);
}

.tag.verified {
  color: var(--success);
}

.tag.poc { color: var(--warning); }
.tag.pilot { color: var(--info); }

.item-list { display: flex; flex-direction: column; gap: 12px; }

.list-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius-card);
  flex-wrap: wrap;
  transition: box-shadow 0.2s;
}

.list-item:hover { box-shadow: var(--shadow-modal); }

.list-item-content {
  display: flex;
  gap: 16px;
  flex: 1;
  min-width: 240px;
}

.list-item h4 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--color-frost-glow);
}

.list-item p { font-size: 14px; color: var(--color-fog-veil); }

.list-item-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--color-fog-veil);
  margin-top: 10px;
}

.empty-state {
  text-align: center;
  padding: 56px 24px;
  color: var(--color-fog-veil);
}

.empty-state p {
  max-width: 360px;
  margin: 0 auto;
  font-size: 14px;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.event-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: all 0.25s;
}

.event-card:hover {
  box-shadow: var(--shadow-modal);
  transform: translateY(-3px);
}

.event-date {
  background: rgba(186, 214, 247, 0.08);
  box-shadow: inset 0 -1px 0 rgba(186, 215, 247, 0.08);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.event-date .day {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1;
  color: var(--color-ice-highlight);
}

.event-date .month {
  font-size: 12px;
  color: var(--color-moon-mist);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.event-body { padding: 24px; }
.event-body h4 { margin-bottom: 10px; color: var(--color-frost-glow); }

.event-type {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: var(--color-luminous-fill);
  border-radius: var(--radius-badge);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-frost-glow);
  margin-bottom: 12px;
  box-shadow: var(--shadow-inset);
}

.consortium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.consortium-card {
  border-radius: var(--radius-card);
  padding: 24px;
  transition: box-shadow 0.2s;
}

.consortium-card:hover { box-shadow: var(--shadow-modal); }

.program-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: var(--color-luminous-fill);
  color: var(--color-frost-glow);
  border-radius: var(--radius-badge);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-inset);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open { display: flex; }

.modal {
  background: var(--color-deep-glass);
  border-radius: var(--radius-card);
  width: min(440px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-modal);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  box-shadow: inset 0 -1px 0 rgba(186, 215, 247, 0.08);
}

.modal-header h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--color-ice-highlight);
}

.modal-close {
  background: var(--color-frost-wash);
  box-shadow: var(--shadow-inset);
  border: none;
  border-radius: var(--radius-pill);
  color: var(--color-moon-mist);
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.modal-close:hover {
  color: var(--color-frost-glow);
  background: var(--color-frost-wash-hover);
}

.modal-body { padding: 24px; }

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--color-moon-mist);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px 16px;
  background: rgba(199, 211, 234, 0.06);
  box-shadow: var(--shadow-inset);
  border: none;
  border-radius: var(--radius-input);
  color: var(--color-pure-white);
  font-family: inherit;
  font-size: 14px;
  color-scheme: dark;
}

.form-group select option {
  background: var(--color-midnight-canvas);
  color: var(--color-frost-glow);
}

.form-group input::placeholder {
  color: rgba(199, 211, 234, 0.6);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(186, 215, 247, 0.24);
}

.form-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 22px;
  background: rgba(199, 211, 234, 0.04);
  padding: 4px;
  border-radius: var(--radius-badge);
  box-shadow: var(--shadow-inset);
}

.form-tab {
  flex: 1;
  padding: 10px;
  background: none;
  border: none;
  color: var(--color-moon-mist);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-badge);
  cursor: pointer;
}

.form-tab.active {
  background: rgba(186, 214, 247, 0.08);
  color: var(--color-frost-glow);
  box-shadow: var(--shadow-inset);
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 380px;
}

.toast {
  padding: 14px 18px;
  border-radius: var(--radius-badge);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  box-shadow: var(--shadow-modal);
  animation: slideIn 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.success { background: var(--success); }
.toast.error { background: var(--error); }
.toast.warning { background: var(--warning); color: #1a1a1a; }
.toast.info { background: var(--info); }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  background: var(--color-frost-wash);
  box-shadow: var(--shadow-inset);
  border-radius: var(--radius-pill);
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-icon);
  background: var(--color-frost-wash-hover);
  box-shadow: var(--shadow-inset);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-frost-glow);
}

.hidden { display: none !important; }

.footer {
  position: relative;
  z-index: 1;
  padding: 56px 0 28px;
  box-shadow: inset 0 1px 0 rgba(186, 215, 247, 0.08);
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer h4 {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--color-frost-glow);
}

.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }

.footer a {
  color: var(--color-fog-veil);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer a:hover { color: var(--color-frost-glow); }

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  box-shadow: inset 0 1px 0 rgba(186, 215, 247, 0.08);
  font-size: 12px;
  color: var(--color-fog-veil);
}

.loading {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(186, 215, 247, 0.12);
  border-top-color: var(--color-frost-glow);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 992px) {
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(5, 6, 15, 0.97);
    flex-direction: column;
    padding: 16px;
    box-shadow: inset 0 -1px 0 rgba(186, 215, 247, 0.08);
  }
  .nav.open { display: flex; }
  .mobile-toggle { display: grid; }
  .modules-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
}
