/* ============================================================
   MusicLIM — Landing Page Styles
   ============================================================ */

:root {
  --purple: #7C3AED;
  --purple-light: #A855F7;
  --purple-dark: #5B21B6;
  --purple-glow: rgba(124, 58, 237, 0.25);
  --bg: #0A0A0F;
  --bg-2: #0F0F18;
  --bg-card: #13131F;
  --bg-card-hover: #1A1A2E;
  --border: rgba(124, 58, 237, 0.2);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --text: #F0EEFF;
  --text-muted: #8B8BA7;
  --text-light: rgba(240, 238, 255, 0.7);
  --green: #10B981;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-pill: 100px;
  --shadow: 0 4px 32px rgba(0, 0, 0, 0.4);
  --shadow-purple: 0 8px 40px rgba(124, 58, 237, 0.3);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

/* ── Typography ── */
h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; line-height: 1.15; }
a { color: var(--purple-light); text-decoration: none; transition: color .2s; }
a:hover { color: var(--text); }
img { display: block; object-fit: cover; }

/* ── Layout ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 740px; }
.desktop-br { display: none; }
@media (min-width: 768px) { .desktop-br { display: block; } }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-pill);
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: .95rem;
  cursor: pointer; transition: all .2s; border: none; text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--purple); color: #fff;
  box-shadow: 0 0 0 0 var(--purple-glow);
}
.btn-primary:hover {
  background: var(--purple-dark);
  box-shadow: var(--shadow-purple);
  transform: translateY(-1px);
}
.btn-sm { padding: 10px 20px; font-size: .88rem; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0;
  background: rgba(10, 10, 15, 0);
  backdrop-filter: blur(0px);
  transition: background .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  border-color: var(--border-subtle);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 32px;
}
.logo {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 1.1rem; color: var(--text);
}
.logo-lim { color: #7B3FE4; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { color: var(--text-muted); font-size: .9rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 640px) { .nav-links { display: none; } }

/* ── HERO ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .35;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
  top: -200px; left: -150px;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #2563EB 0%, transparent 70%);
  bottom: -100px; right: -100px;
}
.waveform {
  position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='%237C3AED' fill-opacity='0.06' d='M0,60 C240,100 480,20 720,60 C960,100 1200,20 1440,60 L1440,120 L0,120 Z'/%3E%3C/svg%3E") center/cover;
}
.hero .container { position: relative; text-align: center; }

.badge-row { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: var(--radius-pill);
  font-size: .8rem; font-weight: 600; letter-spacing: .02em;
}
.badge-live { background: rgba(16, 185, 129, 0.15); color: var(--green); border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-count { background: rgba(124, 58, 237, 0.15); color: var(--purple-light); border: 1px solid var(--border); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.4; transform:scale(1.3); } }

.hero-title { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 900; margin-bottom: 20px; letter-spacing: -.02em; }
.gradient-text {
  background: linear-gradient(135deg, var(--purple-light) 0%, #EC4899 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { color: var(--text-light); font-size: clamp(.95rem, 2vw, 1.15rem); max-width: 600px; margin: 0 auto 36px; }

/* Progress bar */
.progress-wrap { max-width: 480px; margin: 0 auto 36px; }
.progress-bar { height: 8px; background: rgba(255,255,255,.08); border-radius: var(--radius-pill); overflow: hidden; margin-bottom: 10px; }
.progress-fill {
  height: 100%; border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--purple) 0%, var(--purple-light) 100%);
  transition: width 1s ease;
  box-shadow: 0 0 12px var(--purple-glow);
}
.progress-labels { display: flex; justify-content: space-between; font-size: .82rem; color: var(--text-muted); }
.progress-labels strong { color: var(--text); }

/* Signup form */
.signup-form { max-width: 520px; margin: 0 auto; }
.form-row { display: flex; gap: 10px; background: rgba(255,255,255,.05); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 6px 6px 6px 20px; }
.form-row input[type="email"] {
  flex: 1; background: none; border: none; outline: none;
  color: var(--text); font-size: .95rem; font-family: inherit; min-width: 0;
}
.form-row input[type="email"]::placeholder { color: var(--text-muted); }
.form-note { font-size: .78rem; color: var(--text-muted); margin-top: 10px; text-align: center; }
.form-note a { color: var(--text-muted); text-decoration: underline; }
.form-status { margin-top: 12px; padding: 12px 16px; border-radius: var(--radius-sm); font-size: .88rem; text-align: center; }
.form-status.success { background: rgba(16,185,129,.12); color: var(--green); border: 1px solid rgba(16,185,129,.3); }
.form-status.error { background: rgba(239,68,68,.1); color: #F87171; border: 1px solid rgba(239,68,68,.25); }
.hidden { display: none !important; }

/* Spinner */
.spinner { width: 18px; height: 18px; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Social proof */
.social-proof { display: flex; align-items: center; gap: 14px; justify-content: center; margin-top: 32px; }
.avatars { display: flex; }
.avatars img { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--bg); margin-right: -10px; }
.avatar-more { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--purple); font-size: .72rem; font-weight: 700; margin-right: 4px; }
.social-proof p { color: var(--text-muted); font-size: .83rem; }

/* ── TRUST STRIP ── */
.trust-strip { padding: 40px 0; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); background: var(--bg-2); }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 12px; color: var(--text-muted); font-size: .87rem; font-weight: 500; }
.trust-item svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--purple-light); }

/* ── SECTIONS ── */
.section { padding: 100px 0; }
.section-dark { background: var(--bg-2); }
.section-label {
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--purple-light); margin-bottom: 14px; display: block;
}
.section-label.light { color: var(--purple-light); opacity: .8; }
.section-title { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 52px; letter-spacing: -.02em; }
.section-title.light { color: var(--text); }

/* ── STEPS ── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.step {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius); padding: 32px 28px;
  transition: border-color .25s, transform .25s;
  position: relative; overflow: hidden;
}
.step:hover { border-color: var(--border); transform: translateY(-4px); }
.step-num {
  position: absolute; top: 20px; right: 24px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 900; font-size: 3.5rem;
  color: rgba(124,58,237,.12); line-height: 1; pointer-events: none;
}
.step-icon svg { width: 48px; height: 48px; margin-bottom: 20px; }
.step h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--text-muted); font-size: .9rem; line-height: 1.65; }

/* ── BENEFITS ── */
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.benefit-card {
  background: rgba(255,255,255,.03); border: 1px solid var(--border-subtle);
  border-radius: var(--radius); padding: 28px 24px; position: relative;
  transition: border-color .25s, background .25s;
}
.benefit-card:hover { background: var(--bg-card-hover); border-color: var(--border); }
.benefit-card.highlight {
  background: rgba(124,58,237,.08); border-color: rgba(124,58,237,.35);
  box-shadow: 0 0 40px rgba(124,58,237,.12);
}
.benefit-badge {
  position: absolute; top: -10px; left: 20px;
  background: var(--purple); color: #fff; font-size: .7rem; font-weight: 700;
  padding: 4px 12px; border-radius: var(--radius-pill); letter-spacing: .04em;
}
.benefit-icon { font-size: 1.8rem; margin-bottom: 14px; }
.benefit-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.benefit-card p { color: var(--text-muted); font-size: .87rem; line-height: 1.65; }

/* ── SHARE SECTION ── */
.share-box {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 48px;
}
.share-inner { display: flex; flex-direction: column; gap: 28px; }
.share-text h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 8px; }
.share-text p { color: var(--text-muted); font-size: .95rem; }
.share-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.share-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: var(--radius-sm);
  font-size: .88rem; font-weight: 600; cursor: pointer;
  transition: all .2s; border: 1px solid transparent;
  text-decoration: none;
}
.share-native { background: var(--purple); color: #fff; border: none; }
.share-native:hover { background: var(--purple-dark); color: #fff; }
.share-native svg { width: 16px; height: 16px; }
.share-twitter { background: rgba(255,255,255,.06); color: var(--text); border-color: var(--border-subtle); }
.share-twitter:hover { background: rgba(29,155,240,.15); border-color: rgba(29,155,240,.4); color: var(--text); }
.share-twitter svg { width: 16px; height: 16px; }
.share-whatsapp { background: rgba(255,255,255,.06); color: var(--text); border-color: var(--border-subtle); }
.share-whatsapp:hover { background: rgba(37,211,102,.12); border-color: rgba(37,211,102,.4); color: var(--text); }
.share-whatsapp svg { width: 16px; height: 16px; }
.share-linkedin { background: rgba(255,255,255,.06); color: var(--text); border-color: var(--border-subtle); }
.share-linkedin:hover { background: rgba(10,102,194,.15); border-color: rgba(10,102,194,.4); color: var(--text); }
.share-linkedin svg { width: 16px; height: 16px; }

.share-link-box { display: flex; gap: 0; background: rgba(255,255,255,.05); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); overflow: hidden; }
.share-link-box input {
  flex: 1; background: none; border: none; outline: none;
  padding: 12px 16px; color: var(--text-muted); font-size: .88rem; font-family: inherit; min-width: 0;
}
.btn-copy {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 16px; background: rgba(124,58,237,.2); border: none;
  color: var(--purple-light); font-size: .82rem; font-weight: 600; cursor: pointer;
  transition: background .2s; border-left: 1px solid var(--border-subtle);
}
.btn-copy:hover { background: rgba(124,58,237,.35); }
.btn-copy svg { width: 15px; height: 15px; }

/* ── COMMENTS ── */
.section-comments { background: var(--bg-2); }
.comments-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 48px; }
.comment {
  display: flex; gap: 16px;
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius); padding: 22px;
  animation: fadeInUp .4s ease;
}
@keyframes fadeInUp { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
.comment img { width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; }
.comment-body { flex: 1; min-width: 0; }
.comment-header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.comment-header strong { font-size: .95rem; }
.comment-meta { font-size: .78rem; color: var(--text-muted); }
.founder-badge {
  background: rgba(124,58,237,.2); color: var(--purple-light);
  padding: 2px 8px; border-radius: var(--radius-pill); font-size: .72rem; font-weight: 600;
}
.comment p { font-size: .9rem; color: var(--text-light); line-height: 1.65; margin-bottom: 10px; }
.comment-actions { display: flex; gap: 12px; }
.like-btn {
  display: inline-flex; align-items: center; gap: 5px;
  background: none; border: 1px solid var(--border-subtle); border-radius: var(--radius-pill);
  padding: 5px 12px; font-size: .8rem; color: var(--text-muted); cursor: pointer;
  transition: all .2s;
}
.like-btn:hover, .like-btn.liked { background: rgba(124,58,237,.15); border-color: var(--border); color: var(--text); }

/* Comment form */
.comment-form-wrap {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius); padding: 32px;
}
.comment-form-wrap h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.comment-form-note { font-size: .82rem; color: var(--text-muted); margin-bottom: 22px; }
.comment-form { display: flex; flex-direction: column; gap: 14px; }
.comment-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 540px) { .comment-form-row { grid-template-columns: 1fr; } }
.comment-form input, .comment-form textarea {
  background: rgba(255,255,255,.04); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm); padding: 12px 16px;
  color: var(--text); font-size: .9rem; font-family: inherit;
  outline: none; transition: border-color .2s; width: 100%;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--purple); }
.comment-form input::placeholder, .comment-form textarea::placeholder { color: var(--text-muted); }
.comment-form textarea { resize: vertical; min-height: 100px; }
.comment-form-footer { display: flex; justify-content: space-between; align-items: center; }
.char-count { font-size: .78rem; color: var(--text-muted); }
.comment-status { margin-top: 14px; padding: 12px 16px; border-radius: var(--radius-sm); font-size: .88rem; }
.comment-status.success { background: rgba(16,185,129,.12); color: var(--green); border: 1px solid rgba(16,185,129,.3); }
.comment-status.error { background: rgba(239,68,68,.1); color: #F87171; border: 1px solid rgba(239,68,68,.25); }

/* ── FINAL CTA ── */
.section-cta { background: var(--bg); }
.cta-box {
  background: linear-gradient(135deg, rgba(124,58,237,.12) 0%, rgba(37,99,235,.08) 100%);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 52px 48px;
  text-align: center;
  box-shadow: 0 0 80px rgba(124,58,237,.1);
}
.cta-progress { margin-bottom: 28px; }
.cta-spots { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin-bottom: 12px; }
.spots-number { font-family: 'Space Grotesk', sans-serif; font-size: 3rem; font-weight: 900; color: var(--purple-light); line-height: 1; }
.spots-label { font-size: 1.1rem; color: var(--text-muted); }
.cta-box h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 800; margin-bottom: 12px; }
.cta-box p { color: var(--text-muted); margin-bottom: 32px; font-size: 1rem; }
.cta-box .progress-bar { max-width: 360px; margin: 0 auto 28px; }

/* ── FOOTER ── */
.footer { padding: 64px 0 40px; border-top: 1px solid var(--border-subtle); }
.footer-inner { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-brand { flex: 1; min-width: 220px; }
.footer-brand .logo { margin-bottom: 14px; color: var(--text); }
.footer-brand p { font-size: .87rem; color: var(--text-muted); margin-bottom: 6px; max-width: 260px; }
.footer-copy { margin-top: 20px; font-size: .78rem; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; min-width: 120px; }
.footer-col h4 { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.footer-col a { font-size: .87rem; color: var(--text-muted); }
.footer-col a:hover { color: var(--text); }

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%);
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text); padding: 14px 24px; border-radius: var(--radius-pill);
  font-size: .9rem; font-weight: 500; z-index: 999;
  box-shadow: var(--shadow);
  animation: slideUp .3s ease;
  white-space: nowrap;
}
@keyframes slideUp { from { opacity:0; transform:translateX(-50%) translateY(16px); } to { opacity:1; transform:translateX(-50%) translateY(0); } }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .hero { padding: 100px 0 60px; }
  .share-box { padding: 32px 24px; }
  .cta-box { padding: 40px 24px; }
  .comment-form-wrap { padding: 24px 20px; }
  .footer-inner { flex-direction: column; gap: 40px; }
}
@media (max-width: 480px) {
  .form-row { flex-direction: column; padding: 12px 16px; border-radius: var(--radius); }
  .form-row .btn { border-radius: var(--radius-sm); text-align: center; justify-content: center; }
  .cta-box .form-row { flex-direction: column; }
}
