/* ============================================================
   GCG UNIFIED SHELL — Nav + Footer (Tier 1 — "Real Deal")
   Drop-in stylesheet. Used by /about /privacy /terms /consulting
   /scorecard and every /report/ permalink page.
   ============================================================ */

:root {
  --gcg-bg: #0A0E13;
  --gcg-bg-2: #0D1117;
  --gcg-surface: #161B22;
  --gcg-surface-2: #1F2731;
  --gcg-border: #30363D;
  --gcg-border-glow: rgba(245,158,11,0.35);
  --gcg-text: #E6EDF3;
  --gcg-text-dim: #8B949E;
  --gcg-text-heading: #F0F6FC;
  --gcg-amber: #F59E0B;
  --gcg-amber-2: #FBBF24;
  --gcg-orange: #FFA657;
  --gcg-orange-deep: #D97706;
  --gcg-cyan: #0EA5E9;
  --gcg-cyan-2: #06B6D4;
  --gcg-green: #22C55E;
  --gcg-red: #EF4444;
  --gcg-chrome: linear-gradient(180deg, #FFFFFF 0%, #C9D1D9 45%, #8B949E 100%);
  --gcg-fire: linear-gradient(90deg, #F59E0B 0%, #FBBF24 50%, #F59E0B 100%);
  --gcg-fire-radial: radial-gradient(circle at 30% 30%, #F59E0B 0%, #D97706 60%, #7C2D12 100%);
  --gcg-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===================== TOP NAV ===================== */
.gcg-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  background: rgba(10, 14, 19, 0.78);
  border-bottom: 1px solid rgba(48, 54, 61, 0.6);
  box-shadow: 0 1px 0 rgba(245, 158, 11, 0.05), 0 12px 40px -8px rgba(0, 0, 0, 0.6);
  transition: all 280ms var(--gcg-ease);
}
.gcg-nav::after {
  /* Bottom amber pulse line */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(245,158,11,0.6) 50%, transparent 100%);
  opacity: 0.7;
}
.gcg-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.gcg-nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  position: relative;
}
.gcg-nav-brand img {
  height: 44px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.35));
  transition: filter 280ms var(--gcg-ease), transform 280ms var(--gcg-ease);
}
.gcg-nav-brand:hover img {
  filter: drop-shadow(0 0 22px rgba(245, 158, 11, 0.7));
  transform: scale(1.04);
}
.gcg-nav-brand-text {
  display: none;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 1.5px;
  background: var(--gcg-fire);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (min-width: 768px) {
  .gcg-nav-brand-text { display: inline-block; }
}

.gcg-nav-links {
  display: none;
  align-items: center;
  gap: 4px;
}
@media (min-width: 900px) {
  .gcg-nav-links { display: flex; }
}
.gcg-nav-link {
  position: relative;
  color: var(--gcg-text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 10px;
  transition: color 240ms var(--gcg-ease), background 240ms var(--gcg-ease);
  letter-spacing: 0.2px;
}
.gcg-nav-link::after {
  /* Animated underline */
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gcg-fire);
  border-radius: 2px;
  transition: width 280ms var(--gcg-ease);
}
.gcg-nav-link:hover {
  color: var(--gcg-orange);
  background: rgba(245, 158, 11, 0.08);
}
.gcg-nav-link:hover::after { width: 60%; }
.gcg-nav-link.active {
  color: var(--gcg-orange);
  background: rgba(245, 158, 11, 0.12);
}
.gcg-nav-link.active::after { width: 60%; }
.gcg-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #0A0E13 !important;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 10px;
  margin-left: 8px;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35), inset 0 1px 0 rgba(255,255,255,0.25);
  transition: transform 240ms var(--gcg-ease), box-shadow 240ms var(--gcg-ease);
  text-decoration: none;
}
.gcg-nav-cta::after { display: none; }
.gcg-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.5), inset 0 1px 0 rgba(255,255,255,0.3);
  color: #0A0E13 !important;
}
.gcg-live-dot {
  width: 7px; height: 7px;
  background: #22C55E;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: gcgPulse 2s infinite;
  display: inline-block;
  margin-right: 6px;
}
@keyframes gcgPulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Mobile menu button */
.gcg-nav-toggle {
  display: inline-flex;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--gcg-text);
  width: 42px; height: 42px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 200ms var(--gcg-ease);
}
.gcg-nav-toggle:hover {
  background: rgba(245,158,11,0.1);
  border-color: rgba(245,158,11,0.3);
}
@media (min-width: 900px) {
  .gcg-nav-toggle { display: none; }
}
.gcg-nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px 20px;
  background: rgba(10, 14, 19, 0.95);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--gcg-border);
}
.gcg-nav-mobile.open { display: flex; }
.gcg-nav-mobile .gcg-nav-link {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.04);
}

/* ===================== FOOTER ===================== */
.gcg-footer {
  position: relative;
  margin-top: 96px;
  padding: 64px 24px 32px;
  background: linear-gradient(180deg, transparent 0%, rgba(245,158,11,0.04) 50%, rgba(13,17,23,1) 100%);
  border-top: 1px solid var(--gcg-border);
}
.gcg-footer::before {
  /* Top fire line */
  content: "";
  position: absolute;
  left: 0; right: 0; top: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gcg-amber) 30%, var(--gcg-orange) 50%, var(--gcg-amber) 70%, transparent 100%);
  opacity: 0.5;
}
.gcg-footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 768px) {
  .gcg-footer-inner {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
  }
}
.gcg-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.gcg-footer-brand img {
  height: 56px;
  width: auto;
  filter: drop-shadow(0 0 18px rgba(245,158,11,0.3));
}
.gcg-footer-tag {
  color: var(--gcg-text-dim);
  font-size: 14px;
  line-height: 1.6;
  max-width: 360px;
}
.gcg-footer-tag strong {
  color: var(--gcg-orange);
  font-weight: 700;
}
.gcg-footer-col h4 {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gcg-orange);
  margin-bottom: 18px;
}
.gcg-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gcg-footer-col a {
  color: var(--gcg-text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 200ms var(--gcg-ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.gcg-footer-col a:hover { color: var(--gcg-orange); }
.gcg-footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.gcg-footer-social a {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  color: var(--gcg-text-dim);
  transition: all 240ms var(--gcg-ease);
}
.gcg-footer-social a:hover {
  background: rgba(245,158,11,0.1);
  border-color: rgba(245,158,11,0.4);
  color: var(--gcg-orange);
  transform: translateY(-2px);
}
.gcg-footer-social svg { width: 18px; height: 18px; }
.gcg-footer-bottom {
  max-width: 1400px;
  margin: 56px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--gcg-border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--gcg-text-dim);
}
.gcg-footer-bottom .legal {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.gcg-footer-bottom a {
  color: var(--gcg-text-dim);
  text-decoration: none;
  transition: color 200ms var(--gcg-ease);
}
.gcg-footer-bottom a:hover { color: var(--gcg-orange); }
.gcg-footer-disclaimer {
  max-width: 1400px;
  margin: 24px auto 0;
  font-size: 11px;
  color: #6B7280;
  line-height: 1.6;
  text-align: center;
  padding: 16px 0;
  border-top: 1px solid rgba(48,54,61,0.4);
}

/* ============================================================
   NEWSLETTER CAPTURE COMPONENT
   ============================================================ */
.gcg-newsletter {
  position: relative;
  margin: 60px auto;
  max-width: 720px;
  padding: 48px 32px;
  background: linear-gradient(135deg, rgba(245,158,11,0.10) 0%, rgba(14,165,233,0.08) 100%);
  border: 1px solid rgba(245,158,11,0.30);
  border-radius: 24px;
  text-align: center;
  overflow: hidden;
}
.gcg-newsletter::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #F59E0B 0%, transparent 50%, #0EA5E9 100%);
  border-radius: 24px;
  z-index: -1;
  opacity: 0.4;
  filter: blur(8px);
}
.gcg-newsletter.compact {
  margin: 36px auto;
  padding: 28px 24px;
}
.gcg-newsletter-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: #F59E0B;
  text-transform: uppercase;
  margin-bottom: 12px;
  background: rgba(245,158,11,0.10);
  border: 1px solid rgba(245,158,11,0.25);
  padding: 6px 14px;
  border-radius: 24px;
}
.gcg-newsletter-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: #F0F6FC;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.gcg-newsletter-title .accent {
  background: linear-gradient(90deg, #F59E0B, #FBBF24);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gcg-newsletter-sub {
  color: #8B949E;
  font-size: 15px;
  max-width: 520px;
  margin: 0 auto 24px;
  line-height: 1.55;
}
.gcg-newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 460px;
  margin: 0 auto;
  flex-direction: column;
}
@media (min-width: 540px) {
  .gcg-newsletter-form { flex-direction: row; }
}
.gcg-newsletter-form input[type="email"] {
  flex: 1;
  padding: 14px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: #F0F6FC;
  font-size: 15px;
  font-family: inherit;
  transition: all 220ms cubic-bezier(.16,1,.3,1);
  outline: none;
}
.gcg-newsletter-form input[type="email"]::placeholder { color: #6B7280; }
.gcg-newsletter-form input[type="email"]:focus {
  background: rgba(255,255,255,0.08);
  border-color: rgba(245,158,11,0.5);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.18);
}
.gcg-newsletter-form button {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #0A0E13;
  font-weight: 800;
  padding: 14px 24px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 15px;
  font-family: inherit;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(245,158,11,0.32), inset 0 1px 0 rgba(255,255,255,0.25);
  transition: all 220ms cubic-bezier(.16,1,.3,1);
}
.gcg-newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,158,11,0.45), inset 0 1px 0 rgba(255,255,255,0.3);
}
.gcg-newsletter-form button:active { transform: translateY(0); }
.gcg-newsletter-form button[disabled] { opacity: 0.7; cursor: wait; }
.gcg-newsletter-meta {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
  font-size: 12px;
  color: #6B7280;
  flex-wrap: wrap;
}
.gcg-newsletter-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.gcg-newsletter-meta span::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #22C55E;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(34,197,94,0.5);
}
.gcg-newsletter-success {
  display: none;
  padding: 16px 20px;
  background: rgba(34,197,94,0.10);
  border: 1px solid rgba(34,197,94,0.30);
  border-radius: 12px;
  color: #22C55E;
  font-weight: 600;
  margin-top: 16px;
}
.gcg-newsletter-success.shown { display: block; }
