/* ==========================================================================
   CS BUSINESS SOLUTIONS — PROFESSIONAL EMERALD & PLATINUM SILVER THEME
   Elite Executive GovCon Consultancy Design System
   ========================================================================== */

:root {
  /* Core Brand Dark Obsidian & Forest */
  --bg-primary: #020c09;
  --bg-secondary: #061812;
  --bg-tertiary: #0a241b;
  --bg-card: rgba(8, 28, 21, 0.75);
  --bg-card-hover: rgba(12, 42, 32, 0.9);
  --bg-glass: rgba(6, 22, 17, 0.75);
  --bg-input: #04140f;

  /* Borders & Polished Silver Chrome */
  --border-subtle: rgba(203, 213, 225, 0.12);
  --border-accent: rgba(52, 211, 153, 0.35);
  --border-silver: rgba(226, 232, 240, 0.4);
  --border-emerald: rgba(16, 185, 129, 0.6);
  --glow-emerald: 0 0 25px rgba(16, 185, 129, 0.25);
  --glow-silver: 0 0 25px rgba(226, 232, 240, 0.2);
  --glow-cyan: 0 0 30px rgba(52, 211, 153, 0.2);

  /* Typography Colors (Platinum & Silver) */
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-inverse: #02140e;

  /* Accent Palettes (Emerald & Silver Tones) */
  --accent-emerald: #10b981;
  --accent-emerald-light: #34d399;
  --accent-emerald-deep: #047857;
  --accent-emerald-glow: #6ee7b7;
  --accent-silver: #e2e8f0;
  --accent-silver-light: #ffffff;
  --accent-silver-dark: #94a3b8;
  --accent-platinum: #f1f5f9;
  --accent-blue: #38bdf8;
  --accent-rose: #f43f5e;
  --accent-gold: #e2e8f0;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #34d399 0%, #10b981 50%, #047857 100%);
  --grad-silver: linear-gradient(135deg, #ffffff 0%, #e2e8f0 50%, #94a3b8 100%);
  --grad-emerald: linear-gradient(135deg, #6ee7b7 0%, #10b981 50%, #047857 100%);
  --grad-emerald-silver: linear-gradient(135deg, #34d399 0%, #f1f5f9 100%);
  --grad-dark-card: linear-gradient(180deg, rgba(12, 40, 31, 0.7) 0%, rgba(6, 20, 15, 0.85) 100%);
  --grad-hud: linear-gradient(90deg, rgba(52, 211, 153, 0.15) 0%, rgba(226, 232, 240, 0.15) 100%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.7);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.8);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Typography */
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-mono: 'Space Grotesk', 'Fira Code', monospace;
  --font-serif: 'Cinzel', serif;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==================== RESET & BASE ==================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(52, 211, 153, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(226, 232, 240, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%),
    linear-gradient(rgba(226, 232, 240, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 232, 240, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 40px 40px, 40px 40px;
  background-attachment: fixed;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-emerald);
}

a {
  color: var(--accent-emerald-light);
  text-decoration: none;
  transition: var(--transition-fast);
}
a:hover {
  color: var(--accent-silver-light);
}

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

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
}

.mono {
  font-family: var(--font-mono);
}

.text-emerald {
  color: var(--accent-emerald-light);
}
.text-silver {
  color: var(--accent-silver);
}
.text-platinum {
  color: var(--accent-platinum);
}
.text-cyan {
  color: var(--accent-emerald-light);
}
.text-gold {
  color: var(--accent-silver);
}

.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-gradient-silver, .text-gradient-gold {
  background: var(--grad-silver);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-gradient-emerald {
  background: var(--grad-emerald);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==================== CONTAINER & UTILITIES ==================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-wide {
  max-width: 1440px;
}

.section-padding {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald-light);
  border: 1px solid var(--border-accent);
  margin-bottom: 1rem;
}

.badge-tag.silver, .badge-tag.gold {
  background: rgba(226, 232, 240, 0.1);
  color: var(--accent-silver-light);
  border-color: var(--border-silver);
}

.badge-tag.emerald {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald-glow);
  border-color: var(--border-emerald);
}

.badge-tag.cyan {
  background: rgba(52, 211, 153, 0.12);
  color: var(--accent-emerald-light);
  border-color: var(--border-accent);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary, .btn-emerald {
  background: var(--grad-primary);
  color: #02140e;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
}
.btn-primary:hover, .btn-emerald:hover {
  box-shadow: 0 6px 30px rgba(52, 211, 153, 0.6);
  transform: translateY(-2px);
  color: #02140e;
}

.btn-silver, .btn-gold {
  background: var(--grad-silver);
  color: #020c09;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(226, 232, 240, 0.25);
}
.btn-silver:hover, .btn-gold:hover {
  box-shadow: 0 6px 30px rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
  color: #020c09;
}

.btn-secondary {
  background: rgba(10, 32, 25, 0.7);
  color: var(--text-primary);
  border: 1px solid var(--border-silver);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(52, 211, 153, 0.15);
  border-color: var(--accent-emerald-light);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}
.btn-outline:hover {
  border-color: var(--accent-emerald-light);
  color: #fff;
  background: rgba(16, 185, 129, 0.1);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: 1.1rem;
  border-radius: var(--radius-md);
}

/* ==================== GLASS CARDS ==================== */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--glow-emerald);
  transform: translateY(-4px);
}

.glass-card-static {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(16px);
}

/* ==================== HEADER & NAVBAR ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.85rem 0;
  background: rgba(2, 12, 9, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  padding: 0.65rem 0;
  background: rgba(2, 12, 9, 0.98);
  border-bottom-color: rgba(52, 211, 153, 0.3);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-crest {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
  color: #02140e;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.navbar .brand-logo-img,
.brand-logo-img {
  width: 44px !important;
  height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  object-fit: cover;
  border-radius: 10px;
  border: 1.5px solid var(--border-silver);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
  flex-shrink: 0;
  display: block;
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-tagline {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  color: var(--accent-emerald-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 1080px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-emerald-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-emerald-light);
  transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.mobile-menu-toggle {
  display: block;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

@media (min-width: 1080px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu-toggle span {
  width: 20px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-fast);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: rgba(2, 12, 9, 0.98);
  backdrop-filter: blur(25px);
  border-bottom: 1px solid var(--border-accent);
  padding: 2rem 1.5rem;
  display: none;
  flex-direction: column;
  gap: 1.25rem;
  z-index: 999;
}

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

.mobile-drawer a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

/* ==================== TICKER BANNER ==================== */
.stats-ticker-bar {
  background: rgba(6, 24, 18, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.5rem 0;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.ticker-wrap {
  display: flex;
  white-space: nowrap;
  animation: ticker 35s linear infinite;
  gap: 3rem;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.ticker-item strong {
  color: var(--accent-emerald-light);
}

@keyframes ticker {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.disclosure-bar {
  background: rgba(4, 16, 12, 0.9);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.6rem 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.disclosure-bar a {
  color: var(--accent-emerald-light);
  text-decoration: underline;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.6rem;
  }
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.metric-card {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-emerald-light);
}

.metric-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

/* Hero HUD Interactive Visual */
.hero-hud-card {
  position: relative;
  background: var(--grad-dark-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), var(--glow-emerald);
  backdrop-filter: blur(20px);
}

.hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.25rem;
}

.hud-status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-emerald-light);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hud-image-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(52, 211, 153, 0.25);
}

.hud-feed-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hud-feed-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(4, 16, 12, 0.75);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent-emerald);
  font-size: 0.85rem;
}

.hud-feed-row.silver {
  border-left-color: var(--accent-silver);
}

/* ==================== RFP OPPORTUNITY FINDER ==================== */
.rfp-finder-section {
  position: relative;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.finder-filter-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  background: var(--bg-tertiary);
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .finder-filter-bar {
    grid-template-columns: 1.5fr 1fr 1fr 1fr auto;
  }
}

.filter-input, .filter-select {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-fast);
}

.filter-input:focus, .filter-select:focus {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.25);
}

.rfp-results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .rfp-results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.rfp-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
}

.rfp-card:hover {
  border-color: var(--accent-emerald);
  box-shadow: var(--glow-emerald);
  transform: translateY(-3px);
}

.rfp-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.rfp-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}

.rfp-agency-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald-light);
  border: 1px solid var(--border-accent);
  white-space: nowrap;
}

.rfp-card-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin: 1rem 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.rfp-meta-item strong {
  color: var(--text-primary);
  font-family: var(--font-mono);
}

.rfp-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

/* ==================== READINESS ASSESSMENT QUIZ ==================== */
.readiness-section {
  position: relative;
}

.diagnostic-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg), var(--glow-emerald);
}

.quiz-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  position: relative;
}

.quiz-stepper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border-subtle);
  transform: translateY(-50%);
  z-index: 1;
}

.step-node {
  position: relative;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.step-node.active {
  background: var(--accent-emerald);
  border-color: #fff;
  color: #02140e;
  box-shadow: 0 0 15px var(--accent-emerald);
}

.step-node.completed {
  background: var(--accent-silver);
  border-color: #fff;
  color: #020c09;
}

.quiz-step-content {
  display: none;
}

.quiz-step-content.active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.quiz-question-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.quiz-question-desc {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.quiz-options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .quiz-options-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.quiz-option-card {
  background: var(--bg-tertiary);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.quiz-option-card:hover {
  border-color: var(--accent-emerald);
  background: rgba(16, 48, 39, 0.7);
}

.quiz-option-card.selected {
  border-color: var(--accent-emerald-light);
  background: rgba(16, 185, 129, 0.15);
  box-shadow: 0 0 15px rgba(52, 211, 153, 0.25);
}

.option-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.quiz-option-card.selected .option-radio::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-emerald-light);
}

.option-content h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.option-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.quiz-nav-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
}

/* Diagnostic Result Screen */
.result-card-box {
  text-align: center;
  padding: 1.5rem;
}

.score-gauge-wrapper {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto 1.5rem;
}

.score-gauge-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(var(--accent-emerald) calc(var(--score-pct, 75) * 1%), var(--bg-tertiary) 0);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.35);
}

.score-inner-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-number {
  font-family: var(--font-mono);
  font-size: 2.75rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.score-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.diagnostic-breakdown-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  text-align: left;
  margin: 2rem 0;
}

@media (min-width: 768px) {
  .diagnostic-breakdown-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.breakdown-card {
  background: var(--bg-secondary);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.breakdown-card.success {
  border-left: 4px solid var(--accent-emerald);
}
.breakdown-card.warning {
  border-left: 4px solid var(--accent-silver);
}
.breakdown-card.danger {
  border-left: 4px solid var(--accent-rose);
}

/* ==================== CAPABILITY STATEMENT BUILDER ==================== */
.capability-section {
  background: var(--bg-secondary);
}

.capability-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .capability-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.builder-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
  font-family: var(--font-mono);
}

.form-control {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.25);
}

textarea.form-control {
  resize: vertical;
  min-height: 80px;
}

/* Live Capability Statement Paper Preview (Contracting Officer 8.5x11 Format) */
.capability-sheet-preview {
  background: #ffffff;
  color: #0f172a;
  border-radius: var(--radius-sm);
  padding: 2.25rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.45;
  position: relative;
}

.sheet-header {
  border-bottom: 3px solid #047857;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.sheet-company-name {
  font-size: 20px;
  font-weight: 800;
  color: #064e3b;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.sheet-tagline {
  font-size: 11px;
  color: #475569;
  font-weight: 600;
}

.sheet-codes-badge {
  text-align: right;
  font-family: 'Space Grotesk', monospace;
  font-size: 11px;
  background: #f1f5f9;
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
}

.sheet-section {
  margin-bottom: 1.1rem;
}

.sheet-section-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  color: #047857;
  border-bottom: 1.5px solid #94a3b8;
  padding-bottom: 2px;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.sheet-bullet-list {
  padding-left: 1.25rem;
  margin: 0;
}

.sheet-bullet-list li {
  margin-bottom: 3px;
  color: #334155;
}

.sheet-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.sheet-corporate-data {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 8px;
  border-radius: 4px;
  font-size: 11px;
}

/* ==================== FAR BID WRAP RATE CALCULATOR ==================== */
.calculator-section {
  position: relative;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .calc-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.calc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
}

.slider-group {
  margin-bottom: 1.5rem;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.slider-header label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.slider-value-display {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-emerald-light);
}

input[type=range] {
  width: 100%;
  height: 6px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  outline: none;
  -webkit-appearance: none;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-emerald-light);
  cursor: pointer;
  box-shadow: 0 0 10px var(--accent-emerald-light);
  transition: transform var(--transition-fast);
}

input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-result-summary {
  background: var(--grad-dark-card);
  border: 1px solid var(--border-silver);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--glow-silver);
}

.summary-metric-large {
  text-align: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}

.summary-rate-number {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-silver-light);
  line-height: 1.1;
}

.calc-breakdown-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}

.calc-breakdown-row strong {
  font-family: var(--font-mono);
  color: var(--text-primary);
}

/* ==================== SERVICES GRID ==================== */
.services-section {
  background: var(--bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover {
  border-color: var(--accent-emerald-light);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), var(--glow-emerald);
}

.service-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-emerald-light);
  margin-bottom: 1.5rem;
}

.service-card.silver .service-icon-wrapper, .service-card.gold .service-icon-wrapper {
  background: rgba(226, 232, 240, 0.1);
  border-color: var(--border-silver);
  color: var(--accent-silver-light);
}

.service-card-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.service-card-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.service-feature-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.service-feature-list li svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

/* ==================== PRICING & PROGRAM CARDS ==================== */
.pricing-section {
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
}

.pricing-card:hover {
  border-color: var(--accent-emerald-light);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), var(--glow-emerald);
}

.pricing-card.featured {
  border: 2px solid var(--accent-emerald);
  background: linear-gradient(180deg, rgba(16, 48, 38, 0.8) 0%, rgba(8, 28, 22, 0.9) 100%);
  box-shadow: 0 0 35px rgba(16, 185, 129, 0.25);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-emerald);
  color: #02140e;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
}

.pricing-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-family: var(--font-mono);
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.25rem;
}

.pricing-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.pricing-features li svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==================== LOGO OPTIONS SHOWCASE ==================== */
.logo-showcase-section {
  background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.08) 0%, rgba(2, 12, 9, 0.95) 70%);
  position: relative;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.logo-option-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-md);
  position: relative;
}

.logo-option-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-emerald);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 25px rgba(16, 185, 129, 0.2);
}

.logo-option-card.active-brand {
  border: 2px solid var(--accent-emerald);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.3), inset 0 0 15px rgba(16, 185, 129, 0.1);
}

.logo-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid var(--accent-emerald);
  color: #34d399;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  z-index: 2;
}

.logo-preview-canvas {
  background: radial-gradient(circle at center, #0a261c 0%, #020c09 100%);
  padding: 2.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-subtle);
  min-height: 260px;
  position: relative;
}

.logo-preview-canvas img {
  max-width: 220px;
  max-height: 200px;
  object-fit: contain;
  border-radius: 12px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
  transition: transform 0.4s ease;
}

.logo-option-card:hover .logo-preview-canvas img {
  transform: scale(1.05);
}

.logo-details {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.logo-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.logo-subtitle {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-emerald);
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.logo-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.logo-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
}

.logo-actions .btn {
  flex: 1;
  font-size: 0.85rem;
  padding: 0.65rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* ==================== STRATEGY INTAKE FORM ==================== */
.consultation-section {
  background: var(--bg-secondary);
}

.intake-box {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-xl), var(--glow-emerald);
}

.intake-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .intake-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==================== FAQ ACCORDION ==================== */
.faq-section {
  position: relative;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--accent-emerald-light);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
}

.faq-toggle-icon {
  font-size: 1.25rem;
  color: var(--accent-emerald-light);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding-bottom: 1.5rem;
}

/* ==================== FOOTER ==================== */
.footer {
  background: #010806;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
  }
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 1rem 0;
}

.footer-col h5 {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  color: #fff;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-emerald-light);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-compliance-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.compliance-pill {
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
}

/* ==================== TOAST NOTIFICATIONS ==================== */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: var(--bg-secondary);
  border: 1px solid var(--border-accent);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.success {
  border-color: var(--accent-emerald);
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==================== PRINT STYLES ==================== */
@media print {
  body * {
    visibility: hidden;
  }
  #capability-sheet-preview, #capability-sheet-preview * {
    visibility: visible;
  }
  #capability-sheet-preview {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 20px;
    box-shadow: none;
  }
}
