:root {
  --primary: #2DD4BF;
  --primary-hover: #14B8A6;
  --secondary: #0891B2;
  --accent: #818cf8; /* Purple/Blue accent for gradients */
  --bg: #0F172A;
  --bg-surface: rgba(255, 255, 255, 0.03);
  --bg-surface-hover: rgba(255, 255, 255, 0.08);
  --bg-card: #1E293B;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.1);
  --glow: rgba(45, 212, 191, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background blob effects */
.bg-glow {
  position: fixed;
  top: -20%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--glow) 0%, transparent 60%);
  filter: blur(120px);
  z-index: -1;
  opacity: 0.6;
  animation: pulse 10s infinite alternate;
}

.bg-glow.right {
  top: auto;
  bottom: -20%;
  left: auto;
  right: -10%;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.15) 0%, transparent 60%);
  animation: pulse 12s infinite alternate-reverse;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.2); opacity: 0.8; }
}

/* Typography styles */
.highlight {
  background: linear-gradient(to right, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: -2rem auto 4rem;
  font-size: 1.2rem;
}

/* Layout */
section {
  padding: 100px 10%;
}

/* Navbar */
header {
  padding: 1.5rem 5%;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header.scrolled {
  background: rgba(15, 23, 42, 0.8);
  border-bottom: 1px solid var(--border);
  padding: 1rem 5%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.logo img {
  height: 40px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

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

.nav-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 0.5rem 1.2rem !important;
  border-radius: 100px;
  color: var(--text-main) !important;
}
.nav-btn:hover {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #0F172A !important;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 100%), var(--primary);
  color: #0F172A !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem 2rem;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-main);
  padding: 1rem 2rem;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background 0.3s, transform 0.3s;
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-surface-hover);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 120px;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateY(30px);
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.2);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: -1.5px;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 90%;
}

.cta-group {
  display: flex;
  gap: 1rem;
}

/* Improved Phone Mockup */
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
  animation: fadeLeft 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
  opacity: 0;
  transform: translateX(30px);
}

.phone-mockup {
  width: 330px;
  height: 670px;
  background: linear-gradient(135deg, #444549 0%, #1c1c1f 100%); /* Titanium finish */
  border-radius: 54px;
  position: relative;
  /* Premium 3D shadow and metallic highlight */
  box-shadow: 
    -1px 1px 4px rgba(255,255,255,0.15) inset,
    40px 40px 80px rgba(0, 0, 0, 0.7);
  transform: rotate(-2deg);
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup:hover {
  transform: rotate(0deg) translateY(-10px);
}

/* Power button right side */
.phone-mockup::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 180px;
  width: 3px;
  height: 80px;
  background: #333336;
  border-radius: 0 2px 2px 0;
  box-shadow: -1px 0 2px rgba(255,255,255,0.1) inset;
}

/* Left side buttons */
.phone-buttons {
  position: absolute;
  left: -3px;
  top: 120px;
  width: 3px;
  height: 200px;
  /* Action button (20px-45px), Vol Up (80-130px), Vol Down (150-200px) */
  background: linear-gradient(to bottom,
    transparent 0px, transparent 20px,
    #333336 20px, #333336 45px, 
    transparent 45px, transparent 70px,
    #333336 70px, #333336 120px, 
    transparent 120px, transparent 140px,
    #333336 140px, #333336 190px,
    transparent 190px, transparent 200px
  );
  border-radius: 2px 0 0 2px;
}

.phone-screen {
  width: 310px;
  height: 650px;
  background-color: var(--bg);
  border-radius: 44px; /* inner bezel curve */
  border: 6px solid #040404; /* screen bezel */
  position: relative;
  overflow: hidden;
}

.dynamic-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 94px;
  height: 24px;
  background: #000;
  border-radius: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 8px;
  gap: 6px;
  box-shadow: inset 0 0 3px rgba(255,255,255,0.05);
}

.island-sensor {
  width: 8px;
  height: 8px;
  background: #111;
  border-radius: 50%;
}

.island-camera {
  width: 12px;
  height: 12px;
  background: #101018; /* very dark purple/blue lens */
  border-radius: 50%;
  position: relative;
  box-shadow: inset 0 0 4px rgba(255,255,255,0.1);
}
.island-camera::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 3px;
  height: 3px;
  background: #3a3a5a;
  border-radius: 50%;
  opacity: 0.6;
}

.phone-slider {
  display: flex;
  width: 500%;
  height: 100%;
  animation: phoneSlide 20s infinite ease-in-out;
}

.phone-slider img {
  width: 20%;
  height: 100%;
  object-fit: cover;
}

@keyframes phoneSlide {
  0%, 15% { transform: translateX(0); }
  20%, 35% { transform: translateX(-20%); }
  40%, 55% { transform: translateX(-40%); }
  60%, 75% { transform: translateX(-60%); }
  80%, 95% { transform: translateX(-80%); }
  100% { transform: translateX(0); }
}

/* Problem -> Solution Section */
.problem-solution {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

.ps-card {
  padding: 2.5rem;
  border-radius: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.ps-card.problem {
  opacity: 0.7;
}

.ps-card.solution {
  border-color: rgba(45, 212, 191, 0.3);
  box-shadow: 0 10px 30px rgba(45, 212, 191, 0.1);
  position: relative;
}

.ps-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.solution h3 {
  color: var(--primary);
}

.ps-list li {
  list-style: none;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
}

.problem .ps-list li::before {
  content: '✕';
  color: #ef4444;
  font-weight: bold;
}

.solution .ps-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: bold;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(45, 212, 191, 0.1);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.feature-card p {
  color: var(--text-muted);
}

/* How It Works Section */
.how-it-works {
  background: var(--bg-surface);
}

.steps-container {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 60px;
  height: 60px;
  background: var(--bg-card);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 20px rgba(45, 212, 191, 0.2);
}

.step h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--text-muted);
}

/* Social Vibe Section */
.social-vibe {
  text-align: center;
  position: relative;
}

.social-vibe-content {
  max-width: 700px;
  margin: 0 auto;
}

.avatar-group {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.avatar-group .ava {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 4px solid var(--bg);
  background: var(--primary);
  margin-left: -15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.avatar-group .ava:nth-child(2) { background: var(--secondary); }
.avatar-group .ava:nth-child(3) { background: var(--accent); }
.avatar-group .ava:nth-child(4) { background: #f59e0b; }

/* CTA Section */
.cta-section {
  text-align: center;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.1), rgba(129, 140, 248, 0.1));
  border-radius: 32px;
  padding: 5rem 2rem;
  margin: 0 5% 100px;
  border: 1px solid rgba(45, 212, 191, 0.2);
}

.cta-section h2 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer .logo-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

footer p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

footer .links {
  display: flex;
  gap: 2rem;
}

footer a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
  font-weight: 500;
}

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

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

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

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLeft {
  0% { opacity: 0; transform: translateX(30px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* Decorative Icons & Watermarks */
.deco-icon {
  position: absolute;
  z-index: -1;
  opacity: 0.08;
  pointer-events: none;
}

.deco-icon.icon-1 {
  top: 15%;
  left: 5%;
  transform: rotate(-15deg);
}

.deco-icon.icon-2 {
  top: 45%;
  right: 5%;
  transform: rotate(20deg);
  opacity: 0.05;
}

.deco-icon.icon-3 {
  bottom: 20%;
  left: 8%;
  transform: rotate(-10deg);
}

.watermark-logo {
  position: fixed;
  top: 100px;
  right: 5%;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--text-main);
  opacity: 0.15;
  pointer-events: none;
  z-index: -1;
}

/* Legal Pages (Terms & Privacy) */
.page-header {
  padding: 160px 10% 60px;
  text-align: center;
  background: linear-gradient(to bottom, rgba(30, 41, 59, 0.4), transparent);
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(to right, var(--text-main), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.page-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 5%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  transform: translateY(-40px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  position: relative;
  z-index: 10;
}

.page-content h2 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-top: 3rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.5rem;
}

.page-content h2:first-of-type {
  margin-top: 0;
}

.page-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.page-content ul {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
  padding-left: 1.5rem;
}

.page-content li {
  margin-bottom: 0.8rem;
}

.page-content li strong {
  color: var(--text-main);
}

.page-content a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s;
}

.page-content a:hover {
  text-decoration: underline;
  color: var(--primary-hover);
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 120px;
    padding-bottom: 50px;
    gap: 50px;
  }
  
  .hero-content {
    align-items: center;
    display: flex;
    flex-direction: column;
  }
  
  .hero h1 {
    font-size: 3.5rem;
  }
  
  .hero p {
    max-width: 100%;
  }

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

  .steps-container {
    flex-direction: column;
    gap: 3rem;
  }
  
  .steps-container::before {
    display: none;
  }
  
  header {
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }
  
  header.scrolled {
    padding: 1rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  footer {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  
  .page-header {
    padding: 120px 5% 40px;
  }
  
  .page-header h1 {
    font-size: 2.5rem;
  }
  
  .page-content {
    transform: translateY(-20px);
    padding: 40px 1.5rem;
    border-radius: 16px;
    margin: 0 1rem;
  }
}

/* ===================== Language Switcher ===================== */
.lang-switcher {
  position: relative;
  z-index: 200;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 0.85rem;
  border-radius: 12px;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  min-height: 40px;
  line-height: 1;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-main);
}

.lang-toggle[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(45, 212, 191, 0.3);
  color: var(--text-main);
}

.lang-toggle:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.lang-arrow {
  font-size: 0.55rem;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  opacity: 0.6;
}

.lang-toggle[aria-expanded="true"] .lang-arrow {
  transform: rotate(180deg);
}

/* Dropdown panel — glassmorphism */
.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: rgba(30, 41, 59, 0.85);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 6px;
  min-width: 160px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.95) translateY(-4px);
  transform-origin: top right;
  transition: opacity 0.2s ease,
              visibility 0.2s ease,
              transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45),
              0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  z-index: 210;
}

.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
}

.lang-dropdown li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lang-dropdown a[role="menuitem"] {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 10px;
  transition: all 0.15s ease;
  white-space: nowrap;
  position: relative;
}

.lang-dropdown a[role="menuitem"]:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-main);
}

/* Active language — subtle glow dot */
.lang-dropdown a[aria-current="page"] {
  color: var(--primary);
  font-weight: 600;
  background: rgba(45, 212, 191, 0.06);
}

.lang-dropdown a[aria-current="page"]::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--glow);
  flex-shrink: 0;
  margin-right: -0.2rem;
}

.lang-dropdown a[role="menuitem"]:not([aria-current="page"])::before {
  content: '';
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  margin-right: -0.2rem;
}

.lang-dropdown a[role="menuitem"]:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

/* Ref page: top bar with logo + lang switcher */
.ref-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 440px;
  margin-bottom: 2.5rem;
}

.ref-top .ref-logo {
  margin-bottom: 0;
}

/* Mobile adjustments for lang switcher */
@media (max-width: 900px) {
  .lang-switcher {
    order: 0;
  }
}

/* ========================================================
   SURGICAL MOBILE UX PATCHES (V2 Safe Fixes)
   ======================================================== */

/* Hamburger Menu Button (Hidden on Desktop) */
.hamburger-btn {
    display: none;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
    font-size: 1.5rem;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}

@media (max-width: 768px) {
    /* Show Hamburger, Hide standard nav-links */
    .hamburger-btn {
        display: flex;
    }
    
    /* Transform nav-links into a side panel */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 2rem 2rem;
        gap: 1.5rem;
        transition: right 0.3s ease;
        z-index: 999;
        border-left: 1px solid var(--border);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    
    .nav-links.open {
        right: 0;
    }
    
    /* Mobile Overlay */
    .mobile-nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.6);
        z-index: 998;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    
    .mobile-nav-overlay.open {
        opacity: 1;
        pointer-events: auto;
    }
    
    /* Fix global padding and image overflows */
    section {
        padding: 48px 5%;
    }
    
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Ensure Header sits above overlay */
    header {
        position: relative;
        z-index: 1000;
    }
}
