:root {
  --bg-primary: #08090C;
  --bg-secondary: #0E1017;
  --bg-tertiary: #141722;
  --accent-gold: #D4AF37;
  --accent-gold-rgb: 212, 175, 55;
  --accent-cyan: #00E5FF;
  --accent-cyan-rgb: 0, 229, 255;
  --text-primary: #F3F4F6;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 229, 255, 0.15);
  
  --font-main: 'Outfit', 'Inter', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-tech: 'Share Tech Mono', monospace;
  --font-logo: 'Orbitron', sans-serif;
  
  --header-height: 80px;
  --transition-speed: 0.3s;
  --glow-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
  --gold-glow-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
}

/* Reset and Core Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-cyan) var(--bg-primary);
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

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

.cyber-grid::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle 800px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 229, 255, 0.04) 0%, transparent 80%);
  pointer-events: none;
  z-index: -1;
  transition: opacity 0.5s ease;
}

/* Scanline Animation overlay */
.scanline {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(18, 16, 16, 0) 50%, 
    rgba(0, 0, 0, 0.25) 50%
  ), linear-gradient(
    90deg, 
    rgba(255, 0, 0, 0.06), 
    rgba(0, 255, 0, 0.02), 
    rgba(0, 0, 255, 0.06)
  );
  background-size: 100% 4px, 6px 100%;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.15;
}

/* Layout Elements */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(8, 9, 12, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: height var(--transition-speed), background var(--transition-speed);
}

header.scrolled {
  height: 60px;
  background: rgba(8, 9, 12, 0.9);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Brand Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-logo);
  font-weight: 700;
  letter-spacing: 1px;
}

.logo img {
  height: 44px;
  width: auto;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border var(--transition-speed);
}

header.scrolled .logo img {
  height: 34px;
}

.logo:hover img {
  border-color: var(--accent-gold);
}

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

.logo-title {
  font-size: 16px;
  text-transform: uppercase;
  color: var(--text-primary);
}

.logo-subtitle {
  font-size: 10px;
  color: var(--accent-gold);
  letter-spacing: 3px;
  font-family: var(--font-tech);
  margin-top: -2px;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: color var(--transition-speed), text-shadow var(--transition-speed);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-cyan);
  transition: width var(--transition-speed);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  width: 100%;
  background-color: var(--accent-gold);
}

.nav-link:hover::after {
  width: 100%;
}

/* Lang and Tech Status Indicators */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-switch {
  display: flex;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-secondary);
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-tech);
  font-size: 12px;
  padding: 6px 12px;
  cursor: pointer;
  transition: all var(--transition-speed);
  text-decoration: none;
}

.lang-btn:hover {
  color: var(--text-primary);
}

.lang-btn.active {
  background: rgba(0, 229, 255, 0.1);
  color: var(--accent-cyan);
  border-right: 1px solid var(--border-color);
  border-left: 1px solid var(--border-color);
}

.lang-btn.active:first-child {
  border-left: none;
}
.lang-btn.active:last-child {
  border-right: none;
}

/* Tech status monitor badge */
.status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(0, 229, 255, 0.15);
  background: rgba(0, 229, 255, 0.03);
  border-radius: 4px;
  font-family: var(--font-tech);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

.status-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: pulse 2s infinite;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}

.mobile-nav-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: transform var(--transition-speed), opacity var(--transition-speed);
}

/* Sections Styling */
main {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
}

/* Hero Landing Section */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 50vh;
  margin-bottom: 80px;
  border: 1px solid var(--border-color);
  background: linear-gradient(135deg, var(--bg-secondary) 0%, transparent 100%);
  padding: 60px 48px;
  border-radius: 8px;
  overflow: hidden;
}

/* Geometric corners */
.corner-bracket {
  position: absolute;
  width: 15px;
  height: 15px;
  border: 2px solid var(--accent-cyan);
  pointer-events: none;
}

.corner-top-left { top: 0; left: 0; border-right: none; border-bottom: none; }
.corner-top-right { top: 0; right: 0; border-left: none; border-bottom: none; }
.corner-bottom-left { bottom: 0; left: 0; border-right: none; border-top: none; }
.corner-bottom-right { bottom: 0; right: 0; border-left: none; border-top: none; }

/* Grid corners */
.corner-plus {
  position: absolute;
  font-family: var(--font-tech);
  color: var(--accent-gold);
  font-size: 14px;
  user-select: none;
  opacity: 0.7;
}
.cp-tl { top: 12px; left: 12px; }
.cp-tr { top: 12px; right: 12px; }
.cp-bl { bottom: 12px; left: 12px; }
.cp-br { bottom: 12px; right: 12px; }

.hero-subtitle {
  font-family: var(--font-tech);
  color: var(--accent-gold);
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-title span {
  background: linear-gradient(90deg, var(--text-primary) 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 700px;
  margin-bottom: 40px;
  font-weight: 300;
}

/* Call to Action Button */
.cta-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  font-family: var(--font-tech);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  border-radius: 4px;
  transition: all var(--transition-speed);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--accent-cyan);
  color: var(--bg-primary);
  border: 1px solid var(--accent-cyan);
  font-weight: 600;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

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

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  box-shadow: var(--gold-glow-shadow);
}

/* Grid Layout / Section Headers */
.section-header {
  margin-bottom: 48px;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--accent-gold);
}

.section-tag {
  font-family: var(--font-tech);
  color: var(--accent-cyan);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* Pillar/Benefit Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 80px;
}

.pillar-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 40px 32px;
  border-radius: 8px;
  transition: all var(--transition-speed);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.pillar-card:hover {
  border-color: rgba(0, 229, 255, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 229, 255, 0.05);
}

.pillar-card:hover::before {
  transform: translateX(100%);
}

.pillar-icon {
  font-family: var(--font-tech);
  font-size: 36px;
  color: var(--accent-gold);
  margin-bottom: 24px;
}

.pillar-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.pillar-card p {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 300;
}

/* Services Grid and Elements */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.service-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 32px;
  transition: all var(--transition-speed);
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), var(--gold-glow-shadow);
  transform: translateY(-4px);
}

.service-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.service-num {
  font-family: var(--font-tech);
  color: var(--accent-cyan);
  font-size: 12px;
  letter-spacing: 1px;
}

.service-tag {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 2px 8px;
  font-family: var(--font-tech);
  font-size: 10px;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-list li {
  color: var(--text-secondary);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-list li::before {
  content: '◰';
  color: var(--accent-gold);
  font-size: 12px;
}

/* Contacts Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: border-color var(--transition-speed);
}

.contact-card:hover {
  border-color: var(--accent-cyan);
}

.contact-icon {
  font-size: 24px;
  color: var(--accent-gold);
  margin-top: 4px;
}

.contact-card-content h4 {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  font-family: var(--font-tech);
  color: var(--accent-cyan);
}

.contact-card-content p {
  color: var(--text-secondary);
  font-size: 15px;
}

.contact-card-content a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-speed);
}

.contact-card-content a:hover {
  color: var(--accent-gold);
  text-decoration: underline;
}

/* Futuristic Contact Form */
.contact-form-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 40px;
  position: relative;
}

.form-header {
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-header h3 {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
}

.form-status {
  font-family: var(--font-tech);
  font-size: 11px;
  color: var(--accent-gold);
  text-transform: uppercase;
}

.form-group {
  margin-bottom: 24px;
  position: relative;
}

.form-input {
  width: 100%;
  background: rgba(8, 9, 12, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 14px;
  transition: all var(--transition-speed);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.1);
  background: rgba(8, 9, 12, 0.8);
}

.form-label {
  position: absolute;
  top: 13px;
  left: 16px;
  background: transparent;
  padding: 0;
  font-size: 14px;
  font-family: var(--font-tech);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  pointer-events: none;
  transition: all var(--transition-speed);
}

/* Floating behavior for text inputs and textarea */
.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
  top: -10px;
  left: 12px;
  font-size: 11px;
  color: var(--accent-cyan);
  background: var(--bg-secondary);
  padding: 0 6px;
}

/* Special treatment for select to avoid overlapping default native text */
select.form-input + .form-label {
  top: -10px;
  left: 12px;
  font-size: 11px;
  background: var(--bg-secondary);
  padding: 0 6px;
}

select.form-input:focus + .form-label {
  color: var(--accent-cyan);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

.form-submit-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-notice {
  font-family: var(--font-tech);
  font-size: 11px;
  color: var(--text-muted);
  max-width: 250px;
}

/* Beta Developer Portal Mockup Card */
.beta-portal-card {
  margin-top: 60px;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 8px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.beta-grid-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: radial-gradient(circle at 100% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.beta-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  font-family: var(--font-tech);
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.portal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 24px;
}

.portal-widget {
  background: rgba(8, 9, 12, 0.4);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.widget-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-tech);
  font-size: 11px;
  text-transform: uppercase;
}

.widget-status.compiling { color: var(--accent-gold); }
.widget-status.sandboxed { color: var(--accent-cyan); }

.status-dot-amber {
  width: 6px;
  height: 6px;
  background-color: var(--accent-gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-gold);
  animation: pulse 1.5s infinite;
}

.widget-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.widget-desc {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 300;
}

.terminal-mock {
  background: #050608;
  border: 1px solid rgba(255,255,255,0.03);
  border-radius: 4px;
  padding: 12px;
  font-family: var(--font-tech);
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

.terminal-mock-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.terminal-line {
  margin-bottom: 4px;
}

.terminal-line::before {
  content: '>';
  color: var(--accent-cyan);
  margin-right: 8px;
}

.terminal-line.active-line {
  color: var(--text-primary);
  animation: text-pulse 1.5s infinite;
}

/* Footer Section */
footer {
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
  padding: 60px 0 30px 0;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 14px;
  max-width: 320px;
  font-weight: 300;
}

.footer-social {
  display: flex;
  gap: 20px;
  margin-top: 12px;
}

.social-icon-link {
  color: var(--text-secondary);
  transition: color var(--transition-speed), transform var(--transition-speed);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-icon-link:hover {
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

.footer-links h4, .footer-contact h4 {
  font-family: var(--font-tech);
  font-size: 14px;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  transition: color var(--transition-speed);
}

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

.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-contact-details p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-details p::before {
  content: '◇';
  color: var(--accent-cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-tech);
  font-size: 12px;
  color: var(--text-muted);
}

.footer-tech-stats {
  display: flex;
  gap: 24px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

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

/* Animations */
@keyframes pulse {
  0% { opacity: 0.3; }
  50% { opacity: 1; }
  100% { opacity: 0.3; }
}

@keyframes text-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* Scroll Transition Effect (Progressive Enhancement) */
@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
  @keyframes shrink-header {
    to {
      height: 64px;
      background: rgba(8, 9, 12, 0.95);
    }
  }
  
  header {
    animation: shrink-header auto linear both;
    animation-timeline: scroll(block root);
    animation-range: 0px 100px;
  }
}

/* Responsive Styles (Smartphone and Tablet) */
@media (max-width: 992px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .portal-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  
  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .hero {
    padding: 40px 24px;
  }
  
  .hero-title {
    font-size: 34px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-brand {
    grid-column: span 1;
  }
  
  /* Mobile Menu Styling */
  .mobile-nav-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    padding: 100px 40px 40px 40px;
    align-items: flex-start;
    gap: 24px;
    transition: right var(--transition-speed) ease;
    z-index: 1000;
  }
  
  .nav-menu.active {
    right: 0;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  }
  
  .header-actions {
    margin-right: 40px;
  }
  
  .mobile-nav-active .mobile-nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .mobile-nav-active .mobile-nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-nav-active .mobile-nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .status-badge {
    display: none; /* Hide status badge on tiny screens to save space */
  }
  
  .nav-menu {
    width: 100%;
  }
  
  .hero-title {
    font-size: 28px;
  }
  
  .cta-group {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Accessibility: Visible Focus Outlines */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

/* Performance: Disable heavy scanline on mobile devices to save battery/performance */
@media (max-width: 767px) {
  .scanline {
    display: none !important;
  }
}

/* Accessibility & Health: Respect prefers-reduced-motion settings */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .cyber-grid::after {
    display: none !important;
  }
  
  .scanline {
    display: none !important;
  }
}
