/* ═══════════════════════════════════════════════════
   TrackID Builder — Product Page Stylesheet
   Design System: FYTAHQ (dark theme, cyan accent, Exo 2)
   ═══════════════════════════════════════════════════ */

:root {
  --bg:      #0a0e17;
  --surface: #111827;
  --card:    rgba(255,255,255,.04);
  --line:    rgba(255,255,255,.08);
  --text:    #f1f5f9;
  --muted:   #94a3b8;
  --accent:  #06b6d4;
  --accent2: #8b5cf6;
  --glow:    rgba(6,182,212,.15);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ═══ HEADER ═══ */

.header-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: center;
  padding: 16px 24px;
}

.site-header {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1100px; padding: 12px 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 14px 40px rgba(0,0,0,.5);
}

.header-left { display: flex; align-items: center; }

.header-logo-text {
  font-family: 'Exo 2', sans-serif;
  font-size: 22px; font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-right { display: flex; align-items: center; gap: 12px; }

.btn-header {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 10px;
  font-size: 14px; font-weight: 400; color: var(--text);
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.btn-header:hover { background: rgba(6,182,212,.12); border-color: var(--accent); }
.btn-header svg { width: 16px; height: 16px; }

/* ═══ MAIN ═══ */

main { padding-top: 110px; }

/* ═══ HERO ═══ */

.hero {
  text-align: center;
  padding: 48px 24px 32px;
  max-width: 900px; margin: 0 auto;
}

.hero-headline {
  font-family: 'Exo 2', sans-serif;
  font-size: 48px; font-weight: 400; line-height: 1.15;
  color: var(--text);
  margin-bottom: 20px;
}

.hero-headline .accent {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: 19px; color: var(--muted); font-style: italic;
  line-height: 1.5; margin-bottom: 24px;
}

.hero-badges {
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
}

/* ═══ BADGES ═══ */

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  font-size: 13px; font-weight: 400; color: var(--accent);
  background: rgba(6,182,212,.08);
  border: 1px solid rgba(6,182,212,.2);
  border-radius: 999px;
  white-space: nowrap;
}
.badge svg { width: 14px; height: 14px; }

/* ═══ SECTIONS ═══ */

.section {
  max-width: 1000px; margin: 0 auto;
  padding: 16px 24px;
}

.section-card {
  padding: 36px 32px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
}

.section-card--accent {
  background: linear-gradient(135deg, rgba(6,182,212,.08), rgba(139,92,246,.06));
  border-color: rgba(6,182,212,.2);
  box-shadow: 0 16px 48px rgba(6,182,212,.08);
  text-align: center;
}

.section-card--center { text-align: center; }

.section-headline {
  font-family: 'Exo 2', sans-serif;
  font-size: 30px; font-weight: 400;
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}

.section-card--center .section-headline { justify-content: center; }

.section-icon { width: 28px; height: 28px; color: var(--accent); flex-shrink: 0; }

.section-text {
  font-size: 17px; color: var(--muted); line-height: 1.7;
  max-width: 760px;
}

.section-card--center .section-text { margin: 0 auto 24px; }

/* ═══ SCREENSHOTS ═══ */

.section--screenshot { max-width: 1100px; }

.section-card--screenshot {
  padding: 0;
  overflow: hidden;
}

.screenshot {
  width: 100%; height: auto; display: block;
}

.screenshot-caption {
  padding: 14px 20px;
  font-size: 14px; color: var(--muted); font-style: italic;
  text-align: center;
  border-top: 1px solid var(--line);
}

/* ═══ STEPS ═══ */

.steps-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
  margin-top: 24px;
}

.step-card { grid-column: span 2; }
.step-card:nth-child(4) { grid-column: 2 / span 2; }
.step-card:nth-child(5) { grid-column: 4 / span 2; }

.step-card {
  padding: 24px 16px; text-align: center;
  background: var(--card);
  border: 1px solid var(--line); border-radius: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.step-card:hover {
  border-color: rgba(6,182,212,.3);
  box-shadow: 0 8px 32px var(--glow);
}

.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin-bottom: 12px;
  font-family: 'Exo 2', sans-serif;
  font-size: 20px; font-weight: 400; color: var(--accent);
  background: rgba(6,182,212,.1);
  border: 1px solid rgba(6,182,212,.2);
  border-radius: 12px;
}

.step-card h3 {
  font-family: 'Exo 2', sans-serif;
  font-size: 17px; font-weight: 400;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px; color: var(--muted); line-height: 1.5;
}

/* ═══ FORMATS ═══ */

.formats-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
  margin-top: 20px;
}

.format-card { grid-column: span 2; }
.format-card:nth-child(4) { grid-column: 2 / span 2; }
.format-card:nth-child(5) { grid-column: 4 / span 2; }

.format-card {
  padding: 20px; text-align: center;
  background: var(--card);
  border: 1px solid var(--line); border-radius: 14px;
  transition: border-color .2s;
}
.format-card:hover { border-color: rgba(6,182,212,.3); }

.format-card h3 {
  font-family: 'Exo 2', sans-serif;
  font-size: 18px; font-weight: 400; color: var(--accent);
  margin-bottom: 6px;
}

.format-card p {
  font-size: 13px; color: var(--muted); line-height: 1.4;
}

/* ═══ FEATURES ═══ */

.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 24px;
}

.feature-card {
  padding: 28px 20px;
  background: var(--card);
  border: 1px solid var(--line); border-radius: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.feature-card:hover {
  border-color: rgba(6,182,212,.3);
  box-shadow: 0 8px 32px var(--glow);
}

.feature-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-bottom: 14px;
  background: rgba(6,182,212,.1);
  border: 1px solid rgba(6,182,212,.15);
  border-radius: 12px;
  color: var(--accent);
}
.feature-icon svg { width: 22px; height: 22px; }

.feature-card h3 {
  font-family: 'Exo 2', sans-serif;
  font-size: 17px; font-weight: 400;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px; color: var(--muted); line-height: 1.5;
}

/* ═══ PROOF ═══ */

.proof-stat {
  font-family: 'Exo 2', sans-serif;
  font-size: 48px; font-weight: 400;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.proof-detail {
  font-size: 17px; color: var(--muted); margin-bottom: 16px;
}

.proof-contrast {
  font-size: 15px; font-weight: 400; color: var(--text);
  padding: 10px 20px;
  background: rgba(255,255,255,.04);
  border-radius: 10px;
  display: inline-block;
}

/* ═══ CTA ═══ */

.cta-status {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  font-size: 16px; font-weight: 400; color: var(--accent);
  background: rgba(6,182,212,.08);
  border: 1px solid rgba(6,182,212,.2);
  border-radius: 14px;
}
.cta-status svg { width: 20px; height: 20px; }

/* ═══ QUOTE ═══ */

.quote {
  font-family: 'Exo 2', sans-serif;
  font-size: 26px; font-weight: 400; font-style: italic;
  color: var(--muted);
  max-width: 600px; margin: 0 auto;
}

/* ═══ FOOTER ═══ */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 24px;
  text-align: center;
}

.footer-inner { max-width: 1000px; margin: 0 auto; }

.footer-brand {
  font-size: 14px; color: var(--muted); margin-bottom: 6px;
}
.footer-brand a {
  color: var(--accent); text-decoration: none;
}
.footer-brand a:hover { text-decoration: underline; }

.footer-copy {
  font-size: 12px; color: rgba(148,163,184,.5);
}

/* ═══ RESPONSIVE ═══ */

@media (max-width: 900px) {
  .hero-headline { font-size: 36px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  main { padding-top: 96px; }
}

@media (max-width: 640px) {
  .header-wrap { padding: 10px 12px; }
  .site-header { padding: 10px 16px; }
  .header-logo-text { font-size: 18px; }

  .hero { padding: 32px 16px 24px; }
  .hero-headline { font-size: 28px; }
  .hero-tagline { font-size: 16px; }

  .section { padding: 32px 16px; }
  .section-headline { font-size: 24px; }
  .section-text { font-size: 15px; }

  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .step-card { grid-column: span 1; }
  .step-card:nth-child(4) { grid-column: auto; }
  .step-card:nth-child(5) { grid-column: span 2; }

  .features-grid { grid-template-columns: 1fr; }

  .formats-grid { grid-template-columns: repeat(2, 1fr); }
  .format-card { grid-column: span 1; }
  .format-card:nth-child(4) { grid-column: auto; }
  .format-card:nth-child(5) { grid-column: span 2; }

  .proof-stat { font-size: 36px; }

  main { padding-top: 80px; }
}

@media (max-width: 400px) {
  .steps-grid { grid-template-columns: 1fr; }
  .step-card:nth-child(5) { grid-column: span 1; }
  .formats-grid { grid-template-columns: 1fr; }
  .format-card:nth-child(5) { grid-column: span 1; }
  .hero-badges { flex-direction: column; align-items: center; }
}
