/* ═══════════════════════════════════════════════════════════
   SPRS Setup Guide — Main Stylesheet
   ═══════════════════════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0a1628;
  --navy-mid:   #112240;
  --navy-light: #1d3461;
  --blue:       #1a6eb5;
  --blue-bright:#2d8ef0;
  --cyan:       #00c6ff;
  --green:      #10b981;
  --orange:     #f59e0b;
  --red:        #ef4444;
  --white:      #ffffff;
  --gray-50:    #f8fafc;
  --gray-100:   #f1f5f9;
  --gray-200:   #e2e8f0;
  --gray-400:   #94a3b8;
  --gray-600:   #475569;
  --gray-800:   #1e293b;
  --text:       #1e293b;
  --text-light: #64748b;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.15);
  --shadow-xl:  0 20px 60px rgba(0,0,0,.20);

  --trans: .25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

a { color: var(--blue); text-decoration: none; transition: color var(--trans); }
a:hover { color: var(--blue-bright); }

ul { list-style: none; }

img { max-width: 100%; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--trans);
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(26,110,181,.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,110,181,.5);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ─────────────────────────────────────────
   HEADER
───────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,22,40,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow var(--trans);
}
#site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.35); }

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-icon {
  font-size: 26px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-title { color: var(--white); font-weight: 700; font-size: 16px; }
.brand-sub   { color: var(--gray-400); font-size: 11px; }

#main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
#main-nav a {
  color: rgba(255,255,255,.75);
  font-size: 13.5px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--trans);
}
#main-nav a:hover,
#main-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,.1);
}

#nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
#hero {
  min-height: 100vh;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 50%, #0d2f5a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(45,142,240,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45,142,240,.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
#hero::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(26,110,181,.15) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Two-column inner wrapper ── */
.hero-inner {
  max-width: 1160px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 340px;
  align-items: center;
  gap: 64px;
  position: relative;
  z-index: 1;
}

/* ── Left column: all text stacked cleanly ── */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(45,142,240,.15);
  border: 1px solid rgba(45,142,240,.35);
  color: var(--cyan);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.accent {
  background: linear-gradient(135deg, var(--blue-bright), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,.72);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--white); line-height: 1; }
.stat-label { font-size: 12px; color: var(--gray-400); font-weight: 500; margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.15); }

/* ── Right column: DOW emblem ── */
.hero-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dow-emblem-wrap {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dow-seal-svg {
  width: 280px;
  height: 280px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 28px rgba(212,175,55,.35)) drop-shadow(0 0 8px rgba(45,142,240,.3));
  animation: sealFloat 5s ease-in-out infinite;
}

.dow-seal-img {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  object-fit: cover;
  filter: drop-shadow(0 0 32px rgba(212,175,55,.45)) drop-shadow(0 0 12px rgba(45,142,240,.35));
  animation: sealFloat 5s ease-in-out infinite;
  border: 2px solid rgba(212,175,55,.3);
}

@keyframes sealFloat {
  0%, 100% { transform: translateY(0px);   }
  50%       { transform: translateY(-10px); }
}

/* Rings around emblem */
.dow-emblem-wrap .ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,.2);
  animation: pulse-ring 3.5s ease-out infinite;
}
.dow-emblem-wrap .r1 { width: 300px; height: 300px; animation-delay: 0s; }
.dow-emblem-wrap .r2 { width: 360px; height: 360px; animation-delay: 1s; }
.dow-emblem-wrap .r3 { width: 420px; height: 420px; animation-delay: 2s; }

/* Legacy shield-anim (kept for safety) */
.shield-anim {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px; height: 220px;
}
.shield-anim > i {
  font-size: 90px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 2;
}
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(45,142,240,.25);
  animation: pulse-ring 3s ease-out infinite;
}
.r1 { width: 120px; height: 120px; animation-delay: 0s; }
.r2 { width: 170px; height: 170px; animation-delay: .8s; }
.r3 { width: 220px; height: 220px; animation-delay: 1.6s; }

@keyframes pulse-ring {
  0%   { transform: scale(.9); opacity: .6; }
  60%  { transform: scale(1);  opacity: .25; }
  100% { transform: scale(1.05); opacity: 0; }
}

/* ─────────────────────────────────────────
   PROGRESS TRACKER
───────────────────────────────────────── */
#progress-tracker {
  background: var(--navy-mid);
  padding: 40px 24px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
#progress-tracker .container { max-width: 1160px; margin: 0 auto; }

.section-label {
  text-align: center;
  color: var(--gray-400);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
}

.progress-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  row-gap: 16px;
}

.prog-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: default;
}
.prog-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 2px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 18px;
  transition: all var(--trans);
}
.prog-step span {
  color: var(--gray-400);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition: color var(--trans);
}
.prog-step.active .prog-icon {
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  border-color: var(--blue-bright);
  color: var(--white);
  box-shadow: 0 0 20px rgba(45,142,240,.4);
}
.prog-step.active span { color: var(--white); }
.prog-step.done .prog-icon {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}
.prog-step.done span { color: var(--green); }

.prog-connector {
  width: 60px;
  height: 2px;
  background: rgba(255,255,255,.1);
  margin: 0 4px;
  margin-bottom: 28px;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────
   CONTENT SECTIONS (shared)
───────────────────────────────────────── */
.content-section { padding: 96px 0; }
.alt-bg { background: var(--gray-50); }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(26,110,181,.1);
  color: var(--blue);
  border: 1px solid rgba(26,110,181,.2);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -.3px;
}
.section-header p {
  font-size: 17px;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}

/* ─────────────────────────────────────────
   WHAT IS SPRS — Info Grid
───────────────────────────────────────── */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--trans);
  box-shadow: var(--shadow-sm);
}
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(26,110,181,.25);
}
.primary-card {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-color: rgba(255,255,255,.08);
  color: var(--white);
}
.primary-card h3 { color: var(--white); }
.primary-card p   { color: rgba(255,255,255,.78); }
.primary-card strong { color: var(--cyan); }

.card-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: rgba(26,110,181,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: var(--blue);
  margin-bottom: 16px;
}
.primary-card .card-icon { background: rgba(45,142,240,.2); color: var(--cyan); }
.card-icon.blue   { background: rgba(45,142,240,.1); color: var(--blue-bright); }
.card-icon.green  { background: rgba(16,185,129,.1); color: var(--green); }
.card-icon.orange { background: rgba(245,158,11,.1); color: var(--orange); }

.info-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.info-card p  { font-size: 15px; color: var(--text-light); line-height: 1.65; }
.info-card p + p { margin-top: 10px; }
.info-card strong { color: var(--navy); }
.primary-card .info-card strong { color: var(--cyan); }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-bright);
}
.card-link:hover { color: var(--cyan); }

/* ─────────────────────────────────────────
   COMPANY INFO — Credentials
───────────────────────────────────────── */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.cred-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: all var(--trans);
  box-shadow: var(--shadow-sm);
}
.cred-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.cred-card.highlight {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-bright) 100%);
  border-color: transparent;
  color: var(--white);
}
.cred-card.wide {
  grid-column: 1 / -1;
}
.cred-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-light);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.cred-card.highlight .cred-label { color: rgba(255,255,255,.7); }
.cred-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: .5px;
  margin-bottom: 6px;
  word-break: break-all;
}
.cred-value.small { font-size: 1.1rem; }
.cred-card.highlight .cred-value { color: var(--white); }
.cred-desc {
  font-size: 12px;
  color: var(--text-light);
}
.cred-card.highlight .cred-desc { color: rgba(255,255,255,.65); }

.info-alert {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(245,158,11,.08);
  border: 1px solid rgba(245,158,11,.25);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  color: var(--gray-800);
}
.info-alert > i { color: var(--orange); font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.info-alert strong { color: var(--navy); }

/* ─────────────────────────────────────────
   STEPS (PIEE)
───────────────────────────────────────── */
.steps-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step-card {
  display: flex;
  gap: 28px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 36px 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--trans);
  position: relative;
  overflow: hidden;
}
.step-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--blue), var(--blue-bright));
  border-radius: 4px 0 0 4px;
  opacity: 0;
  transition: opacity var(--trans);
}
.step-card:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.step-card:hover::before { opacity: 1; }

.step-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--gray-200);
  line-height: 1;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  min-width: 56px;
  transition: color var(--trans);
}
.step-card:hover .step-number { color: rgba(45,142,240,.2); }

.step-content { flex: 1; }
.step-content h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.step-content h3 i { color: var(--blue); font-size: 17px; }
.step-content p { font-size: 15px; color: var(--text-light); margin-bottom: 16px; }

/* Contact Box */
.contact-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-item > i {
  width: 36px; height: 36px;
  background: rgba(26,110,181,.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  font-size: 15px;
  flex-shrink: 0;
}
.contact-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  margin-bottom: 2px;
}
.contact-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  word-break: break-all;
}
a.contact-value { color: var(--blue); }
a.contact-value:hover { color: var(--blue-bright); }

/* Sub-steps list */
.sub-steps {
  list-style: none;
  counter-reset: sub-counter;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.sub-steps li {
  counter-increment: sub-counter;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--text-light);
  line-height: 1.6;
}
.sub-steps li::before {
  content: counter(sub-counter);
  min-width: 26px; height: 26px;
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  border-radius: 50%;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sub-steps a { font-weight: 600; color: var(--blue); }

.role-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.3);
  color: #047857;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.info-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(45,142,240,.06);
  border: 1px solid rgba(45,142,240,.2);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 14px;
  color: var(--text-light);
  margin-top: 4px;
}
.info-note i { color: var(--blue-bright); flex-shrink: 0; margin-top: 2px; }

/* Nav Steps (Step 4) */
.nav-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.nav-step {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 14.5px;
  color: var(--text-light);
}
.nav-step .nav-arrow {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 15px;
  flex-shrink: 0;
}
.nav-step .nav-text strong { color: var(--navy); }
.nav-step .nav-text a { font-weight: 600; color: var(--blue); }

.nav-arrow-down {
  text-align: center;
  color: var(--gray-400);
  padding: 4px 0;
  font-size: 13px;
}

.step-action { margin-top: 4px; }

/* ─────────────────────────────────────────
   NIST 800-171 — Two Col
───────────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.info-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.info-box h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.info-box h4 i { color: var(--blue); }
.info-box p { font-size: 14.5px; color: var(--text-light); line-height: 1.65; }
.info-box strong { color: var(--navy); }

.score-explainer {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.score-explainer h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.score-explainer h4 i { color: var(--blue); }

.score-range { margin-bottom: 18px; }
.score-bar {
  height: 10px;
  background: var(--gray-200);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 6px;
}
.score-fill {
  height: 100%;
  width: 75%;
  background: linear-gradient(90deg, var(--red) 0%, var(--orange) 40%, var(--green) 100%);
  border-radius: 999px;
}
.score-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-light);
}
.score-low  { color: var(--red); font-weight: 600; }
.score-high { color: var(--green); font-weight: 600; }

.score-rules {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.score-rules li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-light);
}
.score-rules li i { font-size: 14px; flex-shrink: 0; margin-top: 2px; }
.green-icon  { color: var(--green); }
.red-icon    { color: var(--red); }
.blue-icon   { color: var(--blue-bright); }
.orange-icon { color: var(--orange); }

/* Compact Steps (shared) */
.steps-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.steps-title i { color: var(--blue); }

.compact-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.c-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.c-num {
  min-width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  border-radius: 50%;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.c-text {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  padding-top: 4px;
}
.c-text strong { color: var(--navy); }

/* ─────────────────────────────────────────
   CMMC — Tabs
───────────────────────────────────────── */
.cmmc-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  justify-content: center;
}
.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: 2px solid var(--gray-200);
  background: var(--white);
  color: var(--text-light);
  transition: all var(--trans);
}
.tab-btn:hover { border-color: var(--blue); color: var(--blue); }
.tab-btn.active {
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(26,110,181,.3);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

.cmmc-level-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.cmmc-level-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.level-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.l1 { background: rgba(16,185,129,.1); color: #047857; border: 1px solid rgba(16,185,129,.3); }
.l2 { background: rgba(26,110,181,.1); color: var(--blue); border: 1px solid rgba(26,110,181,.3); }

.cmmc-level-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}
.level-desc {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 680px;
}
.level-desc strong { color: var(--navy); }

.two-col-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.level-steps h4,
.level-facts h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.level-steps h4 i,
.level-facts h4 i { color: var(--blue); }

.fact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-light);
}
.fact-list li i { color: var(--green); flex-shrink: 0; margin-top: 3px; }
.fact-list strong { color: var(--navy); }

/* ─────────────────────────────────────────
   RESOURCES
───────────────────────────────────────── */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.resource-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px 20px;
  transition: all var(--trans);
  box-shadow: var(--shadow-sm);
  color: inherit;
  text-decoration: none;
}
.resource-card:not(.no-link):hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(26,110,181,.3);
}
.resource-card.no-link { cursor: default; }

.res-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: rgba(26,110,181,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: var(--blue);
  flex-shrink: 0;
}
.res-icon.orange-bg { background: rgba(245,158,11,.1); color: var(--orange); }
.res-icon.blue-bg   { background: rgba(45,142,240,.1);  color: var(--blue-bright); }

.res-content { flex: 1; min-width: 0; }
.res-content h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}
.res-content p {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 5px;
  line-height: 1.4;
}
.res-url {
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.res-url.small-text { font-size: 10px; white-space: normal; }

.res-arrow {
  color: var(--gray-400);
  font-size: 14px;
  flex-shrink: 0;
  transition: all var(--trans);
}
.resource-card:not(.no-link):hover .res-arrow {
  color: var(--blue);
  transform: translateX(3px);
}

/* ─────────────────────────────────────────
   CHECKLIST
───────────────────────────────────────── */
.checklist-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.checklist-group {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.checklist-group h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
}
.checklist-group h4 i { color: var(--blue); }

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
  cursor: pointer;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.5;
  transition: color var(--trans);
}
.check-item:last-child { border-bottom: none; }
.check-item:hover { color: var(--navy); }
.check-item input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--blue);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}
.check-item.checked span {
  text-decoration: line-through;
  color: var(--gray-400);
}
.check-item strong { color: var(--navy); }
.check-item.checked strong { color: var(--gray-400); }

.checklist-progress {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
}
.progress-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}
#progress-pct { color: var(--blue); }

.progress-bar-outer {
  height: 10px;
  background: var(--gray-200);
  border-radius: 999px;
  overflow: hidden;
}
.progress-bar-inner {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 999px;
  transition: width .5s ease;
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
#site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 40px 24px;
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.footer-brand i { font-size: 28px; color: var(--blue-bright); }
.footer-brand strong { display: block; color: var(--white); font-size: 15px; }
.footer-brand span  { font-size: 12px; color: var(--gray-400); }

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  transition: color var(--trans);
}
.footer-links a:hover { color: var(--white); }

.footer-note {
  margin-left: auto;
  font-size: 12px;
  color: rgba(255,255,255,.4);
  max-width: 360px;
  text-align: right;
}
.footer-note a { color: var(--blue-bright); }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1024px) {
  .credentials-grid { grid-template-columns: repeat(2, 1fr); }
  .cred-card.wide { grid-column: 1 / -1; }
  .resources-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-content { align-items: center; text-align: center; }
  .hero-sub { max-width: 100%; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .dow-emblem-wrap { width: 220px; height: 220px; }
  .dow-seal-svg { width: 200px; height: 200px; }
  .dow-emblem-wrap .r1 { width: 220px; height: 220px; }
  .dow-emblem-wrap .r2 { width: 270px; height: 270px; }
  .dow-emblem-wrap .r3 { width: 320px; height: 320px; }
}

@media (max-width: 768px) {
  #main-nav { display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: rgba(10,22,40,.97); flex-direction: column; padding: 16px;
    gap: 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
  #main-nav.open { display: flex; }
  #main-nav a { padding: 12px 16px; border-radius: var(--radius-sm); }
  #nav-toggle { display: flex; }

  .content-section { padding: 64px 0; }
  .info-grid { grid-template-columns: 1fr; }
  .primary-card { grid-column: 1; }
  .credentials-grid { grid-template-columns: 1fr 1fr; }
  .step-card { flex-direction: column; gap: 16px; padding: 24px; }
  .step-number { font-size: 2rem; }
  .two-col-steps { grid-template-columns: 1fr; }
  .checklist-wrapper { grid-template-columns: 1fr; }
  .resources-grid { grid-template-columns: 1fr; }
  .prog-connector { width: 30px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-note { margin-left: 0; text-align: left; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
}

@media (max-width: 480px) {
  .credentials-grid { grid-template-columns: 1fr; }
  .cmmc-tabs { flex-direction: column; align-items: stretch; }
  .cmmc-level-card { padding: 24px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { justify-content: center; }
  .progress-steps { gap: 8px; }
  .prog-step span { font-size: 10px; }
}

/* ─────────────────────────────────────────
   CMMC MODEL DIAGRAM
───────────────────────────────────────── */
.cmmc-model-diagram {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 40px;
  margin-bottom: 48px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: relative;
}
.cmmc-model-diagram::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #7b2ff7, #22c55e, #0ea5e9);
}

.cmmc-diagram-header {
  text-align: center;
  margin-bottom: 32px;
}
.cmmc-diagram-header h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.cmmc-diagram-header h3 i { color: var(--blue); }
.cmmc-diagram-header p {
  font-size: 14px;
  color: var(--text-light);
}

.cmmc-diagram-labels {
  display: grid;
  grid-template-columns: 180px 1fr 1fr;
  gap: 12px;
  margin-bottom: 10px;
  padding: 0 4px;
}
.cdl-header {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
  background: var(--navy);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.cmmc-tier {
  display: grid;
  grid-template-columns: 180px 1fr 1fr;
  gap: 12px;
  margin-bottom: 10px;
  align-items: stretch;
}

/* Tier blocks */
.tier-block {
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 12px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.tier-block::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.08);
  clip-path: polygon(0 0, 100% 0, 85% 100%, 15% 100%);
}

.tier-3 .tier-block { background: linear-gradient(135deg, #0e7490, #0891b2); }
.tier-2 .tier-block { background: linear-gradient(135deg, #16a34a, #22c55e); }
.tier-1 .tier-block { background: linear-gradient(135deg, #7c3aed, #a855f7); }

.tier-label {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1;
  margin-bottom: 4px;
}
.tier-sublabel {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: .85;
}

/* Requirement panels */
.tier-req {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.tier-req-num {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  flex-shrink: 0;
}
.tier-3 .tier-req-num { color: #0891b2; }
.tier-2 .tier-req-num { color: #16a34a; }
.tier-1 .tier-req-num { color: #7c3aed; }

.tier-req-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
}
.tier-req-desc em { color: var(--text-light); font-style: italic; font-size: 12px; }

/* Assessment panels */
.tier-assess {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}

.assess-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}
.assess-badge.dibcac {
  background: rgba(8,145,178,.1);
  color: #0e7490;
  border: 1px solid rgba(8,145,178,.25);
}
.assess-badge.c3pao {
  background: rgba(22,163,74,.1);
  color: #15803d;
  border: 1px solid rgba(22,163,74,.25);
}
.assess-badge.self {
  background: rgba(124,58,237,.1);
  color: #6d28d9;
  border: 1px solid rgba(124,58,237,.25);
}
.assess-badge.affirm {
  background: rgba(245,158,11,.1);
  color: #b45309;
  border: 1px solid rgba(245,158,11,.25);
}

.cmmc-diagram-source {
  margin-top: 20px;
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.cmmc-diagram-source i { color: var(--blue); }
.cmmc-diagram-source a { color: var(--blue); font-weight: 600; }

/* Responsive diagram */
@media (max-width: 860px) {
  .cmmc-diagram-labels { display: none; }
  .cmmc-tier {
    grid-template-columns: 1fr;
    margin-bottom: 20px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    gap: 0;
  }
  .tier-block {
    border-radius: 0;
    padding: 16px;
    flex-direction: row;
    gap: 12px;
    justify-content: flex-start;
  }
  .tier-req {
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
  }
  .tier-assess {
    border-radius: 0;
    border-top: none;
  }
  .cmmc-model-diagram { padding: 24px 16px; }
}

/* ─────────────────────────────────────────
   SCROLL ANIMATIONS
───────────────────────────────────────── */
.fade-in-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}
