/* ═══════════════════════════════════════════════
   TAILGATETV — Global Stylesheet
   All pages share this file
═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;900&family=Barlow:wght@400;500;600&display=swap');

:root {
  --black:      #0A0A0A;
  --dark:       #111111;
  --dark2:      #1A1A1A;
  --dark3:      #242424;
  --orange:     #E8450A;
  --orange-dim: #b33508;
  --white:      #FFFFFF;
  --gray:       #888888;
  --light-gray: #CCCCCC;
  --border:     rgba(255,255,255,0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 72px;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--light-gray);
  text-decoration: none; transition: color 0.2s;
  padding-bottom: 4px; border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover { color: var(--orange); }
.nav-links a.active { color: var(--orange); border-bottom-color: var(--orange); }
.nav-cta {
  background: var(--orange); color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; border: none; cursor: pointer;
  padding: 10px 24px; border-radius: 3px;
  transition: background 0.2s; text-decoration: none;
  display: inline-block;
}
.nav-cta:hover { background: var(--orange-dim); }
.nav-links-cta { display: none; }

/* ── MOBILE NAV TOGGLE ── */
.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 32px; height: 32px; background: none; border: none; cursor: pointer;
  padding: 0; z-index: 110;
}
.nav-toggle span {
  display: block; width: 100%; height: 2px; background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s 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); }

/* ── PAGE WRAPPER ── */
.page-content { padding-top: 72px; min-height: 100vh; }

/* ── SHARED SECTION STYLES ── */
.section { padding: 100px 48px; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: 4px;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.section-label::before {
  content: ''; display: block; width: 24px; height: 2px; background: var(--orange);
}
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900; text-transform: uppercase;
  line-height: 0.95; letter-spacing: -1px; margin-bottom: 20px;
}
.section-title span { color: var(--orange); }
.divider {
  width: 60px; height: 3px; background: var(--orange);
  margin: 24px 0 48px; border-radius: 2px;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--orange); color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; border: none; cursor: pointer;
  padding: 16px 40px; border-radius: 3px;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none; display: inline-block;
}
.btn-primary:hover { background: var(--orange-dim); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.25); cursor: pointer;
  padding: 16px 40px; border-radius: 3px;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none; display: inline-block;
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }

/* ── PAGE HERO BANNER (non-home pages) ── */
.page-hero {
  background: var(--dark);
  border-bottom: 1px solid var(--border);
  padding: 80px 48px 60px;
  position: relative; overflow: hidden;
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(232,69,10,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,69,10,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-glow {
  position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,69,10,0.1) 0%, transparent 70%);
}
.page-hero-content { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; }
.page-hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(56px, 8vw, 100px);
  font-weight: 900; text-transform: uppercase;
  line-height: 0.92; letter-spacing: -2px;
}
.page-hero h1 span { color: var(--orange); }
.page-hero p {
  font-size: 18px; color: var(--light-gray);
  max-width: 520px; margin-top: 20px; line-height: 1.6;
}

/* ── TICKER ── */
.ticker-wrap {
  background: var(--orange); overflow: hidden;
  padding: 12px 0;
}
.ticker-track {
  display: flex; white-space: nowrap;
  animation: ticker 22s linear infinite;
}
.ticker-item {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--white);
  padding: 0 36px;
  display: flex; align-items: center; gap: 18px;
}
.ticker-item::after { content: '★'; color: rgba(255,255,255,0.45); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── FOOTER ── */
footer {
  background: var(--dark); border-top: 1px solid var(--border);
  padding: 48px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 13px; color: var(--gray); margin-top: 12px; }
.footer-links { display: flex; gap: 28px; }
.footer-links a {
  font-size: 13px; color: var(--gray); text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--orange); }

/* ── PRODUCT ICON SVG (shared across pages) ── */
.product-icon-wrap {
  display: flex; justify-content: center; align-items: center;
  background: var(--dark2); border: 1px solid var(--border);
  border-radius: 12px; padding: 60px 40px; position: relative;
}
.product-icon-wrap::before {
  content: ''; position: absolute; inset: 0; border-radius: 12px;
  background: radial-gradient(circle at 50% 50%, rgba(232,69,10,0.08) 0%, transparent 70%);
}

/* ── FEATURE ROW ── */
.feature-row {
  display: flex; gap: 20px; align-items: flex-start;
  padding-bottom: 32px; border-bottom: 1px solid var(--border);
}
.feature-row:last-child { border-bottom: none; padding-bottom: 0; }
.feature-icon {
  width: 44px; height: 44px; background: rgba(232,69,10,0.12);
  border: 1px solid rgba(232,69,10,0.3); border-radius: 6px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.feature-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 4px;
}
.feature-desc { font-size: 15px; color: var(--gray); line-height: 1.55; }

/* ── CARDS ── */
.card {
  background: var(--dark2); border: 1px solid var(--border);
  border-radius: 8px; padding: 32px 28px;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { opacity: 0; animation: fadeUp 0.65s ease forwards; }
.d1 { animation-delay: 0.05s; }
.d2 { animation-delay: 0.15s; }
.d3 { animation-delay: 0.28s; }
.d4 { animation-delay: 0.42s; }

/* ── MOBILE ── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-links {
    display: flex; flex-direction: column; list-style: none;
    position: fixed; top: 72px; left: 0; right: 0; height: calc(100vh - 72px);
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    background: var(--black);
    padding: 32px 28px; gap: 8px;
    transform: translateX(100%); transition: transform 0.3s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links a {
    display: block; padding: 16px 4px; font-size: 20px; letter-spacing: 1px;
    border-bottom: none;
  }
  .nav-links .nav-links-cta {
    display: block;
    margin-top: 16px; background: var(--orange); color: var(--white);
    text-align: center; border-radius: 3px; padding: 16px 4px;
  }
  .section { padding: 70px 20px; }
  .page-hero { padding: 60px 20px 40px; }
  .footer-inner { flex-direction: column; gap: 24px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}
