/* ─── Index-specific theme additions ────────────────────────────────────── */
/* Base tokens (--black, --red, --card, etc.) are defined in base.html */
:root {
  --font-head: 'Orbitron', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ─── Reset / base ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  background-color: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  margin: 0;
  padding: 0;
}

/* ─── Nav ────────────────────────────────────────────────────────────────── */
.tc-nav {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tc-nav-sr {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.15s;
}

.tc-nav-sr:hover { opacity: 1; }

.tc-nav-sr-logo {
  height: 22px;
  width: auto;
}

.tc-nav-sr-tag {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-style: italic;
  font-weight: 400;
  color: var(--text-muted);
}

.tc-logo {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: var(--text);
}

.tc-logo-dot { color: var(--red); }

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.tc-hero {
  padding: 5rem 1.5rem 4rem;
}

.tc-eyebrow {
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-bottom: 1rem;
}

.tc-headline {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.tc-red { color: var(--red); }

.tc-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
}

/* ─── Store badges ───────────────────────────────────────────────────────── */
.tc-badges {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  align-items: center;
}

.tc-badge-link { display: inline-block; }

.tc-badge {
  height: 48px;
  width: auto;
  display: block;
}

/* Google Play badge has extra padding baked in — compensate */
.tc-badge-play {
  height: 72px;
  margin-top: -12px;
  margin-bottom: -12px;
}

/* ─── Mockup ─────────────────────────────────────────────────────────────── */
.tc-mockup-col {
  display: flex;
  justify-content: center;
}

.tc-mockup-wrap {
  position: relative;
  width: 280px;
  max-width: 100%;
}

.tc-mockup-screen {
  display: block;
  width: 280px;
  height: 629px; /* 280 × 2.244 matches 1080×2424 Pixel 9 aspect ratio */
  object-fit: cover;
  object-position: 50% 12px;
  border-radius: 2.5rem;
  border: 6px solid #1a1a1a;
  outline: 1px solid var(--border);
  box-shadow: 0 0 80px rgba(232, 25, 44, 0.15), 0 24px 48px rgba(0,0,0,0.6);
}

/* ─── Features ───────────────────────────────────────────────────────────── */
.tc-features {
  padding: 4rem 1.5rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.tc-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  height: 100%;
  transition: border-color 0.2s;
}

.tc-card:hover {
  border-color: var(--subtle);
}

.tc-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 25, 44, 0.12);
  border: 1px solid rgba(232, 25, 44, 0.25);
  border-radius: 10px;
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
  color: var(--red);
}

.tc-card-title {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-sec);
  margin-bottom: 0.75rem;
}

.tc-card-body {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.tc-footer {
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: var(--black);
}

.tc-footer-sr-logo {
  height: 32px;
  width: auto;
  opacity: 0.85;
  display: block;
  margin: 0 auto 0.9rem;
}

.tc-footer-sr-logo:hover { opacity: 1; }

.tc-footer-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.tc-footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.tc-footer-link {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 13px;
}

.tc-footer-link-sep {
  color: rgba(255,255,255,0.2);
  font-size: 13px;
  margin: 0 8px;
}

/* ─── Responsive tweaks ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .tc-hero { padding: 3rem 1.5rem; text-align: center; }
  .tc-eyebrow, .tc-body { text-align: center; }
  .tc-badges { justify-content: center; }
  .tc-mockup-col { margin-top: 3rem; }
  .tc-mockup-screen { width: 240px; height: 539px; }
  .tc-body { max-width: 100%; }
}
