/* ============================================================
   TREVITY LEADERSHIP ACADEMY — Shared base styles
   Hosted on: Cloudflare Pages / trevityinc.com
   ============================================================ */

/* ── PLACEHOLDER URLs (update before launch) ──────────────────
   KIT_SIGNUP_URL         = Kit landing page for 30-day course
   KIT_CONTACT_URL        = Kit landing page for contact form
   PATRICK_BOOKING_URL    = Patrick's booking link
   JAMES_BOOKING_URL      = James's booking link
   KAJABI_PRIVACY_URL     = Privacy policy
   KAJABI_TERMS_URL       = Terms of service
   KAJABI_DISCLAIMER_URL  = Disclaimer
   COMMUNITY_URL          = Circle community URL
   LOGIN_URL              = Thinkific / Circle login
   ──────────────────────────────────────────────────────────── */

/* ── TOKENS ── */
:root {
  --bg:            #0A0A0F;
  --bg-raised:     rgba(255,255,255,0.03);
  --text-primary:  #FFFFFF;
  --text-secondary:#AAAAAA;
  --text-tertiary: #666666;
  --accent-orange: #F47621;
  --accent-blue:   #375BA9;
  --divider:       rgba(255,255,255,0.08);
  --max-w:         1200px;
  --font-heading:  'Quicksand', sans-serif;
  --font-body:     'Source Sans 3', sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── CONTAINER ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 768px) { .container { padding: 0 32px; } }
@media (max-width: 480px) { .container { padding: 0 20px; } }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ── EYEBROW ── */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent-orange);
  flex-shrink: 0;
}
.eyebrow.blue { color: var(--accent-blue); }
.eyebrow.blue::before { background: var(--accent-blue); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent-orange);
  color: #fff;
  border: 1px solid var(--accent-orange);
}
.btn-primary:hover {
  background: #ff8a35;
  border-color: #ff8a35;
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-1px);
}

/* ── TAG PILL ── */
.tag {
  display: inline-block;
  background: rgba(244,118,33,0.12);
  border: 1px solid rgba(244,118,33,0.25);
  color: var(--accent-orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}

/* ── CARD ── */
.card {
  background: var(--bg-raised);
  border: 1px solid var(--divider);
  border-radius: 8px;
  padding: 32px;
  transition: border-color 200ms ease, background 200ms ease;
}
.card:hover {
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
}

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  height: 64px;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo img { height: 30px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 150ms ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text-primary); }
.nav-links a.nav-login { color: var(--text-secondary); }
.nav-links a.nav-cta {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent-orange);
  color: #fff;
  padding: 9px 18px;
  border-radius: 4px;
  transition: background 150ms ease, transform 150ms ease;
}
.nav-links a.nav-cta:hover {
  background: #ff8a35;
  transform: translateY(-1px);
}

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 250ms ease, opacity 250ms ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(10,10,15,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--divider);
  padding: 24px 20px 32px;
  gap: 0;
  z-index: 99;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 14px 0;
  border-bottom: 1px solid var(--divider);
  transition: color 150ms ease;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--text-primary); }
.nav-mobile a.nav-cta-mobile {
  margin-top: 20px;
  background: var(--accent-orange);
  color: #fff;
  text-align: center;
  border-radius: 4px;
  padding: 14px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: none;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--divider);
  padding: 64px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--divider);
  margin-bottom: 32px;
}
.footer-brand img { height: 26px; margin-bottom: 16px; }
.footer-brand p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 260px;
}
.footer-col h5 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 150ms ease;
}
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-tertiary);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { transition: color 150ms ease; }
.footer-bottom-links a:hover { color: var(--text-secondary); }

@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── FINAL CTA SECTION (shared) ── */
.final-cta {
  position: relative;
  padding: 128px 0;
  overflow: hidden;
  border-top: 1px solid var(--divider);
}
.final-cta-ghost {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(120px, 20vw, 280px);
  line-height: 1;
  color: var(--accent-orange);
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.final-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
}
.final-cta h2 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 20px;
}
.final-cta p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 52ch;
}
.final-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
