:root {
  /* SpaceTech Theme Palette */
  --bg-space: #03030b;
  --bg-nebula: radial-gradient(circle at 50% 50%, rgba(76, 29, 149, 0.15), transparent 60%);
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --accent-cyan: #06b6d4;
  --accent-purple: #8b5cf6;
  --accent-gradient: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));

  --glass-bg: rgba(15, 23, 42, 0.4);
  --glass-border: rgba(148, 163, 184, 0.1);
  --glass-highlight: rgba(255, 255, 255, 0.05);

  --font-main: 'Inter', sans-serif;
  --font-display: 'Orbitron', 'Inter', sans-serif;

  --container-width: 1200px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease-out;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-space);
  color: var(--text-primary);
  line-height: 1.6;
}

body {
  overflow: hidden;
  /* No scrolling */
  -webkit-font-smoothing: antialiased;
  position: relative;
  height: 100vh;
}

/* Star Canvas */
#star-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: radial-gradient(circle at bottom left, rgba(6, 182, 212, 0.05), transparent 40%),
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.05), transparent 40%);
}

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

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
}

h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
}

p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  max-width: 65ch;
  line-height: 1.7;
}

/* Utilities */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent-cyan);
  cursor: pointer;
  transition: var(--transition-fast);
  backdrop-filter: blur(4px);
}

.btn:hover {
  background: var(--accent-cyan);
  color: #000;
  box-shadow: 0 0 20px var(--accent-cyan);
}

.btn-primary {
  background: var(--accent-cyan);
  color: #000;
  border-color: var(--accent-cyan);
  font-weight: 700;
}

.btn-primary:hover {
  background: transparent;
  color: var(--accent-cyan);
}

.section {
  padding: 8rem 0;
  position: relative;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
}

nav {
  display: flex;
  justify-content: flex-start;
  /* Left aligned */
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
}

/* System Status Animation */
.system-status {
  font-size: 3.5rem;
  /* Much bigger as requested */
  color: var(--accent-purple);
  margin-bottom: 0;
  display: inline-block;
  letter-spacing: 0.1em;
  text-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
}

.system-status::after {
  content: '';
  display: inline-block;
  width: 0;
  /* Prevents layout shift if defined correctly, but here we want visual append */
  animation: dots 2s steps(4, end) infinite;
}

@keyframes dots {

  0%,
  20% {
    content: '';
  }

  40% {
    content: '.';
  }

  60% {
    content: '..';
  }

  80%,
  100% {
    content: '...';
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 1s ease forwards;
}

/* Mobile */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .section {
    padding: 4rem 0;
  }

  .system-status {
    font-size: 1.25rem;
  }
}