/**
 * BalticPy Main Stylesheet
 * Page layout, typography, hero section, ambient lighting, and responsive design.
 */

/* ==========================================================================
   CSS Reset & Base Setup
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--color-bg-base);
  color: var(--color-text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* ==========================================================================
   Parallax Background Layer
   Sized with 15vh / 6vw overflow borders; movement is strictly clamped so
   it stops when edge is reached, preventing background detaching or black gaps.
   ========================================================================== */
.site-parallax-bg {
  position: fixed;
  top: -15vh;
  left: -6vw;
  width: 112vw;
  height: calc(100vh + 30vh);
  z-index: 0;
  pointer-events: none;
  background: 
    linear-gradient(180deg, rgba(8, 14, 28, 0.18) 0%, rgba(8, 14, 28, 0.28) 45%, rgba(6, 10, 20, 0.40) 100%),
    url('../images/baltic-bg.jpg') center top / cover no-repeat;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

/* ==========================================================================
   Ambient Background Lighting
   Subtle accent highlights complementing the atmospheric Baltic background.
   ========================================================================== */
.ambient-glow {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.18;
}

.ambient-glow-1 {
  top: -150px;
  left: 20%;
  width: 600px;
  height: 450px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.4) 0%, rgba(99, 102, 241, 0.2) 60%, transparent 80%);
}

.ambient-glow-2 {
  top: 40%;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.35) 0%, rgba(245, 158, 11, 0.15) 60%, transparent 80%);
}

.ambient-glow-3 {
  bottom: 5%;
  left: 10%;
  width: 650px;
  height: 450px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, rgba(16, 185, 129, 0.15) 60%, transparent 80%);
}

/* Page container */
.page-wrapper {
  position: relative;
  z-index: 1;
  padding-top: var(--menu-height); /* ensures hero starts below sticky nav */
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 6rem 0 5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0;
  color: #ffffff;
}

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

.hero-lead {
  font-size: clamp(1.05rem, 1.25vw, 1.25rem);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.75rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Hero Interactive Terminal / Visual Window */
.hero-preview {
  position: relative;
}

.terminal-window {
  background: rgba(10, 16, 28, 0.75);
  backdrop-filter: var(--glass-blur-heavy) var(--glass-saturate);
  -webkit-backdrop-filter: var(--glass-blur-heavy) var(--glass-saturate);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow-lg), 0 0 40px rgba(56, 189, 248, 0.15);
  overflow: hidden;
}

.terminal-header {
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-text-dim);
}

.terminal-body {
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.7;
}

.code-keyword { color: #f472b6; }
.code-fn { color: #38bdf8; }
.code-string { color: #34d399; }
.code-comment { color: #64748b; font-style: italic; }
.code-var { color: #fcd34d; }

.terminal-pill-dock {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   Section Layouts
   ========================================================================== */
.section {
  padding: 6rem 0;
  position: relative;
}

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

.section-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0.75rem 0 1rem;
  color: #ffffff;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.service-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1rem;
}

.tag-item {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-text-muted);
}

/* ==========================================================================
   Architecture & Deployment Showcase (Gunicorn + Nginx + Python)
   ========================================================================== */
.deployment-banner {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.7) 0%, rgba(30, 41, 59, 0.5) 100%);
  border: var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  box-shadow: var(--glass-shadow-lg);
  position: relative;
  overflow: hidden;
}

.deployment-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.deploy-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.deploy-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-primary);
  flex-shrink: 0;
}

.step-text h4 {
  margin: 0 0 0.25rem 0;
  font-size: 1.05rem;
  color: #ffffff;
}

.step-text p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   Tech Stack Grid
   ========================================================================== */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}

.stack-card {
  padding: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.stack-card .stack-icon {
  font-size: 2rem;
}

.stack-card .stack-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff;
}

.stack-card .stack-desc {
  font-size: 0.8rem;
  color: var(--color-text-dim);
}

/* ==========================================================================
   Contact / CTA Section
   ========================================================================== */
.cta-card {
  text-align: center;
  padding: 4.5rem 2rem;
  background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.12) 0%, rgba(15, 23, 42, 0.7) 70%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-xl);
  box-shadow: var(--glass-shadow-lg), 0 0 40px rgba(56, 189, 248, 0.1);
  max-width: 860px;
  margin: 0 auto;
}

.cta-card h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 1rem;
}

.cta-card p {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.contact-channels {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

/* ==========================================================================
   Footer: Single Centered Line Only (Slim, Compact)
   ========================================================================== */
.footer {
  padding: 1.15rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 1;
}

.footer-centered {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.footer-copy {
  margin: 0;
  font-size: 0.8125rem;
  color: #e2e8f0;
  letter-spacing: 0.03em;
  opacity: 0.95;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.65);
}

/* ==========================================================================
   Mobile Menu & Responsive Queries
   ========================================================================== */
/* ==========================================================================
   Minimal Hero Section (Logo + Software Development)
   ========================================================================== */
.minimal-hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 0 3.5rem;
  text-align: center;
  position: relative;
  box-sizing: border-box;
}

/* ==========================================================================
   Hero Top Statement Header ("...software is...")
   Sits in the menubar initially on the background, scrolls out with page content.
   Refined business styling: platinum-chrome gradient with subtle ambient shimmer.
   ========================================================================== */
.hero-top-statement {
  position: absolute;
  top: calc(-1 * var(--menu-height));
  left: 0;
  right: 0;
  height: var(--menu-height);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  pointer-events: none;
  user-select: none;
  margin: 0;
  padding: 0 var(--nav-edge-padding, 1.5rem);
  text-align: center;
}

.statement-shimmer-text {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, var(--font-sans);
  font-size: clamp(1.8rem, 2.75vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 55%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: 
    drop-shadow(0 2px 10px rgba(0, 0, 0, 0.65))
    drop-shadow(0 0 22px rgba(255, 255, 255, 0.35));
}

@supports (animation-timeline: scroll()) {
  .hero-top-statement {
    animation: heroStatementScrollFade linear both;
    animation-timeline: scroll();
    animation-range: 0 78px;
  }
}

@keyframes heroStatementScrollFade {
  to {
    opacity: 0;
    transform: translateY(-24px);
  }
}

@media (max-width: 768px) {
  .statement-shimmer-text {
    font-size: clamp(1.15rem, 4.6vw, 1.55rem);
    letter-spacing: 0;
  }
}

@media (max-width: 420px) {
  .statement-shimmer-text {
    font-size: 1.05rem;
  }
}

.hero-center-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  max-width: 860px;
  margin: -10vh auto 0; /* Positions emblem ~20% higher where it was originally */
}

@media (max-width: 768px) {
  .hero-center-box {
    margin-top: -6vh;
  }
}

/* ==========================================================================
   Light Metal Platinum Emblem & Dynamic Electric Aura
   ========================================================================== */
.metal-emblem-stage {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.5rem 0;
  cursor: pointer;
  user-select: none;
}

.metal-emblem-base {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(380px, 80vw);
  height: min(380px, 80vw);
  aspect-ratio: 1 / 1;
}

/* Light ethereal electric aura (replaces the dark black sun shadow) */
.metal-emblem-base::before {
  content: '';
  position: absolute;
  width: 115%;
  height: 115%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.22) 0%, rgba(255, 255, 255, 0.10) 35%, transparent 70%);
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
}

/* ==========================================================================
   Floating Ideas Typography (Orbiting the Platinum Emblem)
   Pure black text with a generous radiant white shadow aura.
   ========================================================================== */
.hologram-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  overflow: visible;
  pointer-events: none;
  z-index: 10;
}

.cloud-pill {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-block;
  white-space: nowrap;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, var(--font-sans);
  font-size: clamp(0.95rem, 1.35vw, 1.18rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #000000;
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
  pointer-events: none;
  user-select: none;
  will-change: transform, opacity, filter;
  opacity: 0;
  animation: cloudCycle 4.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cloud-text {
  display: inline-block;
  color: #000000;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 
    0 0 2px #ffffff,
    0 0 5px #ffffff,
    0 0 10px #ffffff,
    0 0 20px #ffffff,
    0 0 35px rgba(255, 255, 255, 0.95),
    0 0 55px rgba(255, 255, 255, 0.85),
    0 0 85px rgba(255, 255, 255, 0.65);
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 24px rgba(255, 255, 255, 0.80));
}

/* Soft Cloud Condensation, Float, and Dispersion */
@keyframes cloudCycle {
  0% {
    opacity: 0;
    filter: blur(12px);
    transform: translate(-50%, -50%) translate3d(var(--holo-x), var(--holo-y), 0) scale(0.75);
  }
  14% {
    opacity: 0.96;
    filter: blur(0px);
    transform: translate(-50%, -50%) translate3d(var(--holo-x), var(--holo-y), 0) scale(1.02);
  }
  20% {
    opacity: 1;
    filter: blur(0px);
    transform: translate(-50%, -50%) translate3d(var(--holo-x), var(--holo-y), 0) scale(1);
  }
  80% {
    opacity: 1;
    filter: blur(0px);
    transform: translate(-50%, -50%) translate3d(var(--holo-x), calc(var(--holo-y) - 8px), 0) scale(1);
  }
  90% {
    opacity: 0.55;
    filter: blur(4px);
    transform: translate(-50%, -50%) translate3d(var(--holo-x), calc(var(--holo-y) - 12px), 0) scale(1.03);
  }
  100% {
    opacity: 0;
    filter: blur(14px);
    transform: translate(-50%, -50%) translate3d(var(--holo-x), calc(var(--holo-y) - 16px), 0) scale(1.06);
  }
}

@media (max-width: 768px) {
  .cloud-pill {
    font-size: 0.76rem;
  }
}

/* ==========================================================================
   Snake Interactive Eye (Follows cursor within the eye socket)
   ========================================================================== */
.snake-eye-socket {
  position: absolute;
  left: 41.89%;
  top: 20.02%;
  width: 7.2%;
  height: 3.6%;
  transform: translate(-50%, -50%) rotate(-24deg);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1; /* Sits directly behind the metal emblem beveled cutout (z-index: 2) */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Deep metallic socket cavity backing */
.snake-eye-backing {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, #08111f 0%, #020610 90%);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.95);
}

/* Shiny moving pupil/iris (luminous light icy platinum & sapphire with brilliant white core) */
.snake-eye-pupil {
  position: relative;
  width: 44%;
  height: 82%;
  border-radius: 50% / 55%;
  background: radial-gradient(ellipse at 38% 30%, #ffffff 0%, #e0f2fe 22%, #7dd3fc 45%, #38bdf8 70%, #0284c7 100%);
  box-shadow: 
    0 0 6px rgba(125, 211, 252, 0.95), 
    0 0 12px rgba(56, 189, 248, 0.6), 
    inset 0 1px 1px #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: box-shadow var(--transition-fast), filter var(--transition-fast);
}

/* Slit vertical reptilian core */
.pupil-core {
  position: absolute;
  top: 14%;
  bottom: 14%;
  left: 42%;
  width: 16%;
  background: #031528;
  border-radius: 3px;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.8);
}

/* Shiny mirror glint highlight */
.pupil-glint {
  position: absolute;
  top: 16%;
  left: 18%;
  width: 36%;
  height: 36%;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 4px #ffffff;
}

/* Eye reacts with electric dilation on emblem hover */
.metal-emblem-stage:hover .snake-eye-pupil {
  box-shadow: 
    0 0 10px rgba(186, 230, 253, 1), 
    0 0 18px rgba(56, 189, 248, 0.85), 
    0 0 5px #ffffff, 
    inset 0 1px 2px #ffffff;
  filter: brightness(1.22);
}

/* Eye electric pulse during lightning discharges */
.eye-electric-pulse {
  box-shadow: 
    0 0 14px rgba(224, 242, 254, 1), 
    0 0 24px rgba(56, 189, 248, 0.95), 
    0 0 6px #ffffff, 
    inset 0 1px 2px #ffffff !important;
  filter: brightness(1.35) !important;
}

.metal-emblem-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 2;
  /* Light platinum reflection with clean depth shadow and deep electric blue aura */
  filter: 
    drop-shadow(0 16px 28px rgba(0, 0, 0, 0.42))
    drop-shadow(0 4px 8px rgba(0, 0, 0, 0.22))
    drop-shadow(0 0 25px rgba(37, 99, 235, 0.32));
  transition: transform var(--transition-slow), filter var(--transition-slow);
}

.metal-emblem-stage:hover .metal-emblem-img {
  transform: translateY(-4px) scale(1.02);
  filter: 
    drop-shadow(0 22px 36px rgba(0, 0, 0, 0.52))
    drop-shadow(0 6px 10px rgba(0, 0, 0, 0.28))
    drop-shadow(0 0 35px rgba(37, 99, 235, 0.55))
    drop-shadow(0 0 15px rgba(255, 255, 255, 0.85));
}

/* Electric Discharges & Sparks Canvas Overlay */
.electric-canvas {
  position: absolute;
  top: -15%;
  left: -15%;
  width: 130%;
  height: 130%;
  pointer-events: none;
  background: transparent !important;
  z-index: 3;
}

.title-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-top: -3.25rem;
  position: relative;
  z-index: 4;
}

.brand-heading {
  font-size: clamp(2.75rem, 5.4vw, 4.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
  color: #ffffff;
  text-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.60),
    0 2px 6px rgba(0, 0, 0, 0.45);
}

.tagline {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
  text-shadow: 
    0 2px 14px rgba(0, 0, 0, 0.60),
    0 1px 4px rgba(0, 0, 0, 0.45);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* ==========================================================================
   Scroll Canvas (allows page to roll under the frosted glass menu bar)
   ========================================================================== */
.scroll-canvas {
  height: 35vh;
  min-height: 220px;
}

.minimal-status-card {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  color: var(--color-text-muted);
  box-shadow: var(--glass-shadow);
}

.status-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 10px var(--color-success);
  display: inline-block;
}

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

  .deployment-banner {
    grid-template-columns: 1fr;
    padding: 2.25rem;
  }

  .nav-mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: var(--menu-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 1.5rem;
    background: rgba(7, 11, 20, 0.95);
    backdrop-filter: var(--glass-blur-heavy) var(--glass-saturate);
    -webkit-backdrop-filter: var(--glass-blur-heavy) var(--glass-saturate);
    border-bottom: var(--menu-border);
    box-shadow: var(--glass-shadow-lg);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-menu.is-open {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .nav-actions {
    display: none;
  }
}
