:root {
  --primary: #0077d9;     /* from main app logo (blue) */
  --primary-dark: #005099;
  --secondary: #35c6a0;   /* from main app logo (greenish) */
  --classic: #ff9fb8;     /* from classic logo background */
  --bg: #050816;
  --bg-elevated: #0b1020;
  --text: #f5f7ff;
  --text-muted: #a3acc6;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.35);
  --max-width: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #10204a 0, #050816 52%);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Layout */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  padding: 0 20px;
  margin: 0 auto;
}

/* Header / Nav */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: linear-gradient(
    to bottom,
    rgba(5, 8, 22, 0.9),
    rgba(5, 8, 22, 0.75),
    transparent
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  position: relative;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title {
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 18px;
}

.brand-subtitle {
  font-size: 12px;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
}

.nav-links a {
  color: var(--text-muted);
  transition: color 0.15s ease, opacity 0.15s ease;
  opacity: 0.9;
}

.nav-links a:hover {
  color: #ffffff;
  opacity: 1;
}

.badge-pill {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 6px 12px;
  font-size: 11px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(14px);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.02)
  );
}

.badge-pill span {
  font-size: 13px;
  color: #ffffff;
}

/* Mobile nav toggle button */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 6px;
  border-radius: 999px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column; /* stack bars vertically for hamburger */
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
}

/* Hero */
.hero {
  padding: 48px 0 32px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 10px;
}

.hero-title {
  font-size: clamp(32px, 4vw, 40px);
  line-height: 1.1;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}

.hero-highlight {
  background: linear-gradient(
    120deg,
    var(--secondary),
    #ffffff,
    var(--primary)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 20px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--text-muted);
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease,
    background 0.12s ease, border-color 0.12s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.02);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn-tag {
  font-size: 12px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(11, 16, 32, 0.85);
  color: var(--text-muted);
}

.hero-footnote {
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.9;
}

/* Hero image */
.hero-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  position: relative;
  border-radius: 26px;
  padding: 16px;
  background: radial-gradient(circle at top, #1c326a, #060b19);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 360px;
}

.hero-card img {
  border-radius: 22px;
}

.hero-badge-stack {
  position: absolute;
  bottom: -18px;
  right: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.hero-mini-badge {
  border-radius: var(--radius-pill);
  font-size: 11px;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(16px);
  background: rgba(5, 8, 22, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
}

.hero-mini-badge img {
  width: 18px;
  height: 18px;
  border-radius: 6px;
}

.hero-mini-badge span {
  font-size: 11px;
  color: var(--text-muted);
}

.hero-mini-badge strong {
  font-size: 11px;
  color: #ffffff;
  font-weight: 600;
}

.glow-orbit {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1px solid rgba(88, 171, 255, 0.3);
  opacity: 0.5;
  transform: rotate(-6deg);
}

/* Sections */
section {
  padding: 32px 0;
  scroll-margin-top: 90px; /* offset for sticky header when scrolling to anchors */
}

.section-header {
  margin-bottom: 18px;
}

.section-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 6px;
}

.section-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 4px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 36rem;
}

/* Features grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.feature-card {
  background: rgba(11, 16, 32, 0.95);
  border-radius: var(--radius-lg);
  padding: 16px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 4px;
  background: radial-gradient(circle at top, var(--secondary), var(--primary));
}

.feature-title {
  font-size: 15px;
  font-weight: 600;
}

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

.feature-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.45);
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: auto 0 -40% auto;
  width: 100px;
  height: 100px;
  background: radial-gradient(
    circle,
    rgba(53, 198, 160, 0.35),
    transparent 60%
  );
  opacity: 0.7;
  pointer-events: none;
  transform: translateX(18px);
}

/* Classic vs Main section */
.dual-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.app-card {
  border-radius: var(--radius-lg);
  padding: 18px;
  background: rgba(11, 16, 32, 0.95);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-card-logo {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.app-card-title {
  font-size: 16px;
  font-weight: 600;
}

.app-card-pill {
  font-size: 11px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-muted);
}

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

.app-card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.download-meta {
  display: inline-flex;
  flex-direction: column;
  font-size: 11px;
  color: var(--text-muted);
  gap: 2px;
}

/* Gallery */
.gallery-card {
  margin-top: 18px;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  padding: 16px;
  border: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.gallery-caption {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Download section */
.download-section {
  margin-top: 6px;
  border-radius: 22px;
  padding: 20px 18px;
  background: radial-gradient(circle at top left, #19366e, #050816);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
  gap: 20px;
  align-items: center;
}

.download-text-main {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.download-text-sub {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 26rem;
}

.download-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.download-details {
  font-size: 12px;
  color: var(--text-muted);
}

/* Footer */
footer {
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0 22px;
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(5, 8, 22, 0.95);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
}

/* Scroll-to-top button */
.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(5, 8, 22, 0.85);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 60;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .gallery-card,
  .download-section,
  .dual-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 30px;
  }

  .hero-media {
    order: -1;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 16px;
    left: auto;
    padding: 10px 14px 12px;
    background: rgba(5, 8, 22, 0.98);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 40;
  }

  .nav-links a {
    padding: 4px 2px;
  }

  .nav-links.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

@media (max-width: 720px) {
  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page {
    padding-bottom: 18px;
  }

  .download-section {
    border-radius: 18px;
  }
}

/* Feature card hover "pop" + icon animations */
.feature-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease, background 0.18s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(18, 24, 48, 0.98);
}

/* Subtle icon animations per feature on hover */
.feature-card:hover .feature-icon {
  will-change: transform;
}

/* 1: Minimize – quick shrink & back */
@keyframes feature-minimize-pop {
  0% { transform: scale(1); }
  40% { transform: scale(0.86); }
  100% { transform: scale(1); }
}

#features .feature-card:nth-child(1):hover .feature-icon {
  animation: feature-minimize-pop 0.28s ease-out;
}

/* 2: Ghost Mode – float up slightly */
@keyframes feature-ghost-float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}

#features .feature-card:nth-child(2):hover .feature-icon {
  animation: feature-ghost-float 0.35s ease-out;
}

/* 3: Music Mode – soft pulse */
@keyframes feature-music-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

#features .feature-card:nth-child(3):hover .feature-icon {
  animation: feature-music-pulse 0.28s ease-out;
}

/* 4: Dimming – tiny tilt */
@keyframes feature-dim-tilt {
  0% { transform: rotate(0deg); }
  40% { transform: rotate(-6deg); }
  100% { transform: rotate(0deg); }
}

#features .feature-card:nth-child(4):hover .feature-icon {
  animation: feature-dim-tilt 0.26s ease-out;
}

/* 5: Playlists – slide slightly to the right */
@keyframes feature-playlist-slide {
  0% { transform: translateX(0); }
  50% { transform: translateX(4px); }
  100% { transform: translateX(0); }
}

#features .feature-card:nth-child(5):hover .feature-icon {
  animation: feature-playlist-slide 0.26s ease-out;
}

/* 6: YouTube – quick bounce */
@keyframes feature-yt-bounce {
  0% { transform: translateY(0); }
  30% { transform: translateY(-5px); }
  60% { transform: translateY(2px); }
  100% { transform: translateY(0); }
}

#features .feature-card:nth-child(6):hover .feature-icon {
  animation: feature-yt-bounce 0.32s ease-out;
}

/* Disabled state for What's New nav buttons */
.whats-new-nav .btn[disabled] {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}

/* "Latest" badge inside What's New pill */
.whats-new-pill[data-latest="true"] {
  position: relative;
}

.whats-new-pill[data-latest="true"]::after {
  content: "Latest";
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: #ffffff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}
/* Slide animation for What's New content */
.whats-new-content {
  position: relative;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@keyframes whatsNewFromRight {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes whatsNewFromLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.whats-new-content.animate-from-right {
  animation: whatsNewFromRight 0.3s ease-out;
}

.whats-new-content.animate-from-left {
  animation: whatsNewFromLeft 0.3s ease-out;
}

/* Make What's New card body a positioning context for arrows */
#whats-new .app-card-body {
  position: relative;
  padding: 1.5rem 4.5rem 1.75rem;
}

/* Nav overlay across the card body */
.whats-new-nav {
  position: absolute;
  inset: 0;
  pointer-events: none; /* allow normal content clicks; arrows re-enable */
}

/* Arrow buttons */
.whats-new-arrow {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  border-radius: 0;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transform: translateY(-50%);
  transition:
    transform 0.18s ease,
    opacity 0.18s ease;
}

/* Left/right positioning */
.whats-new-arrow.whats-new-prev {
  left: 0rem;
}

.whats-new-arrow.whats-new-next {
  right: 0rem;
}

/* Hover state (when not disabled) */
.whats-new-arrow:not([disabled]):hover {
  transform: translateY(-50%) scale(1.08);
  background: transparent !important;
}

/* Override disabled state specifically for arrow buttons */
.whats-new-nav .whats-new-arrow[disabled] {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

/* Chevron icon inside the arrow buttons */
.whats-new-arrow-icon {
  width: 18px;
  height: 18px;
  position: relative;
}

.whats-new-arrow-icon::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
}

/* Left arrow */
.arrow-left::before {
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  left: 4px;
  top: 2px;
  transform: rotate(45deg);
}

/* Right arrow */
.arrow-right::before {
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  right: 4px;
  top: 2px;
  transform: rotate(-45deg);
}

/* FAQ section */
.section-faq .faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.section-faq .faq-item h3 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.section-faq .faq-item p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}