/* ─────────────────────────────────────────────
   Music Terms – Custom Styles
   Bootstrap 5 base + custom overrides
───────────────────────────────────────────── */

/* ─── Global ─── */

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

body {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-main {
  flex: 1;
}

/* ─── Navbar ─── */

.navbar-main {
  background-color: rgba(14, 4, 40, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.navbar-inner {
  max-width: 1152px;
}

.navbar-brand {
  text-decoration: none;
}

.navbar-brand:hover {
  opacity: 0.85;
}

.navbar-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ─── Logo ─── */

.navbar-logo {
  width: 62px;
  height: 62px;
  object-fit: contain;
  flex-shrink: 0;
}

.cta-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

/* ─── Hero Section ─── */

.hero-section {
  background: linear-gradient(135deg, #0e0428 0%, #160830 50%, #1e0a50 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.hero-inner {
  max-width: 1152px;
  position: relative;
  z-index: 1;
}

.hero-watermark {
  position: absolute;
  right: -1rem;
  top: -2rem;
  color: rgba(255, 255, 255, 0.03);
  font-size: clamp(12rem, 30vw, 28rem);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  font-family: Georgia, 'Times New Roman', serif;
  z-index: 0;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.10);
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
}

.badge-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #a78bfa;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-heading {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.text-sky {
  color: #38bdf8;
}

.hero-sub {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.60);
  max-width: 28rem;
  line-height: 1.6;
}

/* On mobile, centre the hero sub-text */
@media (max-width: 767.98px) {
  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-free {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.02em;
}

.hero-phone-wrap {
  max-width: 280px;
  width: 100%;
}

.hero-phone-img {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.65);
}

/* ─── Store Badges ─── */

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #000000;
  color: #ffffff;
  text-decoration: none;
  border-radius: 0.75rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

.store-badge:hover {
  background: #1c1c1c;
  color: #ffffff;
}

.store-badge-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.store-badge-sub {
  font-size: 0.625rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  margin-bottom: 0.15rem;
  color: rgba(255, 255, 255, 0.85);
}

.store-badge-name {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
}

/* ─── Features Section ─── */

.features-section {
  background: #ffffff;
  padding-top: 5rem;
}

.features-header-inner {
  max-width: 960px;
}

.features-header {
  margin-bottom: 4rem;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  background: #f5f6ff;
  border: 1px solid #d9dcff;
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #5a62d6;
}

.pill-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #6c74ef;
  border-radius: 50%;
  flex-shrink: 0;
}

.section-heading {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #111827;
  margin-bottom: 1.25rem;
}

.gradient-text {
  background: linear-gradient(90deg, #5f66e8 0%, #4aa8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-sub {
  font-size: 1.125rem;
  color: #4b5563;
  max-width: 42rem;
  line-height: 1.75;
}

/* Feature rows */

.feature-row {
  padding: 0;
}

.feature-row--gradient {
  background: linear-gradient(135deg, #ffffff 0%, #fafbff 55%, #f3f6ff 100%);
}

.feature-row--white {
  background: #ffffff;
}

.feature-row-inner {
  max-width: 960px;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .feature-row-inner {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }
}

.feature-phone-wrap {
  max-width: 230px;
  width: 100%;
  position: relative;
}

.feature-phone-img {
  width: 100%;
  display: block;
  border-radius: 1.5rem;
  border: 1px solid rgba(230, 232, 255, 0.80);
  box-shadow: 0 20px 40px rgba(156, 163, 175, 0.35);
  transition: transform 0.3s ease;
}

.feature-phone-wrap:hover .feature-phone-img {
  transform: scale(1.025);
}

.feature-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
}

.badge-purple { background: #f3e8ff; color: #6b21a8; }
.badge-blue   { background: #dbeafe; color: #1d4ed8; }
.badge-green  { background: #dcfce7; color: #166534; }
.badge-amber  { background: #fef3c7; color: #92400e; }

.feature-title {
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.feature-desc {
  font-size: 1.0625rem;
  color: #6b7280;
  line-height: 1.75;
  margin-bottom: 0;
}

/* ─── CTA Section ─── */

.cta-section {
  background: linear-gradient(135deg, #0e0428 0%, #1a0a4e 100%);
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.cta-inner {
  max-width: 640px;
}

.cta-heading {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 1rem;
}

.cta-sub {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.60);
  line-height: 1.6;
}

/* ─── Lightbox ─── */

.lightbox-trigger {
  display: block;
  width: 100%;
  padding: 0;
  background: none;
  border: none;
  cursor: zoom-in;
}

.lightbox-trigger:focus-visible {
  outline: 2px solid #5f66e8;
  outline-offset: 3px;
  border-radius: 1.5rem;
}

#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1060;
}

#lightbox.is-open {
  display: block;
}

#lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.90);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  cursor: zoom-out;
}

#lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  background: rgba(255, 255, 255, 0.18);
  border: none;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-family: inherit;
}

#lightbox-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

#lightbox-content {
  cursor: default;
}

#lightbox-img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 88vh;
  border-radius: 1.25rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.60);
}

/* ─── Footer ─── */

.site-footer {
  background: #030712;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.footer-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.30);
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.20);
}

.footer-link {
  color: rgba(255, 255, 255, 0.40);
  text-decoration: none;
}

.footer-link:hover {
  color: rgba(255, 255, 255, 0.70);
  text-decoration: underline;
}

/* ─── Landing / Apps Section ─── */

.apps-section {
  background: #ffffff;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.apps-inner {
  max-width: 900px;
}

.app-card {
  background: linear-gradient(135deg, #fafbff 0%, #f3f6ff 100%);
  border: 1px solid #e5e7ff;
  border-radius: 1.5rem;
  padding: 2.5rem;
  max-width: 820px;
}

.app-card-phone-wrap {
  max-width: 180px;
  width: 100%;
}

.app-card-img {
  width: 100%;
  display: block;
  border-radius: 1.25rem;
  box-shadow: 0 20px 40px rgba(156, 163, 175, 0.35);
}

.app-card-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}

.app-card-desc {
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.app-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #5f66e8 0%, #4aa8ff 100%);
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.625rem 1.25rem;
  border-radius: 0.625rem;
  transition: opacity 0.2s ease;
}

.app-card-link:hover {
  opacity: 0.88;
  color: #ffffff;
}