/* ─────────────────────────────────────────
   Melotone — Music Streaming
   styles.css
───────────────────────────────────────── */

/* ─── DESIGN TOKENS ─── */
:root {
  --bg-primary:      #0a0a0f;
  --bg-secondary:    #111118;
  --bg-card:         #16161f;
  --bg-card-hover:   #1e1624;
  --accent:          #ff5707;
  --accent-mid:      #e6232b;
  --accent-alt:      #c21891;
  --accent-deep:     #751382;
  --accent-gradient: linear-gradient(135deg, #ff5707, #e6232b, #c21891, #751382);
  --accent-dim:      rgba(255, 87, 7, 0.15);
  --accent-glow:     rgba(230, 35, 43, 0.35);
  --text-primary:    #f0f0f5;
  --text-secondary:  #8888a0;
  --text-muted:      #55556a;
  --border:          rgba(255, 255, 255, 0.06);
  --border-accent:   rgba(255, 87, 7, 0.25);
  --radius:          16px;
  --radius-sm:       10px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 48px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(10, 10, 15, 0.7);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem; color: var(--text-primary);
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}

.nav-logo-img {
  height: 44px; width: auto;
  object-fit: contain;
}

.nav-links { display: flex; gap: 32px; align-items: center; }

.nav-links a {
  color: var(--text-secondary); text-decoration: none;
  font-size: 0.9rem; font-weight: 400;
  transition: color 0.25s;
}

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

.nav-cta {
  background: var(--accent-gradient) !important;
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: transform 0.2s, box-shadow 0.3s, filter 0.2s !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.12);
  box-shadow: 0 4px 24px var(--accent-glow);
}

.lang-toggle {
  background: transparent;
  border: 1px solid var(--border);
  padding: 5px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
}

.lang-toggle img {
  display: block;
  border-radius: 2px;
}

.lang-toggle:hover {
  border-color: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(255,87,7,0.12) 0%, rgba(194,24,145,0.08) 45%, transparent 70%);
  pointer-events: none;
  animation: heroPulse 6s ease-in-out infinite;
}

@keyframes heroPulse {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) scale(1); }
  50%       { opacity: 0.7; transform: translateX(-50%) scale(1.1); }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px;
  border-radius: 100px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  font-size: 0.82rem; font-weight: 500;
  color: var(--accent);
  margin-bottom: 32px;
  animation: fadeUp 0.8s ease both;
}

.hero-badge .pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1.08;
  max-width: 800px;
  margin-bottom: 24px;
  animation: fadeUp 0.8s ease 0.15s both;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero p {
  font-size: 1.15rem; color: var(--text-secondary);
  max-width: 540px; margin-bottom: 40px;
  font-weight: 300;
  animation: fadeUp 0.8s ease 0.3s both;
}

.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
  animation: fadeUp 0.8s ease 0.45s both;
}

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--accent-gradient); color: #fff;
  padding: 16px 36px; border-radius: 100px;
  font-weight: 600; font-size: 1rem;
  border: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s, filter 0.2s;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.12);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn-secondary {
  background: transparent; color: var(--text-primary);
  padding: 16px 36px; border-radius: 100px;
  font-weight: 500; font-size: 1rem;
  border: 1px solid var(--border);
  cursor: pointer; transition: all 0.25s;
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
}


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

/* ─── SECTIONS ─── */
section { padding: 100px 24px; }
.section-container { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 2.5px; color: var(--accent);
  font-weight: 600; margin-bottom: 16px;
}

.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15; margin-bottom: 20px;
}

.section-desc {
  color: var(--text-secondary); font-size: 1.05rem;
  max-width: 560px; font-weight: 300;
  margin-bottom: 56px;
}

/* ─── TRACK LISTING ─── */
.audio-section { background: var(--bg-secondary); }

.track-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.track-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.track-item::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--accent-gradient);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}

.track-item:hover { border-color: var(--border-accent); background: var(--bg-card-hover); }
.track-item:hover::after { transform: scaleX(1); }

.track-num {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  min-width: 28px;
}

.track-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.track-name { font-size: 1rem; font-weight: 600; }
.track-meta { font-size: 0.82rem; color: var(--text-muted); }

/* ─── TESTIMONIALS ─── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.3s;
  display: flex; flex-direction: column;
}

.testimonial-card:hover { border-color: var(--border-accent); }

.testimonial-stars { display: flex; gap: 4px; margin-bottom: 20px; }
.testimonial-stars svg { width: 16px; height: 16px; fill: var(--accent); }

.testimonial-text {
  font-size: 1rem; color: var(--text-secondary);
  line-height: 1.7; flex: 1;
  margin-bottom: 24px;
  font-weight: 300;
}

.testimonial-author {
  display: flex; align-items: center; gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,87,7,0.25), rgba(117,19,130,0.25));
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 0.9rem; color: var(--accent);
}

.testimonial-name { font-size: 0.92rem; font-weight: 600; }
.testimonial-role { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }

/* ─── FAQ ─── */
.faq-section { background: var(--bg-secondary); }
.faq-list { max-width: 740px; }

.faq-item { border-bottom: 1px solid var(--border); }

.faq-question {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 0;
  font-size: 1.05rem; font-weight: 500;
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  text-align: left;
  transition: color 0.2s;
}

.faq-question:hover { color: var(--accent); }

.faq-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
  margin-left: 16px;
}

.faq-icon svg {
  width: 12px; height: 12px;
  stroke: var(--text-secondary);
  transition: transform 0.3s;
}

.faq-item.open .faq-icon { background: var(--accent-gradient); border-color: var(--accent); }
.faq-item.open .faq-icon svg { stroke: #fff; transform: rotate(45deg); }

.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer-inner {
  padding-bottom: 28px;
  font-size: 0.95rem; color: var(--text-secondary);
  line-height: 1.75; font-weight: 300;
}

/* ─── FOOTER ─── */
footer {
  padding: 48px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

footer p { font-size: 0.82rem; color: var(--text-muted); }
footer a { color: var(--text-secondary); text-decoration: none; }
footer a:hover { color: var(--accent); }

/* ─── SCROLL ANIMATIONS ─── */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  .nav-links { display: none; }
  section { padding: 72px 20px; }
  .hero { padding: 120px 20px 60px; }
  .hero-stats { gap: 28px; }
  .hero-stats .stat-num { font-size: 1.5rem; }
  .track-item { padding: 16px 18px; }
}
