/* Color Palette Specifications */
:root {
  --neon-kryptonite: #00FF66;
  --high-luminance-glow: #39FF14;
  --cyber-white: #FFFFFF;
  --deep-obsidian: #050505;
  --obsidian-canvas: #080C0A;
  --card-bg: #0D1410;
  --steel-dark: #1A261E;
  --border-subtle: #1A3022;
  --text-muted: #8FA396;
  
  --font-heading: 'Orbitron', sans-serif;
  --font-body: 'Space Grotesk', monospace, sans-serif;
}

/* Base Canvas Setup */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--deep-obsidian);
  color: var(--cyber-white);
  font-family: var(--font-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

/* Cyber Grid Background System */
.cyber-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(to right, rgba(0, 255, 102, 0.12) 1.5px, transparent 1.5px),
    linear-gradient(to bottom, rgba(0, 255, 102, 0.12) 1.5px, transparent 1.5px);
  background-size: 40px 40px;
  z-index: -2;
  pointer-events: none;
}

.telemetry-glow {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 255, 102, 0.08) 0%, rgba(5, 5, 5, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

/* Navbar */
.navbar {
  background-color: rgba(5, 5, 5, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logotype Specifications: Wide Stance & Extended Letter-Spacing */
.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--cyber-white);
}

.brand-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.5em;
  color: var(--cyber-white);
  text-transform: uppercase;
}

.brand-logo {
  height: 58px;
  width: auto;
  min-height: 58px;
  display: block;
}


/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-item {
  background: none;
  border: none;
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 0.5rem 0;
  text-transform: uppercase;
}

.nav-item:hover {
  color: var(--neon-kryptonite);
  text-shadow: 0 0 8px rgba(0, 255, 102, 0.6);
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-toggle .arrow {
  font-size: 0.7rem;
  color: var(--neon-kryptonite);
  margin-left: 0.35rem;
  display: inline-block;
  transition: transform 0.2s ease;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 260px;
  background-color: var(--card-bg);
  border: 1px solid var(--border-subtle);
  padding: 0.5rem 0;
  list-style: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown:hover .dropdown-toggle .arrow {
  transform: rotate(180deg);
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
  border-left: 2px solid transparent;
}

.dropdown-menu a:hover {
  background-color: rgba(0, 255, 102, 0.06);
  color: var(--neon-kryptonite);
  border-left-color: var(--neon-kryptonite);
  padding-left: 1.5rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--neon-kryptonite);
}

/* Hero Section & Tapered Chamfer Cards */
.hero {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 1.25rem;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.chamfer-box {
  background-color: var(--card-bg);
  border: 1px solid var(--border-subtle);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.chamfer-box:hover {
  border-color: var(--neon-kryptonite);
  box-shadow: 0 0 25px rgba(0, 255, 102, 0.25);
}

.hero-card {
  width: 100%;
  padding: 4rem 3rem;
  text-align: left;
  position: relative;
}

/* Telemetry Badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.9rem;
  background: rgba(0, 255, 102, 0.05);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--neon-kryptonite);
  margin-bottom: 2rem;
}

.status-dot {
  width: 6px;
  height: 6px;
  background-color: var(--high-luminance-glow);
  box-shadow: 0 0 10px var(--high-luminance-glow);
  border-radius: 0px;
}

/* Headings */
.glitch-heading {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: 0.04em;
  color: var(--cyber-white);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 750px;
  margin-bottom: 2.5rem;
}

/* CTAs Specification: Solid Neon Primary & Cyber Secondary */
.hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2rem;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.2s ease;
  cursor: pointer;
  display: inline-block;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--neon-kryptonite);
  color: #000000;
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.3);
}

.btn-primary:hover {
  background-color: var(--high-luminance-glow);
  box-shadow: 0 0 25px rgba(57, 255, 20, 0.6);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: #000000;
  color: var(--neon-kryptonite);
  border-color: var(--neon-kryptonite);
}

.btn-secondary:hover {
  background-color: rgba(0, 255, 102, 0.1);
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.25);
  transform: translateY(-2px);
}

/* Responsive Handling */
@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 73px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 73px);
    background-color: var(--deep-obsidian);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    gap: 1.5rem;
    transition: right 0.3s ease;
    border-top: 1px solid var(--border-subtle);
  }

  .nav-links.active {
    right: 0;
  }

  .dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background-color: transparent;
    border: none;
    display: none;
    padding-left: 0.5rem;
    width: 100%;
    clip-path: none;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }

  .hero-card {
    padding: 2.5rem 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}
