/* ============================================================
   ONXIOU — Modern Tech Dark Theme
   Fonts: JetBrains Mono (code), Noto Sans SC (body)
   Palette: #0a0a1a base, #7c3aed → #3b82f6 gradient
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Noto+Sans+SC:wght@100..900&display=swap');

/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
  /* --- Palette --- */
  --bg-deep:        #0a0a1a;
  --bg-surface:     #111128;
  --bg-elevated:    #181836;
  --bg-card:        #14142e;
  --border-subtle:  rgba(255, 255, 255, 0.06);
  --border-card:    rgba(255, 255, 255, 0.08);
  --text-primary:   #e8e8f0;
  --text-secondary: #9898b8;
  --text-muted:     #686888;
  --accent-purple:  #7c3aed;
  --accent-blue:    #3b82f6;
  --gradient-brand: linear-gradient(135deg, #7c3aed, #3b82f6);
  --gradient-hero:  linear-gradient(160deg, #7c3aed 0%, #3b82f6 50%, #06b6d4 100%);
  --glow-purple:    0 0 40px rgba(124, 58, 237, 0.3);
  --glow-blue:      0 0 40px rgba(59, 130, 246, 0.25);

  /* --- Typography --- */
  --font-body:  'Noto Sans SC', system-ui, -apple-system, sans-serif;
  --font-mono:  'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;

  /* --- Spacing --- */
  --max-width:  1280px;
  --nav-height: 72px;

  /* --- Radii --- */
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  /* --- Transitions --- */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast:   180ms;
  --duration-normal: 320ms;
  --duration-slow:   500ms;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-deep);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Subtle background grid */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(124, 58, 237, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

img, svg, video, canvas {
  display: block;
  max-width: 100%;
}

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

ul, ol { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

::selection {
  background: rgba(124, 58, 237, 0.45);
  color: #fff;
}

/* Focus ring */
:focus-visible {
  outline: 2px solid var(--accent-purple);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p { color: var(--text-secondary); }

code, pre, .mono {
  font-family: var(--font-mono);
}

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

/* ============================================================
   Navigation — Glassmorphism
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  background: rgba(10, 10, 26, 0.72);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--duration-normal) ease,
              border-color var(--duration-normal) ease;
}

.nav.scrolled {
  background: rgba(10, 10, 26, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.nav-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  user-select: none;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  box-shadow: var(--glow-purple);
}

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

.nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--duration-fast) ease,
              background var(--duration-fast) ease;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: #fff;
  background: rgba(124, 58, 237, 0.15);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-purple);
}

/* CTA button in nav */
.nav-cta {
  padding: 0.55rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: var(--gradient-brand);
  border-radius: 9999px;
  transition: box-shadow var(--duration-fast) ease,
              transform var(--duration-fast) ease;
}

.nav-cta:hover {
  box-shadow: var(--glow-purple);
  transform: translateY(-1px);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--duration-normal) var(--ease-out-expo),
              opacity var(--duration-fast) ease;
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   Hero — Full Screen
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 3rem) 2rem 4rem;
  overflow: hidden;
}

/* Animated backdrop */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle at 30% 30%, rgba(124, 58, 237, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(59, 130, 246, 0.10) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(6, 182, 212, 0.06) 0%, transparent 40%);
  animation: heroBgPulse 12s ease-in-out infinite alternate;
}

.hero-particles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 15% 25%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 28% 60%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1.5px 1.5px at 42% 18%, rgba(124, 58, 237, 0.5), transparent),
    radial-gradient(1px 1px at 55% 75%, rgba(255, 255, 255, 0.25), transparent),
    radial-gradient(1.5px 1.5px at 68% 35%, rgba(59, 130, 246, 0.5), transparent),
    radial-gradient(1px 1px at 80% 50%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 90% 15%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 35% 85%, rgba(6, 182, 212, 0.4), transparent);
  animation: particlesFloat 20s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent-blue);
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-blue);
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.6);
  animation: dotPulse 2s ease-in-out infinite;
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  max-width: 600px;
  margin-inline: auto;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: all var(--duration-normal) var(--ease-out-expo);
  white-space: nowrap;
}

.btn-primary {
  color: #fff;
  background: var(--gradient-brand);
  box-shadow: 0 4px 24px rgba(124, 58, 237, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(124, 58, 237, 0.5);
}

.btn-outline {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  animation: bounce 2s ease-in-out infinite;
}

.hero-scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
}

/* ============================================================
   Sections
   ============================================================ */
.section {
  padding: 6rem 2rem;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent-purple);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}

.section-header h2 { margin-bottom: 1rem; }
.section-header p  { font-size: 1.1rem; }

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ============================================================
   Grid & Cards
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--duration-normal) var(--ease-out-expo);
  overflow: hidden;
}

/* Subtle top-edge glow on hover */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.5), transparent);
  opacity: 0;
  transition: opacity var(--duration-normal) ease;
}

.card:hover {
  border-color: rgba(124, 58, 237, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), var(--glow-purple);
}

.card:hover::before { opacity: 1; }

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(59, 130, 246, 0.1));
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.card h3 { margin-bottom: 0.6rem; font-size: 1.15rem; }
.card p  { font-size: 0.92rem; color: var(--text-muted); }

/* Feature card variation */
.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.feature-card:hover {
  border-color: rgba(124, 58, 237, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ============================================================
   Stats bar
   ============================================================ */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  padding: 3rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.stat {
  text-align: center;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ============================================================
   Testimonial / Quote card
   ============================================================ */
.quote-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
}

.quote-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 5rem;
  line-height: 1;
  font-family: var(--font-mono);
  color: rgba(124, 58, 237, 0.15);
  pointer-events: none;
}

/* ============================================================
   CTA Banner
   ============================================================ */
.cta-banner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 3rem;
  border-radius: var(--radius-xl);
  background: var(--bg-elevated);
  border: 1px solid rgba(124, 58, 237, 0.15);
  text-align: center;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(124, 58, 237, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.cta-banner h2 { margin-bottom: 1rem; }
.cta-banner p  { margin-bottom: 2rem; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  padding: 5rem 2rem 2rem;
  margin-top: 2rem;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand p {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.3rem 0;
  transition: color var(--duration-fast) ease;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  max-width: var(--max-width);
  margin: 4rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  transition: all var(--duration-fast) ease;
}

.footer-social a:hover {
  background: rgba(124, 58, 237, 0.15);
  color: #fff;
}

/* ============================================================
   Page Header (sub-pages)
   ============================================================ */
.page-header {
  position: relative;
  padding: calc(var(--nav-height) + 4rem) 2rem 3rem;
  text-align: center;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(124, 58, 237, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
}

.page-header-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}

.page-header h1 { margin-bottom: 0.75rem; }
.page-header p  { font-size: 1.1rem; color: var(--text-secondary); }

/* ============================================================
   Contact Cards
   ============================================================ */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.contact-card:hover {
  border-color: rgba(124, 58, 237, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.contact-card .icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(59, 130, 246, 0.1));
  font-size: 1.5rem;
  margin: 0 auto 1.25rem;
}

.contact-card h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.contact-card p  { font-size: 0.95rem; color: var(--text-muted); }

/* ============================================================
   Timeline (about page)
   ============================================================ */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 28px;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent-purple), var(--accent-blue));
  opacity: 0.3;
}

.timeline-item {
  position: relative;
  padding-left: 70px;
  padding-bottom: 3rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: 20px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gradient-brand);
  border: 3px solid var(--bg-deep);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

.timeline-item h4 { font-size: 0.9rem; margin-bottom: 0.3rem; }
.timeline-item .date {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-purple);
  margin-bottom: 0.5rem;
}
.timeline-item p { font-size: 0.9rem; color: var(--text-muted); }

/* ============================================================
   Scroll-Reveal Animations
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 400ms; }

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Directional variants */
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-left.visible,
.reveal-right.visible { transform: translateX(0); }

.reveal-scale {
  transform: scale(0.92);
}
.reveal-scale.visible {
  transform: scale(1);
}

/* Page load animation */
.page-fade-in {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* ============================================================
   Keyframes
   ============================================================ */
@keyframes heroBgPulse {
  0%   { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-1%, -1%) rotate(1deg); }
}

@keyframes particlesFloat {
  0%   { opacity: 0.6; transform: translateY(0); }
  100% { opacity: 1;   transform: translateY(-12px); }
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.3; }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar { gap: 2.5rem; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: rgba(10, 10, 26, 0.96);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform var(--duration-normal) var(--ease-out-expo),
                opacity var(--duration-normal) ease;
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
  }

  .nav-cta { margin-top: 0.5rem; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .hero { text-align: center; }
  .hero-actions { justify-content: center; }

  .section { padding: 4rem 1.5rem; }

  .cta-banner { padding: 3rem 1.5rem; margin: 0 1rem; }

  .stats-bar { gap: 1.5rem; }
  .stat-value { font-size: 2rem; }
}

@media (max-width: 480px) {
  .nav-inner { padding: 0 1rem; }
  .btn { width: 100%; justify-content: center; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero { padding: calc(var(--nav-height) + 2rem) 1rem 3rem; }
}
