/* =============================================
   STEVE DONAHUE CONSULTING
   Navy #001141 · Blue #0F62FE · Cyan #00B4D8
   ============================================= */

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

:root {
  --navy:      #001141;
  --navy-dark: #000A2E;
  --blue:      #0F62FE;
  --cyan:      #00B4D8;
  --gold:      #E8B04B;
  --white:     #FFFFFF;
  --light-blue:#A6C8FF;
  --pale-blue: #C8D4F0;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--pale-blue);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; transition: color .2s; }
a:hover { color: var(--white); }

h1, h2, h3, h4 { color: var(--white); font-weight: 700; line-height: 1.2; overflow-wrap: break-word; word-break: break-word; }
h1 { font-size: clamp(1.8rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.4rem, 3.5vw, 2.4rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.2rem; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.container.narrow { max-width: 820px; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 11px 26px;
  border-radius: 4px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-primary:hover { background: var(--cyan); border-color: var(--cyan); color: var(--navy); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

/* ---- NAV ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(0,11,40,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15,98,254,.18);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; gap: 20px;
  padding: 12px 28px;
}
.nav-toggle {
  background: var(--blue); border: none; border-radius: 50%;
  width: 38px; height: 38px; cursor: pointer; flex-shrink: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 16px; height: 2px; background: var(--white); border-radius: 2px; }
.nav-logo {
  color: var(--white); font-weight: 800; font-size: 1rem;
  letter-spacing: 2px; margin-right: auto;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--pale-blue); font-size: 13px; font-weight: 500; letter-spacing: .4px; }
.nav-links a:hover { color: var(--white); }

@media (max-width: 768px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy-dark); border-bottom: 1px solid rgba(15,98,254,.2);
    flex-direction: column; align-items: flex-start;
    padding: 20px 28px; gap: 16px;
  }
  .nav-links.open { display: flex; }
}

/* ---- HERO ---- */
.hero {
  background: var(--navy);
  padding: 110px 28px 80px;
  min-height: 100vh;
  display: flex; align-items: center;
}
.hero-inner {
  max-width: 1180px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
.hero-breadcrumb {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  color: var(--gold); text-transform: uppercase; margin-bottom: 18px;
  overflow-wrap: break-word; word-break: break-word;
}
.hero-content { min-width: 0; }
.hero-title { margin-bottom: 18px; }
.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.3rem); font-weight: 600;
  color: var(--white); margin-bottom: 18px; line-height: 1.4;
  overflow-wrap: anywhere; word-break: break-word;
}
.hero-body { color: var(--pale-blue); font-size: 16px; margin-bottom: 30px; overflow-wrap: anywhere; word-break: break-word; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-image { border-radius: 8px; overflow: hidden; box-shadow: 0 24px 80px rgba(0,0,0,.5); min-width: 0; }
.hero-image img { width: 100%; object-fit: cover; border-radius: 8px; }

@media (max-width: 820px) {
  .hero { padding: 80px 24px 60px; min-height: auto; display: block; overflow: hidden; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; width: 100%; max-width: 100%; }
  .hero-content { max-width: calc(100vw - 48px); overflow: hidden; }
  .hero-image { order: -1; max-width: 260px; margin: 0 auto; }
  .hero-breadcrumb { font-size: 10px; letter-spacing: 1px; }
  .hero-body { font-size: 15px; }
  .hero-subtitle { font-size: 1rem; }
  .hero-ctas { gap: 10px; }
  .hero-ctas .btn { font-size: 13px; padding: 10px 20px; }
}

/* ---- CONTENT ---- */
.content-section { padding: 80px 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.two-col .col { min-width: 0; overflow-wrap: break-word; }
.two-col .col p { margin-bottom: 1.2em; font-size: 16px; }
.two-col .col p:last-child { margin-bottom: 0; }

@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; gap: 40px; } }

/* ---- VIDEO ---- */
.video-section { padding: 0 0 80px; border-top: 1px solid rgba(15,98,254,.18); }
.video-label {
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 14px;
}
.video-section h2 { margin-bottom: 14px; }
.video-intro { font-size: 16px; color: var(--pale-blue); margin-bottom: 36px; max-width: 600px; }
.video-wrap {
  position: relative;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(15,98,254,.2);
}
.video-wrap video {
  width: 100%;
  display: block;
  max-height: 540px;
  object-fit: contain;
  background: #000;
}

/* ---- CODE DECODE STRIP ---- */
.code-decode-strip {
  background: rgba(0,0,42,.55);
  border-bottom: 1px solid rgba(0,180,216,.18);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  overflow: hidden;
}
.decode-display {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.decode-code-text {
  font-family: 'Courier New', 'Courier', monospace;
  font-size: 0.81rem;
  color: rgba(0,180,216,.8);
  letter-spacing: .04em;
  min-height: 1.2em;
}
.decode-arrow {
  color: rgba(255,255,255,.22);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.decode-word-text {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 0.87rem;
  letter-spacing: .2em;
  color: #fff;
  min-width: 150px;
  opacity: 0;
  transition: opacity .5s ease;
}
.decode-word-text.visible { opacity: 1; }

/* ---- IoT PIPELINE FLOW ---- */
.iot-flow-label {
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--light-blue);
  margin: 56px 0 32px;
  opacity: .7;
}
.iot-flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-bottom: 16px;
}
.iot-node {
  flex: 1;
  max-width: 200px;
  text-align: center;
  padding: 0 10px;
}
.iot-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
}
.iot-icon svg { width: 100%; height: 100%; }
.iot-node-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: var(--light-blue);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.iot-node-sub {
  font-size: 12.5px;
  color: rgba(200,212,240,.6);
  line-height: 1.5;
}
.iot-connector {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 4px;
  flex-shrink: 0;
  margin-top: 21px;
}
.iot-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(0,180,216,.3);
  animation: iot-flow-pulse 1.6s ease-in-out infinite;
}
.iot-dot:nth-child(2) { animation-delay: .33s; }
.iot-dot:nth-child(3) { animation-delay: .66s; }

@keyframes iot-flow-pulse {
  0%, 100% { opacity: .2; transform: scale(.75); background: rgba(0,180,216,.3); }
  50%       { opacity: 1; transform: scale(1.3);  background: var(--cyan); }
}

@media (max-width: 700px) {
  .iot-flow { flex-direction: column; align-items: center; gap: 0; }
  .iot-node { max-width: 300px; padding: 0; }
  .iot-connector { transform: rotate(90deg); margin: 10px 0; }
  .code-decode-strip { padding: 10px 16px; }
  .decode-code-text { font-size: 0.72rem; }
}

/* ---- STATS ---- */
.stats-section {
  padding: 70px 0;
  border-top: 1px solid rgba(15,98,254,.18);
  border-bottom: 1px solid rgba(15,98,254,.18);
}
.stats-inner { display: flex; gap: 48px; flex-wrap: wrap; align-items: flex-start; }
.progress-bars { flex: 1; min-width: 0; }
.progress-item { margin-bottom: 22px; }
.progress-header { display: flex; justify-content: space-between; margin-bottom: 7px; }
.progress-label { font-size: 13px; font-weight: 600; color: var(--light-blue); text-transform: uppercase; letter-spacing: .5px; }
.progress-value { font-size: 13px; font-weight: 700; color: var(--white); }
.progress-track { height: 5px; background: rgba(255,255,255,.08); border-radius: 3px; overflow: hidden; }
.progress-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 3px;
  transition: width 1.2s cubic-bezier(.25,.8,.25,1);
}

.stat-callouts { display: flex; flex-direction: column; gap: 24px; flex-shrink: 0; }
.stat-callout { text-align: center; }
.stat-pct { display: block; font-size: 3.2rem; font-weight: 800; color: var(--blue); line-height: 1; }
.stat-cat { display: block; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--light-blue); margin-top: 5px; }

@media (max-width: 768px) {
  .stats-inner { flex-direction: column; gap: 32px; }
  .stat-callouts { flex-direction: row; gap: 32px; }
  .stat-pct { font-size: 2.4rem; }
  .stat-cat { font-size: 11px; letter-spacing: 1px; }
  .progress-label { font-size: 11px; letter-spacing: 0; }
  .progress-value { font-size: 12px; }
}

/* ---- QUOTE / IMAGE SECTION ---- */
.quote-image-section {
  position: relative;
  min-height: 440px;
  background: url('images/human-robot.jpg') center/cover no-repeat;
  display: flex; align-items: center;
  padding: 80px 0;
}
.quote-image-section::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,11,40,.85) 0%, rgba(0,17,65,.72) 100%);
}
.quote-image-section .container { position: relative; z-index: 1; width: 100%; }
.quote-main {
  font-size: clamp(1.1rem, 3vw, 1.75rem);
  font-weight: 700; color: var(--white);
  margin-bottom: 28px; line-height: 1.4;
  border-left: 4px solid var(--blue); padding-left: 20px;
  overflow-wrap: break-word; word-break: break-word;
}
.quote-item { margin-bottom: 16px; }
.quote-text { font-size: 1rem; color: var(--light-blue); font-style: italic; overflow-wrap: break-word; }
.quote-attr { font-size: .88rem; color: var(--cyan); font-weight: 600; margin-top: 4px; }

/* ---- METRICS ---- */
.metrics-section { padding: 80px 0; text-align: center; }
.metrics-section p { font-size: 1.05rem; color: var(--pale-blue); line-height: 1.85; max-width: 700px; margin: 0 auto; }

/* ---- CONTACT ---- */
.contact-section { padding: 80px 0; border-top: 1px solid rgba(15,98,254,.18); }
.contact-section h2 { margin-bottom: 8px; }
.contact-intro { color: var(--pale-blue); margin-bottom: 32px; font-size: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--white); margin-bottom: 8px; }
.req { color: var(--blue); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 13px 15px;
  background: var(--white);
  border: 2px solid transparent; border-radius: 4px;
  font-family: var(--font); font-size: 14px; color: var(--navy);
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--blue); }
.form-group textarea { min-height: 140px; resize: vertical; }

@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ---- GAP ANALYSIS ---- */
.gap-section { padding: 80px 0; border-top: 1px solid rgba(15,98,254,.18); }
.gap-intro { margin-bottom: 48px; font-size: 16px; }
.gap-tier { margin-bottom: 52px; }
.gap-tier h3 {
  display: flex; align-items: center; gap: 12px;
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 18px; flex-wrap: wrap; font-size: 1rem;
}
.tier-badge {
  font-size: .7rem; font-weight: 700; letter-spacing: 1.2px;
  padding: 3px 10px; border-radius: 20px;
}
.gap-tier--red h3 { color: #FF6B6B; }
.gap-tier--red .tier-badge { background: rgba(255,107,107,.12); color: #FF6B6B; }
.gap-tier--amber h3 { color: var(--gold); }
.gap-tier--amber .tier-badge { background: rgba(232,176,75,.12); color: var(--gold); }
.gap-tier--blue h3 { color: var(--light-blue); }
.gap-tier--blue .tier-badge { background: rgba(166,200,255,.1); color: var(--light-blue); }
.gap-tier--green h3 { color: #52C97D; }
.gap-tier--green .tier-badge { background: rgba(82,201,125,.1); color: #52C97D; }

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 10px;
}
.checkbox-grid label {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; color: var(--pale-blue); cursor: pointer;
  padding: 10px 13px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06); border-radius: 4px;
  transition: background .15s, border-color .15s;
  line-height: 1.45;
}
.checkbox-grid label:hover { background: rgba(15,98,254,.07); border-color: rgba(15,98,254,.3); }
.checkbox-grid input[type="checkbox"] {
  flex-shrink: 0; width: 15px; height: 15px;
  margin-top: 2px; accent-color: var(--blue); cursor: pointer;
}
.gap-footer { margin-top: 32px; }
.gap-footer .form-row { margin-bottom: 20px; }

/* ---- FOOTER ---- */
.footer { background: var(--navy-dark); padding: 60px 0 28px; border-top: 1px solid rgba(15,98,254,.2); }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 48px; }
.footer-col h4 { color: var(--blue); font-size: .8rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 14px; }
.footer-col a { display: block; color: var(--pale-blue); font-size: .88rem; margin-bottom: 9px; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 22px; text-align: center; }
.footer-bottom p { font-size: .82rem; color: rgba(200,212,240,.4); }

@media (max-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---- SECTION SHARED ---- */
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 14px;
}
.section-intro { font-size: 16px; color: var(--pale-blue); margin-bottom: 40px; max-width: 700px; }
.col-heading { color: var(--white); font-size: 1.05rem; font-weight: 700; margin-bottom: 12px; margin-top: 0; }
.sub-label { font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--cyan); font-weight: 600; margin-bottom: 14px; }
.h2-sub { color: var(--cyan); font-size: clamp(1rem, 2.5vw, 1.5rem); display: block; }

.feature-list { list-style: none; padding: 0; margin: 0 0 0 0; }
.feature-list li {
  padding: 7px 0 7px 22px;
  position: relative;
  font-size: 14.5px;
  color: var(--pale-blue);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.feature-list li::before { content: '›'; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }

/* ---- NAV CTA ---- */
.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 7px 16px; border-radius: 4px; font-weight: 600 !important;
  transition: background .2s, color .2s;
}
.nav-cta:hover { background: var(--cyan) !important; color: var(--navy) !important; }
.nav-active { color: var(--white) !important; border-bottom: 2px solid var(--cyan); padding-bottom: 2px; }

/* ---- PAGE BANNER (inner pages) ---- */
.page-banner {
  padding: 100px 0 56px;
  border-bottom: 1px solid rgba(15,98,254,.15);
}
.page-banner .section-label { margin-bottom: 12px; }
.page-banner h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.12;
  margin-bottom: 18px;
  overflow-wrap: break-word;
}
.page-banner p { font-size: 17px; color: var(--pale-blue); max-width: 600px; line-height: 1.6; }
.page-banner-ctas { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

/* ---- HOME CTA STRIP ---- */
.home-cta-strip { padding: 72px 0; border-top: 1px solid rgba(15,98,254,.15); }
.home-cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.home-cta-card {
  display: block;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(15,98,254,.2);
  border-radius: 10px;
  padding: 36px 28px;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, background .2s, transform .2s;
}
.home-cta-card:hover { border-color: var(--cyan); background: rgba(0,180,216,.05); transform: translateY(-3px); }
.home-cta-card--accent { border-color: var(--blue); background: rgba(15,98,254,.06); }
.home-cta-card--accent:hover { border-color: var(--cyan); background: rgba(0,180,216,.08); }
.home-cta-icon { font-size: 2rem; display: block; margin-bottom: 16px; }
.home-cta-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--white); }
.home-cta-card p { font-size: 14px; color: var(--pale-blue); line-height: 1.55; margin-bottom: 20px; }
.home-cta-link { font-size: 13px; font-weight: 600; color: var(--cyan); letter-spacing: .3px; }

@media (max-width: 768px) {
  .home-cta-grid { grid-template-columns: 1fr; }
  .page-banner { padding: 80px 0 40px; }
}

/* ---- FEATURE VIDEO (services page, no controls) ---- */
.feature-video-section { padding: 0; }
.feature-video-wrap {
  position: relative;
  background: #000;
  overflow: hidden;
  max-height: 520px;
}
.feature-video-wrap video {
  width: 100%;
  display: block;
  max-height: 520px;
  object-fit: cover;
}
.feature-video-toggle {
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 12px;
  opacity: 0;
  transition: opacity .2s;
  backdrop-filter: blur(4px);
}
.feature-video-wrap:hover .feature-video-toggle { opacity: 1; }

/* ---- SERVICES ---- */
.services-section { padding: 90px 0; border-top: 1px solid rgba(15,98,254,.18); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.service-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(15,98,254,.18);
  border-radius: 8px;
  padding: 28px 24px 24px;
  transition: border-color .2s, background .2s, transform .2s;
}
.service-card:hover { border-color: var(--blue); background: rgba(15,98,254,.06); transform: translateY(-3px); }
.service-icon { font-size: 1.8rem; margin-bottom: 14px; display: block; }
.service-card h3 { font-size: 1rem; margin-bottom: 12px; }
.service-card p { font-size: 13.5px; color: var(--pale-blue); line-height: 1.6; margin-bottom: 16px; }
.service-link { font-size: 13px; font-weight: 600; color: var(--cyan); }
.service-link:hover { color: var(--white); }

/* ---- AUTOMATION ---- */
.automation-section { padding: 90px 0; border-top: 1px solid rgba(15,98,254,.18); background: rgba(0,0,0,.15); }

.workflow-diagram {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 18px 0 0; flex-wrap: wrap;
}
.workflow-arrow {
  color: var(--blue); font-size: 1.5rem; font-weight: 700;
  align-self: center; flex-shrink: 0; padding: 0 4px;
}
.workflow-col { flex: 1; min-width: 0; }
.workflow-col--center { flex: 1.1; }
.workflow-head {
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--cyan);
  margin-bottom: 8px;
}
.workflow-items { display: flex; flex-direction: column; gap: 6px; }
.workflow-item {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 4px; padding: 7px 10px;
  font-size: 12px; color: var(--pale-blue);
  font-weight: 500;
}
.workflow-item.wf-blue { background: rgba(15,98,254,.12); border-color: rgba(15,98,254,.3); color: var(--light-blue); }
.workflow-item.wf-cyan { background: rgba(0,180,216,.1); border-color: rgba(0,180,216,.3); color: var(--cyan); }

@media (max-width: 560px) {
  .workflow-diagram { flex-direction: column; }
  .workflow-arrow { display: none; }
}

/* ---- SAFETY PLAYBOOKS ---- */
.playbooks-section { padding: 90px 0; border-top: 1px solid rgba(15,98,254,.18); }
.playbooks-section h2 { margin-bottom: 12px; }
.playbooks-intro p { font-size: 16px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
  align-items: start;
}
.pricing-card {
  border-radius: 10px;
  padding: 32px 28px;
  position: relative;
  border: 2px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
.pricing-card--featured { border-color: var(--gold); background: rgba(232,176,75,.05); transform: translateY(-8px); }
.pricing-card--danger { border-color: rgba(255,107,107,.25); background: rgba(255,107,107,.04); }
.pricing-card--success { border-color: rgba(82,201,125,.3); background: rgba(82,201,125,.04); }

.pricing-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--navy);
  font-size: 10px; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 4px 14px; border-radius: 20px;
  white-space: nowrap;
}
.pricing-tier { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.pricing-cost { font-size: 2rem; font-weight: 800; color: var(--white); line-height: 1; margin-bottom: 4px; }
.pricing-cost span { font-size: 1rem; font-weight: 500; color: var(--pale-blue); }
.pricing-label { font-size: 12px; color: var(--light-blue); letter-spacing: .5px; margin-bottom: 20px; }
.pricing-list { list-style: none; padding: 0; margin: 0 0 24px; }
.pricing-list li {
  padding: 7px 0;
  font-size: 14px; color: var(--pale-blue);
  border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex; align-items: center; gap: 9px;
}
.pricing-list li::before { content: '✕'; font-size: .8rem; flex-shrink: 0; font-weight: 700; }
.pricing-list li.good::before { content: '✓'; color: #52C97D; }
.pricing-list li.bad::before { content: '✕'; color: #FF6B6B; }

.btn-outline-red { background: transparent; color: #FF6B6B; border: 2px solid rgba(255,107,107,.4); padding: 10px 22px; border-radius: 4px; font-size: 13px; font-weight: 600; display: inline-block; transition: .2s; }
.btn-outline-red:hover { border-color: #FF6B6B; background: rgba(255,107,107,.08); color: var(--white); }

.playbooks-note {
  background: rgba(15,98,254,.06); border: 1px solid rgba(15,98,254,.2);
  border-radius: 8px; padding: 24px 28px; margin-top: 8px;
  text-align: center;
}
.playbooks-note p { font-size: 15px; color: var(--pale-blue); }

@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; gap: 28px; }
  .pricing-card--featured { transform: none; }
  .pricing-badge { top: 12px; left: auto; right: 16px; transform: none; }
}

/* ---- DATA & SECURITY ---- */
.data-section { padding: 90px 0; border-top: 1px solid rgba(15,98,254,.18); }
.industries-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px; margin-top: 14px;
}
.industry-item {
  background: rgba(15,98,254,.08);
  border: 1px solid rgba(15,98,254,.22);
  border-radius: 5px; padding: 9px 12px;
  font-size: 12.5px; font-weight: 600;
  color: var(--light-blue); text-align: center;
  transition: background .2s, border-color .2s;
}
.industry-item:hover { background: rgba(15,98,254,.18); border-color: var(--blue); color: var(--white); }

/* ---- GAP ANALYSIS SCORE PANEL ---- */
.gap-score-panel {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(15,98,254,.2);
  border-radius: 12px;
  padding: 32px;
  margin: 40px 0 56px;
  position: sticky;
  top: 62px;
  z-index: 10;
  backdrop-filter: blur(10px);
}
.gap-donut-wrap {
  position: relative;
  width: 220px;
  height: 220px;
  flex-shrink: 0;
}
.gap-donut-svg { width: 220px; height: 220px; }
.gap-donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.gap-score-big {
  font-size: 3rem;
  font-weight: 800;
  color: var(--light-blue);
  line-height: 1;
  transition: color .4s;
}
.gap-score-of {
  font-size: .85rem;
  color: rgba(200,212,240,.5);
  font-weight: 600;
  margin-top: 2px;
}
.gap-score-tag {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--light-blue);
  margin-top: 6px;
  transition: color .4s;
}
.gap-panel-right { min-width: 0; }
.gap-severity-box {
  background: rgba(255,255,255,.04);
  border-radius: 6px;
  padding: 14px 18px;
  margin-bottom: 20px;
  border-left: 3px solid var(--blue);
}
.gap-severity-title {
  color: var(--white);
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: 5px;
  line-height: 1.4;
}
.gap-severity-desc {
  color: var(--pale-blue);
  font-size: .85rem;
  line-height: 1.55;
}
.gap-bars-grid { display: flex; flex-direction: column; gap: 10px; }
.gap-bar-row {
  display: grid;
  grid-template-columns: 150px 1fr 40px;
  align-items: center;
  gap: 10px;
}
.gap-bar-label { font-size: 12px; color: var(--light-blue); font-weight: 500; white-space: nowrap; }
.gap-bar-track {
  height: 6px;
  background: rgba(255,255,255,.08);
  border-radius: 4px;
  overflow: hidden;
}
.gap-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--blue);
  transition: width .4s ease, background .4s;
  width: 0%;
}
.gap-bar-pct {
  font-size: 11px;
  font-weight: 700;
  color: var(--pale-blue);
  text-align: right;
}

/* ---- GAP GROUPS ---- */
.gap-group {
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(15,98,254,.14);
  border-radius: 10px;
  margin-bottom: 28px;
  overflow: hidden;
  transition: border-color .2s;
}
.gap-group:has(.gap-cb:checked) { border-color: rgba(232,176,75,.3); }
.gap-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(15,98,254,.1);
  background: rgba(255,255,255,.02);
  gap: 16px;
}
.gap-group-num {
  display: inline-block;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--cyan);
  margin-bottom: 3px;
}
.gap-group-title {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 2px;
}
.gap-group-sub {
  font-size: 11px;
  color: var(--light-blue);
  letter-spacing: .5px;
}
.gap-group-score-wrap {
  text-align: right;
  flex-shrink: 0;
  white-space: nowrap;
}
.gap-group-score-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--light-blue);
  line-height: 1;
  transition: color .3s;
}
.gap-group-score-max {
  font-size: .75rem;
  color: rgba(200,212,240,.4);
  font-weight: 600;
  margin-left: 3px;
}
.gap-group .checkbox-grid {
  padding: 20px 24px;
  grid-template-columns: 1fr;
}
.gap-group .checkbox-grid label {
  border-radius: 5px;
}
.gap-group .checkbox-grid label:has(input:checked) {
  background: rgba(232,176,75,.07);
  border-color: rgba(232,176,75,.3);
}
.gap-group .checkbox-grid label:has(input:checked) input { accent-color: var(--gold); }

/* Gap footer */
.gap-footer-score {
  background: rgba(15,98,254,.08);
  border: 1px solid rgba(15,98,254,.2);
  border-radius: 6px;
  padding: 12px 20px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--pale-blue);
}
.gap-footer-score strong { color: var(--white); font-size: 1.1rem; }
.gap-footer-note {
  font-size: 12.5px;
  color: rgba(200,212,240,.5);
  margin-top: 12px;
  font-style: italic;
}

@media (max-width: 768px) {
  .gap-score-panel {
    grid-template-columns: 1fr;
    position: static;
    gap: 24px;
    padding: 20px;
  }
  .gap-donut-wrap { margin: 0 auto; }
  .gap-bar-row { grid-template-columns: 120px 1fr 36px; }
  .gap-bar-label { font-size: 11px; }
}

/* ---- SCROLL TO TOP ---- */
.scroll-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--blue); color: var(--white); border: none;
  font-size: 20px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(15,98,254,.45);
  opacity: 0; visibility: hidden; transition: .25s;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--cyan); }
