/*
  TrainerVault Sub-site CSS
  Shares the VMH Digital color palette but with TrainerVault purple accent
  Primary Navy: #0B192C | Secondary: #1E3E62 | Gold: #D4AF37
  TrainerVault Accent: #7C3AED (vibrant purple for distinction)
*/

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

:root {
  --primary-navy:      #0B192C;
  --secondary-navy:    #1E3E62;
  --accent-gold:       #D4AF37;
  --accent-gold-light: #FFE082;
  --tv-purple:         #7C3AED;
  --tv-purple-light:   #a78bfa;
  --tv-teal:           #0891b2;
  --bg-soft:           #F5F7FA;
  --white:             #ffffff;
  --text-dark:         #1C2D37;
  --text-light:        #5A7184;
  --success:           #059669;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-premium:    0 10px 30px rgba(11, 25, 44, 0.08);
  --shadow-hover:      0 20px 50px rgba(11, 25, 44, 0.18);
  --border-subtle:     rgba(11, 25, 44, 0.08);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-soft);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAVIGATION ── */
header {
  background: linear-gradient(135deg, #1a0a2e, var(--primary-navy));
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
}

/* Space the icon from the wordmark via margin, NOT flex `gap`.
   `gap` would also apply between the "Trainer" text node and the
   <span>Vault</span>, rendering the brand name as "Trainer Vault". */
.logo img, .logo > i { margin-right: 10px; }

.logo span { color: var(--tv-purple-light); }

nav ul { display: flex; flex-wrap: wrap; list-style: none; gap: 4px; align-items: center; justify-content: flex-end; }

nav a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

nav a:hover, nav a.active {
  color: var(--tv-purple-light);
  background: rgba(124,58,237,0.15);
}

.nav-back {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition-smooth);
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.1);
}

.nav-back:hover { color: var(--accent-gold); border-color: rgba(212,175,55,0.3); }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #1a0a2e 0%, #2d1b69 50%, var(--secondary-navy) 100%);
  color: var(--white);
  padding: 90px 32px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(124,58,237,0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(8,145,178,0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content { max-width: 860px; margin: 0 auto; position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124,58,237,0.2);
  border: 1px solid rgba(124,58,237,0.4);
  color: var(--tv-purple-light);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -1px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--tv-purple-light), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-radius: 10px;
  transition: var(--transition-smooth);
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--tv-purple), #5b21b6);
  color: var(--white);
  border-color: transparent;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #8b5cf6, var(--tv-purple));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124,58,237,0.4);
}

.btn-gold {
  background-color: var(--accent-gold);
  color: var(--primary-navy);
  font-weight: 700;
}

.btn-gold:hover {
  background-color: var(--accent-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,175,55,0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: var(--white);
  background-color: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

/* ── SECTIONS ── */
.section-title {
  text-align: center;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-title::after {
  content: '';
  display: block;
  width: 52px;
  height: 4px;
  background: linear-gradient(to right, var(--tv-purple), var(--tv-purple-light));
  margin: 14px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 52px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* ── FEATURE CARDS ── */
.features { max-width: 1280px; margin: 0 auto; padding: 80px 32px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--white);
  padding: 36px 30px;
  border-radius: 18px;
  box-shadow: var(--shadow-premium);
  transition: var(--transition-smooth);
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--tv-purple), var(--tv-purple-light));
  opacity: 0;
  transition: var(--transition-smooth);
}

.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(139,92,246,0.12));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--tv-purple);
  font-size: 22px;
}

.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--primary-navy); }
.feature-card p { color: var(--text-light); font-size: 14px; line-height: 1.7; }

/* ── STEP JOURNEY ── */
.journey-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-premium);
  margin-bottom: 16px;
  transition: var(--transition-smooth);
  border: 1px solid var(--border-subtle);
}

.journey-step:hover { transform: translateX(6px); box-shadow: var(--shadow-hover); }

.step-number {
  min-width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  color: var(--white);
  background: linear-gradient(135deg, var(--tv-purple), #5b21b6);
  flex-shrink: 0;
}

.step-content h3 { font-size: 16px; font-weight: 700; color: var(--primary-navy); margin-bottom: 4px; }
.step-content p { font-size: 14px; color: var(--text-light); }

/* ── FOOTER ── */
footer {
  background: linear-gradient(135deg, #1a0a2e, var(--primary-navy));
  color: rgba(255,255,255,0.65);
  padding: 48px 32px 28px;
  font-size: 14px;
  margin-top: 80px;
}

.footer-inner { max-width: 1280px; margin: 0 auto; }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 6px;
  transition: var(--transition-smooth);
  font-size: 14px;
}

.footer-links a:hover { color: var(--tv-purple-light); background: rgba(124,58,237,0.15); }

.footer-bottom-text { text-align: center; color: rgba(255,255,255,0.45); font-size: 13px; }

.footer-back-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 12px;
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}

.footer-back-home:hover { color: var(--accent-gold); }

/* ── CONTENT PAGES ── */
.page-hero {
  padding: 48px 32px;
  text-align: center;
}

.page-hero h1 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; color: var(--white); }
.page-hero h1 span { color: var(--tv-purple-light); }
.page-hero p { color: rgba(255,255,255,0.7); margin-top: 12px; }

.content-page {
  max-width: 860px;
  margin: 48px auto;
  padding: 0 32px;
}

.content-card {
  background: var(--white);
  padding: 48px;
  border-radius: 20px;
  box-shadow: var(--shadow-premium);
}

.content-card h1 { font-size: 30px; font-weight: 800; color: var(--primary-navy); margin-bottom: 6px; }
.content-card .updated { color: var(--text-light); font-size: 13px; margin-bottom: 28px; }
.content-card h2 { font-size: 20px; font-weight: 700; color: var(--primary-navy); margin: 28px 0 10px; }
.content-card h3 { font-size: 17px; font-weight: 600; color: var(--secondary-navy); margin: 20px 0 8px; }
.content-card p { color: var(--text-light); font-size: 15px; line-height: 1.8; margin-bottom: 14px; }
.content-card ul, .content-card ol { margin-left: 24px; color: var(--text-light); font-size: 15px; margin-bottom: 14px; }
.content-card li { margin-bottom: 6px; line-height: 1.7; }
.content-card a { color: var(--tv-purple); text-decoration: none; font-weight: 600; }
.content-card a:hover { color: var(--tv-purple-light); }

.info-banner {
  background: rgba(124,58,237,0.06);
  border: 1.5px dashed rgba(124,58,237,0.4);
  padding: 20px 24px;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.info-banner i { color: var(--tv-purple); font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.info-banner h4 { color: var(--tv-purple); font-weight: 700; margin-bottom: 4px; }
.info-banner p { font-size: 13.5px; color: var(--text-dark); margin: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-container { padding: 12px 20px; flex-wrap: wrap; gap: 10px; justify-content: center; }
  nav { width: 100%; }
  nav ul { gap: 2px; justify-content: center; }
  nav a { font-size: 13px; padding: 7px 10px; }
  .hero { padding: 64px 20px; }
  .features { padding: 60px 20px; }
  .content-page { padding: 0 20px; }
  .content-card { padding: 28px 20px; }
}
