/* ---------- Tokens ---------- */
:root {
  --bg-main: #0f172a;
  --bg-card: #131c33;
  --bg-footer: #080b14;
  --accent: #38bdf8;
  --blue-mid: #2563eb;
  --blue-dark: #1e40af;
  --text-main: #ffffff;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;

  --font-display: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  opacity: 1;
  transition: opacity 0.7s ease-in-out;
}

body.is-loading { opacity: 0; }

a { text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 90px 20px 20px;
}

.hero-content { max-width: 600px; }

.app-icon {
  width: 120px;
  height: 120px;
  border-radius: 26px;
  margin-bottom: 24px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 3rem);
  letter-spacing: -0.02em;
}

.hero h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  color: var(--text-muted);
  margin-top: 6px;
}

.tagline {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  margin-top: 18px;
}

.description {
  font-size: 1rem;
  color: var(--text-body);
  max-width: 460px;
  margin: 22px auto 34px;
  padding: 0 10px;
}

/* ---------- CTA button ---------- */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--blue-mid);
  color: var(--text-main);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 16px 34px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: scale(1.05);
  background-color: var(--accent);
  color: var(--bg-main);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.55);
}

.cta-button:focus-visible {
  outline: 2px solid var(--text-main);
  outline-offset: 3px;
}

.play-icon { flex-shrink: 0; }

/* ---------- Signature: equalizer separator ---------- */
.separator-container {
  display: flex;
  justify-content: center;
  padding: 30px 0 60px;
}

.equalizer {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 46px;
}

.bar {
  width: 7px;
  border-radius: 5px;
  background: linear-gradient(180deg, var(--accent), var(--blue-mid));
  transform-origin: bottom;
  animation: pulseBar 1.8s ease-in-out infinite;
}

.bar-1 { height: 18px; animation-delay: 0s; }
.bar-2 { height: 36px; animation-delay: 0.12s; }
.bar-3 { height: 26px; animation-delay: 0.24s; }
.bar-4 { height: 46px; animation-delay: 0.36s; }
.bar-5 { height: 30px; animation-delay: 0.48s; }
.bar-6 { height: 40px; animation-delay: 0.6s; }
.bar-7 { height: 16px; animation-delay: 0.72s; }

@keyframes pulseBar {
  0%, 100% { transform: scaleY(1); opacity: 0.9; }
  50% { transform: scaleY(0.55); opacity: 0.6; }
}

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 0 20px 90px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .features { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
  background-color: var(--bg-card);
  border: 1px solid rgba(56, 189, 248, 0.12);
  padding: 32px 24px;
  border-radius: 18px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.35);
}

.feature-icon {
  font-size: 1.8rem;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(56, 189, 248, 0.15));
}

.feature-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-body);
}

/* ---------- Footer ---------- */
footer {
  background-color: var(--bg-footer);
  padding: 44px 20px;
  margin-top: auto;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-icon { border-radius: 8px; opacity: 0.9; }

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-link:hover { color: var(--accent); }

.copyright {
  color: var(--text-muted);
  font-size: 0.82rem;
  opacity: 0.7;
}

/* ---------- Motion & accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  body, .cta-button, .feature-card, .bar {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 420px) {
  .cta-button { width: 100%; justify-content: center; }
}