/* 
 * Memorial Photo Animator — Landing Styles
 * Colors from MemorialTheme.swift (iOS app)
 */

:root {
  /* Colors from MemorialTheme.swift */
  --surface: rgb(249, 249, 251);
  --on-surface: rgb(26, 28, 29);
  --primary: rgb(6, 22, 37);
  --primary-fixed-dim: rgb(184, 200, 220);
  --primary-container: rgb(28, 43, 58);
  --on-primary: rgb(255, 255, 255);
  --surface-container-lowest: rgb(255, 255, 255);
  --surface-container-low: rgb(243, 243, 245);
  --surface-container-high: rgb(232, 232, 234);
  --surface-container-highest: rgb(226, 226, 228);
  --on-surface-variant: rgb(68, 71, 76);
  --outline-variant: rgb(196, 198, 204);
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 12px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-3xl: 64px;
  
  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
}

#top,
#how-it-works,
#features,
#download {
  scroll-margin-top: 76px;
}

body {
  font-family: var(--font-family);
  background-color: var(--surface);
  color: var(--on-surface);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* ====================
   Site header & navigation
   ==================== */
.site-header {
  position: relative;
  z-index: 1000;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(249, 249, 251, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--outline-variant);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-sm) var(--spacing-lg);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--spacing-md) var(--spacing-lg);
}

.logo {
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.3px;
  min-width: 0;
}

.logo-text {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle:hover {
  background-color: var(--surface-container-high);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background-color: currentColor;
  border-radius: 1px;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -7px;
}

.nav-toggle-bars::after {
  top: 7px;
}

.nav-open .nav-toggle-bars {
  background-color: transparent;
}

.nav-open .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-open .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  grid-column: 2;
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs) var(--spacing-lg);
}

.nav-menu a {
  text-decoration: none;
  color: var(--on-surface-variant);
  font-size: 15px;
  font-weight: 400;
  transition: color 0.2s ease;
}

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

.nav-cta {
  grid-column: 3;
  justify-self: end;
}

.nav-store-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  background: linear-gradient(
    180deg,
    var(--primary) 0%,
    var(--primary-container) 100%
  );
  color: var(--on-primary) !important;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.nav-store-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.nav-store-btn .apple-icon {
  width: 16px;
  height: 18px;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .nav-container {
    grid-template-columns: 1fr auto auto;
    padding: var(--spacing-xs) var(--spacing-md);
  }

  .logo {
    grid-column: 1;
    grid-row: 1;
    font-size: 15px;
  }

  .nav-toggle {
    display: flex;
    grid-column: 2;
    grid-row: 1;
  }

  .nav-cta {
    grid-column: 3;
    grid-row: 1;
  }

  .nav-menu {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease;
    padding: 0;
  }

  .nav-open .nav-menu {
    max-height: 420px;
    opacity: 1;
    pointer-events: auto;
    padding: var(--spacing-sm) 0 var(--spacing-md);
    border-top: 1px solid var(--outline-variant);
    margin-top: var(--spacing-xs);
  }

  .nav-menu li {
    border-bottom: 1px solid var(--surface-container-high);
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  .nav-menu a {
    display: block;
    padding: var(--spacing-md) var(--spacing-xs);
    font-size: 16px;
  }

  .nav-store-btn span {
    display: none;
  }

  .nav-store-btn {
    padding: var(--spacing-sm);
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
  }
}

body.nav-drawer-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .nav-menu {
    transition: none;
  }

  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    transition: none;
  }
}

/* ====================
   Hero Section
   ==================== */
.hero {
  position: relative;
  min-height: min(100vh, 900px);
  padding-top: 72px;
  padding-bottom: var(--spacing-3xl);
  background-color: var(--surface);
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 85% 55% at 70% 15%,
      rgba(184, 200, 220, 0.35) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 60% 45% at 10% 80%,
      rgba(226, 226, 228, 0.9) 0%,
      transparent 50%
    );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-2xl) var(--spacing-lg) var(--spacing-3xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl) var(--spacing-3xl);
  align-items: center;
}

.hero-text {
  max-width: 560px;
}

.hero-kicker {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  margin-bottom: var(--spacing-md);
}

.hero-title {
  font-size: clamp(2rem, 4vw + 1rem, 3rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: var(--primary);
  margin-bottom: var(--spacing-lg);
}

.hero-title .highlight {
  font-weight: 600;
  font-style: italic;
}

.hero-subtitle {
  font-size: clamp(16px, 1.2vw + 14px, 19px);
  font-weight: 300;
  line-height: 1.65;
  color: var(--on-surface-variant);
  margin-bottom: var(--spacing-xl);
  max-width: 32em;
}

.hero-cta {
  margin-bottom: var(--spacing-md);
}

.hero-meta {
  font-size: 14px;
  font-weight: 400;
  color: var(--on-surface-variant);
  letter-spacing: 0.01em;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  width: 100%;
  max-width: min(580px, 100%);
  margin-left: auto;
}

.hero-visual-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  align-self: flex-start;
}

.hero-transformation {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
}

.hero-transformation-screens {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: var(--spacing-lg) var(--spacing-xl);
  width: 100%;
}

.hero-app-panel {
  width: 100%;
  max-width: 248px;
  min-width: 0;
  background: var(--surface-container-lowest);
  border-radius: var(--radius-xl);
  box-shadow:
    0 2px 4px rgba(6, 22, 37, 0.04),
    0 16px 40px rgba(6, 22, 37, 0.1);
  border: 1px solid var(--outline-variant);
}

.hero-app-panel-body {
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  height: 100%;
}

.hero-upload-zone {
  flex: 1;
  min-height: 0;
  padding: var(--spacing-sm) var(--spacing-sm) var(--spacing-md);
  border: 2px dashed var(--outline-variant);
  border-radius: var(--radius-lg);
  background: var(--surface-container-low);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  gap: var(--spacing-md);
}

.hero-upload-photo {
  margin: 0;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  max-height: 220px;
  align-self: center;
  background: var(--primary);
  box-shadow: 0 6px 20px rgba(6, 22, 37, 0.15);
}

.hero-upload-photo .hero-before-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-upload-text {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  align-items: center;
}

.hero-panel-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--primary);
  line-height: 1.25;
}

.hero-panel-desc {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--on-surface-variant);
  max-width: 18em;
}

.hero-panel-faux-btn {
  width: 100%;
  text-align: center;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  background: var(--surface-container-high);
  color: var(--on-surface-variant);
  font-size: 15px;
  font-weight: 500;
  pointer-events: none;
}

.hero-arrow {
  opacity: 0.7;
}

.hero-panel-legal {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  text-align: center;
  line-height: 1.35;
  opacity: 0.85;
}

.hero-transformation-bridge {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 280px;
  padding: var(--spacing-xs) 0 0;
}

.hero-progress {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-progress-step {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  background: var(--surface-container-high);
  color: var(--on-surface-variant);
  border: 1px solid var(--outline-variant);
}

.hero-progress-step.is-complete {
  background: var(--primary);
  color: var(--on-primary);
  border-color: var(--primary);
}

.hero-progress-track {
  flex: 1;
  max-width: 120px;
  min-width: 40px;
  height: 4px;
  border-radius: 2px;
  background: var(--surface-container-high);
  overflow: hidden;
}

.hero-progress-fill {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-container) 100%);
}

.hero-video-card {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.hero-video-poster {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--primary);
  box-shadow: 0 8px 24px rgba(6, 22, 37, 0.25);
}

.hero-result-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero-video-scrubber {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: 0 2px;
}

.hero-video-time {
  font-size: 11px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--on-surface-variant);
}

.hero-video-bar {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--surface-container-high);
  overflow: hidden;
}

.hero-video-bar-fill {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: 2px;
  background: var(--primary);
  transition: width 0.08s linear;
}

.hero-result-actions {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.hero-result-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: 10px var(--spacing-md);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  pointer-events: none;
  text-align: center;
}

.hero-result-ic {
  flex-shrink: 0;
  opacity: 0.9;
}

.hero-result-row--primary {
  background: var(--primary);
  color: var(--on-primary);
}

.hero-result-row--secondary {
  background: var(--surface-container-high);
  color: var(--primary);
}

@media (max-width: 640px) {
  .hero-transformation-screens {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
  }

  .hero-app-panel {
    width: min(280px, 88vw);
    max-width: min(280px, 88vw);
  }

  .hero-transformation-bridge {
    max-width: 240px;
    padding-top: var(--spacing-sm);
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-md);
  background: linear-gradient(
    180deg,
    var(--primary) 0%,
    var(--primary-container) 100%
  );
  color: var(--on-primary);
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(6, 22, 37, 0.22);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 22, 37, 0.2);
}

.btn-primary .apple-icon {
  width: 22px;
  height: 26px;
}

.btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.btn-text-small {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.9;
}

.btn-text-large {
  font-size: 18px;
  font-weight: 600;
}

/* ====================
   Section Styles
   ==================== */
.section {
  padding: var(--spacing-3xl) var(--spacing-lg);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--spacing-3xl);
}

.section-tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--on-surface-variant);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--spacing-sm);
}

.section-title {
  font-size: 40px;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: -0.8px;
  margin-bottom: var(--spacing-md);
}

.section-subtitle {
  font-size: 18px;
  font-weight: 300;
  color: var(--on-surface-variant);
  line-height: 1.6;
}

/* ====================
   How It Works
   ==================== */
.how-it-works {
  background-color: var(--surface-container-low);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-xl);
  max-width: 1200px;
  margin: 0 auto;
}

.step {
  text-align: center;
  padding: var(--spacing-xl);
}

.step-number {
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  color: var(--on-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  margin: 0 auto var(--spacing-md);
}

.step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--spacing-md);
  background-color: var(--surface-container-highest);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.step h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: var(--spacing-sm);
}

.step p {
  font-size: 15px;
  font-weight: 300;
  color: var(--on-surface-variant);
  line-height: 1.6;
}

/* ====================
   Features
   ==================== */
.features {
  background-color: var(--surface);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-xl);
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  padding: var(--spacing-xl);
  background-color: var(--surface-container-low);
  border-radius: var(--radius-lg);
  text-align: center;
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--spacing-md);
  background-color: var(--primary);
  color: var(--on-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: var(--spacing-sm);
}

.feature-card p {
  font-size: 15px;
  font-weight: 300;
  color: var(--on-surface-variant);
  line-height: 1.6;
}

/* ====================
   Perfect For
   ==================== */
.perfect-for {
  background-color: var(--primary);
  color: var(--on-primary);
}

.perfect-for .section-tag,
.perfect-for .section-title,
.perfect-for .section-subtitle {
  color: var(--on-primary);
}

.perfect-for-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-xl);
  max-width: 1200px;
  margin: 0 auto;
}

.perfect-for-item {
  text-align: center;
  padding: var(--spacing-xl);
}

.perfect-for-icon {
  font-size: 40px;
  margin-bottom: var(--spacing-md);
}

.perfect-for-item h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: var(--spacing-sm);
}

.perfect-for-item p {
  font-size: 15px;
  font-weight: 300;
  opacity: 0.9;
  line-height: 1.6;
}

/* ====================
   Download
   ==================== */
.download {
  background-color: var(--surface-container-low);
  text-align: center;
}

.download-content {
  max-width: 640px;
  margin: 0 auto;
}

.download-title {
  font-size: 40px;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: -0.8px;
  margin-bottom: var(--spacing-md);
}

.download-subtitle {
  font-size: 18px;
  font-weight: 300;
  color: var(--on-surface-variant);
  line-height: 1.6;
  margin-bottom: var(--spacing-xl);
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-md);
  background: linear-gradient(
    180deg,
    var(--primary) 0%,
    var(--primary-container) 100%
  );
  color: var(--on-primary);
  padding: var(--spacing-lg) var(--spacing-2xl);
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(6, 22, 37, 0.22);
}

.btn-download:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 22, 37, 0.2);
}

.btn-download .apple-icon {
  width: 24px;
  height: 29px;
}

.btn-download-small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  opacity: 0.9;
}

.btn-download-large {
  display: block;
  font-size: 20px;
  font-weight: 600;
}

.download-price {
  margin-top: var(--spacing-md);
  font-size: 15px;
  font-weight: 300;
  color: var(--on-surface-variant);
}

/* ====================
   Footer
   ==================== */
.footer {
  background-color: var(--surface-container-highest);
  padding: var(--spacing-2xl) var(--spacing-lg);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-lg);
}

.footer-brand {
  text-align: center;
}

.footer-brand .logo-text {
  display: block;
  font-size: 18px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: var(--spacing-xs);
}

.footer-brand p {
  font-size: 14px;
  font-weight: 300;
  color: var(--on-surface-variant);
}

.footer-links {
  display: flex;
  gap: var(--spacing-xl);
}

.footer-links a {
  font-size: 14px;
  color: var(--on-surface-variant);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-copyright {
  font-size: 13px;
  color: var(--on-surface-variant);
}

/* ====================
   Responsive
   ==================== */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: var(--spacing-xl);
  }

  .hero-text {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-kicker {
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    display: flex;
    justify-content: center;
  }

  .hero-meta {
    text-align: center;
  }

  .hero-visual {
    order: -1;
    margin-left: 0;
    margin-right: auto;
    max-width: 100%;
    align-self: center;
  }

  .hero-visual-eyebrow {
    align-self: center;
  }

  .steps-grid,
  .perfect-for-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .section-title {
    font-size: 32px;
  }

  .steps-grid,
  .perfect-for-grid {
    grid-template-columns: 1fr;
  }
}

/* Occasions dropdown nav */
.nav-has-dropdown { position: relative; list-style: none; }
.nav-dropdown-toggle {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--on-surface);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.nav-chevron { font-size: 11px; transition: transform 0.2s; }
.nav-has-dropdown.is-open .nav-chevron { transform: rotate(180deg); }
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface-container-lowest);
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(6,22,37,0.12);
  padding: 8px 0;
  min-width: 200px;
  z-index: 100;
  list-style: none;
  margin: 0;
}
.nav-has-dropdown.is-open .nav-dropdown { display: block; }
.nav-dropdown li a {
  display: block;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--on-surface);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
}
.nav-dropdown li a:hover { background: var(--surface-container-low); }
@media (max-width: 900px) {
  .nav-dropdown { position: static; transform: none; box-shadow: none; border: none; padding: 0 0 0 16px; background: none; }
  .nav-dropdown-toggle { padding: 0; }
}
