@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Rajdhani:wght@400;500;600;700&display=swap');

/* ═══════════════════════════════════════════════
   CSS VARIABLES
   ═══════════════════════════════════════════════ */
:root {
  --bg-primary: #050505;
  --bg-secondary: #0a0a0c;
  --bg-card: #0d1015;
  --bg-card-hover: #141920;
  --border: #1f2937;
  --border-glow: rgba(0, 240, 255, 0.4);
  --cyan: #00F0FF;
  --cyan-dim: rgba(0, 240, 255, 0.2);
  --green: #00FF88;
  --amber: #FFB800;
  --red: #FF3366;
  --text-main: #E8EDF5;
  --text-dim: #8ba3b8;
  --text-muted: #4f6173;
  --gradient-cyan: linear-gradient(135deg, #00F0FF 0%, #0080FF 100%);
  --gradient-dark: linear-gradient(180deg, #050505 0%, #0a0a0c 100%);
  --font-main: 'Rajdhani', sans-serif;
  --font-mono: 'Chakra Petch', sans-serif;
  --stripes: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(0,240,255,0.1) 10px, rgba(0,240,255,0.1) 20px);
  --mouse-x: 50vw;
  --mouse-y: 50vh;
}

/* ═══════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.font-light {
  font-weight: 400 !important;
  color: var(--text-dim) !important;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-transform: uppercase; /* Industrial standard is usually ALL CAPS for UI */
  letter-spacing: 1px;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ═══════════════════════════════════════════════
   SPLASH SCREEN
   ═══════════════════════════════════════════════ */
#splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#splash.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-logo {
  width: 100px;
  height: 100px;
  margin-bottom: 24px;
  position: relative;
  animation: splashPulse 2s ease-in-out infinite;
  will-change: transform;
}

.splash-logo::after {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  animation: glowPulse 2s ease-in-out infinite;
  will-change: opacity, transform;
}

.splash-logo img {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

@keyframes splashPulse {
  0%, 100% { transform: scale(1) translateZ(0); }
  50% { transform: scale(1.05) translateZ(0); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

.splash-title {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--text-main);
  margin-bottom: 8px;
  animation: fadeInUp 1s ease 0.4s both;
}

.splash-title span {
  color: var(--cyan);
}

.splash-sub {
  font-family: var(--font-main);
  font-size: 1rem;
  color: var(--cyan);
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 40px;
  animation: fadeInUp 1s ease 0.6s both;
  font-weight: 600;
}

.splash-bar {
  width: 240px;
  height: 4px;
  background: rgba(0, 240, 255, 0.1);
  border-radius: 0;
  overflow: hidden;
  animation: fadeInUp 1s ease 0.8s both;
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.splash-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--stripes);
  background-size: 20px 20px;
  background-color: var(--cyan);
  border-radius: 0;
  animation: fillBar 2.5s ease-in-out 0.5s forwards;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

@keyframes fillBar {
  to { width: 100%; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translate3d(0, 20px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* ═══════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(6, 10, 20, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

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

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

.nav-logo {
  width: 36px;
  height: 36px;
}

.nav-logo svg {
  width: 100%;
  height: 100%;
}

.nav-name {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 3px;
}

.nav-name span {
  color: var(--cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.3s;
  position: relative;
}

.nav-links a:hover {
  color: var(--cyan);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--cyan);
  transition: width 0.3s;
}

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

.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 24px;
  background: transparent;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  border-radius: 0;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  cursor: pointer;
  transition: all 0.3s;
}

.nav-cta:hover {
  background: var(--cyan);
  color: #000;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-main);
  transition: all 0.3s;
}

/* ═══════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(0, 240, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 128, 255, 0.03) 0%, transparent 50%),
    var(--bg-primary);
  will-change: transform;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  /* Mask follows mouse, fallback to center */
  mask-image: radial-gradient(circle 800px at var(--mouse-x, 50vw) var(--mouse-y, 50vh), black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle 800px at var(--mouse-x, 50vw) var(--mouse-y, 50vh), black 0%, transparent 100%);
  pointer-events: none;
}

/* Industrial Scanner Line */
.bg-grid::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(0, 240, 255, 0.3);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
  animation: scan-line 8s linear infinite;
}

@keyframes scan-line {
  0% { transform: translateY(-100px); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(100vh); opacity: 0; }
}

.crosshair {
  position: absolute;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 1.2rem;
  opacity: 0.5;
  transform: translate(-50%, -50%);
  animation: pulse 4s infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--border-glow);
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 32px;
  background: rgba(0, 240, 255, 0.05);
  box-shadow: inset 0 0 10px rgba(0, 240, 255, 0.1);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 0;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero h1 .gradient-text {
  background: var(--gradient-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto 48px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.live-telemetry {
  display: inline-block;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border);
  padding: 16px 24px;
  text-align: left;
  font-family: var(--font-mono);
  box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.05);
  backdrop-filter: blur(4px);
  position: relative;
}

.live-telemetry::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--gradient-cyan);
}

.telemetry-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.recording-dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
  animation: pulse 1s infinite;
}

.telemetry-grid {
  display: flex;
  gap: 32px;
}

.telemetry-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.t-label {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.t-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--cyan);
  color: #000;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 0;
  border: 2px solid var(--cyan);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
  position: relative;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--stripes);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 0;
  border: 2px solid var(--border);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  cursor: pointer;
  transition: all 0.3s;
}

.btn-secondary:hover {
  border-color: var(--cyan);
  background: rgba(0,240,255,0.05);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--cyan);
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.stat-label {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════
   SECTIONS COMMON
   ═══════════════════════════════════════════════ */
section {
  padding: 120px 24px;
  position: relative;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 12px;
  padding: 4px 12px;
  border: 1px solid var(--cyan-dim);
  background: rgba(0, 240, 255, 0.05);
}

.section-title {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════════ */
#about {
  background: var(--bg-secondary);
  border-top: 2px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text h3 {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 24px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
}

.about-stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 16px;
  height: 16px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.about-stat-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.about-stat-card .icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.about-stat-card .value {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--cyan);
}

.about-stat-card .label {
  font-size: 0.8rem;
  letter-spacing: 1px;
  padding: 24px;
}

.feature-icon {
  margin-bottom: 20px;
}

/* ═══════════════════════════════════════════════
   PROJECTS SECTION
   ═══════════════════════════════════════════════ */
.projects-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.project-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  transition: all 0.3s;
}

.project-card:hover {
  border-color: var(--cyan);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--gradient-cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
  z-index: 2;
}

.project-card:hover::before {
  transform: scaleX(1);
}

.project-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.project-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, var(--bg-primary));
}

.project-content {
  padding: 24px;
}

.project-title {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--text-main);
  margin-bottom: 12px;
}

.project-desc {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════ */
#services {
  border-top: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 32px;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--stripes);
  background-size: 20px 20px;
  opacity: 0.5;
  transition: opacity 0.4s;
}

.service-card:hover {
  border-color: var(--cyan-dim);
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: inset 0 0 20px rgba(0,240,255,0.05);
}

.service-card:hover::before {
  opacity: 1;
  background: var(--gradient-cyan);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 0;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid var(--cyan-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.3rem;
  color: var(--cyan);
}

.service-card h3 {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   FEATURES SECTION
   ═══════════════════════════════════════════════ */
#features {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 28px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  background: var(--cyan-dim);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  border-color: var(--cyan-dim);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 0;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid var(--cyan-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--cyan);
}

.feature-card h4 {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════ */
.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 240, 255, 0.04) 0%, transparent 60%);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--text-dim);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 48px;
  background: var(--cyan);
  color: #000;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-radius: 0;
  border: 2px solid var(--cyan);
  clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.5);
  position: relative;
}

.cta-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--stripes);
  opacity: 0;
  transition: opacity 0.3s;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
}

.cta-btn:hover::after {
  opacity: 1;
}

.cta-btn svg {
  width: 18px;
  height: 18px;
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.footer {
  padding: 48px 24px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg-primary);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand svg {
  width: 28px;
  height: 28px;
}

.footer-brand span {
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

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

.footer-links a {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 1px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--cyan);
}

/* ═══════════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════════
   MOBILE RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 10, 20, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-desc {
    font-size: 0.95rem;
  }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .stat-value {
    font-size: 1.6rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  section {
    padding: 80px 20px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}

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

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .splash-title {
    font-size: 1.5rem;
    letter-spacing: 8px;
  }
}
