/* Base */
:root {
  --bg: #0f0f23;
  --surface: #1a1a2e;
  --surface-elevated: #16213e;
  --text: #e8e8f0;
  --text-secondary: #b8b8d1;
  --muted: #8b8ba7;
  --accent: #64d2ff;
  --accent-2: #4fc3f7;
  --accent-soft: rgba(100, 210, 255, 0.1);
  --success: #4caf50;
  --success-soft: rgba(76, 175, 80, 0.1);
  --premium: #ff6b9d;
  --premium-soft: rgba(255, 107, 157, 0.1);
  --shadow-dark: #0a0a1a;
  --shadow-light: #2a2a3e;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --gradient-primary: linear-gradient(135deg, #64d2ff, #4fc3f7);
  --gradient-surface: linear-gradient(145deg, #1a1a2e, #16213e);
  --gradient-hero: linear-gradient(135deg, #0f0f23, #1a1a2e, #16213e);
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
    "Oxygen", "Ubuntu", "Cantarell", sans-serif;
  color: var(--text);
  background: var(--gradient-hero);
  line-height: 1.7;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.link {
  color: var(--accent);
}

/* Layout */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(15, 15, 35, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(100, 210, 255, 0.1);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.1);
}
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.menu-toggle .bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-icon {
  filter: drop-shadow(0 4px 12px rgba(100, 210, 255, 0.3));
  transition: transform 0.2s ease;
}
.brand:hover .brand-icon {
  transform: scale(1.05);
}
.brand-name {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.site-nav {
  display: flex;
  gap: 8px;
}
.site-nav a {
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
  position: relative;
}
.site-nav a:hover {
  color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  max-width: 1200px;
  margin: 100px auto 60px; /* add top offset for fixed header */
  padding: 0 24px;
  align-items: center;
  min-height: 80vh;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 100%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(100, 210, 255, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}

/* Sleep Stats */
.sleep-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}
.stat-card {
  flex: 1;
  text-align: center;
}
.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.stat-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.highlight {
  color: var(--premium);
  font-weight: 700;
}
.highlight.success {
  color: var(--success);
}
.arrow {
  font-size: 24px;
  color: var(--accent);
  font-weight: bold;
}
.hero-stats {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.stat-badge {
  padding: 8px 16px;
  background: rgba(100, 210, 255, 0.1);
  border: 1px solid rgba(100, 210, 255, 0.2);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
}

/* Sound Mixer */
.sound-mixer {
  background: var(--gradient-surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid rgba(100, 210, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 8px 16px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.mixer-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--accent);
  text-align: center;
  margin-bottom: 8px;
}
.mixer-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 24px;
}
.sound-icons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.sound-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}
.sound-icon:hover {
  transform: scale(1.1);
  background: rgba(100, 210, 255, 0.1);
  border-color: rgba(100, 210, 255, 0.3);
}
.sound-icon.active {
  background: rgba(100, 210, 255, 0.2);
  border-color: rgba(100, 210, 255, 0.5);
  box-shadow: 0 0 20px rgba(100, 210, 255, 0.3);
  animation: pulse 2s ease-in-out infinite;
}
.mixer-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.volume-slider {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}
.volume-slider span {
  font-size: 14px;
  color: var(--text-secondary);
  min-width: 50px;
}
.slider {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  -webkit-appearance: none;
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(100, 210, 255, 0.3);
}
.play-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  border: none;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(100, 210, 255, 0.3);
}
.play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(100, 210, 255, 0.4);
}
.bg-orb {
  position: absolute;
  filter: blur(40px);
  pointer-events: none;
  opacity: 0.6;
  mix-blend-mode: screen;
  animation: float 14s ease-in-out infinite;
}
.orb-1 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle at 30% 30%, #2ce0c2, transparent 60%);
  top: -60px;
  left: -60px;
}
.orb-2 {
  width: 340px;
  height: 340px;
  background: radial-gradient(circle at 60% 40%, #5be6d2, transparent 60%);
  bottom: -80px;
  right: 10%;
  animation-delay: -7s;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

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

@keyframes pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 8px 32px rgba(100, 210, 255, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.02);
    box-shadow: 0 12px 40px rgba(100, 210, 255, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
.hero-content h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.1;
  margin: 0 0 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--text), var(--accent), #4fc3f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out;
}
.rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 8px;
}
.rating-stars {
  letter-spacing: 2px;
  background: linear-gradient(90deg, #ffd166, #ffe9a3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.rating-note {
  color: var(--text-secondary);
  font-size: 14px;
}
.mini-features {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
  padding: 0;
  list-style: none;
}
.mini-features li {
  color: var(--text-secondary);
  font-size: 14px;
  padding: 6px 10px;
  border: 1px solid rgba(100, 210, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
}
.tagline {
  color: var(--text-secondary);
  margin-top: 0;
  font-size: 18px;
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-art {
  justify-self: center;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1/1;
  background: var(--gradient-surface);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 8px 16px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(100, 210, 255, 0.1);
  animation: fadeInUp 0.8s ease-out 0.4s both;
  transform-style: preserve-3d;
}

.app-icon-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 160px;
  height: 160px;
  background: rgba(100, 210, 255, 0.05);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(100, 210, 255, 0.2);
  box-shadow: 0 8px 32px rgba(100, 210, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: pulse 4s ease-in-out infinite;
}
.app-icon {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}
.app-icon-container:hover .app-icon {
  transform: scale(1.05) rotate(5deg);
}
.hero-art svg {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  display: block;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
  align-items: center;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(100, 210, 255, 0.2);
  background: rgba(100, 210, 255, 0.05);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  min-width: 140px;
}
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}
.btn:hover::before {
  left: 100%;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(100, 210, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: rgba(100, 210, 255, 0.4);
}
.btn.primary {
  background: var(--gradient-primary);
  color: #0a0a1a;
  font-weight: 600;
  border: none;
  box-shadow: 0 4px 16px rgba(100, 210, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn.primary:hover {
  box-shadow: 0 8px 24px rgba(100, 210, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn.ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.1);
}
.play-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  text-decoration: none;
}
.play-badge:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(100, 210, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}
.play-badge em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.5px;
  opacity: 0.8;
  display: block;
  text-transform: uppercase;
}
.play-badge strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.gp-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #34a853, #64d2ff);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(52, 168, 83, 0.3);
}

.section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 24px;
}
.section h2 {
  margin: 0 0 20px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}
.section-description {
  color: var(--text-secondary);
  font-size: 18px;
  margin-bottom: 48px;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.bullets {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.bullets li + li {
  margin-top: 6px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.card {
  background: var(--gradient-surface);
  border-radius: var(--radius);
  padding: 32px;
  color: var(--text);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 4px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(100, 210, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(100, 210, 255, 0.3),
    transparent
  );
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(100, 210, 255, 0.2);
}
.glass {
  background: rgba(100, 210, 255, 0.03);
  border: 1px solid rgba(100, 210, 255, 0.1);
  backdrop-filter: blur(20px) saturate(180%);
}
.list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.list li + li {
  margin-top: 6px;
}

/* Sounds Section */
.sound-categories {
  margin-top: 32px;
}
.category-section {
  margin-bottom: 60px;
}
.category-section h3 {
  font-size: 28px;
  margin-bottom: 24px;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.category-section h3::before {
  content: "";
  width: 4px;
  height: 24px;
  background: var(--gradient-primary);
  border-radius: 2px;
}
.sound-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.sound-card {
  background: var(--gradient-surface);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(100, 210, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.sound-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(100, 210, 255, 0.3),
    transparent
  );
}
.sound-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(100, 210, 255, 0.2);
}
.sound-card.premium {
  border: 1px solid rgba(255, 107, 157, 0.3);
  background: linear-gradient(145deg, #2a1a2e, #1a0f1a);
}
.sound-card.premium::before {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 107, 157, 0.3),
    transparent
  );
}
.sound-icon {
  font-size: 36px;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}
.sound-card h4 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--text);
  font-weight: 600;
}
.sound-card p {
  margin: 0 0 16px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}
.sound-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
}
.sound-badge.free {
  background: var(--success-soft);
  color: var(--success);
  border: 1px solid rgba(76, 175, 80, 0.3);
}
.sound-badge.premium {
  background: var(--premium-soft);
  color: var(--premium);
  border: 1px solid rgba(255, 107, 157, 0.3);
}

/* Stories Section */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.story-card {
  background: var(--gradient-surface);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(100, 210, 255, 0.1);
  position: relative;
}
.story-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(100, 210, 255, 0.3),
    transparent
  );
  z-index: 1;
}
.story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(100, 210, 255, 0.2);
}
.story-card.featured {
  border: 1px solid rgba(255, 107, 157, 0.3);
  background: linear-gradient(145deg, #2a1a2e, #1a0f1a);
}
.story-card.featured::before {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 107, 157, 0.3),
    transparent
  );
}
.story-thumbnail {
  height: 140px;
  background: linear-gradient(135deg, #2a2a3e, #3a3a4e);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.story-card.featured .story-thumbnail {
  background: linear-gradient(135deg, #2a1a2e, #3a1a3e);
}
.play-button {
  font-size: 28px;
  opacity: 0.8;
  transition: all 0.3s ease;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}
.story-card:hover .play-button {
  opacity: 1;
  transform: scale(1.1);
}
.story-content {
  padding: 24px;
}
.story-content h3 {
  margin: 0 0 12px;
  font-size: 18px;
  color: var(--text);
  line-height: 1.3;
  font-weight: 600;
}
.story-content p {
  margin: 0 0 16px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}
.story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.story-meta span {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 500;
  backdrop-filter: blur(10px);
}
.duration {
  background: rgba(100, 210, 255, 0.1);
  color: var(--accent);
  border: 1px solid rgba(100, 210, 255, 0.2);
}
.category {
  background: rgba(156, 39, 176, 0.1);
  color: #9c27b0;
  border: 1px solid rgba(156, 39, 176, 0.2);
}
/* Statistics Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.stat-item {
  text-align: center;
  padding: 32px 24px;
  background: var(--gradient-surface);
  border-radius: var(--radius);
  border: 1px solid rgba(100, 210, 255, 0.1);
  transition: all 0.3s ease;
}
.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(100, 210, 255, 0.2);
}
.stat-number {
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  line-height: 1;
}
.stat-label {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.testimonial-card {
  background: var(--gradient-surface);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid rgba(100, 210, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(100, 210, 255, 0.3),
    transparent
  );
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(100, 210, 255, 0.2);
}
.testimonial-content {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.testimonial-author strong {
  color: var(--accent);
  font-weight: 600;
}

/* Highlights Section */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.highlight-card {
  background: var(--gradient-surface);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  border: 1px solid rgba(100, 210, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.highlight-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(100, 210, 255, 0.3),
    transparent
  );
}
.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(100, 210, 255, 0.2);
}
.highlight-icon {
  font-size: 40px;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}
.highlight-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
  line-height: 1.3;
}
.highlight-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 15px;
}
.highlight-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(100, 210, 255, 0.1);
  border: 1px solid rgba(100, 210, 255, 0.2);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Features Summary */
.features-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
  margin-top: 64px;
}
.summary-card {
  background: var(--gradient-surface);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid rgba(100, 210, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.summary-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
}
.summary-card h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
}
.summary-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  font-size: 16px;
}
.summary-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.summary-stats span {
  font-size: 14px;
  color: var(--text-secondary);
}
.summary-stats span:not(:last-child):not(:nth-child(2n)) {
  padding: 4px 12px;
  background: rgba(100, 210, 255, 0.1);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(100, 210, 255, 0.2);
  color: var(--accent);
  font-weight: 500;
}

/* Privacy Section */
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.privacy-card {
  background: var(--gradient-surface);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid rgba(100, 210, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.privacy-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(100, 210, 255, 0.3),
    transparent
  );
}
.privacy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(100, 210, 255, 0.2);
}
.privacy-icon {
  font-size: 32px;
  margin-bottom: 16px;
}
.privacy-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
}
.privacy-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.privacy-card li {
  padding: 8px 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 20px;
}
.privacy-card li::before {
  content: "•";
  color: var(--accent);
  position: absolute;
  left: 0;
  font-weight: bold;
}
.privacy-footer {
  text-align: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(100, 210, 255, 0.1);
}
.privacy-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-secondary);
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.contact-card {
  background: var(--gradient-surface);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  border: 1px solid rgba(100, 210, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(100, 210, 255, 0.3),
    transparent
  );
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(100, 210, 255, 0.2);
}
.contact-icon {
  font-size: 32px;
  margin-bottom: 16px;
}
.contact-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
}
.contact-card p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.5;
}
.contact-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
.contact-link:hover {
  color: var(--accent-2);
}
.contact-info {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(100, 210, 255, 0.1);
  flex-wrap: wrap;
}
.info-item {
  font-size: 14px;
  color: var(--text-secondary);
}
.info-item strong {
  color: var(--accent);
}

/* Screenshots Section */
.screenshots-container {
  margin-top: 48px;
}
.screenshot-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}
.phone-frame {
  position: relative;
  max-width: 300px;
  margin: 0 auto;
}
.phone-frame::before {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  background: linear-gradient(
    135deg,
    rgba(100, 210, 255, 0.3),
    rgba(79, 195, 247, 0.1)
  );
  border-radius: 32px;
  z-index: -1;
  animation: pulse 3s ease-in-out infinite;
}
.main-screenshot {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 8px 16px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(100, 210, 255, 0.2);
}
.screenshot-info h3 {
  font-size: 28px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
}
.screenshot-info p {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.screenshot-item {
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.screenshot-item:hover {
  transform: translateY(-4px);
}
.screenshot-item.active {
  transform: translateY(-4px);
}
.phone-frame-small {
  position: relative;
  margin-bottom: 12px;
}
.phone-frame-small::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background: rgba(100, 210, 255, 0.1);
  border-radius: 20px;
  z-index: -1;
  transition: all 0.3s ease;
}
.screenshot-item:hover .phone-frame-small::before,
.screenshot-item.active .phone-frame-small::before {
  background: rgba(100, 210, 255, 0.2);
  box-shadow: 0 0 20px rgba(100, 210, 255, 0.3);
}
.phone-frame-small img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(100, 210, 255, 0.1);
  transition: all 0.3s ease;
}
.screenshot-item:hover .phone-frame-small img,
.screenshot-item.active .phone-frame-small img {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  border-color: rgba(100, 210, 255, 0.3);
}
.screenshot-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 8px;
}
.screenshot-item.active .screenshot-label {
  color: var(--accent);
  font-weight: 600;
}

.site-footer {
  background: rgba(15, 15, 35, 0.8);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(100, 210, 255, 0.1);
  margin-top: 100px;
  padding: 60px 24px 0;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  padding-bottom: 40px;
}
.footer-brand {
  max-width: 400px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-logo img {
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(100, 210, 255, 0.2);
}
.footer-logo span {
  font-size: 24px;
  font-weight: 600;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-tagline {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}
.footer-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-secondary);
}
.footer-stats span {
  padding: 4px 8px;
  background: rgba(100, 210, 255, 0.1);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(100, 210, 255, 0.2);
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-column h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
}
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-column li {
  margin-bottom: 8px;
}
.footer-column a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 14px;
}
.footer-column a:hover {
  color: var(--accent);
}
.coming-soon {
  opacity: 0.6;
  cursor: not-allowed;
}
.coming-soon span {
  font-size: 12px;
  font-style: italic;
}
.footer-bottom {
  border-top: 1px solid rgba(100, 210, 255, 0.1);
  padding: 24px 0;
}
.footer-bottom-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
}
.footer-meta {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1000px) {
  .feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .sound-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  .stories-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  .testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .sound-icons-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .screenshot-main {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .screenshots-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .highlights-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .features-summary {
    grid-template-columns: 1fr;
  }
  .privacy-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .contact-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 720px) {
  .hero {
    grid-template-columns: 1fr;
    margin: 0 0 40px; /* avoid margin-collapse on mobile */
    padding: 96px 0 0; /* explicit spacing below fixed header */
    gap: 28px;
    min-height: auto;
  }
  .bg-orb {
    opacity: 0.25;
    filter: blur(8px);
  }
  .hero-content h1 {
    font-size: clamp(26px, 7vw, 40px);
    line-height: 1.15;
  }
  .hero-content p {
    font-size: 16px;
  }
  .tagline {
    font-size: 18px;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-art {
    order: -1;
    max-width: 320px;
  }
  .app-icon-container {
    width: 120px;
    height: 120px;
  }
  .app-icon {
    width: 80px;
    height: 80px;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .site-nav {
    position: absolute;
    right: 16px;
    top: 64px;
    background: rgba(15, 15, 35, 0.9);
    border: 1px solid rgba(100, 210, 255, 0.1);
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    display: none;
    flex-direction: column;
    gap: 10px;
    backdrop-filter: blur(20px);
  }
  .site-nav.open {
    display: flex;
  }
  .sound-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
  .stories-grid {
    grid-template-columns: 1fr;
  }
  .sleep-stats {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .arrow {
    transform: rotate(90deg);
  }
  .hero-stats {
    justify-content: center;
  }
  .sound-icons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mixer-controls {
    flex-direction: column;
    gap: 16px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .screenshots-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .screenshot-main {
    gap: 24px;
  }
  .screenshot-info h3 {
    font-size: 24px;
  }
  .screenshot-info p {
    font-size: 16px;
  }
  .highlights-grid {
    grid-template-columns: 1fr;
  }
  .highlight-card {
    padding: 24px;
  }
  .highlight-icon {
    font-size: 32px;
  }
  .summary-card {
    padding: 32px;
  }
  .summary-stats {
    justify-content: center;
  }
  .privacy-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-info {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .hero {
    margin: 78px 0 32px;
  }
  .hero-content h1 {
    font-size: 26px;
    line-height: 1.15;
  }
  .hero-content p {
    font-size: 15px;
  }
  .app-icon-container {
    width: 96px;
    height: 96px;
  }
  .app-icon {
    width: 68px;
    height: 68px;
  }
}
