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

:root {
  --purple: #7C3AED;
  --pink: #EC4899;
  --amber: #F59E0B;
  --bg: #09090B;
  --surface: #111113;
  --surface-2: #18181B;
  --border: rgba(255,255,255,0.08);
  --text: #FAFAFA;
  --text-2: #A1A1AA;
  --text-3: #71717A;
  --radius: 16px;
  --radius-sm: 10px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(9,9,11,0.7);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.3px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.nav-cta {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #fff;
  text-decoration: none;
  padding: 9px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  transition: opacity 0.2s, transform 0.2s;
}

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

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: var(--purple);
  top: -100px;
  left: -100px;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: var(--pink);
  bottom: 0;
  right: 10%;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: var(--amber);
  top: 40%;
  left: 40%;
  opacity: 0.08;
}

.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

/* badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  color: #A78BFA;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: #A78BFA;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-headline {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-2);
  margin-bottom: 36px;
  max-width: 480px;
}

/* download buttons */
.download-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.download-btns--center {
  justify-content: center;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  min-width: 168px;
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}

.store-btn--apple {
  background: #fff;
  color: #000;
}

.store-btn--google {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
}

.store-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.store-text {
  display: flex;
  flex-direction: column;
}

.store-label {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.7;
  line-height: 1;
}

.store-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.3px;
}

.store-note {
  font-size: 13px;
  color: var(--text-3);
}

/* ── PHONE MOCKUP ── */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(124,58,237,0.3) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  bottom: -20px;
}

.phone-frame {
  width: 280px;
  background: #1C1C1E;
  border-radius: 44px;
  padding: 14px;
  border: 2px solid rgba(255,255,255,0.1);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.5),
    0 50px 100px rgba(0,0,0,0.6),
    inset 0 0 0 1px rgba(255,255,255,0.05);
  position: relative;
  z-index: 1;
}

.phone-screen {
  background: #000;
  border-radius: 34px;
  overflow: hidden;
  height: 560px;
}

.app-ui {
  padding: 20px 16px;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-header {}

.app-greeting {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.app-search {
  background: #1C1C1E;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  font-size: 14px;
}

.search-icon { font-size: 14px; }

.app-section-label {
  font-size: 13px;
  font-weight: 600;
  color: #8E8E93;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.studio-card {
  background: #1C1C1E;
  border-radius: 14px;
  overflow: hidden;
}

.studio-card--featured {
  background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(236,72,153,0.1));
  border: 1px solid rgba(124,58,237,0.3);
}

.studio-img {
  height: 80px;
  border-radius: 10px 10px 0 0;
}

.music-img {
  background: linear-gradient(135deg, #1a0533, #3d0f6b, #7c3aed);
  position: relative;
  overflow: hidden;
}

.music-img::after {
  content: "🎙️";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  font-size: 28px;
}

.music-img-2 {
  background: linear-gradient(135deg, #0a1628, #1e3a5f, #2563eb);
  position: relative;
  overflow: hidden;
}

.music-img-2::after {
  content: "🎹";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  font-size: 28px;
}

.studio-info {
  padding: 10px 12px;
}

.studio-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.studio-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #8E8E93;
  margin-bottom: 6px;
}

.studio-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.studio-price {
  font-size: 14px;
  font-weight: 700;
  background: linear-gradient(135deg, #A78BFA, #F472B6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.studio-avail {
  font-size: 11px;
  background: rgba(52,199,89,0.15);
  color: #34C759;
  padding: 2px 8px;
  border-radius: 100px;
}

.coming-soon-card {
  background: #1C1C1E;
  border-radius: 14px;
  padding: 14px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px dashed rgba(245,158,11,0.3);
  margin-top: auto;
}

.cs-icon { font-size: 22px; }

.cs-title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.cs-sub {
  font-size: 11px;
  color: #8E8E93;
}

.cs-badge {
  margin-left: auto;
  background: rgba(245,158,11,0.15);
  color: #F59E0B;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid rgba(245,158,11,0.3);
}

/* ── CATEGORIES ── */
.categories {
  padding: 100px 0;
}

.section-tag {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--purple);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 56px;
}

.category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.category-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

.category-card--active {
  border-color: rgba(124,58,237,0.3);
  background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(236,72,153,0.04));
}

.category-card--soon {
  opacity: 0.7;
}

.category-card--soon:hover {
  opacity: 1;
}

.category-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
}

.category-icon svg {
  width: 100%;
  height: 100%;
}

.category-card h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.category-card p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.feature-list li {
  font-size: 14px;
  color: var(--text-2);
  padding-left: 20px;
  position: relative;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--purple);
  font-weight: 700;
}

.category-status {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 100px;
}

.category-status.available {
  background: rgba(52,199,89,0.15);
  color: #34C759;
  border: 1px solid rgba(52,199,89,0.3);
}

.category-status.coming-soon {
  background: rgba(245,158,11,0.15);
  color: #F59E0B;
  border: 1px solid rgba(245,158,11,0.3);
}

/* ── HOW IT WORKS ── */
.how-it-works {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 16px;
}

.step-number {
  font-size: 13px;
  font-weight: 800;
  color: var(--purple);
  letter-spacing: 1px;
  margin-bottom: 16px;
  opacity: 0.8;
}

.step h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.step p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.6;
}

.step-connector {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin-top: 30px;
  flex-shrink: 0;
}

/* ── CTA ── */
.cta-section {
  padding: 80px 0 100px;
}

.cta-card {
  background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(236,72,153,0.1));
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: 28px;
  padding: 64px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-blob {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124,58,237,0.2) 0%, transparent 70%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-card h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
}

.cta-card p {
  font-size: 17px;
  color: var(--text-2);
  margin-bottom: 36px;
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.logo--footer span {
  color: var(--text-2);
}

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

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

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

.footer-bottom p {
  font-size: 13px;
  color: var(--text-3);
  text-align: center;
}

/* ── SCROLL ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-sub {
    margin: 0 auto 36px;
  }

  .badge {
    margin: 0 auto 24px;
  }

  .download-btns {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .phone-frame {
    width: 240px;
  }

  .phone-screen {
    height: 480px;
  }

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

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .step-connector {
    width: 1px;
    height: 30px;
    margin: 0;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 100px 0 60px;
  }

  .nav-inner {
    padding: 0 16px;
  }

  .download-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .store-btn {
    justify-content: center;
    min-width: unset;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-links {
    gap: 16px;
  }

  .cta-card {
    padding: 40px 24px;
  }
}
