/* ==========================================================================
   TuneZinc marketing site — theme tokens
   Palette sampled from the app's own icon (vinyl record, amber/gold script
   wordmark, cream label) rather than the generic in-app Material seed color.
   ========================================================================== */
:root {
  --bg: #0d0c12;
  --bg-raised: #161320;
  --bg-card: #1c1828;
  --border: #322c48;

  /* Violet is the primary accent (buttons, links, icons). */
  --violet: #9b86f0;
  --violet-strong: #b9a8f7;
  --violet-dim: #6f5bc4;
  --violet-soft: rgba(155, 134, 240, 0.16);

  /* Amber/gold is a minimal secondary accent, echoing the logo's script wordmark. */
  --accent: #e3a857;
  --accent-strong: #f2c37c;
  --accent-soft: rgba(227, 168, 87, 0.08);

  --cream: #f3ecd9;
  --text: #f3ecd9;
  --text-dim: #c6bfe0;
  --text-faint: #8b84a8;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;

  --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);

  --font-display: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

/* Subtle wash — violet-led, with a faint warm highlight echoing the logo */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(800px circle at 85% -10%, var(--violet-soft), transparent 60%),
    radial-gradient(650px circle at -5% 45%, rgba(155, 134, 240, 0.1), transparent 55%),
    radial-gradient(420px circle at 60% 0%, var(--accent-soft), transparent 60%);
  pointer-events: none;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 12, 10, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  color: var(--cream);
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--violet-strong);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--violet-dim);
  border: 1px solid var(--violet);
  color: var(--cream);
  box-shadow: 0 10px 28px rgba(111, 91, 196, 0.35);
}

.btn-primary:hover {
  background: var(--violet);
  box-shadow: 0 14px 34px rgba(111, 91, 196, 0.45);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--violet);
  color: var(--violet-strong);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

/* ---------- Hero ---------- */
.hero {
  padding: 110px 0 90px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--violet-soft);
  color: var(--violet-strong);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  line-height: 1.08;
  margin: 0 0 22px;
  color: var(--cream);
}

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

.hero p.lead {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 46ch;
  margin: 0 0 16px;
}

.tech-aside {
  font-size: 0.85rem;
  color: var(--text-faint);
  margin: 0 0 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.platform-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--text-faint);
}

.badge .soon,
.platform-list .soon {
  font-style: normal;
  font-size: 0.68em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--violet);
  opacity: 0.85;
}

/* ---------- Hero visual / screenshot placeholders ---------- */
.shot-placeholder {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    linear-gradient(160deg, var(--bg-card), var(--bg-raised));
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  text-align: center;
}

.shot-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, transparent 0, transparent 22px, rgba(243,236,217,0.03) 23px);
  opacity: 0.6;
}

.shot-placeholder .shot-label {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-faint);
  padding: 24px;
}

.shot-placeholder .shot-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet-strong);
}

.shot-placeholder .shot-icon svg {
  width: 20px;
  height: 20px;
}

.shot-placeholder .shot-tag {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.hero-shot {
  aspect-ratio: 4 / 3.1;
}

/* ---------- Section scaffolding ---------- */
section {
  padding: 88px 0;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-head .eyebrow {
  margin-bottom: 16px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  color: var(--cream);
  margin: 0 0 14px;
}

.section-head p {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin: 0;
}

/* ---------- Why cards ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: var(--violet);
}

.why-card .icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--violet-soft);
  color: var(--violet-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.why-card .icon svg {
  width: 22px;
  height: 22px;
}

.why-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  color: var(--cream);
}

.why-card p {
  margin: 0 0 12px;
  color: var(--text-dim);
  font-size: 0.94rem;
}

.why-card .tech-note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-faint);
  border-top: 1px dashed var(--border);
  padding-top: 12px;
}

/* ---------- Feature rows ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

.feature-row:last-child {
  border-bottom: none;
}

.feature-row.reverse .feature-copy {
  order: 2;
}

.feature-row.reverse .shot-placeholder {
  order: 1;
}

.feature-copy .eyebrow {
  margin-bottom: 14px;
}

.feature-copy h3 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--cream);
  margin: 0 0 16px;
}

.feature-copy p {
  color: var(--text-dim);
  font-size: 1rem;
  margin: 0 0 14px;
}

.feature-copy ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.feature-copy ul li {
  display: flex;
  gap: 10px;
  color: var(--text-dim);
  font-size: 0.92rem;
}

.feature-copy ul li::before {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--violet);
}

.feature-shot {
  aspect-ratio: 4 / 3;
}

/* ---------- Team page ---------- */
.team-hero {
  padding: 90px 0 40px;
  text-align: center;
}

.team-hero .wrap {
  display: block;
}

.team-hero .section-head h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--cream);
  margin: 0 0 14px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: var(--violet);
}

.team-avatar {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--violet-soft);
  color: var(--violet-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  border: 1px dashed var(--border);
}

.team-card h3 {
  margin: 0 0 4px;
  color: var(--cream);
  font-size: 1.15rem;
}

.team-role {
  display: block;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.team-card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.94rem;
}

@media (max-width: 700px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Platform strip ---------- */
.platform-strip {
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.platform-strip .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 40px 28px;
}

.platform-strip h4 {
  margin: 0;
  color: var(--text-faint);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.platform-list {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.platform-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text-dim);
  font-size: 0.95rem;
  font-weight: 500;
}

.platform-list .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
}

/* ---------- Trust / tradeoffs callout ---------- */
.trust {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: flex-start;
}

.trust .icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--violet-soft);
  color: var(--violet-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust .icon svg {
  width: 24px;
  height: 24px;
}

.trust h3 {
  margin: 0 0 10px;
  color: var(--cream);
  font-size: 1.3rem;
}

.trust p {
  margin: 0;
  color: var(--text-dim);
}

/* ---------- CTA ---------- */
.cta-band {
  text-align: center;
  padding: 100px 0;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--cream);
  margin: 0 0 18px;
}

.cta-band p {
  color: var(--text-dim);
  max-width: 46ch;
  margin: 0 auto 34px;
  font-size: 1.05rem;
}

.cta-band .hero-actions {
  justify-content: center;
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 44px 0;
}

footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-faint);
  font-size: 0.88rem;
}

.footer-brand img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
}

.footer-links {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-faint);
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--violet-strong);
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 60px 0 50px;
    text-align: left;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
  }

  .feature-row.reverse .feature-copy {
    order: 1;
  }

  .feature-row.reverse .shot-placeholder {
    order: 2;
  }

  .trust {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  body.nav-open .nav-links {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-raised);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
  }

  body.nav-open .nav-links a {
    padding: 14px 28px;
    width: 100%;
  }

  body.nav-open .nav-cta {
    display: none;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .platform-strip .wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  footer .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}
