/* SoundTrail landing — fonts + vars used by the .lp-* block below */
:root {
  --accent: #6c5ce7;
  --accent-hover: #a29bfe;
  --accent-dim: rgba(108, 92, 231, 0.12);
  --font-heading: 'Comfortaa', sans-serif;
  --font-body: 'IBM Plex Mono', monospace;
}

/* =================== Landing Page =================== */

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

.lp {
  overflow-x: hidden;
  --lp-dark: #0b0b1a;
  --lp-dark-card: #16162a;
  --lp-dark-border: rgba(255, 255, 255, 0.08);
  --lp-dark-text: rgba(255, 255, 255, 0.65);
}

/* === Nav === */
.lp-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px 0;
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  background: rgba(11, 11, 26, 0.7);
  border-bottom: 1px solid var(--lp-dark-border);
  transition: background 0.3s;
}
.lp-nav-scrolled { background: rgba(11, 11, 26, 0.95); }

.lp-nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
}

.lp-logo {
  font-family: var(--font-heading); font-size: 18px; font-weight: 700;
  color: white; text-decoration: none; letter-spacing: -0.5px;
}
.lp-logo span { color: var(--accent); }

.lp-nav-links { display: flex; gap: 32px; }
.lp-nav-links a {
  font-family: var(--font-body); font-size: 13px;
  color: var(--lp-dark-text); text-decoration: none; transition: color 0.2s;
}
.lp-nav-links a:hover { color: white; }

.lp-nav-actions { display: flex; align-items: center; gap: 16px; }

.lp-nav-login {
  font-family: var(--font-body); font-size: 13px;
  color: var(--lp-dark-text); text-decoration: none; transition: color 0.2s;
}
.lp-nav-login:hover { color: white; }

.lp-nav-cta {
  font-family: var(--font-heading); font-size: 13px; font-weight: 600;
  color: white; background: var(--accent);
  padding: 8px 20px; border-radius: 8px; text-decoration: none;
  transition: all 0.2s; border: 1px solid transparent;
}
.lp-nav-cta:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 24px rgba(108, 92, 231, 0.3);
}

/* Mobile menu toggle */
.lp-menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.lp-menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: white; border-radius: 1px; transition: all 0.3s;
}
.lp-menu-toggle span.open:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.lp-menu-toggle span.open:nth-child(2) { opacity: 0; }
.lp-menu-toggle span.open:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.lp-mobile-nav {
  display: none; flex-direction: column; gap: 12px;
  padding: 16px 32px 20px;
  border-top: 1px solid var(--lp-dark-border);
}
.lp-mobile-nav.open { display: flex; }
.lp-mobile-nav a {
  font-family: var(--font-body); font-size: 14px;
  color: var(--lp-dark-text); text-decoration: none;
  padding: 6px 0; transition: color 0.2s;
}
.lp-mobile-nav a:hover { color: white; }

/* === Hero === */
.lp-hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: var(--lp-dark); overflow: hidden;
  padding: 120px 0 80px;
}

.lp-hero-bg { position: absolute; inset: 0; overflow: hidden; }

.lp-orb {
  position: absolute; border-radius: 50%;
  filter: blur(100px); opacity: 0.6;
}
.lp-orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.2), transparent 70%);
  top: -300px; right: -200px;
  animation: lpOrbDrift 20s ease-in-out infinite;
}
.lp-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(162, 155, 254, 0.15), transparent 70%);
  bottom: -200px; left: -100px;
  animation: lpOrbDrift 25s ease-in-out infinite reverse;
}
.lp-orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0, 206, 201, 0.08), transparent 70%);
  top: 50%; left: 40%;
  animation: lpOrbDrift 18s ease-in-out infinite 5s;
}
@keyframes lpOrbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -30px) scale(1.1); }
  66% { transform: translate(-30px, 20px) scale(0.95); }
}

.lp-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent);
}

.lp-hero-content {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  position: relative; z-index: 1;
}

.lp-hero-text { max-width: 560px; }

.lp-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 12px;
  color: var(--accent-hover);
  background: rgba(108, 92, 231, 0.1);
  border: 1px solid rgba(108, 92, 231, 0.2);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 24px;
}
.lp-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: lpPulse 2s ease-in-out infinite;
}
@keyframes lpPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.lp-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 56px); font-weight: 700;
  color: white; line-height: 1.1;
  margin-bottom: 20px; letter-spacing: -1px;
}

.lp-gradient-text {
  background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 40%, #00cec9 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.lp-hero-sub {
  font-family: var(--font-body); font-size: 15px;
  color: var(--lp-dark-text); line-height: 1.7; margin-bottom: 32px;
}

.lp-hero-buttons { display: flex; align-items: center; gap: 16px; }

.lp-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-heading); font-size: 15px; font-weight: 600;
  color: white; background: var(--accent);
  padding: 14px 28px; border-radius: 10px; text-decoration: none;
  transition: all 0.25s;
  border: 1px solid rgba(162, 155, 254, 0.3);
}
.lp-btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 30px rgba(108, 92, 231, 0.4);
  transform: translateY(-2px);
}
.lp-btn-primary:active { transform: translateY(0); }

.lp-btn-lg { padding: 18px 36px; font-size: 16px; }

.lp-btn-ghost {
  font-family: var(--font-heading); font-size: 15px; font-weight: 500;
  color: var(--lp-dark-text); text-decoration: none;
  padding: 14px 4px; transition: all 0.2s;
  border-bottom: 1px solid transparent;
}
.lp-btn-ghost:hover { color: white; border-bottom-color: var(--accent); }

/* Hero entrance animations */
.lp-hero-anim-1 { animation: lpFadeUp 0.8s ease-out 0.1s both; }
.lp-hero-anim-2 { animation: lpFadeUp 0.8s ease-out 0.25s both; }
.lp-hero-anim-3 { animation: lpFadeUp 0.8s ease-out 0.4s both; }
.lp-hero-anim-4 { animation: lpFadeUp 0.8s ease-out 0.55s both; }
.lp-hero-anim-5 { animation: lpFadeUp 1s ease-out 0.7s both; }
@keyframes lpFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === Mockup Card === */
.lp-mockup {
  position: relative;
  animation: lpMockupFloat 6s ease-in-out infinite;
}
@keyframes lpMockupFloat {
  0%, 100% { transform: translateY(0) rotate(0.5deg); }
  50% { transform: translateY(-12px) rotate(-0.5deg); }
}

.lp-mockup-glow {
  position: absolute; inset: -24px;
  background: radial-gradient(ellipse, rgba(108, 92, 231, 0.15), transparent 70%);
  border-radius: 30px; filter: blur(30px);
}

.lp-mockup-inner {
  position: relative;
  background: var(--lp-dark-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px; padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.lp-mockup-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }

.lp-mockup-art {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--accent), #a29bfe);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.lp-mockup-track {
  font-family: var(--font-heading); font-size: 14px; font-weight: 600; color: white;
}
.lp-mockup-artist {
  font-family: var(--font-body); font-size: 11px; color: var(--lp-dark-text);
}

.lp-mockup-wave {
  display: flex; align-items: flex-end; gap: 2px;
  height: 48px; margin-bottom: 20px; padding: 0 4px;
}
.lp-wave-bar {
  flex: 1;
  background: linear-gradient(to top, var(--accent), rgba(162, 155, 254, 0.4));
  border-radius: 2px;
  animation: lpWaveAnim 1.5s ease-in-out infinite alternate;
}
@keyframes lpWaveAnim {
  0% { transform: scaleY(0.6); }
  100% { transform: scaleY(1); }
}

.lp-mockup-actions { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }

.lp-mockup-action {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 12px;
  color: var(--lp-dark-text);
  padding: 10px 12px; border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}
.lp-mockup-action.lp-action-done {
  border-color: rgba(56, 161, 105, 0.3);
  background: rgba(56, 161, 105, 0.05);
  color: #68D391;
}
.lp-action-check {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--success); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.lp-action-circle {
  width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.lp-mockup-unlock {
  text-align: center; font-family: var(--font-heading);
  font-size: 13px; font-weight: 600; color: white;
  background: var(--accent); padding: 12px; border-radius: 10px;
  border: 1px solid rgba(162, 155, 254, 0.3);
  box-shadow: 0 0 20px rgba(108, 92, 231, 0.2);
}

/* Staggered mockup action entrance */
.lp-mockup-action:nth-child(1) { animation: lpActionSlide 0.5s ease-out 1.5s both; }
.lp-mockup-action:nth-child(2) { animation: lpActionSlide 0.5s ease-out 1.8s both; }
.lp-mockup-action:nth-child(3) { animation: lpActionSlide 0.5s ease-out 2.1s both; }
.lp-mockup-action:nth-child(4) { animation: lpActionSlide 0.5s ease-out 2.4s both; }
.lp-mockup-unlock { animation: lpActionSlide 0.6s ease-out 2.7s both; }
@keyframes lpActionSlide {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}

/* === Marquee === */
.lp-marquee {
  background: var(--accent); padding: 14px 0; overflow: hidden;
  border-top: 2px solid #222; border-bottom: 2px solid #222;
}
.lp-marquee-track {
  display: flex; width: max-content;
  animation: lpMarquee 25s linear infinite;
}
.lp-marquee-content {
  display: flex; align-items: center; gap: 24px;
  padding: 0 24px; white-space: nowrap;
  font-family: var(--font-heading); font-size: 14px; font-weight: 700;
  color: white; letter-spacing: 2px;
}
.lp-marquee-dot { font-size: 8px; opacity: 0.5; }
@keyframes lpMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

/* === Sections === */
.lp-section { padding: 100px 0; position: relative; background: var(--bg-primary); }
.lp-section-alt { background: var(--bg-secondary); }
.lp-container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

.lp-section-header { text-align: center; margin-bottom: 64px; }
.lp-section-label {
  display: inline-block; font-family: var(--font-body);
  font-size: 12px; font-weight: 600; color: var(--accent);
  text-transform: uppercase; letter-spacing: 3px; margin-bottom: 16px;
}
.lp-section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px); font-weight: 700;
  color: var(--text-primary); margin-bottom: 16px; letter-spacing: -0.5px;
}
.lp-section-sub {
  font-family: var(--font-body); font-size: 14px;
  color: var(--text-secondary); max-width: 560px;
  margin: 0 auto; line-height: 1.7;
}

/* === Bento Grid === */
.lp-bento {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.lp-bento-card {
  background: var(--bg-card); border: 2px solid var(--border);
  border-radius: 16px; padding: 32px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-card);
  position: relative; overflow: hidden;
}
.lp-bento-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 0.65rem 0.65rem 0 #222;
  border-color: var(--accent);
}
.lp-bento-hero { grid-column: span 2; }
.lp-bento-wide { grid-column: span 2; }

.lp-bento-icon {
  font-size: 28px; margin-bottom: 16px;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-dim); border-radius: 12px;
  border: 2px solid var(--border);
}
.lp-bento-card h3 {
  font-family: var(--font-heading); font-size: 18px; font-weight: 700;
  color: var(--text-primary); margin-bottom: 8px;
}
.lp-bento-card p {
  font-family: var(--font-body); font-size: 13px;
  color: var(--text-secondary); line-height: 1.7;
}
.lp-bento-visual { margin-top: 24px; }

.lp-mini-wave { display: flex; align-items: flex-end; gap: 3px; height: 56px; }
.lp-mini-bar {
  flex: 1;
  background: linear-gradient(to top, var(--accent), var(--accent-hover));
  border-radius: 2px; opacity: 0.6;
  animation: lpMiniWave 2s ease-in-out infinite alternate;
}
@keyframes lpMiniWave {
  0% { transform: scaleY(0.7); opacity: 0.3; }
  100% { transform: scaleY(1); opacity: 0.7; }
}

/* === Steps === */
.lp-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px; position: relative;
}
.lp-step-connector {
  position: absolute; top: 36px; left: 15%; right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover), var(--accent));
  opacity: 0.2;
}
.lp-step { text-align: center; position: relative; }
.lp-step-number {
  font-family: var(--font-heading); font-size: 52px; font-weight: 700;
  color: var(--accent); opacity: 0.12; line-height: 1; margin-bottom: -4px;
}
.lp-step-line {
  width: 40px; height: 3px; background: var(--accent);
  margin: 16px auto; border-radius: 2px;
}
.lp-step h3 {
  font-family: var(--font-heading); font-size: 18px; font-weight: 700;
  color: var(--text-primary); margin-bottom: 12px;
}
.lp-step p {
  font-family: var(--font-body); font-size: 13px;
  color: var(--text-secondary); line-height: 1.7;
}

/* === Stats === */
.lp-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.lp-stat {
  text-align: center; padding: 40px 24px;
  background: var(--bg-card); border: 2px solid var(--border);
  border-radius: 16px; box-shadow: var(--shadow-card);
  transition: all 0.2s;
}
.lp-stat:hover {
  transform: translate(-2px, -2px);
  box-shadow: 0.6rem 0.6rem 0 #222;
  border-color: var(--accent);
}
.lp-stat-value {
  font-family: var(--font-heading); font-size: 40px; font-weight: 700;
  color: var(--accent); margin-bottom: 8px;
}
.lp-stat-label {
  font-family: var(--font-body); font-size: 13px; color: var(--text-secondary);
}

/* === CTA Section === */
.lp-cta-section {
  position: relative; padding: 120px 0;
  background: var(--lp-dark); overflow: hidden;
}
.lp-cta-bg { position: absolute; inset: 0; }
.lp-cta-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.2), transparent 70%);
  top: -200px; left: -100px;
  animation: lpOrbDrift 15s ease-in-out infinite;
}
.lp-cta-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0, 206, 201, 0.1), transparent 70%);
  bottom: -150px; right: -100px;
  animation: lpOrbDrift 20s ease-in-out infinite reverse;
}
.lp-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 48px); font-weight: 700;
  color: white; margin-bottom: 16px; letter-spacing: -0.5px;
}
.lp-cta-sub {
  font-family: var(--font-body); font-size: 15px;
  color: var(--lp-dark-text); max-width: 480px;
  margin: 0 auto 32px; line-height: 1.7;
}

/* === Footer === */
.lp-footer {
  background: var(--lp-dark); padding: 40px 0;
  border-top: 1px solid var(--lp-dark-border);
}
.lp-footer-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.lp-footer-brand {
  font-family: var(--font-heading); font-size: 16px;
  font-weight: 700; color: white;
}
.lp-footer-brand span { color: var(--accent); }
.lp-footer-links { display: flex; gap: 24px; }
.lp-footer-links a {
  font-family: var(--font-body); font-size: 13px;
  color: var(--lp-dark-text); text-decoration: none; transition: color 0.2s;
}
.lp-footer-links a:hover { color: white; }
.lp-footer-copy {
  font-family: var(--font-body); font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

/* === Scroll Reveal === */
.lp-reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.lp-reveal.revealed { opacity: 1; transform: translateY(0); }

/* === Responsive === */
@media (max-width: 1024px) {
  .lp-hero-content { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .lp-hero-text { max-width: 600px; margin: 0 auto; }
  .lp-hero-buttons { justify-content: center; }
  .lp-bento { grid-template-columns: repeat(2, 1fr); }
  .lp-bento-hero, .lp-bento-wide { grid-column: span 2; }
  .lp-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .lp-nav-links { display: none; }
  .lp-nav-actions { display: none; }
  .lp-menu-toggle { display: flex; }
  .lp-hero { padding: 100px 0 60px; min-height: auto; }
  .lp-hero-title { font-size: 32px; }
  .lp-hero-buttons { flex-direction: column; align-items: stretch; }
  .lp-btn-primary { justify-content: center; }
  .lp-btn-ghost { text-align: center; }
  .lp-bento { grid-template-columns: 1fr; }
  .lp-bento-hero, .lp-bento-wide { grid-column: span 1; }
  .lp-steps { grid-template-columns: 1fr; gap: 32px; }
  .lp-step-connector { display: none; }
  .lp-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .lp-stat { padding: 28px 16px; }
  .lp-stat-value { font-size: 32px; }
  .lp-section { padding: 64px 0; }
  .lp-cta-section { padding: 80px 0; }
  .lp-footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .lp-container { padding: 0 20px; }
}

@media (max-width: 480px) {
  .lp-stats-grid { grid-template-columns: 1fr; }
  .lp-hero-title { font-size: 28px; }
  .lp-mockup-inner { padding: 16px; }
}

/* === Reduced Motion === */
@media (prefers-reduced-motion: reduce) {
  .lp-orb { animation: none !important; }
  .lp-mockup { animation: none !important; }
  .lp-wave-bar, .lp-mini-bar { animation: none !important; }
  .lp-marquee-track { animation: none !important; }
  .lp-badge-dot { animation: none !important; }
  .lp-mockup-action, .lp-mockup-unlock { animation: none !important; opacity: 1 !important; }
  .lp-hero-anim-1, .lp-hero-anim-2, .lp-hero-anim-3,
  .lp-hero-anim-4, .lp-hero-anim-5 { animation: none !important; opacity: 1 !important; }
  .lp-reveal { transition: none !important; opacity: 1 !important; transform: none !important; }
}
