/* Reset and Base Styles */
:root {
  --primary-dark: #000000;
  --primary-green: #1a1a1a;
  --accent-red: #e31837;
  --accent-red-hover: #c01530;
  --text-dark: #1a1a1a;
  --text-light: #666666;
  --text-muted: #999999;
  --bg-light: #f8f8f8;
  --white: #ffffff;
  --border-color: #e0e0e0;
  --font-main:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Bebas Neue", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* Header */
.site-header {
  background-color: #000000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.top-bar {
  background-color: var(--white);
  color: var(--text-dark);
  padding: 10px 0;
  font-size: 13px;
  text-align: center;
  font-weight: 600;
}

.top-bar a {
  color: var(--text-dark);
  text-decoration: underline;
}

.header-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 40px;
  background-color: #000000;
}

.header-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  position: relative;
  margin-bottom: 20px;
}

.btn-ipv-data {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  color: var(--white);
  padding: 12px 24px;
  border: 2px solid var(--white);
  border-radius: 0;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-ipv-data:hover {
  background-color: var(--white);
  color: #000000;
  transform: translateY(-50%) translateY(-2px);
}

.btn-qb-tier {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  color: var(--white);
  padding: 12px 24px;
  border: 2px solid var(--white);
  border-radius: 0;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-qb-tier:hover {
  background-color: var(--white);
  color: #000000;
  transform: translateY(-50%) translateY(-2px);
}

.logo-container {
  flex-shrink: 0;
}

.logo-link {
  display: block;
}

.logo-text {
  text-align: center;
}

.nav-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  width: 100%;
}

/* ── LOGO ── */
.logo-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  text-decoration: none;
}

.logo-main {
  display: flex;
  justify-content: space-between;
  font-family: "Barlow Condensed", "Inter", sans-serif;
  font-size: 76px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  line-height: 0.9;
  background: linear-gradient(90deg, #22c55e 0%, #f97316 55%, #e31837 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}

.logo-main span {
  display: inline-block;
  flex: 1;
  text-align: center;
}

.logo-bar {
  display: block;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #22c55e 0%, #f97316 55%, #e31837 100%);
  margin: 5px 0 6px;
  border-radius: 0;
}

.logo-sub {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.38em;
  font-weight: 600;
  line-height: 1;
  text-align: justify;
  text-align-last: justify;
  width: 100%;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.main-nav a:hover {
  color: var(--accent-red);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn-subscribe-header {
  background-color: var(--accent-red);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-subscribe-header:hover {
  background-color: var(--accent-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(227, 24, 55, 0.3);
}

.icon-btn {
  font-size: 20px;
  color: var(--white);
  padding: 8px;
}

.icon-btn:hover {
  color: var(--accent-red);
}

/* Hero Section */
.hero-section {
  background: var(--white);
  color: var(--text-dark);
  padding: 50px 40px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(0,0,0,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
}

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

.hero-title {
  font-family: var(--font-heading);
  font-size: 72px;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: 2px;
  color: var(--text-dark);
}

.hero-subtitle {
  font-size: 12pt;
  margin-bottom: 40px;
  font-weight: 300;
  color: var(--text-light);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero-cta .hero-cta-row:first-child {
  margin-bottom: 36px;
}

.hero-cta .hero-cta-row--center {
  margin-bottom: 0;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.hero-cta-row--center {
  justify-content: center;
}

.btn-primary {
  background-color: var(--accent-red);
  color: var(--white);
  padding: 18px 40px;
  border-radius: 35px;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary:hover {
  background-color: var(--accent-red-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(227, 24, 55, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-dark);
  padding: 18px 40px;
  border: 2px solid var(--text-dark);
  border-radius: 35px;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-secondary:hover {
  background-color: var(--text-dark);
  color: var(--white);
}

/* Hero Highlight Callout */
.hero-highlight {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  background: #000;
  border-left: 5px solid var(--accent-red);
  border-right: 5px solid var(--accent-red);
  padding: 18px 32px;
  margin: 0 auto 64px;
  max-width: 760px;
  border-radius: 2px;
  box-shadow: 0 4px 24px rgba(227, 24, 55, 0.18);
}

.hero-highlight__only {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 28px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-red);
  white-space: nowrap;
  flex-shrink: 0;
}

.hero-highlight__text {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.4;
  text-align: left;
}

@media (max-width: 768px) {
  .hero-highlight {
    flex-direction: column;
    gap: 6px;
    padding: 14px 20px;
    text-align: center;
  }
  .hero-highlight__text {
    text-align: center;
    font-size: 14px;
  }
  .hero-highlight__only {
    font-size: 22px;
  }
}

/* Features Section */
.features-section {
  padding: 20px 40px 50px;
  background-color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 56px;
  margin-bottom: 20px;
  color: var(--text-dark);
  letter-spacing: 1px;
}

.section-description {
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.8;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background-color: var(--bg-light);
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-red);
}

.feature-icon {
  font-size: 48px;
  color: var(--accent-red);
  margin-bottom: 20px;
}

.feature-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.feature-text {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
}

/* Content Preview Section */
.content-preview {
  padding: 25px 40px;
  background-color: var(--bg-light);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.content-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.content-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.content-image {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 64px;
}

.content-body {
  padding: 30px;
}

.content-category {
  display: inline-block;
  background-color: var(--accent-red);
  color: var(--white);
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}

.content-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
  line-height: 1.3;
}

.content-excerpt {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
}

.content-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}

.read-more {
  color: var(--accent-red);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.read-more:hover {
  text-decoration: underline;
}

/* Stats Section */
.stats-section {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-green) 100%
  );
  color: var(--white);
  padding: 40px 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 64px;
  line-height: 1;
  margin-bottom: 10px;
  color: var(--accent-red);
}

.stat-label {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

/* Google Sheet Embed Section */
.sheet-embed-section {
  padding: 60px 20px;
  background: #f8f9fa;
}

.sheet-container {
  max-width: 1200px;
  margin: 0 auto;
}

.sheet-container iframe {
  display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  user-select: none;
}

/* CTA Section */
.cta-section {
  padding: 50px 40px;
  background-color: var(--white);
  text-align: center;
}

.cta-content {
  max-width: 900px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 48px;
  color: var(--text-dark);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.cta-text {
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 40px;
}

.cta-section .subscription-box {
  max-width: 900px;
  margin: 0 auto;
}

/* Footer */
.site-footer {
  background-color: #1a1a1a;
  color: #999;
  padding: 60px 40px 30px;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-about {
  max-width: 350px;
}

.footer-logo-text {
  margin-bottom: 20px;
}

.footer-logo-text .logo-main {
  font-size: 46px;
  letter-spacing: -1px;
}

.footer-logo-text .logo-bar {
  height: 2px;
  margin: 4px 0 5px;
}

.footer-logo-text .logo-sub {
  font-size: 9px;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-description {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: #2a2a2a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--accent-red);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-column h4 {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: #999;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a:hover {
  color: var(--white);
}

/* Video Container */
.video-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 40px auto 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Images Row Container */
.images-row {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.coach-image-container {
  text-align: center;
  flex: 1;
  min-width: 280px;
  max-width: 450px;
}

.tom-brady-image {
  max-width: 450px;
}

.coach-image-container img {
  width: auto;
  height: 400px;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.image-caption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-light);
  font-style: italic;
}

/* QB Tier List Page */
.qb-tier-section {
  padding: 60px 40px;
  background-color: #f5f5f5;
  min-height: calc(100vh - 400px);
}

.qb-tier-container {
  max-width: 960px;
  margin: 0 auto;
  text-align: left;
}

.qb-tier-title {
  font-family: "Barlow Condensed", var(--font-heading), sans-serif;
  font-size: 72px;
  font-weight: 900;
  font-style: italic;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Tier List page intro */
.tier-intro {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
  border-top: 2px solid var(--accent-red);
  padding-top: 20px;
}

/* Individual tier block */
.tier-block {
  margin-bottom: 48px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.tier-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background-color: #1a1a1a;
  border-left: 6px solid var(--accent-red);
}

.tier-label {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-red);
  min-width: 60px;
}

.tier-name {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 28px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  line-height: 1;
}

.tier-subtitle {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  margin-left: auto;
}

/* Color variants per tier — headers stay dark, just accent color changes */
.tier-header.tier-1 {
  border-left-color: #16a34a;
  background: linear-gradient(90deg, #14532d 0%, #1a1a1a 60%);
}
.tier-header.tier-1 .tier-label {
  color: #4ade80;
}
.tier-header.tier-2 {
  border-left-color: #2563eb;
  background: linear-gradient(90deg, #1e3a5f 0%, #1a1a1a 60%);
}
.tier-header.tier-2 .tier-label {
  color: #60a5fa;
}
.tier-header.tier-3 {
  border-left-color: #ea580c;
  background: linear-gradient(90deg, #431407 0%, #1a1a1a 60%);
}
.tier-header.tier-3 .tier-label {
  color: #fb923c;
}
.tier-header.tier-3a {
  border-left-color: #ea580c;
  background: linear-gradient(90deg, #431407 0%, #1a1a1a 60%);
}
.tier-header.tier-3a .tier-label {
  color: #fb923c;
}
.tier-header.tier-3b {
  border-left-color: #ea580c;
  background: linear-gradient(90deg, #431407 0%, #1a1a1a 60%);
}
.tier-header.tier-3b .tier-label {
  color: #fb923c;
}
.tier-header.tier-3c {
  border-left-color: #ea580c;
  background: linear-gradient(90deg, #431407 0%, #1a1a1a 60%);
}
.tier-header.tier-3c .tier-label {
  color: #fb923c;
}
.tier-header.tier-4 {
  border-left-color: #ca8a04;
  background: linear-gradient(90deg, #422006 0%, #1a1a1a 60%);
}
.tier-header.tier-4 .tier-label {
  color: #fbbf24;
}
.tier-header.tier-4a {
  border-left-color: #ca8a04;
  background: linear-gradient(90deg, #422006 0%, #1a1a1a 60%);
}
.tier-header.tier-4a .tier-label {
  color: #fbbf24;
}
.tier-header.tier-4b {
  border-left-color: #ca8a04;
  background: linear-gradient(90deg, #422006 0%, #1a1a1a 60%);
}
.tier-header.tier-4b .tier-label {
  color: #fbbf24;
}
.tier-header.tier-4c {
  border-left-color: #ca8a04;
  background: linear-gradient(90deg, #422006 0%, #1a1a1a 60%);
}
.tier-header.tier-4c .tier-label {
  color: #fbbf24;
}
.tier-header.tier-5 {
  border-left-color: #e31837;
  background: linear-gradient(90deg, #450a16 0%, #1a1a1a 60%);
}
.tier-header.tier-5 .tier-label {
  color: #f87171;
}
.tier-header.tier-5a {
  border-left-color: #e31837;
  background: linear-gradient(90deg, #450a16 0%, #1a1a1a 60%);
}
.tier-header.tier-5a .tier-label {
  color: #f87171;
}
.tier-header.tier-5b {
  border-left-color: #e31837;
  background: linear-gradient(90deg, #450a16 0%, #1a1a1a 60%);
}
.tier-header.tier-5b .tier-label {
  color: #f87171;
}
.tier-header.tier-5c {
  border-left-color: #e31837;
  background: linear-gradient(90deg, #450a16 0%, #1a1a1a 60%);
}
.tier-header.tier-5c .tier-label {
  color: #f87171;
}
.tier-header.tier-6 {
  border-left-color: #6b7280;
  background: linear-gradient(90deg, #1f2937 0%, #1a1a1a 60%);
}
.tier-header.tier-6a {
  border-left-color: #6b7280;
  background: linear-gradient(90deg, #1f2937 0%, #1a1a1a 60%);
}
.tier-header.tier-6b {
  border-left-color: #6b7280;
  background: linear-gradient(90deg, #1f2937 0%, #1a1a1a 60%);
}
.tier-header.tier-6 .tier-label,
.tier-header.tier-6a .tier-label,
.tier-header.tier-6b .tier-label {
  color: #9ca3af;
}

/* QB roster rows — light background */
.tier-roster {
  background-color: #ffffff;
  border-left: 6px solid transparent;
  padding: 0 0 2px 0;
}

.tier-1 + .tier-roster {
  border-left-color: #16a34a;
}
.tier-2 + .tier-roster {
  border-left-color: #2563eb;
}
.tier-3 + .tier-roster,
.tier-3a + .tier-roster,
.tier-3b + .tier-roster,
.tier-3c + .tier-roster {
  border-left-color: #ea580c;
}
.tier-4 + .tier-roster,
.tier-4a + .tier-roster,
.tier-4b + .tier-roster,
.tier-4c + .tier-roster {
  border-left-color: #ca8a04;
}
.tier-5 + .tier-roster,
.tier-5a + .tier-roster,
.tier-5b + .tier-roster,
.tier-5c + .tier-roster {
  border-left-color: #e31837;
}
.tier-6 + .tier-roster,
.tier-6a + .tier-roster,
.tier-6b + .tier-roster {
  border-left-color: #6b7280;
}

.qb-row {
  display: flex;
  align-items: center;
  padding: 10px 24px;
  border-bottom: 1px solid #e8e8e8;
  transition: background 0.15s;
}

.qb-row:hover {
  background-color: #f9f9f9;
}
.qb-row:last-child {
  border-bottom: none;
}

.qb-rank {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  font-weight: 900;
  color: #aaaaaa;
  min-width: 36px;
  letter-spacing: 1px;
}

.qb-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  flex: 1;
}

.qb-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888888;
  background: #f0f0f0;
  padding: 3px 8px;
  border-radius: 3px;
  margin-right: 12px;
}

.qb-ipv {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 18px;
  font-weight: 900;
  font-style: italic;
  min-width: 80px;
  text-align: right;
}

.qb-ipv.pos {
  color: #16a34a;
}
.qb-ipv.neg {
  color: #e31837;
}
.qb-ipv.neu {
  color: #ca8a04;
}

/* Analysis box below the roster — light */
.tier-analysis {
  background-color: #fafafa;
  padding: 24px 28px;
  border-left: 6px solid transparent;
  border-top: 1px solid #e8e8e8;
}

.tier-1 ~ .tier-analysis,
.tier-roster.border-1 + .tier-analysis {
  border-left-color: #16a34a;
}

.tier-analysis p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 14px;
}

.tier-analysis p:last-child {
  margin-bottom: 0;
}

.tier-analysis strong {
  color: var(--text-dark);
  font-weight: 700;
}

/* Accent color per tier for analysis border */
.tier-block .tier-analysis {
  border-left-color: inherit;
}
.tier-block.t1 .tier-analysis {
  border-left-color: #16a34a;
}
.tier-block.t2 .tier-analysis {
  border-left-color: #2563eb;
}
.tier-block.t3 .tier-analysis,
.tier-block.t3a .tier-analysis,
.tier-block.t3b .tier-analysis,
.tier-block.t3c .tier-analysis {
  border-left-color: #ea580c;
}
.tier-block.t4 .tier-analysis,
.tier-block.t4a .tier-analysis,
.tier-block.t4b .tier-analysis,
.tier-block.t4c .tier-analysis {
  border-left-color: #ca8a04;
}
.tier-block.t5 .tier-analysis,
.tier-block.t5a .tier-analysis,
.tier-block.t5b .tier-analysis,
.tier-block.t5c .tier-analysis {
  border-left-color: #e31837;
}
.tier-block.t6 .tier-analysis,
.tier-block.t6a .tier-analysis,
.tier-block.t6b .tier-analysis {
  border-left-color: #6b7280;
}

/* Tier group description text */
.tier-group-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 28px;
}

/* Section divider headings within tier 3/4/5 */
.tier-group-label {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #888888;
  padding: 28px 0 10px;
  border-bottom: 1px solid #ddd;
  margin-bottom: 4px;
}

/* ── IPV Glossary ── */
.gloss-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 auto 40px;
  max-width: 860px;
}

.gloss-index a {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #555555;
  background: #ffffff;
  border: 1px solid #ddd;
  padding: 6px 14px;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.gloss-index a:hover {
  color: #ffffff;
  border-color: var(--accent-red);
  background: var(--accent-red);
}

.gloss-section-label {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 11px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #999999;
  margin: 40px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #ddd;
}

.gloss-card {
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 16px;
  border-left: 5px solid #ddd;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: border-color 0.2s ease;
}

.gloss-card:hover {
  border-left-color: var(--accent-red);
}

.gloss-card--primary {
  border-left-color: #16a34a;
}

.gloss-card--primary:hover {
  border-left-color: #15803d;
}

.gloss-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #1a1a1a;
  border-bottom: 1px solid #e8e8e8;
  gap: 12px;
}

.gloss-term {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 22px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  line-height: 1.1;
}

.gloss-abbr {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
  font-style: normal;
  margin-left: 4px;
}

.gloss-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}

.gloss-badge--core {
  background: rgba(22, 163, 74, 0.2);
  color: #4ade80;
  border: 1px solid rgba(22, 163, 74, 0.4);
}

.gloss-badge--dm {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.gloss-badge--hp {
  background: rgba(234, 88, 12, 0.2);
  color: #fb923c;
  border: 1px solid rgba(234, 88, 12, 0.4);
}

.gloss-badge--cr {
  background: rgba(202, 138, 4, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(202, 138, 4, 0.4);
}

.gloss-badge--ex {
  background: rgba(227, 24, 55, 0.2);
  color: #f87171;
  border: 1px solid rgba(227, 24, 55, 0.4);
}

.gloss-card-body {
  padding: 20px 24px;
  background: #ffffff;
}

.gloss-card-body p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 12px;
}

.gloss-card-body p:last-child {
  margin-bottom: 0;
}

.gloss-card-body strong {
  color: var(--text-dark);
  font-weight: 700;
}

.gloss-component-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
  padding: 0;
}

.gloss-component-list li a {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #555555;
  background: #f5f5f5;
  border: 1px solid #ddd;
  padding: 5px 14px;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.gloss-component-list li a:hover {
  color: #ffffff;
  background: var(--accent-red);
  border-color: var(--accent-red);
}

.gloss-note {
  background: #fffbeb;
  border-left: 3px solid #ca8a04;
  padding: 10px 16px !important;
  border-radius: 0 4px 4px 0;
  font-size: 14px !important;
  color: #555555 !important;
  margin-top: 12px !important;
}

.gloss-footnote {
  font-size: 13px !important;
  color: #999999 !important;
  font-style: italic;
  margin-top: 16px !important;
  border-top: 1px solid #e8e8e8;
  padding-top: 12px !important;
}

/* Rate stats grid */
.gloss-rates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.gloss-rate-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 20px 22px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.gloss-rate-card:hover {
  border-color: var(--accent-red);
  box-shadow: 0 4px 12px rgba(227, 24, 55, 0.1);
}

.gloss-rate-abbr {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 22px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 4px;
}

.gloss-rate-full {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #999999;
  margin-bottom: 12px;
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 10px;
}

.gloss-rate-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.75;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .gloss-rates-grid {
    grid-template-columns: 1fr;
  }
  .gloss-term {
    font-size: 18px;
  }
  .gloss-badge {
    display: none;
  }
  .qb-tier-section {
    padding: 40px 16px;
  }
  .qb-tier-title {
    font-size: 48px;
  }
  .tier-name {
    font-size: 22px;
  }
  .tier-subtitle {
    display: none;
  }
  .qb-tag {
    display: none;
  }
  .qb-ipv {
    font-size: 15px;
    min-width: 60px;
  }
  .tier-analysis p {
    font-size: 14px;
  }
}

/* Blog Post Box */
.blog-post-box {
  background-color: var(--bg-light);
  border-left: 4px solid var(--accent-red);
  border-radius: 8px;
  padding: 40px 48px;
  margin-bottom: 40px;
  text-align: left;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.blog-post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.blog-post-category {
  background-color: var(--accent-red);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-post-date {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-post-title {
  font-family: var(--font-heading);
  font-size: 36px;
  color: var(--text-dark);
  letter-spacing: 1px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.blog-section-heading {
  font-family: var(--font-heading);
  font-size: 26px;
  color: var(--accent-red);
  letter-spacing: 1px;
  margin-top: 40px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-color);
  text-transform: uppercase;
}

.blog-pull-quote {
  background-color: #000;
  color: #fff;
  border-left: 5px solid var(--accent-red);
  font-size: 20px;
  font-style: italic;
  font-weight: 600;
  line-height: 1.5;
  padding: 20px 28px;
  margin: 28px 0;
  border-radius: 0 6px 6px 0;
}

.blog-bullet-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-bullet-list li {
  font-size: 15px;
  color: var(--text-light);
  padding: 10px 16px 10px 44px;
  background-color: #fff;
  border-radius: 6px;
  border-left: 3px solid var(--accent-red);
  position: relative;
  line-height: 1.5;
}

.blog-bullet-list li::before {
  content: "▸";
  color: var(--accent-red);
  font-size: 14px;
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.blog-post-body p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.blog-post-body p:last-child {
  margin-bottom: 0;
}

.blog-post-footnote {
  font-size: 13px !important;
  color: var(--text-muted) !important;
  font-style: italic;
  margin-top: 8px !important;
}

.blog-post-link {
  color: var(--accent-red);
  text-decoration: underline;
  font-weight: 600;
}

.blog-post-link:hover {
  color: var(--accent-red-hover);
}

.blog-post-body strong {
  color: var(--text-dark);
  font-weight: 700;
}

.doc-embed-container {
  margin-bottom: 50px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.doc-embed-container iframe {
  display: block;
  border: none;
}

.subscription-box {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-green) 100%
  );
  border-radius: 12px;
  padding: 50px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.subscription-content {
  max-width: 600px;
  margin: 0 auto;
}

.subscription-title {
  font-family: var(--font-heading);
  font-size: 36px;
  color: var(--white);
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.subscription-description {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  line-height: 1.6;
}

.btn-subscribe-tier {
  display: inline-block;
  background-color: var(--accent-red);
  color: var(--white);
  padding: 18px 50px;
  border-radius: 35px;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-subscribe-tier:hover {
  background-color: var(--accent-red-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(227, 24, 55, 0.4);
}

/* Desktop Nav Dropdown */
.main-nav ul li.has-dropdown {
  position: relative;
}

.main-nav ul li.has-dropdown > a::after {
  content: " ▾";
  font-size: 10px;
  opacity: 0.6;
  margin-left: 2px;
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background-color: #111111;
  border-top: 2px solid var(--accent-red);
  min-width: 160px;
  z-index: 2000;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.nav-dropdown a {
  display: block;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  border-bottom: 1px solid #222;
  transition:
    color 0.2s,
    background 0.2s;
}

.nav-dropdown a:last-child {
  border-bottom: none;
}

.nav-dropdown a:hover {
  color: var(--accent-red);
  background-color: #1a1a1a;
}

.main-nav ul li.has-dropdown:hover .nav-dropdown,
.main-nav ul li.has-dropdown:focus-within .nav-dropdown {
  display: block;
}

/* Mobile sub-item (indented glossary link) */
.mobile-nav-drawer ul li.mobile-sub-item {
  border-bottom: none;
}

.mobile-nav-drawer ul li.mobile-sub-item a {
  padding: 10px 0 10px 28px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.5px;
  border-left: 2px solid var(--accent-red);
  margin-left: 8px;
  display: block;
  text-transform: uppercase;
}

.mobile-nav-drawer ul li.mobile-sub-item a:hover {
  color: var(--accent-red);
}

/* Hamburger Button */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
}

.hamburger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger-btn.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-btn.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  z-index: 1050;
  flex-direction: column;
  padding: 80px 30px 40px;
  overflow-y: auto;
  opacity: 0;
  transform: translateX(-100%);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.mobile-nav-drawer.is-open {
  opacity: 1;
  transform: translateX(0);
}

.mobile-nav-drawer ul {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav-drawer ul li {
  border-bottom: 1px solid #222;
}

.mobile-nav-drawer ul li a {
  display: block;
  padding: 18px 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.2s ease;
}

.mobile-nav-drawer ul li a:hover {
  color: var(--accent-red);
}

.mobile-nav-drawer .mobile-nav-subscribe {
  display: inline-block;
  background-color: var(--accent-red);
  color: var(--white);
  padding: 16px 40px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  width: 100%;
  transition: background-color 0.3s ease;
}

.mobile-nav-drawer .mobile-nav-subscribe:hover {
  background-color: var(--accent-red-hover);
}

/* Responsive */
@media (max-width: 1024px) {
  .header-main {
    padding: 20px;
  }

  .main-nav ul {
    gap: 20px;
  }

  .hero-title {
    font-size: 56px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .logo-main {
    font-size: 54px;
  }

  .main-nav {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  .nav-actions .btn-subscribe-header {
    display: flex;
  }

  .nav-actions .icon-btn {
    display: none;
  }

  .mobile-nav-drawer {
    display: flex;
  }

  .hero-section {
    padding: 30px 20px;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-cta {
    flex-direction: column;
    gap: 15px;
  }

  .section-title {
    font-size: 40px;
  }

  .features-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .btn-ipv-data,
  .btn-qb-tier {
    display: none;
  }

  .qb-tier-section {
    padding: 40px 20px;
  }

  .qb-tier-title {
    font-size: 42px;
  }

  .subscription-box {
    padding: 30px 20px;
  }

  .subscription-title {
    font-size: 28px;
  }

  .subscription-description {
    font-size: 16px;
  }
}
