/* ─────────────────────────────────────────────
   Spatial Tracks — Marketing Site Styles
───────────────────────────────────────────── */

:root {
  --bg: #06080e;
  --bg-alt: #0b0e17;
  --surface: #121623;
  --surface-2: #171c2b;
  --border: #232838;
  --text: #eef1f7;
  --text-muted: #9aa3b8;
  --accent: #3b82f6;
  --accent-2: #60a5fa;
  --accent-gradient: linear-gradient(135deg, #3b82f6, #60a5fa);
  --radius: 14px;
  --max-width: 1180px;
  --shadow-lg: 0 20px 60px rgba(0,0,0,.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--accent-2); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; top: 0; }

/* ── Buttons ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, opacity .15s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 8px 24px rgba(59,130,246,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(59,130,246,.45); }
.btn-small { padding: 9px 18px; font-size: 14px; }
.btn-large { padding: 17px 34px; font-size: 17px; }
.btn-ghost {
  background: rgba(255,255,255,.06);
  color: var(--text);
  border: 1px solid rgba(255,255,255,.14);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline {
  background: transparent;
  color: var(--accent-2);
  border: 1px solid var(--accent);
}
.btn-outline:hover { background: rgba(59,130,246,.1); }
.play-icon { width: 16px; height: 16px; }

/* ── Header / Nav ──────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6,8,14,.75);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark { border-radius: 6px; }
.brand-name {
  font-weight: 800;
  font-size: 19px;
  color: var(--text);
  letter-spacing: -.01em;
}
.nav-links {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 0 auto;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ──────────────────────────────────── */
.hero {
  background-size: cover;
  background-position: center 30%;
  padding: 100px 0 90px;
  position: relative;
}
.hero-inner { position: relative; z-index: 1; }
.hero-copy { max-width: 640px; }
.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 20px;
}
.hero-sub {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 0 34px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
}
.hero-requirements {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.hero-requirements span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14px;
}
.hero-requirements svg { width: 18px; height: 18px; opacity: .8; flex-shrink: 0; }

/* ── Section headings ──────────────────────── */
.section-title {
  text-align: center;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: -.01em;
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 16px;
  margin: 0 0 48px;
}

/* ── Experiences / Song grid ───────────────── */
.experiences { padding: 100px 0 90px; }
.song-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.song-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--surface);
  isolation: isolate;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: transform .25s ease, box-shadow .25s ease;
}
.song-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,.5); }
.song-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform .4s ease;
}
.song-card:hover img { transform: scale(1.08); }
.song-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6,8,14,0) 40%, rgba(6,8,14,.92) 100%);
}
.song-icon {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(6,8,14,.55);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.song-icon svg { width: 17px; height: 17px; color: #fff; }
.song-name {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #fff;
}
.explore-more { text-align: center; margin-top: 44px; }

/* ── Features ──────────────────────────────── */
.features {
  padding: 70px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.feature { text-align: left; }
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-icon svg { width: 24px; height: 24px; color: #fff; }
.feature-icon-visionpro { background: linear-gradient(135deg,#374151,#111827); }
.feature-icon-music { background: linear-gradient(135deg,#fb7185,#ef4444); }
.feature-icon-audio { background: linear-gradient(135deg,#60a5fa,#3b82f6); }
.feature-icon-privacy { background: linear-gradient(135deg,#34d399,#059669); }
.feature h3 { font-size: 17px; margin: 0 0 8px; font-weight: 700; }
.feature p { color: var(--text-muted); font-size: 14.5px; margin: 0; }

/* ── Story / two-up ────────────────────────── */
.story { padding: 90px 0; }
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.story-card {
  border-radius: 20px;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.story-content { position: relative; z-index: 1; max-width: 420px; }
.story-content .eyebrow {
  display: inline-block;
  color: var(--accent-2);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.story-content h3 {
  font-size: 24px;
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.story-content p {
  color: rgba(255,255,255,.82);
  font-size: 15px;
  margin: 0 0 20px;
}

/* ── Final CTA ─────────────────────────────── */
.final-cta {
  padding: 100px 0;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(59,130,246,.18), transparent 60%);
}
.final-cta h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -.01em;
}
.final-cta p {
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 34px;
  font-size: 16px;
}

/* ── Footer ────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  background: var(--bg-alt);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 32px;
}
.footer-brand p { color: var(--text-muted); font-size: 14px; margin: 14px 0 4px; }
.footer-brand .copyright { color: #5b6478; font-size: 13px; }
.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin: 0 0 16px;
}
.footer-col a {
  display: block;
  color: var(--text);
  text-decoration: none;
  font-size: 14.5px;
  margin-bottom: 12px;
  opacity: .85;
}
.footer-col a:hover { opacity: 1; color: var(--accent-2); }
.footer-col p.muted { color: var(--text-muted); font-size: 13.5px; margin: 0 0 16px; }
.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}
.social-row svg { width: 16px; height: 16px; color: var(--text); }
.social-row a:hover { background: var(--accent); }

/* ── Video Modal ───────────────────────────── */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.video-modal.open { display: flex; }
.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2,3,6,.9);
  backdrop-filter: blur(4px);
}
.video-modal-content {
  position: relative;
  width: 100%;
  max-width: 960px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0,0,0,.6);
  z-index: 1;
}
.video-modal-content video { width: 100%; height: auto; display: block; background: #000; }
.video-modal-close {
  position: absolute;
  top: -46px;
  right: 0;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-modal-close:hover { background: rgba(255,255,255,.2); }

/* ── Responsive ────────────────────────────── */
@media (max-width: 980px) {
  .song-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .story-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
  background: #06080e;
  flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,.05); }
  .nav-toggle { display: flex; }
  .nav-actions { display: none; }
  .hero { padding: 70px 0 60px; }
  .song-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .video-modal-close { top: -44px; right: 0; }
}
