:root {
  --bg-dark: #050508;
  --bg-surface: #0e0e14;
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.10);
  --glass-hover: rgba(255, 255, 255, 0.08);
  --accent-primary: #f472b6;
  --accent-secondary: #a78bfa;
  --accent-tertiary: #60a5fa;
  --accent-warm: #fb923c;
  --gradient-accent: linear-gradient(135deg, #f472b6, #a78bfa, #60a5fa);
  --gradient-accent-reverse: linear-gradient(135deg, #60a5fa, #a78bfa, #f472b6);
  --text-primary: rgba(255, 255, 255, 0.95);
  --text-secondary: rgba(255, 255, 255, 0.65);
  --glass-blur: 28px;
  --radius: 16px;
  --shadow-elevated: 0 8px 32px rgba(0, 0, 0, 0.45);
  --shadow-strong: 0 16px 48px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 60px rgba(244, 114, 182, 0.08), 0 0 120px rgba(167, 139, 250, 0.06);
  --noise-texture: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: cubic-bezier(0.2, 0.9, 0.2, 1);
}

body.light {
  --bg-dark: #f5f5f7;
  --bg-surface: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(0, 0, 0, 0.08);
  --glass-hover: rgba(255, 255, 255, 0.70);
  --accent-primary: #ec4899;
  --accent-secondary: #8b5cf6;
  --accent-tertiary: #3b82f6;
  --accent-warm: #f97316;
  --gradient-accent: linear-gradient(135deg, #ec4899, #8b5cf6, #3b82f6);
  --gradient-accent-reverse: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899);
  --text-primary: rgba(0, 0, 0, 0.90);
  --text-secondary: rgba(0, 0, 0, 0.60);
  --shadow-elevated: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-strong: 0 16px 48px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 60px rgba(236, 72, 153, 0.06), 0 0 120px rgba(139, 92, 246, 0.04);
  --noise-texture: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.02'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; padding: 0 }
html, body { height: 100% }

body {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

.bg {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  pointer-events: none;
  z-index: 0;
  transition: background 0.4s ease;
}

.bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 10% 15%, rgba(244, 114, 182, 0.14), transparent 40%),
    radial-gradient(ellipse at 90% 10%, rgba(167, 139, 250, 0.12), transparent 45%),
    radial-gradient(ellipse at 20% 55%, rgba(96, 165, 250, 0.10), transparent 40%),
    radial-gradient(ellipse at 80% 65%, rgba(251, 146, 60, 0.09), transparent 44%),
    radial-gradient(ellipse at 50% 90%, rgba(244, 114, 182, 0.08), transparent 48%),
    radial-gradient(ellipse at 45% 35%, rgba(167, 139, 250, 0.06), transparent 50%);
  opacity: 1;
  animation: meshFloat 22s ease-in-out infinite alternate;
}

.bg::after {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background:
    radial-gradient(circle at 30% 40%, rgba(244, 114, 182, 0.06), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(96, 165, 250, 0.05), transparent 50%);
  animation: floatDrift 28s ease-in-out infinite alternate;
  pointer-events: none;
}

body.light .bg::before {
  background:
    radial-gradient(ellipse at 10% 15%, rgba(236, 72, 153, 0.08), transparent 40%),
    radial-gradient(ellipse at 90% 10%, rgba(139, 92, 246, 0.07), transparent 45%),
    radial-gradient(ellipse at 20% 55%, rgba(59, 130, 246, 0.06), transparent 40%),
    radial-gradient(ellipse at 80% 65%, rgba(249, 115, 22, 0.05), transparent 44%),
    radial-gradient(ellipse at 50% 90%, rgba(236, 72, 153, 0.04), transparent 48%),
    radial-gradient(ellipse at 45% 35%, rgba(139, 92, 246, 0.03), transparent 50%);
}

body.light .bg::after {
  background:
    radial-gradient(circle at 30% 40%, rgba(236, 72, 153, 0.04), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(59, 130, 246, 0.03), transparent 50%);
}

@keyframes meshFloat {
  0% { opacity: 0.8; transform: scale(1) translateY(0) }
  50% { opacity: 1; transform: scale(1.06) translateY(-2%) }
  100% { opacity: 0.85; transform: scale(1) translateY(0) }
}

@keyframes floatDrift {
  0% { transform: translate(0, 0) rotate(0deg) }
  33% { transform: translate(3%, -2%) rotate(1deg) }
  66% { transform: translate(-2%, 3%) rotate(-1deg) }
  100% { transform: translate(1%, -1%) rotate(0.5deg) }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6 }
  50% { opacity: 1 }
}

.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--shadow-elevated), var(--shadow-glow), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  background-image: var(--noise-texture);
  background-repeat: repeat;
  background-size: 256px 256px;
}

body.light .glass {
  border-top: 1px solid rgba(255, 255, 255, 0.50);
  box-shadow: var(--shadow-elevated), inset 0 0 0 1px rgba(255, 255, 255, 0.30);
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  max-width: 1200px;
  margin: 18px auto 0;
  position: sticky;
  top: 14px;
  z-index: 90;
  border-radius: 22px;
  border: 1px solid var(--glass-border);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 10, 14, 0.50);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.55), var(--shadow-glow);
  background-image: var(--noise-texture);
  background-repeat: repeat;
  background-size: 256px 256px;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

body.light .site-header {
  background: rgba(255, 255, 255, 0.60);
  border-top: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.site-header::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  background: linear-gradient(120deg, rgba(244, 114, 182, 0.35), rgba(167, 139, 250, 0.30), rgba(96, 165, 250, 0.25));
  opacity: 0.20;
  pointer-events: none;
  filter: blur(14px);
  z-index: -1;
  animation: glowPulse 8s ease-in-out infinite;
}

body.light .site-header::before {
  background: linear-gradient(120deg, rgba(236, 72, 153, 0.15), rgba(139, 92, 246, 0.12), rgba(59, 130, 246, 0.10));
  opacity: 0.15;
}

.brand { display: flex; align-items: center; gap: 14px }
.brand h1 { font-size: 20px; margin: 0; font-weight: 600; }
.brand-snap {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}
.brand-tune { color: var(--text-primary) }
.logo { width: 48px; height: 48px; letter-spacing: -0.02em; filter: drop-shadow(0 2px 8px rgba(244, 114, 182, 0.3)) }

body.light .logo { filter: drop-shadow(0 2px 8px rgba(236, 72, 153, 0.2)) }

.theme-toggle {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.3s var(--transition-smooth);
  padding: 0;
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: var(--glass-hover);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: rotate(15deg);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  transition: transform 0.4s var(--transition-spring), opacity 0.3s ease;
}

.theme-toggle .icon-sun { display: none }
.theme-toggle .icon-moon { display: block }
body.light .theme-toggle .icon-sun { display: block }
body.light .theme-toggle .icon-moon { display: none }

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  background-image: var(--noise-texture);
  background-repeat: repeat;
  background-size: 256px 256px;
  transition: background 0.4s ease, border-color 0.4s ease;
}

body.light .nav {
  background: rgba(255, 255, 255, 0.50);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.nav a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s ease;
  position: relative;
}

.nav a:hover {
  color: var(--text-primary);
  background: var(--glass-hover);
  transform: translateY(-1px);
}

.nav a.cta {
  background: var(--gradient-accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(244, 114, 182, 0.22);
  margin-left: 6px;
}

.nav a.cta:hover {
  box-shadow: 0 6px 24px rgba(244, 114, 182, 0.40);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 10px 12px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--text-secondary);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.nav-icon { display: grid; gap: 5px }
.nav-icon span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-primary);
  transform-origin: center;
  transition: transform 0.22s ease, opacity 0.18s ease, width 0.22s ease;
}

body.nav-open .nav-icon span:nth-child(1) { transform: translateY(7px) rotate(45deg) }
body.nav-open .nav-icon span:nth-child(2) { opacity: 0 }
body.nav-open .nav-icon span:nth-child(3) { transform: translateY(-7px) rotate(-45deg) }

.nav-backdrop {
  position: fixed;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 15%, rgba(244, 114, 182, 0.06), transparent 55%),
    radial-gradient(circle at 75% 75%, rgba(167, 139, 250, 0.04), transparent 52%),
    rgba(0, 0, 0, 0.62);
  transition: opacity 0.25s ease;
  z-index: 80;
  display: none;
}

body.light .nav-backdrop {
  background:
    radial-gradient(circle at 50% 15%, rgba(236, 72, 153, 0.04), transparent 55%),
    radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.03), transparent 52%),
    rgba(0, 0, 0, 0.25);
}

body.nav-open .nav-backdrop { opacity: 1; pointer-events: auto }
.nav.mobile-hidden { display: none }

.hero {
  min-height: 100vh;
  padding: 80px 32px 100px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  gap: 48px;
  align-items: center;
  max-width: 1200px;
  margin: 60px auto;
  padding: 48px;
  border-radius: 24px;
  position: relative;
}

.hero-left { flex: 1; z-index: 2 }
.hero-right { flex: 0 0 380px; display: flex; justify-content: center; z-index: 2 }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.12), rgba(167, 139, 250, 0.12));
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.badge svg {
  width: 16px;
  height: 16px;
  fill: var(--accent-warm);
}

.hero h2 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin: 0 0 16px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead {
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 560px;
}

.stats {
  display: flex;
  gap: 32px;
  margin: 28px 0;
  padding: 24px 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.stat-value {
  font-size: 26px;
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.download-badges {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.download-badges img {
  height: 50px;
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.download-badges img:hover { transform: translateY(-2px) }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-primary);
  margin-bottom: 20px;
}

.hero-badge svg { width: 16px; height: 16px }

.actions { display: flex; gap: 16px; margin-bottom: 24px; flex-wrap: wrap }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.25s var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.button svg { width: 20px; height: 20px }

.button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.button:hover::before { opacity: 1 }

.button.primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(244, 114, 182, 0.25), 0 8px 40px rgba(167, 139, 250, 0.15);
}

.button.primary:hover {
  box-shadow: 0 8px 32px rgba(244, 114, 182, 0.4), 0 12px 48px rgba(167, 139, 250, 0.25);
  transform: translateY(-2px);
}

.button.ghost {
  border: 1.5px solid var(--glass-border);
  color: var(--text-primary);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.button.ghost:hover {
  border-color: var(--accent-primary);
  background: var(--glass-hover);
  transform: translateY(-1px);
}

.highlights { display: flex; gap: 14px; list-style: none; padding: 0; margin: 0; color: var(--text-secondary) }
.highlights li { background: rgba(255, 255, 255, 0.02); padding: 8px 12px; border-radius: 999px; font-size: 13px }

.phone-mockup {
  width: 280px;
  height: 560px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow:
    var(--shadow-strong),
    0 0 80px rgba(244, 114, 182, 0.10),
    0 0 120px rgba(167, 139, 250, 0.08);
  background: rgba(0, 0, 0, 0.4);
  position: relative;
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.phone-mockup:hover {
  transform: perspective(1000px) rotateY(0deg);
  box-shadow:
    var(--shadow-strong),
    0 0 100px rgba(244, 114, 182, 0.14),
    0 0 160px rgba(167, 139, 250, 0.10);
}

body.light .phone-mockup {
  box-shadow: var(--shadow-strong), 0 0 40px rgba(0, 0, 0, 0.08);
}

.phone-mockup img { width: 100%; height: 100%; object-fit: cover; display: block }

.carousel { width: 100%; height: 100%; position: relative; overflow: visible; perspective: 1200px; transform-style: preserve-3d }

.slide {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transition: transform .6s var(--transition-spring), opacity .45s ease, box-shadow .45s ease;
  display: flex;
  align-items: stretch;
  contain: paint;
  backface-visibility: hidden;
}

.slide img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit }

.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(0, 0, 0, var(--slide-dim, 0));
  pointer-events: none;
  transition: opacity .45s ease;
}

.slide--center { --slide-dim: 0; transform: translate3d(0, 0, 0) scale(1) rotateY(0); z-index: 3; box-shadow: 0 20px 50px rgba(2, 6, 23, 0.6); will-change: transform }
.slide--right { --slide-dim: .14; transform: translate3d(12%, 0, -72px) scale(.92) rotateY(-10deg); z-index: 2; will-change: transform }
.slide--left { --slide-dim: .14; transform: translate3d(-12%, 0, -72px) scale(.92) rotateY(10deg); z-index: 2; will-change: transform }
.slide--behind { --slide-dim: .28; transform: translate3d(0, 6%, -140px) scale(.86) rotateY(0); z-index: 1; opacity: 0.95 }

body.carousel-lite .carousel { perspective: none; transform-style: flat }
body.carousel-lite .slide { transition: transform .42s var(--transition-spring), opacity .35s ease, box-shadow .35s ease }
body.carousel-lite .slide--center { transform: translate3d(0, 0, 0) scale(1) }
body.carousel-lite .slide--right { transform: translate3d(10%, 0, 0) scale(.95) }
body.carousel-lite .slide--left { transform: translate3d(-10%, 0, 0) scale(.95) }
body.carousel-lite .slide--behind { transform: translate3d(0, 0, 0) scale(.92); opacity: 0 }

@media (prefers-reduced-motion: reduce) {
  .phone-mockup { transition: none; transform: none }
  .slide { transition: none }
  .slide--right, .slide--left, .slide--behind { opacity: 0 }
  .slide--center { box-shadow: 0 14px 34px rgba(2, 6, 23, 0.55) }
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(244, 114, 182, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.25s ease;
  z-index: 10;
}

.carousel-control:hover {
  background: rgba(244, 114, 182, 0.35);
  border-color: var(--accent-primary);
  transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev { left: 12px }
.carousel-control.next { right: 12px }

.carousel-indicators { position: absolute; left: 50%; transform: translateX(-50%); bottom: 12px; display: flex; gap: 8px }
.carousel-indicators .indicator { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); border: 0; cursor: pointer }
.carousel-indicators .indicator.active { background: var(--gradient-accent) }

.section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 32px;
  position: relative;
  z-index: 2;
}

.section h3 {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 40px;
  text-align: center;
  letter-spacing: -0.02em;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.section-subtitle {
  color: var(--text-secondary);
  font-size: 18px;
  margin-top: 12px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.features .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.card {
  flex: 1;
  padding: 28px;
  border-radius: 20px;
  transition: all 0.35s var(--transition-smooth);
  border: 1px solid var(--glass-border);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--shadow-elevated), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  background-image: var(--noise-texture);
  background-repeat: repeat;
  background-size: 256px 256px;
  position: relative;
  overflow: hidden;
}

body.light .card {
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: var(--shadow-elevated), inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong), 0 0 40px rgba(244, 114, 182, 0.06);
  border-color: var(--accent-primary);
  background: var(--glass-hover);
}

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

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.12), rgba(167, 139, 250, 0.08));
  margin-bottom: 16px;
}

.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-primary);
}

.card h4 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.card p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

.card svg {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 12px;
  padding: 8px;
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.12), rgba(167, 139, 250, 0.08));
  box-shadow: 0 2px 8px rgba(244, 114, 182, 0.15);
}

.feature-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 12px;
  padding: 8px;
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.12), rgba(167, 139, 250, 0.08));
  box-shadow: 0 2px 8px rgba(244, 114, 182, 0.15);
}

.screenshots .gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-elevated);
  transition: all 0.35s var(--transition-smooth);
}

.gallery-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-strong), 0 0 40px rgba(244, 114, 182, 0.06);
  border-color: var(--accent-primary);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(5, 5, 8, 0.85), transparent);
  color: #fff;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay { opacity: 1 }

.feature-banner {
  margin-top: 24px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-elevated);
}

.feature-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.site-footer {
  max-width: 1200px;
  margin: 80px auto 40px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  border-radius: 20px;
  gap: 20px;
  flex-wrap: wrap;
}

.site-footer div { font-size: 15px }
.site-footer strong { color: var(--text-primary); font-weight: 600 }

.site-footer a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover { color: var(--accent-secondary) }

.site-footer small {
  display: block;
  color: var(--text-secondary);
  font-size: 14px;
}

.footer-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 32px;
}

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

.footer-logo {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 2px 8px rgba(244, 114, 182, 0.2));
}

body.light .footer-logo {
  filter: drop-shadow(0 2px 8px rgba(236, 72, 153, 0.15));
}

.footer-brand strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.footer-brand p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
}

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

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column h5 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-column a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-column a:hover { color: var(--accent-primary) }

.footer-bottom {
  width: 100%;
  padding-top: 32px;
  border-top: 1px solid var(--glass-border);
  text-align: center;
  margin-top: auto;
}

.footer-bottom small {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
}

.footer-bottom a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom a:hover { color: var(--accent-secondary) }

.testimonials-section { margin-bottom: 36px }
.testimonials-section + .site-footer { margin-top: 24px }

.footer-testimonials {
  width: 100%;
  margin-bottom: 0;
  padding: 28px;
  border: 1px solid var(--glass-border);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--shadow-elevated), var(--shadow-glow), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  background-image: var(--noise-texture);
  background-repeat: repeat;
  background-size: 256px 256px;
}

body.light .footer-testimonials {
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: var(--shadow-elevated), inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.footer-testimonials-head { margin-bottom: 20px }

.footer-testimonials-head h4 {
  margin: 0 0 8px;
  font-size: 30px;
  letter-spacing: -0.02em;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-testimonials-head p {
  margin: 0;
  font-size: 15px;
  color: var(--text-secondary);
}

.footer-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.footer-testimonial-card {
  border: 1px solid var(--glass-border);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  min-height: 180px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  background-image: var(--noise-texture);
  background-repeat: repeat;
  background-size: 256px 256px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--transition-smooth);
}

.footer-testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 3px 0 0 3px;
}

.footer-testimonial-card:hover {
  border-color: rgba(244, 114, 182, 0.18);
  background: var(--glass-hover);
  transform: translateY(-2px);
}

.footer-testimonial-card:hover::before { opacity: 1 }

body.light .footer-testimonial-card {
  border-top: 1px solid rgba(255, 255, 255, 0.40);
  box-shadow: var(--shadow-elevated), inset 0 0 0 1px rgba(255, 255, 255, 0.20);
}

.footer-testimonial-message {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.65;
}

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

.footer-testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  object-fit: cover;
  background: var(--bg-dark);
}

.footer-testimonial-username {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
}

.footer-testimonials-empty {
  margin: 0;
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 14px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
}

.repo-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 8px;
}

.topic-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.topic-pill:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.repo-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
  margin-bottom: 18px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--glass-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.repo-meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.repo-meta-label {
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.repo-meta-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.updates .section-header { margin-bottom: 36px }

.updates-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.update-card {
  border-radius: 22px;
  padding: 26px;
  border: 1px solid var(--glass-border);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--shadow-elevated), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  background-image: var(--noise-texture);
  background-repeat: repeat;
  background-size: 256px 256px;
  transition: transform 0.28s var(--transition-smooth), border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
  position: relative;
  overflow: hidden;
}

body.light .update-card {
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: var(--shadow-elevated), inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.update-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(120deg, rgba(244, 114, 182, 0.25), rgba(167, 139, 250, 0.20), rgba(96, 165, 250, 0.20));
  opacity: 0;
  filter: blur(14px);
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.update-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.14);
  background: var(--glass-hover);
  box-shadow: var(--shadow-strong), 0 0 40px rgba(244, 114, 182, 0.06);
}

.update-card:hover::before { opacity: 0.9 }

.update-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.update-title h4 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.update-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 13px;
}

.update-link {
  color: var(--text-primary);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  font-weight: 600;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
}

.update-link:hover {
  transform: translateY(-1px);
  border-color: var(--accent-primary);
  background: rgba(244, 114, 182, 0.08);
}

.update-body {
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 14px;
  white-space: normal;
  position: relative;
  z-index: 1;
}

.update-body.md {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 14;
  overflow: hidden;
  white-space: normal;
}

.update-body.md .md-h {
  margin: 14px 0 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.update-body.md h3.md-h { font-size: 18px; font-weight: 800 }
.update-body.md h4.md-h { font-size: 16px; font-weight: 780 }
.update-body.md h5.md-h, .update-body.md h6.md-h { font-size: 15px; font-weight: 760 }

.update-body.md .md-p {
  margin: 10px 0;
  color: var(--text-secondary);
}

.update-body.md .md-ul {
  margin: 10px 0 14px 18px;
  padding: 0;
}

.update-body.md .md-ul li {
  margin: 8px 0;
  padding-left: 2px;
  color: var(--text-secondary);
}

.update-body.md a {
  color: var(--accent-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 114, 182, 0.30);
}

.update-body.md a:hover {
  color: var(--accent-secondary);
  border-bottom-color: var(--accent-secondary);
}

.update-body.md .md-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12.5px;
  padding: 3px 7px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
}

.update-body.md .md-pre {
  margin: 12px 0;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.35);
  overflow-x: auto;
}

body.light .update-body.md .md-pre {
  background: rgba(0, 0, 0, 0.04);
}

.update-body.md .md-pre code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12.5px;
  color: var(--text-primary);
  white-space: pre;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 11px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
}

.pill--success {
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.10);
  color: rgba(187, 247, 208, 0.95);
}

.pill--warning {
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.10);
  color: rgba(254, 243, 199, 0.95);
}

.pill--neutral {
  border-color: rgba(167, 139, 250, 0.22);
  background: rgba(167, 139, 250, 0.08);
  color: rgba(221, 214, 254, 0.95);
}

body.light .pill--success { color: rgba(22, 101, 52, 0.95) }
body.light .pill--warning { color: rgba(146, 64, 14, 0.95) }
body.light .pill--neutral { color: rgba(88, 28, 135, 0.95) }

.build-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--glass-border);
}

.build-row:first-child { border-top: 0; padding-top: 4px }

.build-label {
  color: var(--text-secondary);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex: 0 0 auto;
}

.build-value {
  color: var(--text-primary);
  font-weight: 600;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.download .section-header { margin-bottom: 40px }
.download-container { padding: 48px; border-radius: 24px }

.download-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 40px 0;
  width: 100%;
  max-width: 100%;
}

.download-option {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 20px;
  padding: 32px;
  text-align: left;
  transition: all 0.35s var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  background-image: var(--noise-texture);
  background-repeat: repeat;
  background-size: 256px 256px;
}

body.light .download-option {
  border-top: 1px solid rgba(255, 255, 255, 0.40);
  box-shadow: var(--shadow-elevated), inset 0 0 0 1px rgba(255, 255, 255, 0.20);
}

.download-option::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.download-option:hover {
  transform: translateY(-4px);
  border-color: var(--accent-primary);
  background: var(--glass-hover);
  box-shadow: var(--shadow-strong), 0 0 40px rgba(244, 114, 182, 0.06);
}

.download-option:hover::before { opacity: 1 }

.download-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.download-badge.stable {
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.15), rgba(167, 139, 250, 0.15));
  color: var(--accent-primary);
  border: 1px solid var(--accent-primary);
}

.download-badge.nightly {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.15), rgba(96, 165, 250, 0.15));
  color: var(--accent-secondary);
  border: 1px solid var(--accent-secondary);
}

.download-option h4 {
  font-size: 24px;
  margin: 0 0 12px;
  color: var(--text-primary);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.download-option p {
  color: var(--text-secondary);
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.7;
  word-wrap: break-word;
  overflow-wrap: break-word;
  flex: 1;
}

.download-option .button {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.download-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--text-secondary);
}

.download-meta .separator { opacity: 0.4 }

.download-alternatives {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--glass-border);
  text-align: center;
}

.download-alternatives h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.alt-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.alt-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.alt-link:hover {
  border-color: var(--accent-primary);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.alt-link svg { width: 20px; height: 20px }

.feature-graphic {
  margin-top: 32px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.feature-graphic img { width: 100%; display: block }

@media (max-width: 1100px) {
  .features .cards { grid-template-columns: repeat(2, 1fr); gap: 20px }
  .section { margin: 60px auto; padding: 24px }
  .hero-content { gap: 36px; padding: 36px }
}

@media (max-width: 768px) {
  .hero-content { flex-direction: column-reverse; padding: 24px; gap: 32px }
  .hero-right { flex: 0 0 auto }
  .hero h2 { font-size: 36px; text-align: center }
  .lead { text-align: center; margin: 0 auto 24px }
  .actions { justify-content: center; width: 100%; flex-direction: column }
  .actions .button { width: 100%; justify-content: center }
  .stats { justify-content: center }
  .screenshots .gallery { flex-direction: column; gap: 16px }
  .screenshots img { width: 100% }
  .features .cards { grid-template-columns: 1fr; gap: 16px }
  .section { margin: 48px auto; padding: 20px }
  .section h3 { font-size: 28px; margin-bottom: 32px }
  .section-subtitle { font-size: 16px }
  .download-options { grid-template-columns: 1fr; gap: 20px }
  .download-container { padding: 32px 24px }
  .download-option { padding: 24px }
  .download-option h4 { font-size: 20px }
  .footer-testimonials { padding: 22px; text-align: center }
  .footer-testimonials-head h4 { font-size: 25px }
  .footer-testimonial-author { justify-content: center }
  .footer-content { flex-direction: column; align-items: center; text-align: center }
  .footer-brand { flex-direction: column; text-align: center; align-items: center }
  .footer-links { flex-direction: column; gap: 24px; align-items: center; width: 100%; justify-content: center; text-align: center }
  .footer-column { align-items: center; text-align: center }
  .site-footer { flex-direction: column; text-align: center; gap: 16px }
}

@media (max-width: 900px) {
  .site-header {
    padding: 12px 14px;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin: 14px 14px 0;
    top: 10px;
  }
  .brand { flex: 1 }
  .nav-backdrop { display: block }
  .nav {
    display: flex;
    position: fixed;
    top: 84px;
    left: 14px;
    right: 14px;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
    border-radius: 22px;
    border: 1px solid var(--glass-border);
    background: rgba(14, 14, 20, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.70), var(--shadow-glow);
    opacity: 0;
    transform: translateY(-10px) scale(0.985);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    z-index: 120;
  }
  body.light .nav {
    background: rgba(255, 255, 255, 0.80);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.10);
  }
  .nav.mobile-panel {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
  .nav a {
    width: 100%;
    justify-content: flex-start;
    padding: 14px 14px;
    border-radius: 16px;
    font-size: 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
  }
  .nav a:hover {
    transform: none;
    background: var(--glass-hover);
    border-color: rgba(244, 114, 182, 0.22);
  }
  .nav a.cta {
    margin-left: 0;
    text-align: center;
    justify-content: center;
    border: 0;
    background: var(--gradient-accent);
    box-shadow: 0 16px 40px rgba(244, 114, 182, 0.22);
  }
  .nav-toggle { display: inline-flex; margin-left: auto }
  .hero { padding: 40px 24px 60px }
  .hero-content { gap: 24px; margin: 40px auto; padding: 28px; border-radius: 18px }
  .hero h2 { font-size: 32px }
  .lead { font-size: 16px }
  .phone-mockup { width: 240px; height: 480px }
  .stats { gap: 24px }
  .download-options { grid-template-columns: 1fr; gap: 20px }
  .footer-links { gap: 32px; width: 100%; justify-content: center; align-items: center; text-align: center }
  .repo-meta { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .updates-grid { grid-template-columns: 1fr }
}

@media (max-width: 480px) {
  .site-header { padding: 16px }
  .brand h1 { font-size: 18px }
  .logo { width: 40px; height: 40px }
  .theme-toggle { width: 38px; height: 38px }
  .hero { padding: 32px 16px 48px }
  .hero-content { padding: 20px; border-radius: 16px }
  .hero h2 { font-size: 28px; line-height: 1.2 }
  .lead { font-size: 15px }
  .actions { gap: 12px }
  .actions .button { width: 100%; text-align: center; padding: 12px 20px; font-size: 14px }
  .phone-mockup { width: 260px; height: 520px; transform: none }
  .card h4 { font-size: 16px }
  .card p { font-size: 14px }
  .section { padding: 20px 16px }
  .section h3 { font-size: 24px }
  .section-subtitle { font-size: 15px }
  .stats { gap: 16px; flex-direction: column; align-items: flex-start }
  .stat-value { font-size: 20px }
  .download-options { gap: 16px }
  .download-container { padding: 24px 16px }
  .download-option { padding: 16px; min-height: auto }
  .download-option h4 { font-size: 17px; margin-bottom: 8px }
  .download-option p { font-size: 13px; margin-bottom: 16px; line-height: 1.5 }
  .download-option .button { font-size: 13px; padding: 10px 16px; white-space: normal; height: auto; min-height: 40px }
  .download-meta { flex-wrap: wrap; font-size: 12px; margin-bottom: 16px }
  .download-badge { font-size: 11px; padding: 4px 10px }
  .download-alternatives { margin-top: 32px; padding-top: 24px }
  .alt-links { flex-direction: column }
  .alt-link { width: 100%; justify-content: center }
  .footer-testimonials { padding: 18px }
  .footer-testimonials-head h4 { font-size: 22px }
  .footer-testimonials-grid { grid-template-columns: 1fr; gap: 12px }
  .footer-testimonial-card { min-height: auto }
  .footer-links { gap: 20px }
  .footer-bottom small { font-size: 12px }
}

[data-aos] {
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
  .bg::before, .bg::after {
    animation: none;
  }
  .site-header::before {
    animation: none;
  }
  [data-aos] {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}