/* ==========================================================================
   老头VPN · Cosmic Voyager (星际深空风 - Style 2 Ultimate Edition)
   Design System: Deep Nebula, Cyan Starlight, HUD Glassmorphism, Quantum Purple
   ========================================================================== */

:root {
  --cosmic-bg: #050711;
  --cosmic-bg-alt: #0a0e1e;
  --cosmic-surface: rgba(13, 20, 38, 0.75);
  --cosmic-surface-hover: rgba(22, 33, 62, 0.88);
  --cosmic-border: rgba(56, 189, 248, 0.2);
  --cosmic-border-glow: rgba(0, 240, 255, 0.5);
  
  --cyan-primary: #00f0ff;
  --cyan-glow: rgba(0, 240, 255, 0.4);
  --purple-accent: #a855f7;
  --purple-glow: rgba(168, 85, 247, 0.4);
  --emerald-status: #10b981;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Rubik", "Fredoka", -apple-system, sans-serif;
}

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

html, body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--cosmic-bg);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  scroll-behavior: smooth;
}

/* Background Canvas & Nebula Overlays */
#starfield-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.cosmic-nebula-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background: 
    radial-gradient(circle at 15% 15%, rgba(168, 85, 247, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 85% 35%, rgba(0, 240, 255, 0.1) 0%, transparent 55%),
    radial-gradient(circle at 50% 85%, rgba(14, 165, 233, 0.12) 0%, transparent 60%);
}

.cosmic-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

/* Base Container */
.cosmic-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Cosmic Header & Nav */
.cosmic-nav {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(5, 7, 17, 0.82);
  border-bottom: 1px solid rgba(56, 189, 248, 0.16);
  transition: all 0.3s ease;
}

.cosmic-nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.cosmic-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.cosmic-brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(0, 240, 255, 0.35);
  padding: 4px;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cosmic-brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cosmic-brand-info {
  display: flex;
  flex-direction: column;
}

.cosmic-brand-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: linear-gradient(120deg, #fff 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cosmic-brand-sub {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.cosmic-nav-telemetry {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 14px;
  border-radius: 20px;
  color: #34d399;
}

@media (min-width: 900px) {
  .cosmic-nav-telemetry {
    display: inline-flex;
  }
}

.pulse-led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

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

/* Cosmic Buttons */
.cosmic-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.cosmic-btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.cosmic-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(56, 189, 248, 0.6);
  color: #fff;
  transform: translateY(-1px);
}

.cosmic-btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #00f0ff 100%);
  color: #030712;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.35);
}

.cosmic-btn-primary:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
  box-shadow: 0 0 28px rgba(0, 240, 255, 0.6);
  transform: translateY(-2px);
}

.cosmic-btn-hero {
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 10px;
}

.cosmic-btn-glow-purple {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  color: #ffffff;
  box-shadow: 0 0 22px rgba(168, 85, 247, 0.45);
}

.cosmic-btn-glow-purple:hover {
  background: linear-gradient(135deg, #6d28d9 0%, #9333ea 100%);
  box-shadow: 0 0 32px rgba(168, 85, 247, 0.75);
  transform: translateY(-2px);
}

/* Hero Section */
.cosmic-hero {
  padding: 70px 0 50px;
  text-align: center;
  position: relative;
}

.cosmic-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 13px;
  color: #38bdf8;
  margin-bottom: 24px;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.18);
  font-family: ui-monospace, SFMono-Regular, monospace;
}

.cosmic-hero-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.gradient-text-cosmic {
  background: linear-gradient(135deg, #ffffff 15%, #38bdf8 55%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 0 35px rgba(56, 189, 248, 0.3);
}

.cosmic-hero-desc {
  max-width: 720px;
  margin: 0 auto 36px;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted);
  line-height: 1.7;
}

.cosmic-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
}

/* Celestial Earth Visual Stage - 3D Rotating Sphere */
.cosmic-stage {
  position: relative;
  max-width: 960px;
  margin: 0 auto 60px;
  border-radius: 24px;
  padding: 40px 20px 30px;
  background: radial-gradient(circle at 50% 120%, rgba(56, 189, 248, 0.18) 0%, rgba(13, 20, 38, 0.5) 60%, transparent 100%);
  border: 1px solid rgba(56, 189, 248, 0.22);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8), inset 0 0 40px rgba(56, 189, 248, 0.08);
  overflow: hidden;
}

.cosmic-stage-orbit-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 3D Rotating Planet Sphere */
.cosmic-earth-sphere {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  position: relative;
  background: #040817 url('../images/8k_earth_nightmap.3yemews86x.webp') repeat-x 0 0 / auto 100%;
  box-shadow: 
    inset -35px -35px 70px rgba(0, 0, 0, 0.95),
    inset 15px 15px 40px rgba(0, 240, 255, 0.35),
    0 0 60px rgba(0, 240, 255, 0.3),
    0 0 120px rgba(168, 85, 247, 0.25);
  animation: earth-orbit-rotate 75s linear infinite;
  overflow: hidden;
}

@keyframes earth-orbit-rotate {
  0% { background-position: 0 0; }
  100% { background-position: -1280px 0; }
}

/* Atmospheric Glow Ring */
.cosmic-earth-atmosphere {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 
    0 0 40px rgba(0, 240, 255, 0.2),
    inset 0 0 30px rgba(168, 85, 247, 0.15);
  pointer-events: none;
  animation: ring-pulse 6s ease-in-out infinite alternate;
}

/* Orbital Ellipse */
.cosmic-orbit-ellipse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 440px;
  height: 180px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 240, 255, 0.3);
  transform: translate(-50%, -50%) rotate(-25deg);
  pointer-events: none;
}

@keyframes ring-pulse {
  0% { transform: translate(-50%, -50%) scale(0.98); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(1.02); opacity: 1; }
}

.cosmic-stage-floating-info {
  margin-top: 24px;
  background: rgba(13, 20, 38, 0.88);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 13px;
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

/* Telemetry HUD Metrics */
.cosmic-hud-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 70px;
}

@media (min-width: 768px) {
  .cosmic-hud-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.cosmic-hud-card {
  background: var(--cosmic-surface);
  backdrop-filter: blur(14px);
  border: 1px solid var(--cosmic-border);
  border-radius: 16px;
  padding: 24px 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.cosmic-hud-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan-primary), transparent);
  opacity: 0.6;
}

.cosmic-hud-card:hover {
  transform: translateY(-4px);
  border-color: var(--cosmic-border-glow);
  box-shadow: 0 12px 30px rgba(0, 240, 255, 0.15);
}

.hud-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hud-value {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.hud-value-cyan {
  color: var(--cyan-primary);
  text-shadow: 0 0 18px rgba(0, 240, 255, 0.45);
}

.hud-sub {
  font-size: 12px;
  color: var(--text-dim);
}

/* Global Node Ping Section */
.cosmic-section {
  padding: 50px 0;
}

.cosmic-section-header {
  text-align: center;
  margin-bottom: 40px;
}

.cosmic-section-tag {
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, monospace;
  color: #38bdf8;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: inline-block;
}

.cosmic-section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.cosmic-section-desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Node Ping Cards Grid */
.cosmic-nodes-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 14px;
}

@media (min-width: 640px) {
  .cosmic-nodes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cosmic-nodes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cosmic-node-card {
  background: var(--cosmic-surface);
  backdrop-filter: blur(14px);
  border: 1px solid var(--cosmic-border);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.25s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.cosmic-node-card:hover {
  border-color: rgba(0, 240, 255, 0.45);
  background: var(--cosmic-surface-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.node-info-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.node-badge-tag {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  font-family: ui-monospace, monospace;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  flex-shrink: 0;
}

.node-tag-hk { background: rgba(0, 240, 255, 0.12); border-color: rgba(0, 240, 255, 0.35); color: #00f0ff; }
.node-tag-jp { background: rgba(244, 63, 94, 0.12); border-color: rgba(244, 63, 94, 0.35); color: #fb7185; }
.node-tag-sg { background: rgba(16, 185, 129, 0.12); border-color: rgba(16, 185, 129, 0.35); color: #34d399; }
.node-tag-us { background: rgba(99, 102, 241, 0.12); border-color: rgba(99, 102, 241, 0.35); color: #818cf8; }
.node-tag-tw { background: rgba(245, 158, 11, 0.12); border-color: rgba(245, 158, 11, 0.35); color: #fbbf24; }
.node-tag-gb { background: rgba(168, 85, 247, 0.12); border-color: rgba(168, 85, 247, 0.35); color: #c084fc; }

.node-name {
  font-weight: 700;
  font-size: 15px;
  color: #f1f5f9;
  margin-bottom: 2px;
}

.node-type {
  font-size: 12px;
  color: var(--text-dim);
}

.node-status-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.node-ping {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 14px;
  font-weight: 700;
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 5px;
}

.node-load-bar {
  width: 64px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.node-load-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #00f0ff);
  border-radius: 2px;
}

/* Pricing Section (跃迁补给站) */
.cosmic-pricing-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}

@media (min-width: 860px) {
  .cosmic-pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.cosmic-price-card {
  background: var(--cosmic-surface);
  backdrop-filter: blur(14px);
  border: 1px solid var(--cosmic-border);
  border-radius: 20px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.3s ease;
}

.cosmic-price-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.cosmic-price-popular {
  border-color: rgba(168, 85, 247, 0.6);
  background: radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.22) 0%, rgba(13, 20, 38, 0.85) 70%);
  box-shadow: 0 0 35px rgba(168, 85, 247, 0.25);
  transform: scale(1.02);
}

.cosmic-price-popular:hover {
  transform: scale(1.02) translateY(-6px);
  box-shadow: 0 0 45px rgba(168, 85, 247, 0.45);
}

.cosmic-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #7c3aed, #00f0ff);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.5);
}

.plan-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  min-height: 38px;
}

.plan-price-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.plan-currency {
  font-size: 22px;
  font-weight: 700;
  color: var(--cyan-primary);
}

.plan-amount {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  color: #fff;
}

.plan-cycle {
  font-size: 14px;
  color: var(--text-dim);
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #e2e8f0;
}

.plan-check {
  color: var(--cyan-primary);
  font-weight: bold;
}

.plan-cta-btn {
  width: 100%;
}

/* Client Download Grid */
.cosmic-clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .cosmic-clients-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cosmic-client-card {
  background: var(--cosmic-surface);
  backdrop-filter: blur(14px);
  border: 1px solid var(--cosmic-border);
  border-radius: 16px;
  padding: 26px 20px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cosmic-client-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 240, 255, 0.45);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.15);
  background: var(--cosmic-surface-hover);
}

.client-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--cyan-primary);
}

.client-icon-box svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.client-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.client-sub {
  font-size: 12px;
  color: var(--text-dim);
}

/* Unlocking Matrix Banner - High Contrast Backdrop */
.cosmic-matrix-banner {
  margin: 60px 0;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(168, 85, 247, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.75);
}

.matrix-bg-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  mask-image: linear-gradient(to right, transparent 0%, black 80%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 80%);
}

.matrix-inner {
  position: relative;
  z-index: 2;
  padding: 48px 36px;
  background: linear-gradient(90deg, rgba(5, 7, 17, 0.96) 0%, rgba(10, 14, 30, 0.92) 55%, rgba(13, 20, 38, 0.8) 100%);
}

.matrix-content {
  max-width: 680px;
}

.matrix-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}

.matrix-desc {
  font-size: 15px;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 24px;
}

.matrix-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.matrix-tag {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 7px 15px;
  border-radius: 8px;
  font-size: 13px;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 6px;
}

.matrix-tag-ai {
  border-color: rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  font-weight: 600;
}

/* Cosmic Trust Pillars */
.cosmic-pillars-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

@media (min-width: 768px) {
  .cosmic-pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cosmic-pillar-card {
  background: var(--cosmic-surface);
  backdrop-filter: blur(14px);
  border: 1px solid var(--cosmic-border);
  border-radius: 18px;
  padding: 30px 24px;
  transition: all 0.3s ease;
}

.cosmic-pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--cyan-primary);
  font-size: 24px;
}

.pillar-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.pillar-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Floating Fast Access Widget */
.cosmic-floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cosmic-floating-btn {
  background: linear-gradient(135deg, #00f0ff, #7c3aed);
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(0, 240, 255, 0.4);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cosmic-floating-btn:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 12px 35px rgba(124, 58, 237, 0.6);
}

/* Cosmic Footer */
.cosmic-footer {
  border-top: 1px solid rgba(56, 189, 248, 0.16);
  background: rgba(3, 5, 12, 0.96);
  padding: 50px 0 40px;
  position: relative;
  z-index: 2;
}

.cosmic-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.cosmic-footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.cosmic-footer-link:hover {
  color: var(--cyan-primary);
}

.cosmic-footer-highlight {
  color: #38bdf8;
  font-weight: 700;
}

.cosmic-footer-highlight:hover {
  color: #00f0ff;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.cosmic-copyright {
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
}

/* Mobile Responsiveness Fine-tuning */
@media (max-width: 640px) {
  .cosmic-nav-wrap {
    height: 64px;
  }
  .cosmic-hero {
    padding: 45px 0 35px;
  }
  .cosmic-earth-sphere {
    width: 240px;
    height: 240px;
  }
  .cosmic-earth-atmosphere {
    width: 280px;
    height: 280px;
  }
  .cosmic-orbit-ellipse {
    width: 310px;
    height: 140px;
  }
  .cosmic-stage {
    padding: 20px 10px;
    border-radius: 16px;
  }
  .cosmic-stage-floating-info {
    font-size: 11px;
    padding: 6px 14px;
  }
  .cosmic-btn-hero {
    width: 100%;
  }
  .cosmic-hero-buttons {
    flex-direction: column;
  }
  .cosmic-matrix-banner {
    padding: 0;
  }
  .matrix-inner {
    padding: 30px 20px;
  }
  .cosmic-floating-cta {
    bottom: 16px;
    right: 16px;
  }
}
