/* ==========================================================================
   QVANTICALABS — Stylesheet
   Structure: 1. Reset & Tokens  2. Base  3. Nav  4. Hero  5. Sections
   6. Problem  7. Product  8. Capabilities  9. CBOM  10. Air-gapped
   11. Industries  12. Compliance  13. Timeline  14. Final CTA  15. Footer
   16. Utilities & Animations  17. Responsive
   ========================================================================== */

/* ---------- 1. Reset & Tokens ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

:root {
  --navy: #052e21;
  --navy-light: #0a3a2a;
  --blue: #059669;
  --cyan: #10b981;
  --teal: #10b981;
  --teal-light: #34d399;
  --primary-light: #34d399;
  --emerald: #10b981;
  --emerald-light: #34d399;
  --gold: #34d399;
  --gold-light: #6ee7b7;
  --gold-glow: rgba(52, 211, 153, 0.35);
  --border-glow: rgba(52, 211, 153, 0.35);
  --white: #FFFFFF;
  --light-bg: #F0FDF4;
  --text-dark: #061A14;
  --text-muted: #4B6358;
  --text-heading: #061A14;
  --text-body: #4B6358;

  --panel-border: rgba(16, 185, 129, 0.18);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --font-display: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --shadow-soft: 0 20px 50px -20px rgba(5, 150, 105, 0.25);
  --shadow-card: 0 12px 30px -14px rgba(5, 150, 105, 0.18);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* Dynamic Scroll Color Switcher Tokens */
  --scroll-ambient-1: rgba(5, 150, 105, 0.28);
  --scroll-ambient-2: rgba(52, 211, 153, 0.20);
}

/* ---------- Smooth Ambient Scroll Background ---------- */
.scroll-ambient-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0.85;
  transition: opacity 1s ease;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  will-change: background, transform;
  transition: background 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ambient-orb-1 {
  width: min(700px, 90vw);
  height: min(700px, 90vw);
  top: -160px;
  right: -120px;
  background: var(--scroll-ambient-1);
}

.ambient-orb-2 {
  width: min(600px, 85vw);
  height: min(600px, 85vw);
  bottom: -140px;
  left: -100px;
  background: var(--scroll-ambient-2);
}

body {
  margin: 0;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  background: var(--light-bg);
  color: var(--text-dark);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

p {
  margin: 0;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: min(1240px, 100% - 3rem);
  margin-inline: auto;
}

@media (max-width: 640px) {
  .container {
    width: min(1240px, 100% - 2rem);
  }
}

/* Focus visibility */
a:focus-visible,
button:focus-visible,
.problem-toggle:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 999;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  min-height: 44px;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--white);
  box-shadow: 0 10px 30px -10px rgba(2, 132, 199, 0.55);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -12px rgba(2, 132, 199, 0.65);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--navy-light);
  padding: 0.85rem 1.1rem;
}

.btn-ghost:hover {
  color: var(--blue);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.45rem 1.15rem;
  font-size: 0.84rem;
  min-height: 36px;
  line-height: 1.25;
}

.btn-full {
  width: 100%;
}

.open-eval-modal {
  cursor: pointer;
  user-select: none;
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--cyan);
  margin-bottom: 1.1rem;
  font-weight: 500;
}

.eyebrow-dark {
  color: var(--blue);
}

/* ---------- Section shells ---------- */
.section {
  padding: clamp(4rem, 9vw, 7.5rem) 0;
  position: relative;
}

.section-dark {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  --text-heading: #ffffff;
  --text-body: rgba(255, 255, 255, 0.78);
  --border-glow: rgba(52, 211, 153, 0.35);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.final-cta h1,
.final-cta h2,
.final-cta h3,
.final-cta h4 {
  color: var(--white);
}

.section-light {
  background: var(--light-bg);
}

.section-head-wrap {
  margin-bottom: 2.75rem;
  max-width: 980px;
}

.section-head-wrap.text-center {
  margin-inline: auto;
  text-align: center;
}

.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.15;
  max-width: 97%;
  margin-bottom: 1.4rem;
}

.section-title-light {
  color: var(--white);
}

.section-title-center {
  max-width: 97%;
  margin-inline: auto;
  text-align: center;
}

.section-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 97%;
  margin-bottom: 2.5rem;
}

.section-lead-light {
  color: rgba(255, 255, 255, 0.68);
}

.section-lead-center {
  max-width: 97%;
  margin-inline: auto;
  text-align: center;
}

/* ---------- Breadcrumb Navigation ---------- */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.35rem;
  padding: 0.35rem 0.85rem;
  background: rgba(4, 26, 18, 0.45);
  border: 1px solid rgba(52, 211, 153, 0.15);
  border-radius: var(--radius-sm);
  width: fit-content;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--cyan);
  text-decoration: underline;
}

.breadcrumb span.sep,
.breadcrumb span[aria-hidden="true"],
.breadcrumb .separator {
  color: var(--teal);
  opacity: 0.6;
}

.breadcrumb span:last-child {
  color: var(--emerald-light, #34d399);
  font-weight: 500;
}

/* ---------- Alignment Utilities ---------- */
.text-center {
  text-align: center !important;
}

.text-left {
  text-align: left !important;
}

.text-right {
  text-align: right !important;
}

/* ==========================================================================
   3. NAVIGATION
   ========================================================================== */
.nav-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 200;
  display: flex;
  justify-content: center;
  padding: 1.25rem 1.25rem 0;
  transition: transform 0.4s var(--ease), padding 0.35s ease, background 0.35s ease;
}

.nav-wrap.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 0.65rem 1.25rem 0;
  z-index: 1000;
  animation: navStickySlideDown 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes navStickySlideDown {
  0% {
    transform: translateY(-100%);
    opacity: 0.5;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.navbar {
  width: min(1200px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.8rem 0.6rem 1.4rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, rgba(6, 32, 22, 0.88) 0%, rgba(5, 46, 33, 0.94) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 14px 40px -15px rgba(5, 46, 33, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 0 20px rgba(16, 185, 129, 0.08);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), padding 0.35s var(--ease);
  position: relative;
}

.navbar::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 12%;
  right: 12%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, #059669 25%, #10b981 50%, #34d399 75%, transparent 100%);
  border-radius: 999px;
  opacity: 0.85;
  pointer-events: none;
}

.nav-wrap.is-sticky .navbar,
.navbar.scrolled {
  background: linear-gradient(135deg, rgba(4, 26, 18, 0.96) 0%, rgba(6, 32, 22, 0.98) 100%);
  border-color: rgba(52, 211, 153, 0.38);
  box-shadow:
    0 18px 50px -10px rgba(0, 0, 0, 0.88),
    0 0 25px rgba(16, 185, 129, 0.22),
    0 0 14px rgba(52, 211, 153, 0.18);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  background: #ffffff;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(5, 150, 105, 0.4);
  box-shadow:
    0 4px 16px rgba(5, 46, 33, 0.3),
    0 0 10px rgba(16, 185, 129, 0.2),
    0 0 12px rgba(52, 211, 153, 0.18);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

.nav-logo-img:hover {
  transform: translateY(-1px) scale(1.03);
  border-color: rgba(52, 211, 153, 0.85);
  box-shadow:
    0 6px 22px rgba(16, 185, 129, 0.45),
    0 0 18px rgba(52, 211, 153, 0.4);
}

.footer-logo-img {
  height: 44px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1.5px solid rgba(52, 211, 153, 0.4);
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.25), 0 0 12px rgba(52, 211, 153, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}

.nav-links>li {
  position: relative;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 0.25s ease, text-shadow 0.25s ease;
  position: relative;
  padding: 0.4rem 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  border-radius: 2px;
  transition: width 0.28s var(--ease), left 0.28s var(--ease);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.nav-links a:hover::after,
.nav-links a.active::after,
.nav-item-has-mega:hover .nav-link-mega::after,
.nav-item-has-mega.is-active .nav-link-mega::after {
  width: 100%;
  left: 0;
}

.nav-links a:hover,
.nav-links a.active,
.nav-item-has-mega:hover .nav-link-mega,
.nav-item-has-mega.is-active .nav-link-mega {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-actions .btn-primary {
  background: linear-gradient(135deg, #047857 0%, #10b981 60%, #059669 100%);
  color: #ffffff;
  border: 1px solid rgba(52, 211, 153, 0.5);
  box-shadow:
    0 4px 18px rgba(5, 150, 105, 0.45),
    0 0 12px rgba(52, 211, 153, 0.25);
  font-weight: 700;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  padding: 0.75rem 1.4rem;
}

.nav-actions .btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.nav-actions .btn-primary:hover::before {
  left: 100%;
}

.nav-actions .btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: var(--gold);
  box-shadow:
    0 8px 25px rgba(16, 185, 129, 0.55),
    0 0 18px rgba(52, 211, 153, 0.45);
}

.nav-actions .btn-ghost {
  color: rgba(255, 255, 255, 0.88);
}

.nav-actions .btn-ghost:hover {
  color: var(--cyan);
}

/* ---------------- MEGA MENU STYLING ---------------- */
/* Invisible hover bridge & expanded hit zone to prevent menu closing during mouse movement */
.nav-item-has-mega {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: -14px;
}

.nav-link-mega {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  padding: 0.4rem 0;
}

.mega-chevron {
  transition: transform 0.3s ease, color 0.3s ease;
}

.nav-item-has-mega:hover .mega-chevron,
.nav-item-has-mega.is-active .mega-chevron,
.nav-link-mega[aria-expanded="true"] .mega-chevron {
  transform: rotate(180deg);
  color: var(--cyan);
}

.nav-item-has-mega:hover .nav-link-mega,
.nav-item-has-mega.is-active .nav-link-mega,
.nav-link-mega[aria-expanded="true"] {
  color: var(--cyan);
}

/* Invisible hover bridge spanning vertical gap and diagonal movement zones */
.mega-menu::before {
  content: "";
  position: absolute;
  top: -30px;
  left: -80px;
  right: -80px;
  height: 40px;
  background: transparent;
  pointer-events: auto;
  z-index: 10;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-33%) translateY(12px) scale(0.98);
  width: min(1160px, 94vw);
  background: rgba(6, 32, 22, 0.97);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 22px;
  box-shadow:
    0 30px 70px -15px rgba(0, 0, 0, 0.9),
    0 0 35px -5px rgba(16, 185, 129, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease, visibility 0.28s;
  z-index: 500;
  overflow: hidden;
}

.nav-item-has-mega:hover .mega-menu,
.nav-item-has-mega.is-active .mega-menu,
.mega-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-33%) translateY(0) scale(1);
}

/* Individual horizontal alignments for mega menus based on navbar position */
#productsMegaMenu {
  transform: translateX(-22%) translateY(12px) scale(0.98);
}
.nav-item-has-mega:hover #productsMegaMenu,
.nav-item-has-mega.is-active #productsMegaMenu,
#productsMegaMenu.open {
  transform: translateX(-22%) translateY(0) scale(1);
}

#platformMegaMenu {
  transform: translateX(-35%) translateY(12px) scale(0.98);
}
.nav-item-has-mega:hover #platformMegaMenu,
.nav-item-has-mega.is-active #platformMegaMenu,
#platformMegaMenu.open {
  transform: translateX(-35%) translateY(0) scale(1);
}

#servicesMegaMenu {
  transform: translateX(-50%) translateY(12px) scale(0.98);
}
.nav-item-has-mega:hover #servicesMegaMenu,
.nav-item-has-mega.is-active #servicesMegaMenu,
#servicesMegaMenu.open {
  transform: translateX(-50%) translateY(0) scale(1);
}

#industriesMegaMenu {
  transform: translateX(-65%) translateY(12px) scale(0.98);
}
.nav-item-has-mega:hover #industriesMegaMenu,
.nav-item-has-mega.is-active #industriesMegaMenu,
#industriesMegaMenu.open {
  transform: translateX(-65%) translateY(0) scale(1);
}

/* Resources Mega Menu: shifted left on desktop to prevent right-edge clipping */
#resourcesMegaMenu {
  transform: translateX(-78%) translateY(12px) scale(0.98);
}
.nav-item-has-mega:hover #resourcesMegaMenu,
.nav-item-has-mega.is-active #resourcesMegaMenu,
#resourcesMegaMenu.open {
  transform: translateX(-78%) translateY(0) scale(1);
}



.mega-glow-bar {
  height: 2.5px;
  width: 100%;
  background: linear-gradient(90deg, transparent 0%, #059669 25%, #10b981 50%, #34d399 75%, transparent 100%);
}

.mega-menu-inner {
  padding: 1.7rem 1.8rem;
  display: grid;
  grid-template-columns: 3.4fr 1.2fr 1fr;
  gap: 1.6rem;
  align-items: stretch;
}

.mega-col {
  display: flex;
  flex-direction: column;
}

.mega-col-main {
  width: 100%;
}

/* Mega Menu Headers */
.mega-col-header {
  margin-bottom: 1.1rem;
}

.mega-tag {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin-bottom: 0.25rem;
}

.mega-col-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

/* Mega Grid Cards */
.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem;
}

.mega-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.95rem;
}

.mega-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.95rem;
}

.mega-menu-footer {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.mega-quick-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.mega-quick-link {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.mega-quick-link:hover {
  color: var(--cyan);
}

.mega-card {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.mega-card:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(5, 150, 105, 0.06) 100%);
  border-color: rgba(16, 185, 129, 0.38);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -8px rgba(16, 185, 129, 0.25);
}

.mega-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.28s ease;
}

.mega-card:hover .mega-icon-wrap {
  background: var(--cyan);
  color: #03140d;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.6);
}

.mega-card-content {
  flex: 1;
  min-width: 0;
}

.mega-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
  width: 100%;
}

.mega-card-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.mega-card:hover .mega-card-title {
  color: var(--cyan);
}

.badge-tech {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 99px;
  background: rgba(16, 185, 129, 0.14);
  color: var(--cyan);
  border: 1px solid rgba(16, 185, 129, 0.28);
  white-space: nowrap;
  flex-shrink: 0;
}

.mega-card-desc {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.35;
  margin: 0;
}

/* Mega Industry List */
.mega-col-sub {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: 1.25rem;
}

.mega-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.mega-list-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: all 0.25s ease;
  text-decoration: none;
}

.mega-list-item:hover {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.25);
  transform: translateX(3px);
}

.mega-list-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.mega-list-item:hover .mega-list-icon {
  background: rgba(16, 185, 129, 0.24);
  color: var(--white);
}

.mega-list-item strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}

.mega-list-item small {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Mega Feature Spotlight Box */
.mega-col-feature {
  display: flex;
}

.mega-spotlight {
  width: 100%;
  padding: 1.2rem;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(10, 46, 32, 0.8) 0%, rgba(6, 32, 22, 0.95) 100%);
  border: 1px solid rgba(16, 185, 129, 0.28);
  box-shadow: inset 0 0 20px rgba(16, 185, 129, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.mega-spotlight::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 100px;
  height: 100px;
  background: var(--cyan);
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.18;
  pointer-events: none;
}

.spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 0.6rem;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
  0% {
    transform: scale(0.95);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.3);
    opacity: 1;
    box-shadow: 0 0 14px var(--cyan);
  }

  100% {
    transform: scale(0.95);
    opacity: 0.7;
  }
}

.spotlight-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.spotlight-desc {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.35;
  margin-bottom: 0.85rem;
}

.spotlight-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.6rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 0.9rem;
}

.stat-item {
  text-align: center;
}

.stat-val {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cyan);
}

.stat-lbl {
  display: block;
  font-size: 0.64rem;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

.spotlight-btn {
  width: 100%;
  justify-content: center;
  font-size: 0.8rem;
  padding: 0.55rem 0.8rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--white);
  margin-inline: auto;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile side menu drawer panel with 2-stage drill-down */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 88vw);
  height: 100vh;
  height: 100dvh;
  z-index: 1050;
  background: rgba(6, 32, 22, 0.98);
  border-left: 1px solid rgba(16, 185, 129, 0.28);
  padding: 0;
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, visibility 0.45s;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.85);
  overflow: hidden;
}

.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-panel {
  position: absolute;
  inset: 0;
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, visibility 0.38s;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(100%);
}

.mobile-panel-main {
  transform: translateX(0);
}

.mobile-panel-main.is-hidden-left {
  transform: translateX(-100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.mobile-panel-sub {
  transform: translateX(100%);
  background: rgba(10, 42, 30, 0.99);
  z-index: 2;
}

.mobile-panel.is-active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-back-btn {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: var(--cyan);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.2s ease;
  cursor: pointer;
}

.mobile-back-btn:hover {
  background: rgba(16, 185, 129, 0.22);
}

.mobile-drill-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.85rem 0;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.mobile-drill-trigger svg {
  color: var(--cyan);
}

.mobile-panel-title-group {
  margin-bottom: 1.25rem;
}

.mobile-panel-title-group h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-top: 0.25rem;
}

.mobile-sub-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-sub-menu-list li {
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.mobile-sub-menu-list a {
  display: block;
  padding: 0.85rem 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-sub-menu-list a:hover {
  color: var(--cyan);
  padding-left: 0.3rem;
}

/* Mobile Side Menu Header */
.mobile-menu-top {
  width: 100%;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.mobile-close-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-close-sub {
  margin-left: auto;
}

.mobile-close-btn:hover {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.4);
  color: var(--cyan);
  transform: rotate(90deg);
}

/* Mobile Navigation Links */
.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-links a {
  display: flex;
  align-items: center;
  padding: 0.85rem 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.02rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  min-height: 44px;
  border-radius: 8px;
  transition: all 0.25s ease;
}

.mobile-links a:hover {
  color: var(--cyan);
  background: rgba(16, 185, 129, 0.08);
  padding-left: 0.85rem;
}

.mobile-links li:last-child a {
  border-bottom: none;
}

.mobile-has-sub {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.mobile-sub-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.02rem;
  font-weight: 600;
  padding: 0.85rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  font-family: inherit;
  border-radius: 8px;
  transition: all 0.25s ease;
}

.mobile-sub-toggle:hover {
  color: var(--cyan);
  background: rgba(16, 185, 129, 0.08);
}

.mobile-sub-toggle .mobile-chevron {
  transition: transform 0.3s ease;
  color: var(--cyan);
}

.mobile-sub-toggle[aria-expanded="true"] .mobile-chevron {
  transform: rotate(180deg);
}

.mobile-sub-links {
  display: none;
  flex-direction: column;
  padding-left: 0.75rem;
  background: rgba(16, 185, 129, 0.06);
  border-radius: 10px;
  margin: 0.35rem 0;
  border: 1px solid rgba(16, 185, 129, 0.16);
}

.mobile-sub-links.open {
  display: flex;
}

.mobile-sub-links a {
  font-size: 0.9rem !important;
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 500 !important;
  padding: 0.6rem 0.6rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
}

/* Mobile Side Menu Bottom Section */
.mobile-menu-bottom {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
}

.mobile-menu-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Attractive Backdrop Overlay with Click-to-Close */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 100% 50%, rgba(16, 185, 129, 0.15), transparent 70%),
    rgba(3, 20, 14, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s;
  cursor: pointer;
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Responsive adjustments for Mega Menu */
@media (max-width: 1024px) {
  .mega-menu-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .mega-col-sub {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-left: 0;
    padding-top: 1rem;
  }
}

/* ==========================================================================
   4. HERO
   ========================================================================== */
.hero {
  position: relative;
  background: radial-gradient(120% 100% at 15% 0%, #0a3a2a 0%, var(--navy) 45%, #03140d 100%);
  color: var(--white);
  padding: clamp(4.8rem, 7vw, 6.2rem) 0 clamp(2.5rem, 4.5vw, 3.8rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at 75% 45%, rgba(46, 204, 113, 0.15), transparent 60%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}

.hero-glow-1 {
  width: 480px;
  height: 480px;
  background: #059669;
  top: -140px;
  right: -80px;
}

.hero-glow-2 {
  width: 380px;
  height: 380px;
  background: #10b981;
  bottom: -160px;
  left: 10%;
  opacity: 0.25;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1240px, 100% - 3rem);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: clamp(1.5rem, 3.5vw, 2.8rem);
  align-items: center;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(46, 204, 113, 0.4);
  border-radius: 20px;
  padding: 6px 16px;
  background: rgba(46, 204, 113, 0.08);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 32px;
  margin-bottom: 1.1rem;
}

.hero .eyebrow .eyebrow-icon {
  color: var(--cyan);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.hero-title {
  color: var(--white);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.grad-text {
  background: linear-gradient(100deg, var(--cyan), var(--blue) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(0.95rem, 1.25vw, 1.1rem);
  color: rgba(255, 255, 255, 0.76);
  max-width: 97%;
  margin-bottom: 24px;
  line-height: 1.5;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.4rem;
}

.hero .btn-primary {
  box-shadow: 0 0 24px rgba(46, 204, 113, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.hero .btn-primary:hover {
  box-shadow: 0 0 36px rgba(46, 204, 113, 0.6);
  transform: scale(1.02);
}

.hero .hero-cta .btn-outline {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-height: auto !important;
  border-radius: 0 !important;
  width: auto !important;
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease;
}

.hero .hero-cta .btn-outline:hover {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  text-decoration: underline;
  transform: none !important;
}

.hero .hero-cta .btn-outline span {
  display: inline-block;
  transition: transform 0.2s ease;
}

.hero .hero-cta .btn-outline:hover span {
  transform: translateX(4px);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  padding-top: 20px;
  padding-bottom: 20px;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.18);
  color: var(--cyan);
  font-size: 0.65rem;
}

/* ---------- Hero AQRA Visual ---------- */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aqra-diagram {
  position: relative;
  width: min(350px, 100%);
  aspect-ratio: 1 / 1;
}

.perimeter-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.ring-1 {
  inset: 8%;
  animation: pulse-ring 6s ease-in-out infinite;
}

.ring-2 {
  inset: 22%;
  border-color: rgba(16, 185, 129, 0.35);
  animation: pulse-ring 6s ease-in-out infinite 1s;
}

.ring-3 {
  inset: 36%;
  border-color: rgba(16, 185, 129, 0.55);
  background: rgba(5, 150, 105, 0.1);
  animation: pulse-ring 6s ease-in-out infinite 2s;
}

@keyframes pulse-ring {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.03);
    opacity: 1;
  }
}

.aqra-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: linear-gradient(145deg, #0a3a2a, #059669);
  border: 1px solid rgba(16, 185, 129, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: aqra-core-glow 2.5s ease-in-out infinite;
  color: var(--white);
  z-index: 3;
}

@keyframes aqra-core-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.5), inset 0 0 30px rgba(255, 255, 255, 0.06);
  }
  50% {
    box-shadow: 0 0 40px rgba(46, 204, 113, 0.5), inset 0 0 30px rgba(255, 255, 255, 0.06);
  }
}

.core-label {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.core-sub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.1em;
}

.orbit-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  z-index: 3;
}

.node-dot {
  width: 14.4px;
  height: 14.4px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.25), 0 0 16px rgba(46, 204, 113, 0.8);
  animation: node-blink 3.2s ease-in-out infinite;
}

.node-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(10, 42, 30, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

@keyframes node-blink {

  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

.node-source {
  top: 2%;
  left: 50%;
  transform: translateX(-50%);
}

.node-binary {
  bottom: 22%;
  right: 1%;
}

.node-config {
  bottom: 22%;
  left: 1%;
}

.connector-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.flow-line {
  stroke: rgba(46, 204, 113, 0.7);
  stroke-width: 1.6;
  stroke-dasharray: 6 8;
  animation: dash-flow 1.5s linear infinite;
}

@keyframes dash-flow {
  from {
    stroke-dashoffset: 28;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.cbom-output {
  position: absolute;
  bottom: -6%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  z-index: 3;
}

.cbom-arrow {
  color: var(--cyan);
  font-size: 0.9rem;
}

.cbom-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.55);
  color: var(--cyan);
}

/* ==========================================================================
   6. PROBLEM SECTION
   ========================================================================== */
.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.problem-card {
  background: var(--white);
  border: 1px solid #E1EFE7;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -18px rgba(5, 150, 105, 0.2);
}

.problem-toggle {
  all: unset;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  cursor: default;
}

.problem-num {
  font-family: var(--font-mono);
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 600;
}

.problem-heading {
  font-size: 1.15rem;
  font-weight: 700;
  flex: 1;
}

.problem-plus {
  display: none;
}

.problem-body {
  margin-top: 1rem;
}

.problem-body p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* ==========================================================================
   7. AQRA PRODUCT / ARCHITECTURE
   ========================================================================== */
.architecture-panel {
  margin-top: 3rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 3rem);
  position: relative;
  backdrop-filter: blur(6px);
}

.perimeter-tag {
  position: absolute;
  top: -14px;
  left: 2rem;
  background: var(--navy);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-pill);
}

.arch-diagram {
  display: grid;
  grid-template-columns: 1fr auto auto auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0.5rem;
}

.arch-col {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.arch-output {
  align-items: flex-start;
}

.arch-node {
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
}

.arch-node-output {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.5);
  color: var(--cyan);
}

.arch-arrows {
  width: 70px;
  height: 130px;
}

.arch-arrows-out {
  width: 60px;
  height: 40px;
}

.arch-line {
  stroke: rgba(16, 185, 129, 0.58);
  stroke-width: 1.6;
  stroke-dasharray: 4 6;
  animation: dash-flow 3.6s linear infinite;
}

.arch-core {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(145deg, #0a3a2a, #059669);
  border: 1px solid rgba(16, 185, 129, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.35);
  justify-self: center;
}

.arch-core span {
  font-weight: 800;
  font-size: 1rem;
}

.arch-core small {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.1em;
}

/* ==========================================================================
   8. DISCOVERY CAPABILITIES — HORIZONTAL HOVER ACCORDION
   ========================================================================== */
.hover-accordion-section {
  background: radial-gradient(120% 100% at 50% 0%, #083324 0%, var(--navy) 50%, #03140d 100%);
  position: relative;
  overflow: hidden;
}

.accordion-container {
  display: flex;
  gap: 1.25rem;
  width: 100%;
  height: 490px;
  margin-top: 2.75rem;
}

.accordion-item {
  flex: 0.65;
  min-width: 75px;
  height: 100%;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.78;
  transition: flex 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.7s ease,
    border-color 0.7s ease,
    box-shadow 0.7s ease,
    transform 0.7s ease,
    opacity 0.65s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Radiant glow background on hover */
.accordion-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(16, 185, 129, 0.15), transparent 60%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

/* Glowing top border bar */
.accordion-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  opacity: 0.3;
  transition: opacity 0.6s ease;
}

/* Active / Expanded Card State */
.accordion-item.is-active {
  flex: 4.8;
  opacity: 1;
  background: linear-gradient(145deg, rgba(10, 46, 32, 0.88) 0%, rgba(6, 32, 22, 0.96) 100%);
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.9), 0 0 35px -5px rgba(16, 185, 129, 0.3);
  transform: translateY(-4px);
}

.accordion-item.is-active::before,
.accordion-item.is-active::after {
  opacity: 1;
}

/* Collapsed Header / Top Icon + Index Number */
.accordion-collapsed-header {
  position: absolute;
  top: 1.8rem;
  left: 1.8rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 5;
}

.accordion-num {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cyan);
}

.accordion-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.5s ease;
}

.accordion-item.is-active .accordion-icon,
.accordion-item:hover .accordion-icon {
  background: var(--cyan);
  color: #03140d;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.6);
}

/* Collapsed Vertical Title - Visible on Non-Active Cards */
.accordion-vertical-title {
  position: absolute;
  bottom: 2.2rem;
  left: 1.8rem;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 1.08rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: opacity 0.5s ease, color 0.3s ease, transform 0.6s ease;
  pointer-events: none;
  z-index: 5;
  opacity: 1;
  visibility: visible;
}

.accordion-item:not(.is-active):hover .accordion-vertical-title {
  color: var(--cyan);
}

.accordion-item.is-active .accordion-vertical-title {
  opacity: 0;
  visibility: hidden;
}

/* Expanded Content Area */
.accordion-expanded-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, visibility 0.6s ease;
  z-index: 2;
  position: relative;
}

.accordion-item.is-active .accordion-expanded-content {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.accordion-top-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.accordion-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan);
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.32);
  padding: 0.25rem 0.65rem;
  border-radius: 99px;
  white-space: nowrap;
}

.accordion-title {
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  margin: 1.4rem 0 0.7rem;
}

.accordion-desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  max-width: 48ch;
}

.accordion-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}

.accordion-tag-item {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.3rem 0.65rem;
  border-radius: 8px;
  white-space: nowrap;
}

.accordion-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cyan);
  transition: gap 0.35s ease, color 0.35s ease;
  text-decoration: none;
  margin-top: auto;
}

.accordion-action-btn:hover {
  color: var(--white);
  gap: 0.85rem;
}

/* Desktop default for mobile-only header elements */
.accordion-mobile-title,
.accordion-mobile-chevron {
  display: none;
}

/* Responsive Accordion for Mobile & Tablet (< 920px) */
@media (max-width: 920px) {
  .accordion-container {
    flex-direction: column;
    height: auto;
    gap: 0.85rem;
    margin-top: 2rem;
  }

  .accordion-item {
    flex: none !important;
    width: 100%;
    height: auto;
    min-height: auto;
    opacity: 1 !important;
    transform: none !important;
    padding: 1.2rem 1.35rem;
    border-radius: 18px;
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  }

  .accordion-vertical-title {
    display: none !important;
  }

  /* Mobile Header Row */
  .accordion-collapsed-header {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    cursor: pointer;
  }

  .accordion-header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .accordion-mobile-title {
    display: block;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--white);
    transition: color 0.3s ease;
  }

  .accordion-mobile-chevron {
    display: block;
    width: 18px;
    height: 18px;
    color: var(--cyan);
    transition: transform 0.35s ease;
    flex-shrink: 0;
  }

  .accordion-item.is-active .accordion-mobile-chevron {
    transform: rotate(180deg);
  }

  .accordion-item.is-active .accordion-mobile-title {
    color: var(--cyan);
  }

  /* Mobile Expand/Collapse Content */
  .accordion-item:not(.is-active) .accordion-expanded-content {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .accordion-item.is-active .accordion-expanded-content {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    margin-top: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
}

/* ==========================================================================
   9. CBOM SECTION
   ========================================================================== */
.cbom-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.cbom-copy {
  display: flex;
  flex-direction: column;
}

.flow-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
}

.flow-steps span:not(.flow-arrow) {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  background: #ECFDF5;
  color: var(--blue);
  border: 1px solid #D1FAE5;
}

.flow-arrow {
  color: var(--text-muted);
}

.cbom-card {
  background: linear-gradient(160deg, var(--navy), var(--navy-light));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.cbom-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.5rem;
}

.cbom-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.55);
}

.cbom-stat {
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 800;
  background: linear-gradient(100deg, var(--cyan), var(--blue) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1.75rem;
}

.cbom-block {
  margin-bottom: 1.5rem;
}

.cbom-block:last-child {
  margin-bottom: 0;
}

.cbom-block-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.7rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.32);
  color: var(--cyan);
}

.status-bars {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.status-row {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
}

.bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  width: 0;
  transition: width 1.1s var(--ease);
}

.bar-legacy {
  background: #F79009;
}

.bar-review {
  background: #059669;
}

.bar-ready {
  background: #10b981;
}

/* ==========================================================================
   10. AIR-GAPPED DIFFERENTIATOR
   ========================================================================== */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

.compare-card {
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--panel-border);
}

.compare-old {
  background: rgba(255, 255, 255, 0.02);
  opacity: 0.75;
}

.compare-aqra {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.35);
}

.compare-label {
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.compare-label-accent {
  color: var(--cyan);
}

.compare-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.2rem;
}

.compare-arrow {
  color: rgba(255, 255, 255, 0.4);
}

.compare-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.perimeter-box {
  border: 1px dashed rgba(16, 185, 129, 0.5);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.perimeter-box-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--cyan);
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
}

.perimeter-box-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.92rem;
  color: var(--white);
}

.pb-arrow {
  color: var(--cyan);
  font-size: 0.85rem;
}

.pb-highlight {
  font-weight: 800;
  color: var(--cyan);
  font-size: 1.05rem;
  padding: 0.3rem 1rem;
  border: 1px solid rgba(16, 185, 129, 0.5);
  border-radius: var(--radius-pill);
}

.perimeter-box-footer {
  display: block;
  margin-top: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
}

.zero-stat {
  margin-top: 3rem;
  text-align: center;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.15), transparent 70%);
  border: 1px solid var(--panel-border);
}

.zero-num {
  display: block;
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 800;
  background: linear-gradient(100deg, var(--cyan), var(--blue) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.zero-label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.03em;
}

/* ==========================================================================
   11. INDUSTRIES
   ========================================================================== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.industry-lg {
  grid-column: span 2;
}

.industry-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #E1EFE7;
  border-radius: var(--radius-lg);
  padding: 2rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -18px rgba(5, 150, 105, 0.2);
}

.industry-pattern {
  position: absolute;
  top: -10%;
  right: -8%;
  width: 55%;
  color: rgba(5, 150, 105, 0.12);
  fill: currentColor;
  stroke: currentColor;
}

.industry-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  position: relative;
}

.industry-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  position: relative;
  max-width: 42ch;
}

/* ==========================================================================
   12. COMPLIANCE
   ========================================================================== */
.section-compliance {
  text-align: center;
}

.compliance-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 2.5rem 0 1.5rem;
}

.compliance-item {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid #E1EFE7;
  color: var(--navy-light);
  box-shadow: var(--shadow-card);
}

.compliance-disclaimer {
  max-width: 62ch;
  margin-inline: auto;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   13. TIMELINE
   ========================================================================== */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.timeline-line {
  position: absolute;
  top: 22px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.5), rgba(5, 150, 105, 0.2));
}

.timeline-marker {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy-light);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.4rem;
  position: relative;
  z-index: 1;
}

.timeline-week {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

.timeline-content h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.timeline-content p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
}

/* ==========================================================================
   14. FINAL CTA
   ========================================================================== */
.final-cta {
  background: radial-gradient(120% 140% at 50% 0%, #0a3a2a 0%, var(--navy) 55%, #03140d 100%);
  color: var(--white);
  text-align: center;
  padding: clamp(4.5rem, 10vw, 8rem) 0;
}

.final-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}


.final-cta-title {
  color: var(--white);
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  line-height: 1.15;
  max-width: 20ch;
  margin-bottom: 2.2rem;
}

.final-cta-buttons {
  margin-bottom: 0;
  justify-content: center;
}

/* ==========================================================================
   15. FOOTER
   ========================================================================== */
.footer {
  background: #03140d;
  color: rgba(255, 255, 255, 0.7);
  padding: 4.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .nav-logo {
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 32ch;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  margin-bottom: 1.1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.75rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a:hover {
  color: var(--cyan);
}

/* ==========================================================================
   16. SCROLL REVEAL & AOS (ANIMATE ON SCROLL) SYSTEM
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- AOS Data-Attribute Animations ---------- */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: 0.8s;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale3d(1, 1, 1) rotateX(0deg) !important;
}

/* Animations */
[data-aos="fade-up"] {
  transform: translate3d(0, 36px, 0);
}

[data-aos="fade-down"] {
  transform: translate3d(0, -36px, 0);
}

[data-aos="fade-left"] {
  transform: translate3d(36px, 0, 0);
}

[data-aos="fade-right"] {
  transform: translate3d(-36px, 0, 0);
}

[data-aos="zoom-in"] {
  transform: scale3d(0.9, 0.9, 0.9);
}

[data-aos="zoom-out"] {
  transform: scale3d(1.08, 1.08, 1.08);
}

[data-aos="flip-up"] {
  transform: perspective(2500px) rotateX(-45deg) translate3d(0, 20px, 0);
}

/* Stagger Delays */
[data-aos-delay="100"] {
  transition-delay: 0.1s;
}

[data-aos-delay="150"] {
  transition-delay: 0.15s;
}

[data-aos-delay="200"] {
  transition-delay: 0.2s;
}

[data-aos-delay="250"] {
  transition-delay: 0.25s;
}

[data-aos-delay="300"] {
  transition-delay: 0.3s;
}

[data-aos-delay="400"] {
  transition-delay: 0.4s;
}

[data-aos-delay="500"] {
  transition-delay: 0.5s;
}

[data-aos-delay="600"] {
  transition-delay: 0.6s;
}

/* Custom Durations */
[data-aos-duration="400"] {
  transition-duration: 0.4s;
}

[data-aos-duration="600"] {
  transition-duration: 0.6s;
}

[data-aos-duration="800"] {
  transition-duration: 0.8s;
}

[data-aos-duration="1000"] {
  transition-duration: 1s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .perimeter-ring,
  .node-dot,
  .flow-line,
  .arch-line {
    animation: none !important;
  }

  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ==========================================================================
   17. RESPONSIVE
   ========================================================================== */

/* ---- Large desktop refinement ---- */
@media (min-width: 1441px) {
  .container {
    width: min(1320px, 100% - 3rem);
  }
}

/* ---- 1024px: nav links tighten, some grids to 2 cols ---- */
@media (max-width: 1080px) {
  .nav-links {
    gap: 1.2rem;
  }

  .nav-links a {
    font-size: 0.88rem;
  }

  .capability-grid,
  .problem-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-visual,
  .hero-visual.in-view,
  .hero-visual.aos-animate {
    display: none !important;
  }

  .hero-copy {
    order: 1;
  }

  .aqra-diagram {
    width: min(370px, 88vw);
  }

  .compare-grid {
    grid-template-columns: 1fr;
  }

  .cbom-grid {
    grid-template-columns: 1fr;
  }

  .cbom-card {
    order: -1;
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industry-lg {
    grid-column: span 2;
  }

  .arch-diagram {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .arch-arrows,
  .arch-arrows-out {
    display: none;
  }

  .arch-core {
    justify-self: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

/* ---- 768px: switch to mobile nav & stacked layouts ---- */
@media (max-width: 768px) {

  html,
  body {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .mega-menu {
    display: none !important;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .navbar {
    padding: 0.55rem 0.55rem 0.55rem 1.1rem;
  }

  .nav-wrap {
    padding: 0.85rem 0.85rem 0;
  }

  .section {
    padding: 3.25rem 0;
  }

  /* Compact Hero for Mobile */
  .hero {
    padding: 5.5rem 0 2.5rem;
    min-height: auto;
  }

  .page-hero {
    padding: 4.5rem 0 1.75rem;
  }

  .hero-inner {
    gap: 2rem;
  }

  .hero-title {
    font-size: clamp(1.7rem, 5.5vw, 2.3rem);
    line-height: 1.14;
    margin-bottom: 0.85rem;
  }

  .hero-sub {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.4rem;
    max-width: 100%;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    font-size: 0.95rem;
    padding: 0.88rem 1.2rem;
    border-radius: var(--radius-md);
  }

  .trust-list {
    gap: 0.65rem 1.1rem;
    font-size: 0.82rem;
  }

  .hero-visual,
  .hero-visual.in-view,
  .hero-visual.aos-animate {
    display: none !important;
  }

  .aqra-diagram {
    width: min(330px, 86vw);
  }

  .aqra-core {
    width: 96px;
    height: 96px;
  }

  .core-label {
    font-size: 0.92rem;
  }

  .core-sub {
    font-size: 0.55rem;
  }

  .node-label {
    font-size: 0.64rem;
    padding: 0.2rem 0.5rem;
  }

  .cbom-label {
    font-size: 0.72rem;
    padding: 0.3rem 0.75rem;
  }

  /* Compact tech-spec-grid for Mobile */
  .tech-spec-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .spec-card {
    padding: 1.15rem 1rem;
    border-radius: var(--radius-sm);
  }

  .spec-icon-wrap {
    width: 34px;
    height: 34px;
    font-size: 1rem;
    margin-bottom: 0.65rem;
  }

  .spec-card-title,
  .spec-card h3,
  .spec-card h4 {
    font-size: 1.02rem !important;
    margin-bottom: 0.3rem;
  }

  .spec-card-desc {
    font-size: 0.84rem;
    line-height: 1.42;
    margin-bottom: 0.65rem;
  }

  .spec-list li {
    font-size: 0.8rem;
    padding: 0.28rem 0;
  }

  .problem-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .problem-card {
    padding: 1.25rem 1.4rem;
  }

  .problem-toggle {
    cursor: pointer;
  }

  .problem-plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid #D9E2EC;
    color: var(--blue);
    font-size: 1.1rem;
    flex-shrink: 0;
    position: relative;
    transition: transform 0.3s var(--ease);
  }

  .problem-plus::before,
  .problem-plus::after {
    content: '';
    position: absolute;
    background: var(--blue);
    transition: transform 0.3s var(--ease);
  }

  .problem-plus::before {
    width: 10px;
    height: 1.6px;
  }

  .problem-plus::after {
    width: 1.6px;
    height: 10px;
  }

  .problem-toggle[aria-expanded="true"] .problem-plus {
    transform: rotate(180deg);
  }

  .problem-toggle[aria-expanded="true"] .problem-plus::after {
    transform: scaleY(0);
  }

  .problem-body {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.35s var(--ease), margin-top 0.35s var(--ease);
    margin-top: 0;
  }

  .problem-body>p {
    overflow: hidden;
  }

  .problem-card.open .problem-body {
    grid-template-rows: 1fr;
    margin-top: 0.9rem;
  }

  .problem-body-inner {
    min-height: 0;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .industries-grid {
    grid-template-columns: 1fr;
  }

  .industry-lg {
    grid-column: span 1;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .timeline-line {
    top: 0;
    bottom: 0;
    left: 22px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(34, 211, 238, 0.5), rgba(2, 132, 199, 0.15));
  }

  .timeline-step {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
  }

  .timeline-marker {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .compliance-row {
    gap: 0.7rem;
  }

  .compliance-item {
    padding: 0.7rem 1.1rem;
    font-size: 0.85rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .final-cta-buttons .btn {
    width: 100%;
  }

  .final-cta-buttons {
    flex-direction: column;
  }
}

/* ---- 430px and below: fine mobile tuning ---- */
@media (max-width: 430px) {
  .container {
    width: min(1240px, 100% - 1.5rem);
  }

  .nav-logo .logo-text {
    font-size: 0.9rem;
  }

  .hero-inner {
    gap: 1.5rem;
  }

  .hero-title {
    font-size: clamp(1.55rem, 6.8vw, 1.95rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
  }

  .hero-sub {
    font-size: 0.88rem;
    line-height: 1.46;
  }

  .hero-cta {
    gap: 0.65rem;
  }

  .hero-cta .btn {
    font-size: 0.88rem;
    padding: 0.82rem 1rem;
  }

  .trust-list {
    gap: 0.5rem 0.85rem;
    font-size: 0.78rem;
  }

  .aqra-diagram {
    width: min(290px, 84vw);
  }

  .aqra-core {
    width: 84px;
    height: 84px;
  }

  .core-label {
    font-size: 0.85rem;
  }

  .core-sub {
    font-size: 0.52rem;
  }

  .node-label {
    font-size: 0.58rem;
    padding: 0.18rem 0.45rem;
  }

  .cbom-output {
    bottom: -7%;
  }

  .cbom-label {
    font-size: 0.68rem;
    padding: 0.25rem 0.65rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .zero-stat {
    padding: 1.75rem 1.25rem;
  }
}

@media (max-width: 360px) {
  .hero {
    padding: 4.8rem 0 1.8rem;
  }

  .aqra-diagram {
    width: min(255px, 86vw);
  }

  .node-binary {
    right: 0%;
    transform: translateX(6%);
  }

  .node-config {
    left: 0%;
    transform: translateX(-6%);
  }

  .btn {
    padding: 0.8rem 1.1rem;
    font-size: 0.86rem;
  }
}

/* ==========================================================================
   18. SECURE PERIMETER EVALUATION MODAL & SUBPAGE EXTENSIONS
   ========================================================================== */

/* ---------- Modal Overlay & Dialog ---------- */
.eval-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(6, 32, 22, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.eval-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.eval-modal-dialog {
  background: var(--navy-light);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  width: min(940px, 95vw);
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  box-shadow: 0 25px 70px -15px rgba(0, 0, 0, 0.7), 0 0 40px rgba(16, 185, 129, 0.18);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s var(--ease);
  position: relative;
  color: var(--white);
}

.eval-modal-dialog::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.eval-modal-overlay.is-open .eval-modal-dialog {
  transform: translateY(0) scale(1);
}

.eval-modal-header {
  padding: 1.15rem 1.6rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.eval-modal-title-group .eyebrow {
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
}

.eval-modal-title {
  color: var(--white);
  font-size: 1.35rem;
  line-height: 1.2;
  margin: 0;
}

.eval-modal-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.eval-modal-close:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border-color: var(--cyan);
}

.eval-modal-body {
  padding: 1.15rem 1.6rem 1.35rem;
}

.eval-modal-lead {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  margin-bottom: 1rem;
  line-height: 1.45;
}

/* ---------- Simplified Form Controls (2 Columns on Desktop) ---------- */
.eval-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem 1.15rem;
}

.eval-form-group.span-2,
.eval-form-group.span-3,
.eval-form-group.span-full {
  grid-column: 1 / -1;
}

.eval-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

.eval-input,
.eval-select {
  width: 100%;
  background: rgba(6, 32, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.8rem;
  color: var(--white);
  font-family: inherit;
  font-size: 0.88rem;
  height: 40px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.eval-textarea {
  width: 100%;
  background: rgba(6, 32, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.8rem;
  color: var(--white);
  font-family: inherit;
  font-size: 0.88rem;
  height: auto;
  min-height: 72px;
  line-height: 1.45;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.eval-input::placeholder,
.eval-textarea::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.eval-input:focus,
.eval-select:focus,
.eval-textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  background: rgba(6, 32, 22, 0.95);
}

.eval-select option {
  background: var(--navy);
  color: var(--white);
}

.eval-form-footer {
  grid-column: 1 / -1;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.eval-privacy-note {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.eval-success-message {
  display: none;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--cyan);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
}

.eval-success-message.is-visible {
  display: block;
  animation: fadeIn 0.35s var(--ease);
}

.eval-success-icon {
  width: 52px;
  height: 52px;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid var(--cyan);
  color: var(--cyan);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* ---------- Subpage Hero (Compact & Sleek) ---------- */
.page-hero {
  padding: clamp(5.25rem, 8.5vw, 6.75rem) 0 clamp(2rem, 3.5vw, 2.75rem);
  background: radial-gradient(circle at 50% 20%, rgba(5, 150, 105, 0.22) 0%, transparent 65%), linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-hero-inner {
  max-width: 840px;
}

.page-hero .eyebrow {
  margin-bottom: 0.65rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.page-hero-title {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.16;
  color: var(--white);
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.page-hero-lead {
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
  margin-bottom: 1.35rem;
  max-width: 780px;
}

.page-hero .hero-cta {
  gap: 0.85rem;
  margin-bottom: 0;
}

.page-hero .hero-cta .btn {
  padding: 0.65rem 1.4rem;
  font-size: 0.92rem;
}

.page-hero .trust-list {
  margin-top: 1.25rem;
  gap: 1.25rem;
  font-size: 0.84rem;
}

/* ---------- Quantum Security Roadmap Cards ---------- */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.roadmap-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 2rem 1.6rem;
  position: relative;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.roadmap-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 16px 40px -15px rgba(0, 0, 0, 0.5);
}

.roadmap-phase {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.roadmap-card-title {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.roadmap-card-desc {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.93rem;
  line-height: 1.55;
}

.timeline-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.timeline-sector-box {
  background: rgba(10, 42, 30, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.timeline-sector-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.timeline-sector-title {
  color: var(--white);
  font-size: 1.15rem;
}

.timeline-progression {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cyan);
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.timeline-tag {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
}

/* ---------- Trust Strip Component ---------- */
.trust-strip-wrap {
  background: linear-gradient(135deg, rgba(6, 32, 22, 0.96) 0%, rgba(3, 20, 14, 0.98) 100%);
  border-block: 1px solid rgba(16, 185, 129, 0.2);
  padding: 20px 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.trust-strip-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem 1.2rem;
}

.trust-strip-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.trust-strip-item:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.2);
}

.trust-strip-icon {
  color: var(--cyan);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ---------- Spec & Matrix Cards ---------- */
.tech-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.tech-spec-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.tech-spec-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.spec-card {
  background: var(--white);
  border: 1px solid #E1EFE7;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.spec-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(5, 150, 105, 0.15);
}

.spec-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(5, 150, 105, 0.1);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.spec-card-title,
.spec-card h3,
.spec-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark) !important;
}

.spec-card-desc {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.spec-list {
  padding: 0;
  list-style: none;
}

.spec-list li {
  font-size: 0.88rem;
  color: var(--text-dark);
  padding: 0.4rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-top: 1px dashed #E1EFE7;
}

.spec-list li::before {
  content: "•";
  color: var(--blue);
  font-weight: bold;
}

/* Spec cards inside dark sections */
.section-dark .spec-card,
.hero .spec-card,
.spec-card-dark {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px -15px rgba(0, 0, 0, 0.5);
  color: var(--white);
}

.section-dark .spec-card .spec-card-title,
.section-dark .spec-card h3,
.section-dark .spec-card h4,
.hero .spec-card .spec-card-title,
.hero .spec-card h3,
.hero .spec-card h4,
.spec-card-dark .spec-card-title,
.spec-card-dark h3,
.spec-card-dark h4 {
  color: var(--white) !important;
}

.section-dark .spec-card .spec-card-desc,
.hero .spec-card .spec-card-desc,
.spec-card-dark .spec-card-desc {
  color: rgba(255, 255, 255, 0.72);
}

.section-dark .spec-card .spec-list li,
.hero .spec-card .spec-list li,
.spec-card-dark .spec-list li {
  color: rgba(255, 255, 255, 0.88);
  border-top-color: rgba(255, 255, 255, 0.12);
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.matrix-card {
  background: var(--white);
  border: 1px solid #E1EFE7;
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.matrix-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--blue), var(--cyan));
}

.matrix-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue);
  background: rgba(5, 150, 105, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.matrix-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.matrix-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 1200px) {
  .tech-spec-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Subpage Mobile Adjustments */
@media (max-width: 992px) {

  .roadmap-grid,
  .tech-spec-grid,
  .tech-spec-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-compare-grid,
  .matrix-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .eval-modal-overlay {
    display: none !important;
  }

  .eval-modal-dialog {
    max-height: 95vh;
  }

  .eval-form-grid {
    grid-template-columns: 1fr;
  }

  .eval-form-group.span-2 {
    grid-column: span 1;
  }

  .roadmap-grid,
  .tech-spec-grid,
  .tech-spec-grid-2,
  .tech-spec-grid-4,
  .mega-grid-3,
  .mega-grid-4 {
    grid-template-columns: 1fr;
  }

  .trust-strip-wrap {
    padding: 0.8rem 0;
  }

  .trust-strip-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 0.6rem;
    padding-inline: 0.35rem;
  }

  .trust-strip-item {
    padding: 0.4rem 0.6rem;
    font-size: clamp(0.7rem, 3vw, 0.78rem);
    border-radius: var(--radius-pill);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    justify-content: flex-start;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  }
}

/* ==========================================================================
   CONSULTING-LED REPOSITIONING: STATUS BOARD & PARTNER FLOW
   ========================================================================== */
.status-board {
  background: var(--white);
  border: 1px solid #E1EFE7;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 2rem;
}

.sb-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.sb-table th {
  background: #031e15;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}

.sb-table td {
  padding: 1.15rem 1.25rem;
  font-size: 0.92rem;
  color: var(--text-dark);
  border-bottom: 1px solid #E5EFE9;
  vertical-align: middle;
  line-height: 1.5;
}

.sb-table tr:last-child td {
  border-bottom: none;
}

.sb-table tr:hover td {
  background: rgba(16, 185, 129, 0.04);
}

.status-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: #047857;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.status-badge-pending {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: #b45309;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.status-dot-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
}

/* Partner Delivery Flow */
.partner-flow-wrap {
  display: grid;
  grid-template-columns: 1fr 50px 1fr 50px 1fr;
  align-items: center;
  gap: 0;
  margin-bottom: 2.5rem;
}

.partner-flow-card {
  background: var(--white);
  border: 1px solid #E1EFE7;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.partner-flow-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -12px rgba(5, 150, 105, 0.22);
}

.partner-flow-card.partner-center {
  background: linear-gradient(145deg, #052e21, #0a3a2a);
  color: var(--white);
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 14px 35px -10px rgba(5, 150, 105, 0.35);
}

.partner-flow-card.partner-center h3 {
  color: var(--white);
}

.partner-flow-card.partner-center p {
  color: rgba(255, 255, 255, 0.75);
}

.partner-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--cyan);
}

@media (max-width: 900px) {
  .partner-flow-wrap {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .partner-flow-arrow {
    transform: rotate(90deg);
  }
  .sb-table, .sb-table thead, .sb-table tbody, .sb-table th, .sb-table td, .sb-table tr {
    display: block;
  }
  .sb-table thead {
    display: none;
  }
  .sb-table td {
    padding: 0.6rem 1rem;
    border-bottom: none;
  }
  .sb-table tr {
    border-bottom: 1px solid #E1EFE7;
    padding: 0.8rem 0;
  }
}

/* ============================================================
   FOR CISOS - EXECUTIVE BRIEF COMPONENT STYLES
   ============================================================ */
.hero-doc-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold);
  background: rgba(232, 162, 58, 0.08);
  border: 1px solid rgba(232, 162, 58, 0.25);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-doc-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  animation: pulseDot 2s infinite;
}

.ciso-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  max-width: 960px;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.ciso-hero-title .risk {
  color: var(--gold);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 2.5rem;
}
.hm-card {
  background: rgba(12, 58, 42, 0.6);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.hm-card:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
}
.hm-card.warn {
  border-color: rgba(232, 162, 58, 0.4);
  background: rgba(232, 162, 58, 0.06);
}
.hm-card.danger {
  border-color: rgba(228, 87, 46, 0.4);
  background: rgba(228, 87, 46, 0.06);
}
.hm-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.hm-card.warn .hm-num {
  color: var(--gold);
}
.hm-card.danger .hm-num {
  color: #F0917A;
}
.hm-label {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}
.hm-source {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--cyan);
  margin-top: 4px;
}

/* Timeline Wrap & SVG */
.timeline-wrap {
  background: rgba(6, 32, 22, 0.85);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  margin-bottom: 2.5rem;
  overflow-x: auto;
}
.timeline-title {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--cyan);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  text-transform: uppercase;
}
svg.timeline {
  display: block;
  min-width: 720px;
  width: 100%;
}

/* Data Shelf-Life Table */
.shelf-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--panel-border);
  margin-bottom: 2rem;
}
.shelf-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.shelf-table thead th {
  background: #02130D;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--panel-border);
}
.shelf-table tbody td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: middle;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}
.shelf-table tbody tr:nth-child(even) td {
  background: rgba(18, 185, 129, 0.03);
}
.shelf-table tbody tr:hover td {
  background: rgba(18, 185, 129, 0.06);
}
.shelf-table td:first-child {
  font-weight: 700;
  color: var(--white);
}
.gap-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 4px 12px;
  border-radius: 100px;
  font-weight: 600;
  white-space: nowrap;
}
.gap-critical {
  background: rgba(228, 87, 46, 0.18);
  color: #F0917A;
  border: 1px solid rgba(228, 87, 46, 0.35);
}
.gap-high {
  background: rgba(232, 162, 58, 0.18);
  color: var(--gold);
  border: 1px solid rgba(232, 162, 58, 0.35);
}
.gap-medium {
  background: rgba(18, 185, 129, 0.15);
  color: var(--cyan);
  border: 1px solid rgba(18, 185, 129, 0.28);
}

/* HNDL Explainer Split */
.hndl-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--panel-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 2rem;
}
.hndl-col {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hndl-col.left {
  background: rgba(12, 58, 42, 0.7);
}
.hndl-col.right {
  background: rgba(6, 32, 22, 0.9);
}
.hndl-col-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hndl-col-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}
.hndl-col-body {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
}
.hndl-col-body strong {
  color: var(--white);
}
.hndl-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.hstep-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--cyan);
  width: 24px;
  flex-shrink: 0;
  margin-top: 2px;
  font-weight: 700;
}
.hstep-text {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
}
.hstep-text strong {
  color: var(--white);
}
.warn-box {
  background: rgba(228, 87, 46, 0.08);
  border: 1px solid rgba(228, 87, 46, 0.28);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 0.9rem;
  color: #E8998A;
  line-height: 1.6;
}
.warn-box strong {
  color: #F0A090;
}

/* Penalty Grid */
.penalty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 2rem;
}
.penalty-card {
  background: rgba(228, 87, 46, 0.06);
  border: 1px solid rgba(228, 87, 46, 0.28);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease;
}
.penalty-card:hover {
  transform: translateY(-3px);
  border-color: rgba(228, 87, 46, 0.5);
}
.pc-framework {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(228, 87, 46, 0.85);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pc-penalty {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: #F0917A;
  line-height: 1;
}
.pc-label {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}
.pc-trigger {
  font-size: 0.85rem;
  color: #E8998A;
  line-height: 1.5;
  margin-top: 4px;
}
.pc-note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(228, 87, 46, 0.6);
  margin-top: 4px;
}

/* ROI Compare Grid */
.roi-compare {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 2px;
  background: var(--panel-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 2rem;
}
.roi-col {
  padding: 36px 32px;
}
.roi-left {
  background: rgba(18, 185, 129, 0.07);
}
.roi-right {
  background: rgba(12, 58, 42, 0.75);
}
.roi-col-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.roi-col-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
}
.roi-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--cyan);
}
.roi-sub {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  margin-top: 6px;
}
.roi-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.roi-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.roi-row-cost {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #F0917A;
  width: 110px;
  flex-shrink: 0;
}
.roi-row-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
}
.roi-row-label strong {
  color: var(--white);
}

/* Download Strip */
.download-strip {
  background: rgba(12, 58, 42, 0.7);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.ds-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
  flex: 1;
  min-width: 280px;
}
.ds-text strong {
  color: var(--white);
}
.ds-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Window Block */
.window-block {
  background: rgba(232, 162, 58, 0.06);
  border: 1px solid rgba(232, 162, 58, 0.25);
  border-radius: var(--radius-md);
  padding: 40px 36px;
  margin-bottom: 2.5rem;
}
.wb-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.wb-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.25;
}
.wb-body {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  max-width: 820px;
  margin-bottom: 28px;
}
.wb-body strong {
  color: var(--white);
}
.timeline-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(232, 162, 58, 0.2);
}
.ts-step {
  padding: 20px 18px;
  border-right: 1px solid rgba(232, 162, 58, 0.2);
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(6, 32, 22, 0.7);
}
.ts-step:last-child {
  border-right: none;
}
.ts-date {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
}
.ts-label {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}
.ts-label strong {
  color: var(--white);
}
.ts-step.now {
  background: rgba(232, 162, 58, 0.12);
  border-left: 2px solid var(--gold);
}

/* Board Questions Grid */
.board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 2rem;
}
.bq-card {
  background: rgba(12, 58, 42, 0.65);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.bq-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
}
.bq-head {
  padding: 22px 22px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 32, 22, 0.5);
}
.bq-q {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
}
.bq-body {
  padding: 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bq-answer-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.bq-answer {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}
.bq-answer strong {
  color: var(--white);
}
.bq-deliverable {
  background: rgba(2, 19, 13, 0.85);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cyan);
  margin-top: auto;
  line-height: 1.5;
}

/* Footnotes */
.footnotes {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
  max-width: 900px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  margin-top: 2rem;
}

/* Responsive Media Queries */
@media (max-width: 960px) {
  .hero-metrics { grid-template-columns: repeat(2, 1fr); }
  .hndl-split, .roi-compare { grid-template-columns: 1fr; }
  .penalty-grid { grid-template-columns: 1fr; }
  .timeline-steps { grid-template-columns: 1fr 1fr; }
  .board-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero-metrics { grid-template-columns: 1fr; }
  .timeline-steps { grid-template-columns: 1fr; }
  .ts-step { border-right: none; border-bottom: 1px solid rgba(232, 162, 58, 0.2); }
  .download-strip { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   FAQ & ACCORDIONS
   ========================================================================== */
.faq-icon {
  display: inline-block;
  transition: transform 0.3s ease;
  user-select: none;
}

details[open] summary .faq-icon {
  transform: rotate(180deg);
}

/* ==========================================================================
   INTERACTIVE TERMINAL CONSOLES & SIMULATORS
   ========================================================================== */
.ai-sim-container,
.aqra-sim-container,
.browser-sim-container,
.cloud-sim-container,
.data-sim-container,
.fleet-sim-container,
.soar-sim-container,
.sim-container {
  background: rgba(5, 20, 15, 0.95);
  border: 1px solid rgba(52, 211, 153, 0.25);
  border-radius: var(--radius-lg, 14px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.65), 0 0 35px rgba(52, 211, 153, 0.1);
  overflow: hidden;
  margin-top: 2.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.ai-sim-container:hover,
.aqra-sim-container:hover,
.browser-sim-container:hover,
.cloud-sim-container:hover,
.data-sim-container:hover,
.fleet-sim-container:hover,
.soar-sim-container:hover,
.sim-container:hover {
  border-color: rgba(52, 211, 153, 0.45);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.75), 0 0 45px rgba(52, 211, 153, 0.18);
}

.ai-sim-header,
.aqra-sim-header,
.browser-sim-header,
.cloud-sim-header,
.data-sim-header,
.fleet-sim-header,
.soar-sim-header,
.sim-header {
  background: rgba(10, 32, 24, 0.92);
  padding: 0.9rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(52, 211, 153, 0.18);
}

.ai-sim-dots,
.aqra-sim-dots,
.browser-sim-dots,
.cloud-sim-dots,
.data-sim-dots,
.fleet-sim-dots,
.soar-sim-dots,
.sim-dots {
  display: flex;
  gap: 7px;
}

.ai-sim-dot,
.aqra-sim-dot,
.browser-sim-dot,
.cloud-sim-dot,
.data-sim-dot,
.fleet-sim-dot,
.soar-sim-dot,
.sim-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.ai-sim-dot:hover,
.aqra-sim-dot:hover,
.browser-sim-dot:hover,
.cloud-sim-dot:hover,
.data-sim-dot:hover,
.fleet-sim-dot:hover,
.soar-sim-dot:hover,
.sim-dot:hover {
  transform: scale(1.2);
}

.ai-sim-dot.red, .aqra-sim-dot.red, .browser-sim-dot.red, .cloud-sim-dot.red, .data-sim-dot.red, .fleet-sim-dot.red, .soar-sim-dot.red, .sim-dot.red {
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}

.ai-sim-dot.yellow, .aqra-sim-dot.yellow, .browser-sim-dot.yellow, .cloud-sim-dot.yellow, .data-sim-dot.yellow, .fleet-sim-dot.yellow, .soar-sim-dot.yellow, .sim-dot.yellow {
  background: #f59e0b;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

.ai-sim-dot.green, .aqra-sim-dot.green, .browser-sim-dot.green, .cloud-sim-dot.green, .data-sim-dot.green, .fleet-sim-dot.green, .soar-sim-dot.green, .sim-dot.green {
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.ai-sim-title,
.aqra-sim-title,
.browser-sim-title,
.cloud-sim-title,
.data-sim-title,
.fleet-sim-title,
.soar-sim-title,
.sim-title {
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.5px;
}

.ai-sim-tabs,
.aqra-sim-tabs,
.browser-sim-tabs,
.cloud-sim-tabs,
.data-sim-tabs,
.fleet-sim-tabs,
.soar-sim-tabs,
.sim-tabs {
  display: flex;
  background: rgba(6, 22, 16, 0.85);
  border-bottom: 1px solid rgba(52, 211, 153, 0.12);
  overflow-x: auto;
}

.ai-sim-tab,
.aqra-sim-tab,
.browser-sim-tab,
.cloud-sim-tab,
.data-sim-tab,
.fleet-sim-tab,
.soar-sim-tab,
.sim-tab {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  padding: 0.85rem 1.35rem;
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}

.ai-sim-tab:hover,
.aqra-sim-tab:hover,
.browser-sim-tab:hover,
.cloud-sim-tab:hover,
.data-sim-tab:hover,
.fleet-sim-tab:hover,
.soar-sim-tab:hover,
.sim-tab:hover {
  color: #34d399;
  background: rgba(52, 211, 153, 0.06);
}

.ai-sim-tab.active,
.aqra-sim-tab.active,
.browser-sim-tab.active,
.cloud-sim-tab.active,
.data-sim-tab.active,
.fleet-sim-tab.active,
.soar-sim-tab.active,
.sim-tab.active {
  color: #34d399;
  background: rgba(52, 211, 153, 0.12);
  border-bottom: 2px solid #34d399;
  font-weight: 600;
}

.ai-sim-body,
.aqra-sim-body,
.browser-sim-body,
.cloud-sim-body,
.data-sim-body,
.fleet-sim-body,
.soar-sim-body,
.sim-body {
  padding: 1.6rem;
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 0.88rem;
  line-height: 1.65;
  color: #e2e8f0;
  min-height: 290px;
}

.ai-sim-console,
.aqra-sim-console,
.browser-sim-console,
.cloud-sim-console,
.data-sim-console,
.fleet-sim-console,
.soar-sim-console,
.sim-console {
  background: #020d08;
  border-radius: 8px;
  padding: 1.35rem;
  border: 1px solid rgba(52, 211, 153, 0.15);
  color: #a7f3d0;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 330px;
  overflow-y: auto;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
}

.ai-sim-actions,
.aqra-sim-actions,
.browser-sim-actions,
.cloud-sim-actions,
.data-sim-actions,
.fleet-sim-actions,
.soar-sim-actions,
.sim-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.ai-badge-success,
.aqra-badge-success,
.browser-badge-success,
.cloud-badge-success,
.data-badge-success,
.fleet-badge-success,
.soar-badge-success,
.sim-badge-success {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

@media (max-width: 900px) {
  .compare-grid > * {
    grid-column: 1 / -1 !important;
  }
}