:root {
  --bg: #050711;
  --bg-alt: #0b0f1c;
  --primary-pink: #f000b0;
  --primary-purple: #9d00ff;
  --primary-cyan: #00d1ff;
  --light-grey: #d4dde8;
  --muted-grey: #8a92a2;
  --border-subtle: rgba(157, 0, 255, 0.3);
  --card-bg: rgba(10, 12, 22, 0.9);
  --shadow-neon: 0 0 30px rgba(240, 0, 176, 0.35);
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: radial-gradient(circle at top, #0b0f1c 0, #050711 55%, #020309 100%);
  color: var(--light-grey);
  font-family: var(--font-sans);
}

body {
  position: relative;
  min-height: 100vh;
}

/* Background effects */

.grid-background {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 209, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 0, 255, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
  z-index: -2;
}

.scanline-overlay {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(4, 6, 16, 0.2) 50%, transparent 50%);
  background-size: 100% 3px;
  mix-blend-mode: soft-light;
  opacity: 0.4;
  z-index: -1;
}

/* Layout */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 5vw;
  background: rgba(5, 7, 17, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 0 20px rgba(157, 0, 255, 0.5);
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo-glitch {
  position: relative;
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-pink);
  text-shadow:
    0 0 10px rgba(240, 0, 176, 0.7),
    0 0 25px rgba(157, 0, 255, 0.5);
}

.logo-glitch::before,
.logo-glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  mix-blend-mode: screen;
  opacity: 0.5;
}

.logo-glitch::before {
  transform: translate(1px, -1px);
  color: var(--primary-cyan);
}

.logo-glitch::after {
  transform: translate(-1px, 1px);
  color: var(--primary-purple);
}

.logo-tagline {
  font-size: 0.8rem;
  letter-spacing: 0.21em;
  text-transform: uppercase;
  color: var(--muted-grey);
  margin-top: 0.2rem;
}

.nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.nav a {
  color: var(--primary-cyan);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 500;
  position: relative;
  transition: color 0.2s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-cyan), var(--primary-pink));
  transition: width 0.2s ease;
}

.nav a:hover {
  color: var(--primary-pink);
}

.nav a:hover::after {
  width: 100%;
}

.main {
  padding: 3rem 5vw 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 3vw + 1.4rem, 3rem);
  margin: 0 0 1rem;
  text-shadow: 0 0 25px rgba(0, 209, 255, 0.45);
}

.accent-pink {
  color: var(--primary-pink);
}

.accent-cyan {
  color: var(--primary-cyan);
}

.hero-text p {
  max-width: 38rem;
  color: var(--muted-grey);
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, transform 0.1s ease;
}

.btn-primary {
  background: radial-gradient(circle at top left, var(--primary-pink), var(--primary-purple));
  color: #ffffff;
  box-shadow: var(--shadow-neon);
}

.btn-primary:hover {
  box-shadow: 0 0 30px rgba(240, 0, 176, 0.65);
  transform: translateY(-1px);
}

.btn-secondary {
  border-color: rgba(0, 209, 255, 0.6);
  background: rgba(5, 7, 17, 0.9);
  color: var(--primary-cyan);
}

.btn-secondary:hover {
  background: rgba(0, 209, 255, 0.08);
  box-shadow: 0 0 15px rgba(0, 209, 255, 0.5);
}

/* Hero panels */

.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.status-card {
  padding: 1.1rem 1.2rem;
  border-radius: 0.9rem;
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at top left, rgba(157, 0, 255, 0.16), rgba(5, 7, 17, 0.9));
  box-shadow: 0 0 18px rgba(157, 0, 255, 0.25);
}

.status-card h2 {
  margin: 0 0 0.7rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary-cyan);
}

.status-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.status-card li {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 0.2rem 0;
}

.label {
  color: var(--muted-grey);
}

.value {
  font-weight: 600;
}

.value.online {
  color: #00ffa3;
}

.value.standby {
  color: var(--primary-cyan);
}

/* Sections */

.section {
  margin-bottom: 3rem;
}

.section h2 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  text-shadow: 0 0 20px rgba(157, 0, 255, 0.5);
}

.section p {
  color: var(--muted-grey);
  max-width: 50rem;
  line-height: 1.7;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.6rem;
}

.card {
  padding: 1.4rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border-subtle);
  background: var(--card-bg);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.7);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  color: var(--primary-cyan);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0.9rem;
  font-size: 0.9rem;
  color: var(--muted-grey);
}

.feature-list li::before {
  content: '▹';
  color: var(--primary-pink);
  margin-right: 0.4rem;
}

.card-link {
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--primary-cyan);
}

.card-link.disabled {
  opacity: 0.65;
  cursor: default;
}

/* Timeline */

.timeline {
  margin-top: 1.3rem;
  border-left: 2px solid rgba(0, 209, 255, 0.4);
  padding-left: 1.1rem;
}

.timeline-item {
  position: relative;
  margin-bottom: 1.4rem;
}

.timeline-dot {
  position: absolute;
  left: -1.2rem;
  top: 0.2rem;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-cyan), var(--primary-pink));
  box-shadow: 0 0 12px rgba(0, 209, 255, 0.8);
}

.timeline-content h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.timeline-content p {
  margin: 0;
  font-size: 0.9rem;
}

/* Contact */

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0.5rem;
  font-size: 0.95rem;
}

.contact-list li {
  margin-bottom: 0.3rem;
}

.note {
  font-size: 0.8rem;
  color: var(--muted-grey);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 0.9rem 5vw 1.3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted-grey);
  background: rgba(3, 5, 12, 0.95);
  backdrop-filter: blur(10px);
}

.footer-accent {
  color: var(--primary-cyan);
}

/* Responsive */

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

  .hero-panel {
    order: -1;
  }

  .nav {
    display: none;
  }

  .site-header {
    justify-content: center;
    text-align: center;
  }

  .site-footer {
    flex-direction: column;
    gap: 0.3rem;
  }
}
