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

:root {
  --bg: #0A0A0F;
  --surface: #141420;
  --surface-hover: #1C1C2E;
  --text: #F0F0F5;
  --text-muted: #8E8E9A;
  --accent: #7B8CDF;
  --accent-glow: rgba(123, 140, 223, 0.3);
  --blue: #4A90D9;
  --orange: #E87D2F;
  --green: #5BBF5B;
  --purple: #9B59B6;
  --radius: 16px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.2; }

a { color: var(--accent); text-decoration: none; }
a:hover { opacity: 0.85; }

img { max-width: 100%; display: block; }

/* ── Top Banner ── */
.top-banner {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px 20px;
}

.banner-content {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.banner-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.banner-text {
  flex: 1;
  font-size: 14px;
  color: var(--text-muted);
}

.banner-text strong {
  color: var(--text);
}

.banner-download {
  background: var(--accent);
  color: #fff;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: opacity 0.2s;
}

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 100px 24px 60px;
  background: radial-gradient(ellipse at 50% 0%, rgba(123, 140, 223, 0.12) 0%, transparent 60%);
}

.hero-inner {
  max-width: 640px;
  margin: 0 auto;
}

.hero-icon {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  margin: 0 auto 24px;
  box-shadow: 0 0 60px rgba(123, 140, 223, 0.25);
}

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.tagline {
  font-size: 20px;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 500;
}

.subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.app-store-badge {
  display: inline-block;
  transition: transform 0.2s, opacity 0.2s;
}

.app-store-badge:hover {
  transform: scale(1.05);
  opacity: 1;
}

/* ── Screenshots ── */
.screenshots {
  padding: 80px 24px;
  overflow: hidden;
}

.screenshots h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
}

.screenshot-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 24px 20px;
  scrollbar-width: none;
}

.screenshot-track::-webkit-scrollbar { display: none; }

.screenshot-track img {
  width: 260px;
  flex-shrink: 0;
  border-radius: var(--radius);
  scroll-snap-align: center;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ── Features ── */
.features {
  padding: 80px 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.features h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 48px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  border-color: var(--glow);
  box-shadow: 0 0 30px color-mix(in srgb, var(--glow) 20%, transparent);
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
}

/* ── Sounds Grid ── */
.sounds {
  padding: 80px 24px;
  max-width: 800px;
  margin: 0 auto;
}

.sounds h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
}

.sound-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.sound-chip {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--chip) 30%, transparent);
  color: var(--chip);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.sound-chip:hover {
  border-color: var(--chip);
  box-shadow: 0 0 16px color-mix(in srgb, var(--chip) 25%, transparent);
}

/* ── CTA ── */
.cta {
  text-align: center;
  padding: 80px 24px;
  background: radial-gradient(ellipse at 50% 100%, rgba(123, 140, 223, 0.08) 0%, transparent 60%);
}

.cta h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.cta p {
  color: var(--text-muted);
  font-size: 18px;
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Footer ── */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 24px;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
}

.footer-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
}

.footer-links a {
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.copyright {
  color: var(--text-muted);
  font-size: 13px;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .hero { padding: 80px 20px 48px; }
  .hero h1 { font-size: 40px; }
  .tagline { font-size: 17px; }
  .subtitle { font-size: 16px; }
  .hero-icon { width: 96px; height: 96px; border-radius: 22px; }
  .screenshots h2, .features h2, .sounds h2, .cta h2 { font-size: 26px; }
  .feature-grid { grid-template-columns: 1fr; }
  .screenshot-track img { width: 220px; }
  .banner-text { display: none; }
}
