@import url('fonts.css');

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --ink-950: #060913;
  --ink-900: #0A0F20;
  --ink-800: #0F1730;
  --ink-700: #16204A;
  --page-bg: var(--ink-950);
  --panel: rgba(255, 255, 255, 0.035);
  --panel-strong: rgba(255, 255, 255, 0.06);
  --hairline: rgba(255, 255, 255, 0.09);

  --text-hi: #EFF3FF;
  --text-mid: #A9B4D6;
  --text-low: #6B7597;

  /* All accents unified to the single brand orange, per design update.
         (Hero logo animation area intentionally left untouched.) */
  --cyan: #F97316;
  --amber: #F97316;
  --violet: #F97316;
  --coral: #F97316;
  --orange-brand: #F97316;

  --grad-signature: linear-gradient(120deg, var(--orange-brand), var(--orange-brand) 55%, var(--orange-brand));

  /* Flat, rectangular, professional geometry */
  --radius-lg: 4px;
  --radius-md: 3px;
  --radius-sm: 2px;

  --ease: cubic-bezier(.16, .84, .32, 1);
  --dur-s: .35s;

  /* Dynamic scaling factor for the emblem component */
  --emblem-scale: 1;
  --dur-m: .6s;

  --shell-max: 1220px;
  color-scheme: dark;
}

html[data-theme="light"] {
  --ink-950: #FFFFFF;
  --ink-900: #FFFFFF;
  --ink-800: #FBFCFF;
  --ink-700: #EDF1FA;
  --panel: rgba(10, 20, 50, 0.028);
  --panel-strong: rgba(10, 20, 50, 0.045);
  --hairline: rgba(10, 20, 55, 0.10);

  --text-hi: #0B1220;
  --text-mid: #454F6E;
  --text-low: #7C87A6;
  color-scheme: light;
}

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

html {
  scroll-behavior: auto;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--ink-950);
  color: var(--text-hi);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background var(--dur-m) var(--ease), color var(--dur-m) var(--ease);
}

h1,
h2,
h3,
h4 {
  font-family: 'Sora', sans-serif;
  margin: 0;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mono {
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: .02em;
}

.deva {
  font-family: 'Noto Sans Devanagari', 'Inter', sans-serif;
}

.shell {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-brand);
}

.eyebrow::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--orange-brand);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14.5px;
  border: 1px solid var(--hairline);
  transition: transform var(--dur-s) var(--ease), border-color var(--dur-s), background var(--dur-s), box-shadow var(--dur-s);
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange-brand);
  color: #0B0D12;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
  background: var(--orange-brand);
  color: #0B0D12;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.btn-ghost {
  background: transparent;
  color: var(--text-mid);
  border: 1px solid var(--hairline);
}

.btn-ghost:hover {
  background: var(--panel-strong);
  border-color: var(--text-low);
  color: var(--text-hi);
  transform: translateY(-2px);
}

.btn svg {
  width: 16px;
  height: 16px;
}

/* ============================================================
   MISC
   ============================================================ */
::selection {
  background: var(--orange-brand);
  color: var(--ink-950);
}

::-webkit-scrollbar {
  width: 9px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--hairline);
  border-radius: 5px;
}

/* Top media queries relocated to preserve CSS cascade order */

/* ============================================================
   AMBIENT BACKGROUND (lightweight, non-3D)
   ============================================================ */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient::before {
  content: '';
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(38% 30% at 14% 8%, rgba(249, 115, 22, .14), transparent 60%),
    radial-gradient(30% 26% at 88% 18%, rgba(249, 115, 22, .10), transparent 60%),
    radial-gradient(34% 30% at 66% 92%, rgba(249, 115, 22, .08), transparent 60%);
  filter: blur(10px);
  animation: driftBg 26s ease-in-out infinite alternate;
}

@keyframes driftBg {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(-2%, 2%, 0) scale(1.05);
  }
}

#quantumCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.60;
}

html[data-theme="light"] #quantumCanvas {
  opacity: 0.4;
}

.ambient svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .5;
  z-index: 1;
}

html[data-theme="light"] .ambient svg {
  opacity: .28;
}

.circuit-line {
  fill: none;
  stroke: var(--hairline);
  stroke-width: 1;
}

.circuit-pulse {
  fill: none;
  stroke: var(--orange-brand);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 6 340;
  opacity: .65;
  animation: pulseTravel 9s linear infinite;
}

.circuit-pulse.v2 {
  stroke: var(--orange-brand);
  animation-duration: 12s;
  animation-delay: -3s;
}

.circuit-pulse.v3 {
  stroke: var(--orange-brand);
  animation-duration: 15s;
  animation-delay: -7s;
}

@keyframes pulseTravel {
  0% {
    stroke-dashoffset: 0;
  }

  100% {
    stroke-dashoffset: -680;
  }
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main,
header,
footer,
section {
  position: relative;
  z-index: 2;
}

/* ============================================================
   REVEAL UTIL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAV
   ============================================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 16px 0;
  transition: background var(--dur-s), border-color var(--dur-s), padding var(--dur-s);
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background: color-mix(in srgb, var(--ink-950) 82%, transparent);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--hairline);
  padding: 11px 0;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 1100px) and (min-width: 641px) {
  .nav-links {
    gap: 20px;
  }

  .nav-links a {
    font-size: 13px;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 300px;
  height: 300px;
  object-fit: contain;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text .name {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 16.5px;
  color: var(--text-hi);
}

.brand-text .name .deva-mark {
  color: var(--orange-brand);
}

.brand-text .sub {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-low);
}

/* Header Brand Custom Size and Effects */
header .brand {
  gap: 14px;
}

header .brand img {
  width: 58px;
  height: 58px;
  transition: transform var(--dur-s) var(--ease);
}

header .brand:hover img {
  transform: scale(1.06) rotate(3deg);
}

header .brand-text {
  line-height: 1.2;
}

header .brand-text .name {
  font-size: 19px;
}

header .brand-text .sub {
  font-size: 10px;
}

.nav-links {
  display: flex !important;
  align-items: center;
  gap: 34px;
  visibility: visible !important;
  opacity: 1 !important;
}

.nav-links>* {
  visibility: visible !important;
  opacity: 1 !important;
}

.nav-links>a {
  white-space: nowrap;
  display: block !important;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  position: relative;
  padding: 4px 0;
  transition: color var(--dur-s);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background: var(--orange-brand);
  transition: width var(--dur-s) var(--ease);
}

.nav-links a:hover {
  color: var(--text-hi);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-hi);
  transition: border-color var(--dur-s), transform var(--dur-s);
}

.theme-toggle:hover {
  border-color: var(--orange-brand);
  transform: rotate(20deg);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.icon-moon {
  display: none;
}

html[data-theme="light"] .icon-sun {
  display: none;
}

html[data-theme="light"] .icon-moon {
  display: block;
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hairline);
  background: var(--panel);
  align-items: center;
  justify-content: center;
}

.burger span,
.burger span::before,
.burger span::after {
  content: '';
  display: block;
  width: 16px;
  height: 1.4px;
  background: var(--text-hi);
  position: relative;
  transition: transform var(--dur-s);
}

.burger span::before {
  position: absolute;
  top: -5px;
}

.burger span::after {
  position: absolute;
  top: 5px;
}

.mobile-panel {
  position: fixed;
  inset: 0;
  top: 0;
  z-index: 99;
  background: var(--ink-950);
  padding: 100px 28px 40px;
  transform: translateY(-110%);
  transition: transform var(--dur-m) var(--ease);
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow-y: auto;
}

.mobile-panel.open {
  transform: translateY(0);
}

.mobile-panel a,
.mobile-nav-trigger {
  font-size: 22px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  color: var(--text-hi);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.mobile-nav-trigger .chevron {
  width: 24px;
  height: 24px;
  transition: transform var(--dur-s) var(--ease);
}

.mobile-nav-dd.active .mobile-nav-trigger .chevron {
  transform: rotate(180deg);
  color: var(--orange-brand);
}

.mobile-nav-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-m) var(--ease), margin-top var(--dur-m) var(--ease);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 16px;
  border-left: 2px solid var(--hairline);
}

.mobile-nav-dd.active .mobile-nav-submenu {
  max-height: 350px;
  margin-top: 16px;
}

.mobile-submenu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px !important;
  color: var(--text-mid) !important;
  font-weight: 500 !important;
  transition: color var(--dur-s) var(--ease);
}

.mobile-submenu-item:hover,
.mobile-submenu-item:active {
  color: var(--orange-brand) !important;
}

.mobile-submenu-item .sub-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--panel);
  border: 1px solid var(--hairline);
  color: var(--orange-brand);
  transition: border-color var(--dur-s), background var(--dur-s);
}

.mobile-submenu-item:hover .sub-icon {
  border-color: var(--orange-brand);
  background: var(--panel-strong);
}

.mobile-submenu-item .sub-icon svg {
  width: 18px;
  height: 18px;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  padding: 70px 0 34px;
  border-top: 1px solid var(--hairline);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 120px;
  height: 2px;
  background: var(--orange-brand);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.15fr;
  gap: 48px;
}

.footer-brand .brand {
  margin-bottom: 24px;
}

.brand.brand-stacked {
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.brand.brand-stacked img {
  width: 140px;
  height: auto;
  margin: 0;
  object-fit: contain;
}

.brand.brand-stacked .brand-text .name {
  font-size: 22px;
  font-weight: 700;
}

.footer-brand-bisag-logo {
  height: 75px;
  align-items: center;
}

.footer-brand p {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text-hi);
  max-width: 280px;
}

.footer-col h6 {
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-hi);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.footer-col h6::before {
  content: '';
  width: 3px;
  height: 14px;
  background: var(--orange-brand);
  display: inline-block;
  flex-shrink: 0;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 14.5px;
  color: var(--text-mid);
  transition: color var(--dur-s) var(--ease), padding-left var(--dur-s) var(--ease);
  display: inline-block;
}

.footer-col a:hover {
  color: var(--orange-brand);
  padding-left: 4px;
}

.co-brand-wrap {
  margin-top: 22px;
  display: inline-block;
  width: 100%;
}

.footer-address {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  max-width: 300px;
  text-decoration: none;
  transition: transform var(--dur-s) var(--ease);
}

.footer-address:hover {
  transform: translateX(3px);
}

.footer-address-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--orange-brand) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--orange-brand) 30%, var(--hairline));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-brand);
  flex-shrink: 0;
  transition: background var(--dur-s) var(--ease), transform var(--dur-s) var(--ease);
}

.footer-address-icon svg {
  width: 16px;
  height: 16px;
}

.footer-address:hover .footer-address-icon {
  background: var(--orange-brand);
  color: #0B0D12;
  transform: scale(1.06);
}

.footer-address-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-address-title {
  font-family: 'Sora', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-hi);
  letter-spacing: -0.01em;
  transition: color var(--dur-s) var(--ease);
}

.footer-address:hover .footer-address-title {
  color: var(--orange-brand);
}

.footer-address-line {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-low);
}

.bisag-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
  transition: transform var(--dur-s) var(--ease);
}

html[data-theme="light"] .bisag-link {
  background: transparent;
}

.bisag-link:hover {
  transform: translateX(3px);
  border: none;
  box-shadow: none;
  background: transparent;
}

html[data-theme="light"] .bisag-link:hover {
  background: transparent;
}

.bisag-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
  transition: transform var(--dur-m) var(--ease), filter var(--dur-m) var(--ease);
}

.bisag-link:hover .bisag-logo {
  transform: scale(1.05);
  filter: drop-shadow(0 0 12px color-mix(in srgb, var(--orange-brand) 40%, transparent));
}

.bisag-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.bisag-title {
  font-family: 'Sora', sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-hi);
  letter-spacing: -0.01em;
  transition: color var(--dur-s) var(--ease);
}

.bisag-dept {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  color: var(--text-low);
  font-weight: 500;
  margin-top: 3px;
  line-height: 1.35;
  transition: color var(--dur-s) var(--ease);
}

.bisag-link:hover .bisag-title {
  color: var(--orange-brand);
}

.bisag-link:hover .bisag-dept {
  color: var(--text-mid);
}


.nav-dd {
  position: relative;
}

.nav-dd-panel {
  position: absolute;
  top: 34px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 340px;
  background: color-mix(in srgb, var(--ink-900) 96%, transparent);
  border: 1px solid var(--hairline);
  border-radius: 0;
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .5);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  z-index: 200;
}

.nav-dd-panel::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
  background: transparent;
}

.nav-dd:hover .nav-dd-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 0;
  font-size: 13px;
  color: var(--text-mid) !important;
  transition: background .2s, color .2s;
}

.nav-dd-item::after {
  content: none !important;
}

.nav-dd-item:hover {
  background: var(--panel-strong);
  color: var(--text-hi) !important;
}

.nav-dd-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.nav-dd-icon svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 26px;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-bottom p {
  font-size: 12.5px;
  color: var(--text-low);
}

@media (max-width:820px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section {
  padding: 120px 0;
}

.section-head {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-bottom: 64px;
  transition: transform 0.4s var(--ease);
}

.section-head h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  margin-top: 16px;
  background: linear-gradient(135deg, #F97316 0%, #DC2626 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  display: inline-block;
  transition: transform 0.4s ease;
}

.section-head p {
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-hi);
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.section-alt {
  background: var(--ink-900);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}


/* ============================================================
   CTA
   ============================================================ */
.cta-panel {
  border-radius: 0;
  border: 1px solid var(--hairline);
  background: var(--panel);
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.cta-panel::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  right: -140px;
  top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--orange-brand) 20%, transparent), transparent 70%);
}

.cta-panel h2 {
  font-size: clamp(24px, 3vw, 34px);
  max-width: 480px;
  position: relative;
}

.cta-actions {
  display: flex;
  gap: 14px;
  position: relative;
  flex-wrap: wrap;
}

/* ============================================================
   CTA CARD SECTION
   ============================================================ */
.cta-section {
  padding: 80px 0 120px 0;
}

.cta-card {
  background: linear-gradient(180deg, #10162B 0%, #070B1A 100%);
  border: 1px solid rgba(234, 88, 12, 0.15);
  border-radius: 24px;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transition: background var(--transit-m), border-color var(--transit-m), box-shadow var(--transit-m);
}

/* Light theme override for CTA card */
html[data-theme="light"] .cta-card {
  background: linear-gradient(180deg, #FFF9F6 0%, #FFF1EA 100%);
  border-color: rgba(234, 88, 12, 0.12);
  box-shadow: 0 20px 40px rgba(234, 88, 12, 0.06);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  transition: color var(--transit-m);
}

html[data-theme="light"] .cta-title {
  color: #0c111d;
}

.cta-subtitle {
  font-size: clamp(15px, 2vw, 17px);
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto 32px auto;
  line-height: 1.6;
  transition: color var(--transit-m);
}

html[data-theme="light"] .cta-subtitle {
  color: #4b5563;
}

.btn-white {
  background: linear-gradient(90deg, #F97316 0%, #DC2626 100%);
  color: #ffffff !important;
  border: none;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
  border-radius: var(--radius-sm);
}

.btn-white:hover {
  background: linear-gradient(90deg, #EA580C 0%, #B91C1C 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
}

.cta-glow-orbs {
  display: none;
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  mix-blend-mode: screen;
  transition: opacity var(--transit-m);
}

html[data-theme="light"] .cta-orb {
  mix-blend-mode: normal;
  opacity: 0.12;
}

.cta-orb.o1 {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, var(--orange-brand) 70%, transparent 100%);
  width: 320px;
  height: 320px;
  left: -5%;
  top: -10%;
  animation: drift-o1 14s infinite alternate ease-in-out;
}

html[data-theme="light"] .cta-orb.o1 {
  background: radial-gradient(circle, rgba(234, 88, 12, 0.4) 0%, rgba(234, 88, 12, 0.1) 70%, transparent 100%);
}

.cta-orb.o2 {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, #ea580c 70%, transparent 100%);
  width: 380px;
  height: 380px;
  right: -5%;
  bottom: -10%;
  animation: drift-o2 18s infinite alternate ease-in-out;
}

html[data-theme="light"] .cta-orb.o2 {
  background: radial-gradient(circle, rgba(234, 88, 12, 0.3) 0%, rgba(220, 38, 38, 0.08) 70%, transparent 100%);
}

.cta-orb.o3 {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, transparent 70%);
  width: 260px;
  height: 260px;
  left: 35%;
  top: 20%;
  animation: pulse-o3 9s infinite alternate ease-in-out;
}

@keyframes drift-o1 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(60px, 40px) scale(1.15);
  }
}

@keyframes drift-o2 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(-80px, -50px) scale(0.9);
  }
}

@keyframes pulse-o3 {
  0% {
    transform: scale(0.85);
    opacity: 0.25;
  }

  100% {
    transform: scale(1.15);
    opacity: 0.55;
  }
}

@media (max-width: 768px) {
  .cta-card {
    padding: 60px 24px;
  }
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.gradient-text {
  background: var(--orange-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: background var(--dur-s) var(--ease), border-color var(--dur-s) var(--ease), box-shadow var(--dur-s) var(--ease);
}

.faq-item:hover {
  background: color-mix(in srgb, var(--orange-brand) 4%, var(--panel));
  border-color: color-mix(in srgb, var(--orange-brand) 25%, var(--hairline));
}

.faq-item.active {
  background: color-mix(in srgb, var(--orange-brand) 6%, var(--panel));
  border-color: color-mix(in srgb, var(--orange-brand) 40%, var(--hairline));
  box-shadow: 0 10px 30px -15px color-mix(in srgb, var(--orange-brand) 20%, transparent);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  background: none;
  border: none;
  color: var(--text-hi);
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

html[data-theme="light"] .faq-question {
  color: #0B1220;
}

.faq-toggle-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--panel-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-hi);
  transition: transform var(--dur-s) var(--ease), background var(--dur-s) var(--ease);
}

html[data-theme="light"] .faq-toggle-icon {
  color: #0B1220;
}

.faq-toggle-icon svg {
  width: 14px;
  height: 14px;
  transition: transform var(--dur-s) var(--ease);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
  background: var(--orange-brand);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-m) var(--ease), padding var(--dur-m) var(--ease);
  padding: 0 28px;
}

.faq-item.active .faq-answer {
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-mid);
  margin: 0;
}

html[data-theme="light"] .faq-answer p {
  color: #334155;
}

@media (max-width: 600px) {
  .faq-question {
    padding: 20px 22px;
    font-size: 15px;
  }

  .faq-answer {
    padding: 0 22px;
  }

  .faq-item.active .faq-answer {
    padding-bottom: 20px;
  }
}



.standard-card .s-code {
  white-space: nowrap;
}

.standard-card h5 {
  white-space: nowrap;
}

@media (max-width: 1200px) {
  .standard-card .s-code {
    font-size: 14px;
  }

  .standard-card h5 {
    font-size: 16px;
  }
}


/* Classes replacing inline styles for CSP compliance */
.nav-dd-icon {
  color: var(--orange-brand);
}

#pshowDrawer {
  --drawer-accent: var(--orange-brand);
}

.section-head-narrow {
  max-width: 760px;
}

.faq-section {
  padding-top: 160px;
  padding-bottom: 120px;
}

.section-head-faq {
  text-align: center;
  margin-bottom: 64px;
}

.faq-title {
  font-size: clamp(36px, 6vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.faq-subtitle {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-mid);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 180px 0 110px;
  min-height: 92vh;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-content: center;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-copy .eyebrow {
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.06;
  font-weight: 700;
  color: var(--text-hi);
  transition: text-shadow 0.8s ease;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.hero h1 .accent {
  background: linear-gradient(135deg, #F97316 0%, #DC2626 100%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes quantumShimmer {
  0% {
    background-position: 0% center;
  }

  50% {
    background-position: 150% center;
  }

  100% {
    background-position: 300% center;
  }
}

@keyframes taglineQuantumGlow {
  0% {
    text-shadow: 0 0 0px transparent;
  }

  20% {
    text-shadow: 0 0 15px rgba(249, 115, 22, 0.4), 0 0 30px rgba(249, 115, 22, 0.2);
  }

  100% {
    text-shadow: 0 0 0px transparent;
  }
}

.hero p.lede {
  margin-top: 24px;
  font-size: 21px;
  line-height: 1.75;
  color: var(--text-hi);
  max-width: 540px;
  font-weight: 450;
  letter-spacing: -0.01em;
}

.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 38px;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 44px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hairline);
  background: var(--panel);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--text-mid);
}

.chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange-brand);
  display: inline-block;
}

/* ---- Hero emblem: logo animation area left untouched ---- */
.hero-emblem {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(calc(480px * var(--emblem-scale)), 100%);
  max-width: 480px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  flex-shrink: 0;
  transition: width 0.3s var(--ease), height 0.3s var(--ease);
  min-width: 0;
}

.hero-emblem-scaler {
  position: absolute;
  width: 480px;
  height: 480px;
  transform: scale(var(--emblem-scale));
  transform-origin: center center;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease);
  pointer-events: none;
}

.emblem-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed var(--hairline);
  animation: spin 40s linear infinite;
}

.emblem-ring.r1 {
  width: 420px;
  height: 420px;
}

.emblem-ring.r2 {
  width: 340px;
  height: 340px;
  animation-duration: 28s;
  animation-direction: reverse;
  border-color: color-mix(in srgb, var(--orange-brand) 30%, transparent);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.emblem-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--orange-brand) 22%, transparent), transparent 70%);
  filter: blur(6px);
  animation: breathe 6s ease-in-out infinite;
}

@keyframes breathe {

  0%,
  100% {
    transform: scale(1);
    opacity: .8;
  }

  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

.emblem-shield-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: floaty 7s ease-in-out infinite;
  pointer-events: none;
}

.emblem-shield-wrap img {
  position: relative;
  width: 280px;
  max-width: 70%;
  object-fit: contain;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, .45));
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s;
  will-change: transform;
  display: block;
  margin: 0 auto;
  transform: scale(1);
  pointer-events: auto;
}

.emblem-shield-wrap img:hover {
  transform: scale(1.12);
  filter: drop-shadow(0 25px 60px rgba(249, 115, 22, 0.35));
}

.emblem-shield-wrap svg {
  position: relative;
  width: 140px;
  height: 140px;
  color: var(--orange-brand);
  filter: drop-shadow(0 10px 25px rgba(249, 115, 22, 0.2));
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  display: block;
  margin: 0 auto;
  transform: scale(1);
  pointer-events: auto;
}

.emblem-shield-wrap svg:hover {
  transform: scale(1.12);
  filter: drop-shadow(0 15px 35px rgba(249, 115, 22, 0.4));
}

.orbit-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 380px;
  height: 380px;
  margin-top: -190px;
  margin-left: -190px;
  z-index: 1;
  pointer-events: none;
  animation: spin 16s linear infinite;
}

.orbit-item {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hairline);
  background: color-mix(in srgb, var(--ink-900) 90%, transparent);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5);
  animation: spinReverse 16s linear infinite;
}

.orbit-item svg {
  width: 20px;
  height: 20px;
}

.orbit-item.oi1 {
  top: -22px;
  left: calc(50% - 22px);
  color: var(--orange-brand);
}

.orbit-item.oi2 {
  top: calc(50% - 22px);
  left: calc(100% - 22px);
  color: var(--orange-brand);
}

.orbit-item.oi3 {
  bottom: -22px;
  left: calc(50% - 22px);
  color: var(--orange-brand);
}

.orbit-item.oi4 {
  top: calc(50% - 22px);
  left: -22px;
  color: var(--orange-brand);
}

@keyframes spinReverse {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes floaty {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-14px);
  }
}

/* Interactive Side Badges / Nodes */
.emblem-node {
  position: absolute;
  z-index: 3;
  animation: nodeFloat 5s ease-in-out infinite;
  pointer-events: auto;
}

.emblem-node:hover {
  animation-play-state: paused;
}

.emblem-node-inner {
  display: flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 30px;
  border: 1px solid var(--hairline);
  background: color-mix(in srgb, var(--ink-900) 88%, transparent);
  backdrop-filter: blur(6px);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s, background 0.3s, color 0.3s;
  cursor: pointer;
  white-space: nowrap;
}

.emblem-node-inner:hover {
  transform: scale(1.1) translateY(-5px);
}

.emblem-node.n1 {
  top: 6%;
  left: -8%;
  animation-delay: 0s;
}

.emblem-node.n1 .emblem-node-inner {
  color: var(--orange-brand);
  border-color: color-mix(in srgb, var(--orange-brand) 25%, var(--hairline));
}

.emblem-node.n1 .emblem-node-inner:hover {
  border-color: var(--orange-brand);
  box-shadow: 0 0 25px rgba(249, 115, 22, 0.45);
  background: color-mix(in srgb, var(--orange-brand) 12%, var(--ink-900));
  color: var(--text-hi);
}

.emblem-node.n2 {
  top: 18%;
  right: -12%;
  animation-delay: 1.2s;
}

.emblem-node.n2 .emblem-node-inner {
  color: var(--orange-brand);
  border-color: color-mix(in srgb, var(--orange-brand) 25%, var(--hairline));
}

.emblem-node.n2 .emblem-node-inner:hover {
  border-color: var(--orange-brand);
  box-shadow: 0 0 25px rgba(249, 115, 22, 0.45);
  background: color-mix(in srgb, var(--orange-brand) 12%, var(--ink-900));
  color: var(--text-hi);
}

.emblem-node.n3 {
  bottom: 14%;
  left: -14%;
  animation-delay: 2.4s;
}

.emblem-node.n3 .emblem-node-inner {
  color: var(--orange-brand);
  border-color: color-mix(in srgb, var(--orange-brand) 25%, var(--hairline));
}

.emblem-node.n3 .emblem-node-inner:hover {
  border-color: var(--orange-brand);
  box-shadow: 0 0 25px rgba(249, 115, 22, 0.45);
  background: color-mix(in srgb, var(--orange-brand) 12%, var(--ink-900));
  color: var(--text-hi);
}

.emblem-node.n4 {
  bottom: 2%;
  right: -6%;
  animation-delay: 3.6s;
}

.emblem-node.n4 .emblem-node-inner {
  color: var(--orange-brand);
  border-color: color-mix(in srgb, var(--orange-brand) 25%, var(--hairline));
}

.emblem-node.n4 .emblem-node-inner:hover {
  border-color: var(--orange-brand);
  box-shadow: 0 0 25px rgba(249, 115, 22, 0.45);
  background: color-mix(in srgb, var(--orange-brand) 12%, var(--ink-900));
  color: var(--text-hi);
}

.emblem-node::after {
  content: '';
  position: absolute;
  height: 1.2px;
  width: 130px;
  pointer-events: none;
  opacity: 0.15;
  transition: opacity 0.3s var(--ease), height 0.3s;
  background-size: 200% 100%;
  z-index: -1;
}

.emblem-node:hover::after {
  opacity: 0.7;
}

.emblem-node.n1::after {
  top: 50%;
  left: 100%;
  transform: rotate(26deg);
  transform-origin: left center;
  background-image: linear-gradient(90deg, var(--orange-brand), transparent, var(--orange-brand));
  animation: lineFlow 3s linear infinite;
}

.emblem-node.n2::after {
  top: 50%;
  right: 100%;
  transform: rotate(-22deg);
  transform-origin: right center;
  background-image: linear-gradient(-90deg, var(--orange-brand), transparent, var(--orange-brand));
  animation: lineFlow 3s linear infinite;
}

.emblem-node.n3::after {
  top: 50%;
  left: 100%;
  transform: rotate(-22deg);
  transform-origin: left center;
  background-image: linear-gradient(90deg, var(--orange-brand), transparent, var(--orange-brand));
  animation: lineFlow 3s linear infinite;
}

.emblem-node.n4::after {
  top: 50%;
  right: 100%;
  transform: rotate(18deg);
  transform-origin: right center;
  background-image: linear-gradient(-90deg, var(--orange-brand), transparent, var(--orange-brand));
  animation: lineFlow 3s linear infinite;
}

.emblem-node.n5 { top: 42%; left: -16%; animation-delay: 4.8s; }

.emblem-node.n5 .emblem-node-inner {
  color: var(--orange-brand);
  border-color: color-mix(in srgb, var(--orange-brand) 25%, var(--hairline));
}

.emblem-node.n5 .emblem-node-inner:hover {
  border-color: var(--orange-brand);
  box-shadow: 0 0 25px rgba(249, 115, 22, 0.45);
  background: color-mix(in srgb, var(--orange-brand) 12%, var(--ink-900));
  color: var(--text-hi);
}

.emblem-node.n5::after {
  top: 50%;
  left: 100%;
  transform: rotate(14deg);
  transform-origin: left center;
  background-image: linear-gradient(90deg, var(--orange-brand), transparent, var(--orange-brand));
  animation: lineFlow 3s linear infinite;
}

@keyframes lineFlow {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 200% 50%;
  }
}

@keyframes nodeFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (prefers-reduced-motion: reduce) {

  .emblem-shield-wrap img,
  .emblem-node,
  .emblem-node::after {
    animation: none !important;
  }
}

/* Harvet now ,decrypt Later */

.nist-callout-wrap {
  padding: 0 28px 60px;
  position: relative;
  z-index: 2;
}

.nist-callout {
  position: relative;
  overflow: hidden;
  max-width: 980px;
  margin: 0 auto;
  padding: 36px 48px;
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--orange-brand) 25%, var(--hairline));
  background: color-mix(in srgb, var(--panel-strong) 55%, transparent);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 20px 50px -30px color-mix(in srgb, var(--orange-brand) 40%, transparent);
}

.nist-callout-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
      transparent 0%,
      color-mix(in srgb, var(--orange-brand) 14%, transparent) 45%,
      transparent 70%);
  background-size: 250% 100%;
  animation: nistShimmer 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes nistShimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -50% 0;
  }
}

.nist-callout-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  color: var(--orange-brand);
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--orange-brand) 50%, transparent));
  animation: nistPulse 2.6s ease-in-out infinite;
}

@keyframes nistPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }

  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}

.nist-callout-text {
  position: relative;
  z-index: 1;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text-hi);
  text-align: center;
  margin: 0 auto;
}

.nist-callout-text strong {
  color: var(--text-hi);
  font-weight: 700;
}

.nist-callout-highlight {
  color: var(--orange-brand);
  font-weight: 600;
}

@media (max-width: 760px) {
  .nist-callout {
    flex-direction: column;
    padding: 28px 24px;
    text-align: center;
  }

  .nist-callout-text {
    text-align: center;
  }
}

/* ============================================================
       PILLAR SHOWCASE — SCROLLABLE CAROUSEL
       ============================================================ */

/* Outer wrapper: holds arrows + the overflow viewport */
.pillar-carousel-container {
  position: relative;
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 52px;
}

/* Overflow viewport */
.pillar-showcase {
  overflow: hidden;
  position: relative;
  z-index: 1;
  margin: 0 auto;
  border: none;
  max-width: none;
  padding: 12px 0;
  width: 100%;
}

/* Flex track that translates horizontally */
.pillar-track {
  display: flex;
  flex-direction: row;
  gap: 20px;
  width: max-content;
  will-change: transform;
}

/* Prev / Next arrow buttons */
.pillar-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: var(--ink-900);
  color: var(--text-hi);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background var(--dur-s) var(--ease), border-color var(--dur-s) var(--ease), color var(--dur-s) var(--ease);
}

.pillar-carousel-btn:hover {
  background: var(--orange-brand);
  border-color: var(--orange-brand);
  color: #fff;
}

.pillar-carousel-btn.prev { left: 0; }
.pillar-carousel-btn.next { right: 0; }

.pillar-carousel-btn svg {
  width: 20px;
  height: 20px;
}

/* Dot indicators */
.pillar-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.pillar-carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hairline);
  cursor: pointer;
  transition: background var(--dur-s) var(--ease), transform var(--dur-s) var(--ease);
}

.pillar-carousel-dots .dot.active {
  background: var(--orange-brand);
  transform: scale(1.25);
}

/* Individual card */
.pshow-card {
  position: relative;
  background: var(--ink-950);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  cursor: pointer;
  overflow: hidden;
  transition: box-shadow var(--dur-s) var(--ease), background var(--dur-s) var(--ease), border-color var(--dur-s) var(--ease), transform var(--dur-s) var(--ease);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  box-sizing: border-box;
}

.pshow-card.c0,
.pshow-card.c1,
.pshow-card.c2,
.pshow-card.c3,
.pshow-card.c4 {
  --card-accent: var(--orange-brand);
}

.pshow-card:hover,
.pshow-card:focus-visible {
  box-shadow: 0 12px 36px -16px color-mix(in srgb, var(--card-accent) 40%, transparent);
  background: color-mix(in srgb, var(--card-accent) 5%, var(--ink-950));
  border-color: var(--card-accent);
  transform: translateY(-4px);
}

.pshow-card.active {
  box-shadow: inset 0 -3px 0 0 var(--card-accent), 0 12px 36px -16px color-mix(in srgb, var(--card-accent) 40%, transparent);
  background: color-mix(in srgb, var(--card-accent) 8%, var(--ink-950));
  border-color: var(--card-accent);
}

.pshow-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

/* Numbered marker on the LEFT (black/high-contrast), logo icon moved to the RIGHT */
.pshow-num-mark {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-hi);
  line-height: 1;
  order: 1;
}

html[data-theme="light"] .pshow-num-mark {
  color: #0B1220;
}

.pshow-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-accent, var(--orange-brand));
  color: #fff;
  flex-shrink: 0;
  transition: transform var(--dur-s) var(--ease);
  order: 2;
}

.pshow-card:hover .pshow-icon,
.pshow-card.active .pshow-icon {
  transform: scale(1.06);
}

.pshow-icon svg {
  width: 22px;
  height: 22px;
}

.pshow-select {
  display: none;
}

.pshow-num {
  display: none;
}

.pshow-card h4 {
  margin-top: 20px;
  font-size: 17px;
  color: var(--text-hi);
  line-height: 1.3;
}

.pshow-tag {
  display: block;
  margin-top: 6px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15.5px;
  color: var(--text-low);
}

.pshow-brief {
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-hi);
  flex-grow: 1;
}

.pshow-viewmore {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-low);
  transition: color var(--dur-s) var(--ease), gap var(--dur-s) var(--ease);
}

.pshow-viewmore svg {
  width: 12px;
  height: 12px;
  transition: transform var(--dur-s) var(--ease);
}

.pshow-card:hover .pshow-viewmore,
.pshow-card.active .pshow-viewmore {
  color: var(--card-accent, var(--orange-brand));
  gap: 9px;
}

.pshow-card.active .pshow-viewmore svg {
  transform: rotate(90deg);
}

@media (max-width: 760px) {
  .pillar-carousel-container {
    padding: 0 44px;
  }
}

@media (max-width: 600px) {
  .pillar-carousel-container {
    padding: 0 38px;
  }

  .pillar-carousel-btn {
    width: 34px;
    height: 34px;
  }

  .pillar-carousel-btn svg {
    width: 16px;
    height: 16px;
  }
}

/* ---- Shared drawer ---- */
.pshow-drawer {
  margin-top: 1px;
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: 0;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height var(--dur-m) var(--ease), opacity var(--dur-s) var(--ease), margin-top var(--dur-m) var(--ease), border-color var(--dur-s);
  position: relative;
}

.pshow-drawer.open {
  max-height: 640px;
  opacity: 1;
}

.pshow-drawer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--drawer-accent, var(--orange-brand));
}

.pshow-drawer-inner {
  padding: 34px 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.pshow-drawer-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.pshow-drawer-kicker .pdk-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--drawer-accent, var(--orange-brand));
  color: #fff;
  flex-shrink: 0;
}

.pshow-drawer-kicker .pdk-icon svg {
  width: 17px;
  height: 17px;
}

.pshow-drawer-kicker span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--drawer-accent, var(--orange-brand));
}

.pshow-drawer h5 {
  font-size: 20px;
  font-family: 'Sora', sans-serif;
  color: var(--text-hi);
  margin-bottom: 14px;
}

.pshow-drawer-desc p {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text-hi);
}

.pshow-drawer-info ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.pshow-drawer-info li {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text-hi);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.pshow-drawer-info li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--drawer-accent, var(--orange-brand));
  margin-top: 7px;
  flex: none;
}

.pshow-chainhint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--hairline);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--text-low);
  letter-spacing: .03em;
  grid-column: 1 / -1;
}

.pshow-chainhint svg {
  width: 13px;
  height: 13px;
  color: var(--drawer-accent, var(--orange-brand));
  flex-shrink: 0;
}

@media (max-width: 760px) {
  .pshow-drawer-inner {
    grid-template-columns: 1fr;
    padding: 26px 24px;
    gap: 22px;
  }
}

/* Why quantum threat matters */
.qtm-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 30px;
  border: 1px solid color-mix(in srgb, var(--orange-brand) 35%, var(--hairline));
  background: color-mix(in srgb, var(--orange-brand) 10%, transparent);
  color: var(--orange-brand);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: 16px;
}

.qtm-badge svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.qtm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.qtm-card {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color var(--dur-s) var(--ease), transform var(--dur-s) var(--ease), box-shadow var(--dur-s) var(--ease);
}

.qtm-card:hover {
  border-color: var(--orange-brand);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -20px color-mix(in srgb, var(--orange-brand) 40%, transparent);
}

.qtm-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--orange-brand) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--orange-brand) 30%, var(--hairline));
  color: var(--orange-brand);
}

.qtm-icon svg {
  width: 22px;
  height: 22px;
}

.qtm-card h4 {
  font-size: 18px;
  color: var(--text-hi);
}

.qtm-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-mid);
  flex-grow: 1;
}

.qtm-stat {
  border-top: 1px solid var(--hairline);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.qtm-stat-num {
  font-family: 'Sora', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--orange-brand);
}

.qtm-stat-desc {
  font-size: 12.5px;
  color: var(--text-low);
}

@media (max-width: 900px) {
  .qtm-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   THREAT SECTION
   ============================================================ */
#threat {
  position: relative;
  overflow: hidden;
}

.threat-blob {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(150px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.08;
  mix-blend-mode: plus-lighter;
}

.threat-blob.tb1 {
  top: -15%;
  left: -15%;
  background: var(--orange-brand);
  animation: floatBlob1 20s ease-in-out infinite;
}

.threat-blob.tb2 {
  bottom: -15%;
  right: -15%;
  background: var(--orange-brand);
  animation: floatBlob2 25s ease-in-out infinite;
}

@keyframes floatBlob1 {

  0%,
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }

  33% {
    transform: translate(50px, -80px) scale(1.15) rotate(120deg);
  }

  66% {
    transform: translate(-30px, 40px) scale(0.9) rotate(240deg);
  }
}

@keyframes floatBlob2 {

  0%,
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }

  33% {
    transform: translate(-40px, 60px) scale(1.1) rotate(-120deg);
  }

  66% {
    transform: translate(40px, -30px) scale(0.95) rotate(-240deg);
  }
}

html[data-theme="light"] .threat-blob {
  opacity: 0.04;
  mix-blend-mode: multiply;
}

.cmp-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin: 44px 0 64px;
  flex-wrap: wrap;
}

.cmp-banner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hairline);
  background: color-mix(in srgb, var(--panel-strong) 40%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: center;
  min-width: 280px;
  transition: all var(--dur-m) var(--ease);
  box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.3);
}

.cmp-banner-card.old-side {
  border-color: color-mix(in srgb, var(--orange-brand) 30%, var(--hairline));
  box-shadow: 0 8px 32px -16px color-mix(in srgb, var(--orange-brand) 35%, transparent);
  animation: floatOld 5s ease-in-out infinite alternate;
}

.cmp-banner-card.new-side {
  border-color: color-mix(in srgb, var(--orange-brand) 30%, var(--hairline));
  box-shadow: 0 8px 32px -16px color-mix(in srgb, var(--orange-brand) 35%, transparent);
  animation: floatNew 5s ease-in-out infinite alternate;
  animation-delay: -2.5s;
}

.cmp-banner-card .side-badge {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.cmp-banner-card.old-side .side-badge {
  color: var(--orange-brand);
  text-shadow: 0 0 15px color-mix(in srgb, var(--orange-brand) 40%, transparent);
}

.cmp-banner-card.new-side .side-badge {
  color: var(--orange-brand);
  text-shadow: 0 0 15px color-mix(in srgb, var(--orange-brand) 40%, transparent);
}

.cmp-banner-card .side-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13.5px;
  color: var(--text-hi);
  letter-spacing: 0.02em;
}

.cmp-banner-card:hover {
  transform: translateY(-8px) scale(1.04);
}

.cmp-banner-card.old-side:hover {
  border-color: var(--orange-brand);
  box-shadow: 0 16px 40px -12px color-mix(in srgb, var(--orange-brand) 50%, transparent);
}

.cmp-banner-card.new-side:hover {
  border-color: var(--orange-brand);
  box-shadow: 0 16px 40px -12px color-mix(in srgb, var(--orange-brand) 50%, transparent);
}

.vs-divider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  background: var(--ink-950);
  border: 1px solid var(--hairline);
  z-index: 10;
  transition: all var(--dur-s) var(--ease);
}

.vs-divider:hover {
  transform: scale(1.15);
  border-color: var(--orange-brand);
}

.vs-divider .vs-text {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 15px;
  background: var(--grad-signature);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  z-index: 2;
}

.vs-divider .vs-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: var(--radius-sm);
  border: 1.5px solid color-mix(in srgb, var(--orange-brand) 35%, transparent);
  animation: vsRadar 3s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  z-index: 1;
}

.vs-divider .vs-pulse-ring.delay-1 {
  animation-delay: 1.5s;
  border-color: color-mix(in srgb, var(--orange-brand) 35%, transparent);
}

@keyframes floatOld {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-6px);
  }
}

@keyframes floatNew {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-6px);
  }
}

.cmp-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
  position: relative;
  z-index: 1;
  transition: all var(--dur-m) var(--ease);
}

.cmp-col {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: 0;
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  transition: border-color var(--dur-s) var(--ease), box-shadow var(--dur-s) var(--ease), transform var(--dur-s) var(--ease), opacity var(--dur-s) var(--ease), filter var(--dur-s) var(--ease);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}

.cmp-col::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-m) var(--ease);
}

.cmp-col:hover::before {
  transform: scaleX(1);
}

.cmp-col:hover {
  animation: none;
  border-color: var(--orange-brand);
  box-shadow: 0 16px 40px -12px color-mix(in srgb, var(--orange-brand) 50%, transparent);
  transform: translateY(-8px) scale(1.02);
}

.cmp-col.old {
  --accent-color: var(--orange-brand);
  border-color: color-mix(in srgb, var(--orange-brand) 30%, var(--hairline));
  box-shadow: 0 8px 32px -16px color-mix(in srgb, var(--orange-brand) 35%, transparent);
  animation: floatOld 5s ease-in-out infinite alternate;
}

.cmp-col.new {
  --accent-color: var(--orange-brand);
  border-color: color-mix(in srgb, var(--orange-brand) 30%, var(--hairline));
  box-shadow: 0 8px 32px -16px color-mix(in srgb, var(--orange-brand) 35%, transparent);
  animation: floatNew 5s ease-in-out infinite alternate;
  animation-delay: -2.5s;
}

.cmp-col-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cmp-col-head .c-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md); /* square rounded box, matches reference screenshot */
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--accent-color) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent-color) 25%, var(--hairline));
  color: var(--accent-color);
  flex-shrink: 0;
  transition: transform var(--dur-s) var(--ease), background var(--dur-s) var(--ease);
  overflow: hidden;
}

.cmp-col-head .c-icon img,
.cmp-col-head .c-icon svg {
  width: 50%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md);
}
.cmp-col:hover .c-icon {
  transform: scale(1.08);
  background: color-mix(in srgb, var(--accent-color) 15%, transparent);
}



.cmp-col-head .p-titles {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.p-titles .side-badge {
  font-family: 'Sora', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
  color: var(--orange-brand);
  text-shadow: 0 0 15px color-mix(in srgb, var(--orange-brand) 40%, transparent);
}

.p-titles .side-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--text-mid);
  letter-spacing: 0.02em;
}

.cmp-col-head h3 {
  font-size: 23px;
  font-weight: 700;
  color: var(--text-hi);
  margin: 0;
  transition: color var(--dur-s) var(--ease);
}

.cmp-col-head .c-tag {
  font-size: 12.5px;
  color: var(--text-mid);
  letter-spacing: 0.02em;
}

.cmp-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: color-mix(in srgb, var(--panel-strong) 40%, transparent);
  border: 1px solid var(--hairline);
  border-radius: 0;
  padding: 18px 22px;
  gap: 10px;
}

.cmp-flow .node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  text-align: center;
}

.cmp-flow .node .badge {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--ink-950);
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--dur-s) var(--ease), border-color var(--dur-s) var(--ease);
}

.cmp-flow .node:hover .badge {
  transform: scale(1.12) translateY(-2px);
  border-color: var(--accent-color);
}

.cmp-flow .node .badge svg {
  width: 20px;
  height: 20px;
}

.cmp-flow .node .lbl {
  font-size: 11px;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  color: var(--text-mid);
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: color var(--dur-s) var(--ease);
}

.cmp-flow .node:hover .lbl {
  color: var(--text-hi);
}

.cmp-flow .arrow {
  height: 2px;
  flex-grow: 1;
  background: linear-gradient(90deg, var(--hairline), var(--accent-color), var(--hairline));
  position: relative;
  opacity: 0.7;
  min-width: 18px;
  overflow: hidden;
}

.cmp-flow .arrow::before {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent-color) 70%, #fff), transparent);
  animation: cmpFlowPulse 2.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.cmp-col.new .cmp-flow .arrow::before {
  animation-duration: 1.6s;
}

@keyframes cmpFlowPulse {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

.cmp-flow .arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid var(--accent-color);
}

.cmp-table {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--hairline);
}

.cmp-row {
  display: grid;
  grid-template-columns: 1.15fr 1.85fr;
  gap: 14px;
  align-items: center;
  padding: 16px 14px;
  margin: 0 -14px;
  border-bottom: 1px solid var(--hairline);
  border-radius: 0;
  transition: background var(--dur-s) var(--ease), padding-left var(--dur-s) var(--ease);
}

.cmp-row:hover {
  background: color-mix(in srgb, var(--accent-color) 4%, transparent);
  padding-left: 18px;
}

.cmp-row .cell-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
  width: 18px;
  height: 18px;
  transition: color var(--dur-s) var(--ease), transform var(--dur-s) var(--ease);
  display: none;
}

.cmp-row:hover .cell-icon {
  color: var(--accent-color);
  transform: scale(1.15);
}

.cmp-row .cell-icon svg {
  width: 17px;
  height: 17px;
}

.cmp-row .cell-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-hi);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.cmp-row .cell-val {
  font-size: 14.5px;
  color: var(--text-hi);
  line-height: 1.4;
  transition: color var(--dur-s) var(--ease), text-shadow var(--dur-s) var(--ease);
}

.cmp-row:hover .cell-val {
  color: #ffffff;
  text-shadow: 0 0 8px color-mix(in srgb, var(--accent-color) 25%, transparent);
}

html[data-theme="light"] .cmp-row:hover .cell-val {
  color: var(--text-hi);
  text-shadow: none;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: transform var(--dur-s) var(--ease), box-shadow var(--dur-s) var(--ease);
}

.cmp-row:hover .status-pill {
  transform: scale(1.05);
}

.status-pill.no {
  color: var(--orange-brand);
  background: color-mix(in srgb, var(--orange-brand) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--orange-brand) 20%, transparent);
}

.status-pill.no:hover {
  box-shadow: 0 0 10px color-mix(in srgb, var(--orange-brand) 30%, transparent);
}

.status-pill.yes {
  color: var(--orange-brand);
  background: color-mix(in srgb, var(--orange-brand) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--orange-brand) 20%, transparent);
}

.status-pill.yes:hover {
  box-shadow: 0 0 10px color-mix(in srgb, var(--orange-brand) 30%, transparent);
}

.cmp-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.cmp-mini {
  position: relative;
  background: color-mix(in srgb, var(--panel-strong) 40%, transparent);
  border: 1px solid var(--hairline);
  border-radius: 0;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color var(--dur-s) var(--ease), background var(--dur-s) var(--ease), transform var(--dur-s) var(--ease);
  overflow: hidden;
}

.cmp-mini.tick,
.cmp-mini.warn,
.cmp-mini.cross {
  --mini-color: var(--orange-brand);
}

.cmp-mini::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--mini-color);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--dur-s) var(--ease);
}

.cmp-mini:hover::before {
  transform: scaleY(1);
}

.cmp-mini:hover {
  border-color: color-mix(in srgb, var(--mini-color) 30%, var(--hairline));
  background: color-mix(in srgb, var(--mini-color) 4%, transparent);
  transform: translateY(-3px);
}

.cmp-mini .mini-head {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-hi);
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  font-family: 'Sora', sans-serif;
  letter-spacing: 0.02em;
}

.cmp-mini .mini-head svg {
  width: 15px;
  height: 15px;
  color: var(--mini-color);
  flex-shrink: 0;
  transition: transform var(--dur-s) var(--ease);
}

.cmp-mini:hover .mini-head svg {
  transform: scale(1.1);
}

.cmp-mini ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cmp-mini li {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.cmp-mini li svg {
  width: 13px;
  height: 13px;
  color: var(--mini-color);
  margin-top: 2.5px;
  flex-shrink: 0;
  transition: transform var(--dur-s) var(--ease);
}

.cmp-mini:hover li svg {
  transform: scale(1.1);
}

.cmp-vs-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cmp-vs-col .vs-pill {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hairline);
  background: var(--panel-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-low);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: border-color var(--dur-s) var(--ease), color var(--dur-s) var(--ease), transform var(--dur-s) var(--ease);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2;
}

.cmp-vs-col .vs-pill::before,
.cmp-vs-col .vs-pill::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--orange-brand);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-s);
}

.cmp-grid:hover .cmp-vs-col .vs-pill::before {
  animation: vsRingPulse 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.cmp-grid:hover .cmp-vs-col .vs-pill::after {
  animation: vsRingPulse 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  animation-delay: 1s;
}

@keyframes vsRingPulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.cmp-vs-col .vs-pill svg {
  color: var(--text-low);
  transition: transform var(--dur-s) var(--ease), color var(--dur-s) var(--ease);
}

.cmp-grid:hover .cmp-vs-col .vs-pill {
  border-color: var(--orange-brand);
  color: var(--orange-brand);
}

.cmp-grid:hover .cmp-vs-col .vs-pill svg {
  transform: rotate(180deg);
  color: var(--orange-brand);
}

@media (max-width: 1100px) {
  .cmp-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cmp-vs-col {
    grid-row: 2;
    transform: rotate(90deg);
    margin: -10px 0;
  }

  .cmp-mini-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .cmp-col {
    padding: 22px;
  }

  .cmp-flow {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
  }

  .cmp-flow .arrow {
    width: 2px;
    height: 24px;
    background: linear-gradient(180deg, var(--hairline), var(--accent-color), var(--hairline));
  }

  .cmp-flow .arrow::before {
    width: 100%;
    height: 80%;
    background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--accent-color) 70%, #fff), transparent);
    animation-name: cmpFlowPulseVertical;
  }

  @keyframes cmpFlowPulseVertical {
    0% {
      top: -100%;
    }

    100% {
      top: 100%;
    }
  }

  .cmp-flow .arrow::after {
    right: -3px;
    bottom: 0;
    top: auto;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--accent-color);
  }

  .cmp-row {
    grid-template-columns: 1fr;
    gap: 4px;
    margin: 0;
    padding: 12px 0;
  }
  .cmp-row:hover {
    padding-left: 6px;
  }
  .cmp-row .cell-label {
    grid-column: 1;
  }
  .cmp-row .cell-val {
    grid-column: 1;
    margin-top: 0;
  }
}
/* ============================================================
   VEDIC OS VIDEO SHOWCASE  —  Pitch-style layered reveal
   ============================================================ */

.os-action-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.08;
  color: var(--orange-brand);
}

.pd-section {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
}

.pd-content-wrap {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.pd-layer-heading {
  text-align: center;
}

.pd-layer-heading h2 {
  font-size: clamp(2rem, 4.6vw, 3rem);
  line-height: 1.1;
}

.pd-layer-heading p {
  margin-top: 14px;
  color: var(--text-mid, #A9B4D6);
}

/* ---- Video stage with 3D perspective ---- */
.pd-video-stage {
  position: relative;
  width: 100%;
  perspective: 1200px;
  perspective-origin: 50% 40%;
  transform-style: preserve-3d;
}

/* ---- Paper airplane: fly in, swing right past the panel, curve back to the play button, vanish ---- */
.pd-float-object {
  position: absolute;
  top: -70px;
  right: 5%;
  width: 200px;
  height: 116px;
  z-index: 4;
  opacity: 0;
  transform: translate(220px, -160px) rotate(55deg) scale(0.3);
  transition: opacity 1.6s cubic-bezier(.16, .84, .32, 1) 0.1s,
              transform 1.8s cubic-bezier(.34, 1.56, .64, 1) 0.1s;
  pointer-events: none;
  filter: drop-shadow(0 30px 50px rgba(234, 88, 12, 0.32));
  will-change: transform, opacity, z-index;
}

.pd-video-stage.is-visible .pd-float-object {
  opacity: 1;
  transform: translate(0, 0) rotate(-8deg) scale(1);
  animation: pdPlaneArcVanish 3.2s cubic-bezier(.45, .05, .55, .95) 1.9s 1 forwards;
}

.pd-float-object-parallax,
.pd-float-object-inner {
  width: 100%;
  height: 100%;
}

/* Swings right past the panel edge, then curves back in toward the play button and vanishes */
@keyframes pdPlaneArcVanish {
  0% {
    transform: translate(0, 0) rotate(-8deg) scale(1);
    opacity: 1;
    z-index: 4;
  }
  20% {
    transform: translate(110px, -40px) rotate(20deg) scale(0.95);
    opacity: 1;
    z-index: 4;
  }
  38% {
    transform: translate(190px, -10px) rotate(55deg) scale(0.85);
    opacity: 1;
    z-index: 4;
  }
  58% {
    transform: translate(70px, 140px) rotate(115deg) scale(0.62);
    opacity: 1;
    z-index: 4;
  }
  82% {
    transform: translate(-450px, 300px) rotate(155deg) scale(0.28);
    opacity: 0.85;
    z-index: 4;
  }
  100% {
    transform: translate(-465px, 320px) rotate(170deg) scale(0.04);
    opacity: 0;
    z-index: 1;
  }
}

/* Responsive sizing for the airplane */
@media (max-width: 768px) {
  .pd-float-object {
    width: 140px;
    height: 81px;
    top: -40px;
    right: 3%;
    transform: translate(160px, -100px) rotate(50deg) scale(0.35);
  }

  @keyframes pdPlaneArcVanish {
    0% { transform: translate(0, 0) rotate(-8deg) scale(1); opacity: 1; z-index: 4; }
    20% { transform: translate(70px, -25px) rotate(20deg) scale(0.94); opacity: 1; z-index: 4; }
    38% { transform: translate(120px, -6px) rotate(55deg) scale(0.82); opacity: 1; z-index: 4; }
    58% { transform: translate(45px, 90px) rotate(115deg) scale(0.58); opacity: 1; z-index: 4; }
    82% { transform: translate(-290px, 190px) rotate(155deg) scale(0.24); opacity: 0.85; z-index: 4; }
    100% { transform: translate(-300px, 205px) rotate(170deg) scale(0.03); opacity: 0; z-index: 1; }
  }
}

@media (max-width: 480px) {
  .pd-float-object {
    width: 100px;
    height: 58px;
    top: -24px;
    right: 2%;
  }
}
/* ---- Video panel with depth entrance ---- */
.pd-video-panel {
  position: relative;
  z-index: 2;
  opacity: 0;
  /* Slight 3D tilt on entry for depth */
  transform: scale(0.8) translateY(60px) rotateX(10deg);
  transform-origin: center top;
  transition: opacity 1.1s var(--ease) 0.35s,
              transform 1.1s var(--ease) 0.35s;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: #050608;
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.7),
              0 0 0 1px rgba(255, 255, 255, 0.03);
  will-change: transform, opacity;
}

.pd-video-stage.is-visible .pd-video-panel {
  opacity: 1;
  transform: scale(1) translateY(0) rotateX(0deg);
}

.pd-video-panel video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #050608;
}

.pd-video-panel .pd-play-btn {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 6, 8, 0.35);
  cursor: pointer;
  border: none;
  transition: background 0.25s ease, opacity 0.25s ease;
}

.pd-video-panel .pd-play-btn.hidden {
  opacity: 0;
  pointer-events: none;
}

.pd-video-panel .pd-play-btn:hover {
  background: rgba(5, 6, 8, 0.5);
}

.pd-video-panel .pd-play-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--orange-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 40px -6px rgba(249, 115, 22, 0.55);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.pd-video-panel .pd-play-btn:hover .pd-play-icon {
  transform: scale(1.08);
  box-shadow: 0 20px 50px -4px rgba(249, 115, 22, 0.7);
}

.pd-video-panel .pd-play-icon svg {
  width: 26px;
  height: 26px;
  color: #fff;
  margin-left: 3px;
}

@media (max-width: 640px) {
  .pd-section { padding: 72px 0; }
  .pd-content-wrap { gap: 36px; }
}
/* ============================================================
       STANDARDS — QNu-style "A Decade of Conviction" flat containers
       with number on left (black) and icon-free flat card body.
       ============================================================ */
.standards-carousel-container {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 52px;
}

.standards-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: var(--ink-900);
  color: var(--text-hi);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background var(--dur-s) var(--ease), border-color var(--dur-s) var(--ease), color var(--dur-s) var(--ease);
}

.standards-carousel-btn:hover {
  background: var(--orange-brand);
  border-color: var(--orange-brand);
  color: #fff;
}

.standards-carousel-btn.prev {
  left: 0;
}

.standards-carousel-btn.next {
  right: 0;
}

.standards-carousel-btn svg {
  width: 20px;
  height: 20px;
}

.standards-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.standards-carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hairline);
  cursor: pointer;
  transition: background var(--dur-s) var(--ease), transform var(--dur-s) var(--ease);
}

.standards-carousel-dots .dot.active {
  background: var(--orange-brand);
  transform: scale(1.25);
}

.standards-grid {
  overflow: hidden;
  position: relative;
  z-index: 1;
  margin: 0 auto;
  border: none;
  max-width: none;
  padding: 12px 0;
  width: 100%;
}

.standards-track {
  display: flex;
  flex-direction: row;
  gap: 24px;
  width: max-content;
  will-change: transform;
}

.standards-grid::-webkit-scrollbar {
  display: none;
}

.standards-grid::before {
  display: none;
}

.standards-progress-line {
  display: none;
}

.standard-card {
  position: relative;
  background: var(--ink-950);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 32px 30px;
  overflow: hidden;
  min-width: calc((100% - 48px) / 3);
  width: calc((100% - 48px) / 3);
  flex-shrink: 0;
  box-sizing: border-box;
  transition: background var(--dur-s) var(--ease), border-color var(--dur-s) var(--ease), box-shadow var(--dur-s) var(--ease), transform var(--dur-s) var(--ease);
  opacity: 0;
  transform: translateY(24px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.standard-card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .7s var(--ease), transform var(--dur-s) var(--ease), background var(--dur-s) var(--ease), border-color var(--dur-s) var(--ease), box-shadow var(--dur-s) var(--ease);
}

.standard-card.c0.revealed {
  transition-delay: 0s;
}

.standard-card.c1.revealed {
  transition-delay: .06s;
}

.standard-card.c2.revealed {
  transition-delay: .12s;
}

.standard-card.c3.revealed {
  transition-delay: .18s;
}

.standard-card.c4.revealed {
  transition-delay: .24s;
}

.standard-card::before {
  display: none;
}

.standard-card::after {
  display: none;
}

.standard-card:hover {
  background: color-mix(in srgb, var(--orange-brand) 6%, var(--ink-950));
  border-color: var(--orange-brand);
  box-shadow: 0 12px 36px -16px color-mix(in srgb, var(--orange-brand) 40%, transparent);
  transform: translateY(-6px);
}

/* Number marker — black / high-contrast, QNu style */
.standard-num {
  font-family: 'Sora', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: var(--text-hi);
  line-height: 1;
  min-width: 56px;
  flex-shrink: 0;
}

html[data-theme="light"] .standard-num {
  color: #0B1220;
}

.standard-body {
  flex: 1;
  min-width: 0;
}

.standard-card .s-dot {
  display: none;
}

.standard-header {
  white-space: nowrap;
  flex-wrap: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.standard-card .s-code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(12px, 1.25vw, 14.5px);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--orange-brand);
  margin-bottom: 0;
}

.standard-card h5 {
  font-size: clamp(15px, 1.5vw, 18.5px);
  font-weight: 700;
  color: var(--text-hi);
  margin: 0;
  letter-spacing: -0.01em;
}

.standard-card p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-hi);
  margin: 0;
}

.standard-usetag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--orange-brand);
  border: 1px solid color-mix(in srgb, var(--orange-brand) 30%, var(--hairline));
  background: color-mix(in srgb, var(--orange-brand) 6%, transparent);
}

.standard-usetag svg {
  width: 11px;
  height: 11px;
}

@media (max-width: 992px) {
  .standard-card {
    min-width: calc((100% - 24px) / 2);
    width: calc((100% - 24px) / 2);
  }
}

@media (max-width: 760px) {
  .standards-carousel-container {
    padding: 0 44px;
  }

  .standard-card {
    padding: 24px 22px;
    gap: 14px;
  }

  .standard-num {
    font-size: 24px;
    min-width: 40px;
  }
}

@media (max-width: 600px) {
  .standards-carousel-container {
    padding: 0 38px;
  }

  .standards-carousel-btn {
    width: 34px;
    height: 34px;
  }

  .standards-carousel-btn svg {
    width: 16px;
    height: 16px;
  }

  .standard-card {
    min-width: 100%;
    width: 100%;
  }
}


/* ============================================================
   Detail Page Hero, Grid & Custom Layout Utilities
   ============================================================ */
.detail-hero {
  padding-top: 180px;
  padding-bottom: 80px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.detail-grid h1 {
  margin: 16px 0 24px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
}

.detail-grid p {
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 32px;
}

.detail-cta {
  display: flex;
  gap: 16px;
}

.detail-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

@media (max-width: 900px) {
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .detail-visual {
    order: -1;
  }

  .detail-cta {
    justify-content: center;
  }
}



/* Infrastructure Diagram Section */
.infrastructure-diagram {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

.infrastructure-diagram svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Specs Grid */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* Custom Spacing & Display Utilities */
.mb-8 {
  margin-bottom: 8px !important;
}

.mb-24 {
  margin-bottom: 24px !important;
}

.mb-32 {
  margin-bottom: 32px !important;
}

.mb-40 {
  margin-bottom: 40px !important;
}

.mb-48 {
  margin-bottom: 48px !important;
}

.mb-56 {
  margin-bottom: 56px !important;
}

.mb-64 {
  margin-bottom: 64px !important;
}

.mt-24 {
  margin-top: 24px !important;
}

.mt-32 {
  margin-top: 32px !important;
}

.p-100-0 {
  padding: 100px 0 !important;
}

.max-w-760 {
  max-width: 760px !important;
}

.max-w-680-mx-auto {
  max-width: 680px !important;
  margin: 0 auto !important;
}

.txt-center {
  text-align: center !important;
}

.mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Stagger Delay Helpers */
.delay-0 {
  transition-delay: 0s !important;
}

.delay-1 {
  transition-delay: 0.08s !important;
}

.delay-2 {
  transition-delay: 0.16s !important;
}

.delay-3 {
  transition-delay: 0.24s !important;
}

.delay-4 {
  transition-delay: 0.32s !important;
}

/* ============================================================
       RESPONSIVE MEDIA QUERIES (Cascaded correctly)
       ============================================================ */
@media (max-width: 1400px) {
  :root {
    --emblem-scale: 0.92;
  }
}

@media (max-width: 1200px) {
  :root {
    --emblem-scale: 0.82;
  }
}

@media (max-width: 1050px) {
  :root {
    --emblem-scale: 0.72;
  }
}

@media (max-width: 900px) {
  :root {
    --emblem-scale: 0.85;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-emblem {
    order: -1;
    margin: 30px auto;
  }

  .hero h1 {
    font-size: clamp(30px, 6vw, 42px);
  }

  .hero-copy {
    text-align: center;
  }

  .hero-cta,
  .hero-badges {
    justify-content: center;
  }

  .hero p.lede {
    margin-left: auto;
    margin-right: auto;
  }

  .threat-grid {
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none !important;
  }

  .burger {
    display: flex;
  }
}

@media (max-width: 768px) {
  :root {
    --emblem-scale: 0.72;
  }
}

@media (max-width: 600px) {
  :root {
    --emblem-scale: 0.6;
  }

  .section {
    padding: 80px 0;
  }

  .hero {
    padding: 150px 0 70px;
  }

  .cta-panel {
    padding: 38px 26px;
  }

  .hero h1 {
    font-size: clamp(24px, 7vw, 32px);
  }

  .hero p.lede {
    font-size: 15px;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  :root {
    --emblem-scale: 0.5;
  }
}

@media (max-width: 380px) {
  :root {
    --emblem-scale: 0.42;
  }
}

/* Default Variable Configs */
.pshow-drawer {
  --drawer-accent: var(--orange-brand);
}

.pshow-drawer-more {
  margin-top: 32px;
  display: flex;
}

.pshow-drawer-more .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pshow-drawer-more .btn-primary svg {
  width: 16px;
  height: 16px;
}

.form-success-message {
  display: none;
  visibility: hidden;
}

/* ===================================================================
   SHARED PILLAR PAGE COMPONENTS (QRNG, VPN, PQC Server, Vedic Browser)
   =================================================================== */

/* ---- Feature Grid & Cards ---- */
.qrng-feature-grid,
.vpn-feature-grid,
.pqc-feature-grid,
.browser-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: visible;
}

.qrng-feature-card,
.vpn-feature-card,
.pqc-feature-card,
.browser-feature-card {
  background: var(--ink-950);
  padding: 32px 28px;
  transition: background var(--dur-s) var(--ease), transform var(--dur-s) var(--ease), box-shadow var(--dur-s) var(--ease), border-radius var(--dur-s) var(--ease);
}

html[data-theme="light"] .qrng-feature-card,
html[data-theme="light"] .vpn-feature-card,
html[data-theme="light"] .pqc-feature-card,
html[data-theme="light"] .browser-feature-card {
  background: var(--ink-800);
}

.qrng-feature-icon,
.vpn-feature-icon,
.browser-feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  color: var(--orange-brand);
  margin-bottom: 20px;
  background: var(--panel);
}

.qrng-feature-icon svg,
.vpn-feature-icon svg,
.browser-feature-icon svg {
  width: 22px;
  height: 22px;
}

.qrng-feature-card h3,
.vpn-feature-card h3,
.pqc-feature-card h3,
.browser-feature-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--text-hi);
}

.qrng-feature-card p,
.vpn-feature-card p,
.pqc-feature-card p,
.browser-feature-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-mid);
}

@media (max-width: 980px) {
  .qrng-feature-grid,
  .vpn-feature-grid,
  .pqc-feature-grid,
  .browser-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .qrng-feature-grid,
  .vpn-feature-grid,
  .pqc-feature-grid,
  .browser-feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- OS Key Features — scroll-driven timeline + live mockup ---- */
.os-feature-standalone {
  display: flex;
  justify-content: center;
}

.os-feature-standalone .os-laptop {
  width: min(920px, 96vw);
}

.os-laptop-lid {
  position: relative;
  background: #1F1F1F;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.55);
}

.os-laptop-notch {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2a2a2e;
  z-index: 3;
}

.os-laptop-screen {
  position: relative;
  aspect-ratio: 16/9.6;
  border-radius: 10px;
  overflow: hidden;
  background: radial-gradient(120% 100% at 15% 0%, #F97316 0%, #7c2d12 38%, #1a0f08 72%, #0a0605 100%);
}

.os-laptop-hinge {
  height: 14px;
  background: #1F1F1F;
  border-radius: 0 0 10px 10px;
  margin: 0 -16px;
}

.os-laptop-base {
  width: 62%;
  height: 16px;
  margin: 0 auto;
  background: #1F1F1F;
  border-radius: 0 0 10px 10px;
}

/* white card region with slide-track */
.os-screen-viewport {
  position: absolute;
  inset: 6%;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 20px 44px -18px rgba(0, 0, 0, 0.45);
}

.os-slide-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.os-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  padding: clamp(24px, 4vw, 48px);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.os-slide-text {
  flex: 0 0 55%;
  max-width: 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.os-slide-img {
  flex: 0 0 40%;
  max-width: 40%;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.os-slide .pqc-feature-num {
  color: var(--orange-brand);
  font-size: 13px;
  display: block;
  margin-bottom: 14px;
}

.os-slide h3 {
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  color: #12141c;
  margin-bottom: 12px;
}

.os-slide p {
  font-size: clamp(12.5px, 1.3vw, 15px);
  color: #5b6178;
  line-height: 1.6;
  max-width: 460px;
}

.os-slide-dots {
  position: absolute;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 4;
}

.os-slide-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #F9731655;
  transition: background 0.3s ease, transform 0.3s ease;
}

.os-slide-dots .dot.active {
  background: var(--orange-brand);
  transform: scale(1.3);
}

@media (max-width: 640px) {
  .os-slide {
    padding: 20px;
    flex-direction: column;
    text-align: center;
  }
  .os-slide-img {
    max-width: 60%;
  }
}

/* ---- Why It Matters & Stats ---- */
.qrng-why-grid,
.browser-why-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
}

.qrng-why-copy p,
.browser-why-copy p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 18px;
}

.qrng-why-copy p:last-child,
.browser-why-copy p:last-child {
  margin-bottom: 0;
}

.qrng-stat-list,
.vpn-stat-list,
.browser-stat-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.qrng-stat-item,
.vpn-stat-item,
.browser-stat-item {
  background: var(--ink-950);
  padding: 22px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: background var(--dur-s) var(--ease), transform var(--dur-s) var(--ease);
}

html[data-theme="light"] .qrng-stat-item,
html[data-theme="light"] .vpn-stat-item,
html[data-theme="light"] .browser-stat-item {
  background: var(--ink-800);
}

.qrng-stat-item:hover,
.vpn-stat-item:hover,
.browser-stat-item:hover {
  background: color-mix(in srgb, var(--orange-brand) 4%, var(--ink-950));
  transform: translateX(6px);
}

html[data-theme="light"] .qrng-stat-item:hover,
html[data-theme="light"] .vpn-stat-item:hover,
html[data-theme="light"] .browser-stat-item:hover {
  background: color-mix(in srgb, var(--orange-brand) 4%, var(--ink-800));
}

.qrng-stat-item .qrng-mini-icon,
.vpn-stat-item .vpn-mini-icon,
.browser-stat-item .browser-mini-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-brand);
  transition: border-color var(--dur-s) var(--ease), background var(--dur-s) var(--ease), transform var(--dur-s) var(--ease);
}

.qrng-stat-item:hover .qrng-mini-icon,
.vpn-stat-item:hover .vpn-mini-icon,
.browser-stat-item:hover .browser-mini-icon {
  border-color: var(--orange-brand);
  background: color-mix(in srgb, var(--orange-brand) 10%, transparent);
}

.qrng-stat-item .qrng-mini-icon svg,
.vpn-stat-item .vpn-mini-icon svg,
.browser-stat-item .browser-mini-icon svg {
  width: 17px;
  height: 17px;
}

.qrng-stat-item h4,
.vpn-stat-item h4,
.browser-stat-item h4 {
  font-size: 14.5px;
  color: var(--text-hi);
  margin-bottom: 4px;
  font-weight: 600;
}

.qrng-stat-item p,
.vpn-stat-item p,
.browser-stat-item p {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.55;
}

@media (max-width: 980px) {
  .qrng-why-grid,
  .browser-why-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Applications Grid & Cards ---- */
.qrng-apps-grid,
.vpn-apps-grid,
.browser-apps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.qrng-app-card,
.vpn-app-card,
.browser-app-card {
  background: var(--ink-950);
  padding: 26px 22px;
  transition: background var(--dur-s) var(--ease), transform var(--dur-s) var(--ease), box-shadow var(--dur-s) var(--ease), border-radius var(--dur-s) var(--ease);
}

html[data-theme="light"] .qrng-app-card,
html[data-theme="light"] .vpn-app-card,
html[data-theme="light"] .browser-app-card {
  background: var(--ink-800);
}

.qrng-app-icon,
.vpn-app-icon,
.browser-app-icon {
  color: var(--orange-brand);
  margin-bottom: 16px;
  display: inline-flex;
}

.qrng-app-icon svg,
.vpn-app-icon svg,
.browser-app-icon svg {
  width: 24px;
  height: 24px;
}

.qrng-app-card h4,
.vpn-app-card h4,
.browser-app-card h4 {
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--text-hi);
}

.qrng-app-card p,
.vpn-app-card p,
.browser-app-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-mid);
}

@media (max-width: 980px) {
  .qrng-apps-grid,
  .vpn-apps-grid,
  .browser-apps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .qrng-apps-grid,
  .vpn-apps-grid,
  .browser-apps-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Alternating Phase Timeline ---- */
.vpn-timeline,
.pqc-timeline,
.browser-timeline {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  padding: 8px 0;
}

.vpn-timeline-line,
.pqc-timeline-line,
.browser-timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom,
      transparent,
      var(--hairline) 4%,
      var(--hairline) 96%,
      transparent);
}

.vpn-timeline-line::before,
.pqc-timeline-line::before,
.browser-timeline-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 140px;
  background: linear-gradient(to bottom, transparent, var(--orange-brand) 45%, transparent);
  opacity: 0.55;
  animation: vpnLineFlow 5s linear infinite;
}

.vpn-phase,
.pqc-phase,
.browser-phase {
  position: relative;
  width: calc(50% - 40px);
  margin-bottom: 56px;
}

.vpn-phase:last-child,
.pqc-phase:last-child,
.browser-phase:last-child {
  margin-bottom: 0;
}

.vpn-phase-left,
.pqc-phase-left,
.browser-phase-left {
  margin-right: auto;
}

.vpn-phase-right,
.pqc-phase-right,
.browser-phase-right {
  margin-left: auto;
}

.vpn-timeline-dot,
.pqc-timeline-dot,
.browser-timeline-dot {
  position: absolute;
  top: 38px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--ink-950);
  border: 2px solid var(--orange-brand);
  z-index: 2;
}

.vpn-phase-left .vpn-timeline-dot,
.pqc-phase-left .pqc-timeline-dot,
.browser-phase-left .browser-timeline-dot {
  right: -40px;
  transform: translateX(50%);
}

.vpn-phase-right .vpn-timeline-dot,
.pqc-phase-right .pqc-timeline-dot,
.browser-phase-right .browser-timeline-dot {
  left: -40px;
  transform: translateX(-50%);
}

.vpn-timeline-dot::after,
.pqc-timeline-dot::after,
.browser-timeline-dot::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--orange-brand);
  opacity: 0;
  animation: vpnDotPulse 3.2s var(--ease) infinite;
}

.vpn-phase:nth-child(2) .vpn-timeline-dot::after,
.pqc-phase:nth-child(2) .pqc-timeline-dot::after,
.browser-phase:nth-child(2) .browser-timeline-dot::after {
  animation-delay: .3s;
}

.vpn-phase:nth-child(3) .vpn-timeline-dot::after,
.pqc-phase:nth-child(3) .pqc-timeline-dot::after,
.browser-phase:nth-child(3) .browser-timeline-dot::after {
  animation-delay: .6s;
}

.vpn-phase:nth-child(4) .vpn-timeline-dot::after,
.pqc-phase:nth-child(4) .pqc-timeline-dot::after,
.browser-phase:nth-child(4) .browser-timeline-dot::after {
  animation-delay: .9s;
}

.vpn-phase:nth-child(5) .vpn-timeline-dot::after,
.pqc-phase:nth-child(5) .pqc-timeline-dot::after,
.browser-phase:nth-child(5) .browser-timeline-dot::after {
  animation-delay: 1.2s;
}

.vpn-phase-left .vpn-phase-card::after,
.vpn-phase-right .vpn-phase-card::after,
.pqc-phase-left .pqc-phase-card::after,
.pqc-phase-right .pqc-phase-card::after,
.browser-phase-left .browser-phase-card::after,
.browser-phase-right .browser-phase-card::after {
  content: '';
  position: absolute;
  top: 44px;
  width: 24px;
  height: 1px;
  background: var(--hairline);
}

.vpn-phase-left .vpn-phase-card::after,
.pqc-phase-left .pqc-phase-card::after,
.browser-phase-left .browser-phase-card::after {
  right: -24px;
}

.vpn-phase-right .vpn-phase-card::after,
.pqc-phase-right .pqc-phase-card::after,
.browser-phase-right .browser-phase-card::after {
  left: -24px;
}

.vpn-phase-card,
.pqc-phase-card,
.browser-phase-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  transition: border-color var(--dur-s) var(--ease), box-shadow var(--dur-s) var(--ease), transform var(--dur-s) var(--ease);
}

html[data-theme="light"] .vpn-phase-card,
html[data-theme="light"] .pqc-phase-card,
html[data-theme="light"] .browser-phase-card {
  background: var(--ink-800);
}

.vpn-phase-card:hover,
.pqc-phase-card:hover,
.browser-phase-card:hover {
  border-color: color-mix(in srgb, var(--orange-brand) 35%, var(--hairline));
  box-shadow: 0 16px 40px -20px color-mix(in srgb, var(--orange-brand) 40%, transparent);
  transform: translateY(-4px);
}

.vpn-phase-kicker,
.pqc-phase-kicker,
.browser-phase-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.vpn-phase-tag,
.pqc-phase-tag,
.browser-phase-tag {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange-brand);
  white-space: nowrap;
}

.vpn-phase-rule,
.pqc-phase-rule,
.browser-phase-rule {
  flex: 1;
  height: 1px;
  background: var(--hairline);
}

.vpn-phase-head,
.pqc-phase-head,
.browser-phase-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.vpn-phase-icon,
.pqc-phase-icon,
.browser-phase-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange-brand);
  color: #0B0D12;
}

.vpn-phase-icon svg,
.pqc-phase-icon svg,
.browser-phase-icon svg {
  width: 18px;
  height: 18px;
}

.vpn-phase-head h3,
.pqc-phase-head h3,
.browser-phase-head h3 {
  font-size: 18px;
  color: var(--text-hi);
  margin: 0;
}

.vpn-phase-card > p,
.pqc-phase-card > p,
.browser-phase-card > p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-mid);
  margin-bottom: 18px;
}

.vpn-phase-tags,
.pqc-phase-tags,
.browser-phase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vpn-tag-pill,
.pqc-tag-pill,
.browser-tag-pill {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: .02em;
  color: var(--text-mid);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 5px 11px;
  background: var(--panel-strong);
  transition: border-color var(--dur-s) var(--ease), color var(--dur-s) var(--ease);
}

.vpn-phase-card:hover .vpn-tag-pill,
.pqc-phase-card:hover .pqc-tag-pill,
.browser-phase-card:hover .browser-tag-pill {
  border-color: color-mix(in srgb, var(--orange-brand) 25%, var(--hairline));
  color: var(--text-hi);
}

@media (max-width: 860px) {
  .vpn-timeline-line,
  .pqc-timeline-line,
  .browser-timeline-line {
    left: 20px;
  }

  .vpn-phase,
  .vpn-phase-left,
  .vpn-phase-right,
  .pqc-phase,
  .pqc-phase-left,
  .pqc-phase-right,
  .browser-phase,
  .browser-phase-left,
  .browser-phase-right {
    width: calc(100% - 56px);
    margin-left: 56px !important;
    margin-right: 0 !important;
  }

  .vpn-phase-left .vpn-timeline-dot,
  .vpn-phase-right .vpn-timeline-dot,
  .pqc-phase-left .pqc-timeline-dot,
  .pqc-phase-right .pqc-timeline-dot,
  .browser-phase-left .browser-timeline-dot,
  .browser-phase-right .browser-timeline-dot {
    left: -36px;
    right: auto;
    transform: translateX(-50%);
  }

  .vpn-phase-left .vpn-phase-card::after,
  .vpn-phase-right .vpn-phase-card::after,
  .pqc-phase-left .pqc-phase-card::after,
  .pqc-phase-right .pqc-phase-card::after,
  .browser-phase-left .browser-phase-card::after,
  .browser-phase-right .browser-phase-card::after {
    left: -24px;
    right: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vpn-timeline-line::before,
  .vpn-timeline-dot::after,
  .pqc-timeline-line::before,
  .pqc-timeline-dot::after,
  .browser-timeline-line::before,
  .browser-timeline-dot::after {
    animation: none !important;
  }
}

/* ---------------------------------------------------------------
       QRNG page — supplemental, page-scoped styles only.
       Reuses existing tokens (--orange-brand, --ink-*, --hairline, etc.)
       No new hues, no radii above --radius-lg. Move into style.css
       whenever this page's patterns get reused elsewhere on the site.
    ----------------------------------------------------------------*/

.qrng-how-intro {
  max-width: 760px;
}

.qrng-diagram-card {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 40px;
}

.qrng-diagram-card+.qrng-diagram-card {
  margin-top: 24px;
}

.qrng-diagram-frame {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 20px;
  overflow: hidden;
}

.qrng-diagram-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.qrng-diagram-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.qrng-diagram-caption .cap-label {
  font-size: 13.5px;
  color: var(--text-hi);
  font-weight: 600;
}

.qrng-diagram-caption .cap-note {
  font-size: 12.5px;
  color: var(--text-low);
}

.qrng-diagram-tag {
  display: flex;
  width: fit-content;
  margin: 0 auto 20px auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--orange-brand);
  border: 1px solid rgba(234, 88, 12, 0.3);
  background: rgba(234, 88, 12, 0.08);
  border-radius: var(--radius-sm);
  padding: 6px 16px;
}

.qrng-process-steps {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.process-step-card {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: border-color var(--dur-s) var(--ease), box-shadow var(--dur-s) var(--ease);
}

.process-step-card:hover {
  border-color: rgba(234, 88, 12, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.process-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(234, 88, 12, 0.08);
  color: var(--orange-brand);
  font-weight: 700;
  font-size: 14px;
  border: 1px solid rgba(234, 88, 12, 0.2);
  flex-shrink: 0;
}

.process-step-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.process-step-head h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
  color: var(--text-hi);
}

.process-step-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-mid);
  margin: 0;
}

.process-step-summary {
  max-width: 800px;
  margin: 40px auto 0 auto;
  text-align: center;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text-hi);
  font-weight: 500;
}

@media (max-width: 768px) {
  .qrng-process-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ---- True RNG / Quantum RNG / Cryptographic RNG comparison table ---- */
.qrng-rng-table-wrap {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  background: var(--ink-950);
}

html[data-theme="light"] .qrng-rng-table-wrap {
  background: var(--ink-800);
}

.qrng-rng-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

.qrng-rng-table th,
.qrng-rng-table td {
  padding: 16px 22px;
  text-align: left;
  font-size: 13.8px;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}

.qrng-rng-table thead th {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-low);
  background: var(--ink-900);
  white-space: nowrap;
}

html[data-theme="light"] .qrng-rng-table thead th {
  background: var(--ink-700);
}

.qrng-rng-table tbody th {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-hi);
  white-space: nowrap;
}

.qrng-rng-table tbody td {
  color: var(--text-mid);
  line-height: 1.55;
}

.qrng-rng-table tbody tr:last-child th,
.qrng-rng-table tbody tr:last-child td {
  border-bottom: none;
}

/* Single-accent highlight on the Quantum RNG column only */
.qrng-rng-table td.col-quantum {
  background: rgba(249, 115, 22, 0.07);
  color: var(--text-hi);
  font-weight: 600;
  border-left: 1px solid rgba(249, 115, 22, .3);
  border-right: 1px solid rgba(249, 115, 22, .3);
}

.qrng-rng-table thead th.col-quantum {
  background: var(--orange-brand);
  color: #0B0D12;
  border-left: 1px solid var(--orange-brand);
  border-right: 1px solid var(--orange-brand);
}

.qrng-rng-table thead th.col-quantum .qth-badge {
  display: block;
  margin-top: 3px;
  font-size: 9.5px;
  letter-spacing: .03em;
  text-transform: none;
  opacity: .75;
}

/* Unified applications grid styles moved to shared components block */

/* ---- 3-column RNG comparison, built on the existing .cmp-col component ---- */
.qrng-cmp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.qrng-cmp-col {
  --accent-color: var(--orange-brand);
  animation: none;
  /* no floatOld/floatNew tilt — three columns need to stay level */
  gap: 22px;
  padding: 28px;
}

.qrng-cmp-col .cmp-table {
  border-top: 1px solid var(--hairline);
}

.qrng-cmp-col .cmp-row {
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 14px 0;
}

.qrng-cmp-col .cmp-row .cell-label {
  font-size: 11px;
  letter-spacing: .05em;
  color: var(--text-low);
}

.qrng-cmp-col .cmp-row .cell-val {
  font-size: 14px;
  color: var(--text-hi);
}

/* Featured / Vedic Kavach column */
.qrng-cmp-featured {
  position: relative;
  border-color: color-mix(in srgb, var(--orange-brand) 35%, var(--hairline));
  box-shadow: 0 16px 40px -18px color-mix(in srgb, var(--orange-brand) 45%, transparent);
}

.qrng-cmp-tag {
  position: absolute;
  top: -1px;
  right: 24px;
  transform: translateY(-50%);
  background: var(--orange-brand);
  color: #0B0D12;
  font-size: 10.5px;
  letter-spacing: .04em;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
}

.qrng-cmp-featured .cmp-row .cell-val {
  font-weight: 600;
}

@media (max-width: 980px) {
  .qrng-cmp-grid {
    grid-template-columns: 1fr;
  }

  .qrng-cmp-tag {
    position: static;
    transform: none;
    display: inline-flex;
    margin-bottom: 12px;
  }
}

@media (max-width: 980px) {
  .qrng-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .qrng-apps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .qrng-why-grid {
    grid-template-columns: 1fr;
  }

  .qrng-rng-table th,
  .qrng-rng-table td {
    padding: 14px 16px;
    font-size: 13px;
  }
}

@media (max-width: 620px) {
  .qrng-feature-grid {
    grid-template-columns: 1fr;
  }

  .qrng-apps-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------
   Quantum-Safe VPN page — supplemental, page-scoped styles only.
   Reuses existing tokens (--orange-brand, --ink-*, --hairline, etc.)
   No new hues, no radii above --radius-lg. Mirrors the qrng-* patterns
   established on the QRNG detail page — move into style.css whenever
   these patterns get reused on a third page.
----------------------------------------------------------------*/

/* ---- Section 2: why-it-matters two-column + stat list ---- */
.vpn-why-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
}

.vpn-why-copy p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 18px;
}

.vpn-why-copy p:last-child {
  margin-bottom: 0;
}

/* VPN hero shield — larger than default, orbit ring enabled */
.vpn-shield-wrap img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .vpn-shield-wrap img {
    width: 100%;
    max-width: 300px;
  }
}

.qrng-shield-wrap img {
  width: 65%;
  max-width: 65%;
}

@media (max-width: 900px) {
  .qrng-shield-wrap img {
    width: 300px;
  }
}

.vpn-stat-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.vpn-stat-item {
  background: var(--ink-950);
  padding: 22px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: background var(--dur-s) var(--ease), transform var(--dur-s) var(--ease);
}

html[data-theme="light"] .vpn-stat-item {
  background: var(--ink-800);
}

.vpn-stat-item .vpn-mini-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-brand);
}

.vpn-stat-item .vpn-mini-icon svg {
  width: 17px;
  height: 17px;
}

.vpn-stat-item h4 {
  font-size: 14.5px;
  color: var(--text-hi);
  margin-bottom: 4px;
  font-weight: 600;
}

.vpn-stat-item p {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.55;
}


/* ---- Section 4: key features grid ---- */
/* Unified feature grid and applications grid styles moved to shared components block */

@media (max-width: 980px) {
  .vpn-why-grid {
    grid-template-columns: 1fr;
  }

  .vpn-criteria-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vpn-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vpn-apps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .vpn-criteria-grid {
    grid-template-columns: 1fr;
  }

  .vpn-feature-grid {
    grid-template-columns: 1fr;
  }

  .vpn-apps-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------
   "How Does Vedic Kavach VPN Work?" — alternating phase timeline.
   Reuses existing tokens (--orange-brand, --ink-*, --hairline, etc.)
   and the site's .reveal scroll-in utility. No new hues, no radii
   above --radius-lg.
----------------------------------------------------------------*/

/* Unified alternating phase timeline moved to shared components block */

/* ---------------------------------------------------------------
       PQC Web Server page — supplemental, page-scoped styles only.
       Reuses existing tokens (--orange-brand, --ink-*, --hairline, etc.)
    ----------------------------------------------------------------*/
/* Unified feature grid styles moved to shared components block */
.pqc-feature-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  letter-spacing: .05em;
  color: var(--orange-brand);
  display: block;
  margin-bottom: 14px;
}
/* PQC Web Server page — larger, responsive hero illustration */

.webserver-shield-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.webserver-shield-wrap svg {
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

.webserver-hero-emblem {
  width: calc(920px * var(--emblem-scale));
  height: calc(613px * var(--emblem-scale));
  max-width: 100%;
  margin: 0 auto;
}

@media (max-width: 1100px) {
  .webserver-shield-wrap svg {
    max-width: 800px;
  }

  .webserver-hero-emblem {
    width: calc(700px * var(--emblem-scale));
    height: calc(467px * var(--emblem-scale));
  }
}

@media (max-width: 900px) {
  .webserver-hero-emblem {
    width: calc(620px * var(--emblem-scale));
    max-width: 100%;
    aspect-ratio: 1600 / 960;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .webserver-shield-wrap svg {
    width: calc(480px * var(--emblem-scale));
    height: calc(320px * var(--emblem-scale));
  }
}

@media (max-width: 480px) {
  .webserver-shield-wrap svg {
    max-width: 400px;
  }
}

/* OS page — larger, responsive hero illustration */
.os-shield-wrap svg {
  width: 150%;
  height: 100%;
  margin-right: -100px;
}


.os-detail-visual {
  justify-content: flex-start;
}

.os-hero-emblem {
  width: min(calc(780px * var(--emblem-scale)), 100%);
  max-width: 780px;
  aspect-ratio: 780 / 520;
  margin-left: -70px;
  margin-right: -120px;
}

.os-shield-wrap img {
  width: 100%;
  max-width: 700px;
  height: auto;
  margin-right: -133px;
}

@media (max-width: 1100px) {
  .os-shield-wrap img {
    width: 100%;
    max-width: 460px;

  }
}

@media (max-width: 900px) {
  .os-detail-visual {
    justify-content: center;
  }

  .os-hero-emblem {
    margin-left: 0;
    margin-right: 0;
  }

  .os-shield-wrap img {
    margin: 0 auto;   /* ← new */
  }
}

@media (max-width: 640px) {
  .os-laptop-screen { aspect-ratio: 16/13; }   /* a bit taller, more breathing room */

  .os-slide { padding: 14px; gap: 10px; }
  .os-slide-text { flex: 0 0 58%; max-width: 58%; }
  .os-slide-img  { flex: 0 0 38%; max-width: 38%; }

  .os-slide .pqc-feature-num { font-size: 10px; margin-bottom: 4px; }
  .os-slide h3 { font-size: 13px; margin-bottom: 6px; line-height: 1.25; }
  .os-slide p  { font-size: 10.5px; line-height: 1.45; }
}

@media (max-width: 420px) {
  .os-laptop-screen { aspect-ratio: 16/15; }   /* extra height for very narrow phones */
}

/* ---- How It Works — alternating phase timeline ---- */
/* Unified alternating phase timeline moved to shared components block */

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
  padding-top: 160px;
  padding-bottom: 120px;
}

.contact-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 48px;
  box-shadow: 0 20px 50px -25px rgba(0, 0, 0, 0.5);
  position: relative;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.form-group.full-width {
  margin-top: 16px;
}

.form-group label {
  font-family: 'Sora', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-hi);
  display: flex;
  align-items: center;
  gap: 4px;
}

html[data-theme="light"] .form-group label {
  color: #0B1220;
}

.form-group label .required {
  color: #ef4444;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 16px;
  background: var(--ink-950);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  color: var(--text-hi);
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  box-sizing: border-box;
  transition: border-color var(--dur-s) var(--ease), box-shadow var(--dur-s) var(--ease), background var(--dur-s) var(--ease);
}

html[data-theme="light"] .contact-form input[type="text"],
html[data-theme="light"] .contact-form input[type="email"],
html[data-theme="light"] .contact-form input[type="tel"],
html[data-theme="light"] .contact-form textarea,
html[data-theme="light"] .contact-form select {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0d1527;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--orange-brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--orange-brand) 15%, transparent);
  background: color-mix(in srgb, var(--orange-brand) 2%, var(--ink-950));
}

html[data-theme="light"] .contact-form input:focus,
html[data-theme="light"] .contact-form textarea:focus,
html[data-theme="light"] .contact-form select:focus {
  background: #ffffff;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--orange-brand) 20%, transparent);
}

.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

.form-group .error-msg {
  display: none;
  font-size: 12px;
  color: #ef4444;
  margin-top: 4px;
}

.form-group.has-error .error-msg {
  display: block;
}

.phone-input-wrapper {
  display: flex;
  position: relative;
  width: 100%;
}

.country-code-select {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  background: var(--panel-strong);
  border: 1px solid var(--hairline);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  color: var(--text-hi);
  cursor: pointer;
  user-select: none;
}

html[data-theme="light"] .country-code-select {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0d1527;
}

.country-code-select .flag {
  font-size: 16px;
}

.country-code-select .chevron {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}

.phone-input-wrapper input {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

.select-wrapper {
  position: relative;
  width: 100%;
}

.select-wrapper select {
  appearance: none;
  cursor: pointer;
  padding-right: 40px;
}

.select-chevron {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  pointer-events: none;
  color: var(--text-mid);
}

.form-submit-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
  position: relative;
}

.captcha-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 56px;
  height: 56px;
  background: var(--panel-strong);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: background var(--dur-s) var(--ease), color var(--dur-s) var(--ease);
}

html[data-theme="light"] .captcha-badge {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #64748b;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.captcha-badge:hover {
  background: var(--panel);
  color: var(--orange-brand);
}

.captcha-badge .reload-icon {
  width: 22px;
  height: 22px;
  cursor: pointer;
  transition: transform 0.4s var(--ease);
}

.captcha-badge:hover .reload-icon {
  transform: rotate(180deg);
}

.form-submit-container .btn {
  min-width: 180px;
  height: 50px;
  font-size: 15px;
  font-weight: 600;
}

/* Keyframe used by success message entrance */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-success-message {
  text-align: center;
  padding: 40px 20px;
  animation: fadeIn 0.8s var(--ease) 0.15s forwards;
}

.success-icon-wrapper {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-icon-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: color-mix(in srgb, var(--orange-brand) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--orange-brand) 20%, transparent);
  box-shadow: 0 0 24px 2px color-mix(in srgb, var(--orange-brand) 15%, transparent);
  animation: successPulse 2.4s infinite alternate var(--ease);
}

.success-icon {
  width: 44px;
  height: 44px;
  color: var(--orange-brand);
  z-index: 2;
  filter: drop-shadow(0 2px 8px color-mix(in srgb, var(--orange-brand) 30%, transparent));
}

@keyframes successPulse {
  0% {
    transform: scale(0.96);
    box-shadow: 0 0 16px 1px color-mix(in srgb, var(--orange-brand) 12%, transparent);
  }
  100% {
    transform: scale(1.04);
    box-shadow: 0 0 32px 4px color-mix(in srgb, var(--orange-brand) 25%, transparent);
  }
}

.form-success-message h3 {
  font-family: 'Sora', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 12px;
}

.form-success-message p {
  font-size: 15px;
  color: var(--text-mid);
  max-width: 460px;
  margin: 0 auto 28px;
  line-height: 1.65;
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.success-actions .btn {
  min-width: 170px;
}


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

  .contact-card {
    padding: 36px 24px;
  }

  .form-submit-container {
    flex-direction: column;
    gap: 16px;
  }

  .captcha-badge {
    position: static;
  }
}

/* Common Card Hover Effects (Features & Applications) */
.qrng-feature-card:hover,
.qrng-app-card:hover,
.vpn-feature-card:hover,
.vpn-app-card:hover,
.pqc-feature-card:hover,
.pqc-app-card:hover,
.browser-feature-card:hover,
.browser-app-card:hover {
  background: color-mix(in srgb, var(--orange-brand) 6%, var(--ink-950));
  box-shadow: 0 0 0 1px var(--orange-brand), 0 12px 36px -16px color-mix(in srgb, var(--orange-brand) 40%, transparent);
  transform: translateY(-6px);
  border-radius: var(--radius-md);
  position: relative;
  z-index: 5;
}

html[data-theme="light"] .qrng-feature-card:hover,
html[data-theme="light"] .qrng-app-card:hover,
html[data-theme="light"] .vpn-feature-card:hover,
html[data-theme="light"] .vpn-app-card:hover,
html[data-theme="light"] .pqc-feature-card:hover,
html[data-theme="light"] .pqc-app-card:hover,
html[data-theme="light"] .browser-feature-card:hover,
html[data-theme="light"] .browser-app-card:hover {
  background: color-mix(in srgb, var(--orange-brand) 6%, var(--ink-800));
}

/* Common Stat Item Hover Effect (Translate & Icon Scale) */
.qrng-stat-item:hover,
.vpn-stat-item:hover,
.pqc-stat-item:hover,
.browser-stat-item:hover {
  background: color-mix(in srgb, var(--orange-brand) 4%, var(--ink-950));
  transform: translateX(6px);
}

html[data-theme="light"] .qrng-stat-item:hover,
html[data-theme="light"] .vpn-stat-item:hover,
html[data-theme="light"] .pqc-stat-item:hover,
html[data-theme="light"] .browser-stat-item:hover {
  background: color-mix(in srgb, var(--orange-brand) 4%, var(--ink-800));
}

.qrng-stat-item:hover .qrng-mini-icon,
.vpn-stat-item:hover .vpn-mini-icon,
.pqc-stat-item:hover .pqc-mini-icon,
.browser-stat-item:hover .browser-mini-icon {
  border-color: var(--orange-brand);
  background: color-mix(in srgb, var(--orange-brand) 10%, transparent);
  transform: scale(1.05);
}

.qrng-mini-icon,
.vpn-mini-icon,
.pqc-mini-icon,
.browser-mini-icon {
  transition: border-color var(--dur-s) var(--ease), background var(--dur-s) var(--ease), transform var(--dur-s) var(--ease);
}

/* ===================================================================
   VEDIC BROWSER PAGE — page-scoped styles
   Mirrors the qrng-* / vpn-* prefixed patterns already established
   above (icon-first feature cards, why-grid + stat sidebar,
   phase timeline, N-column comparison row).
   Append this block to css/style.css.
==================================================================== */

/* ---- Key Features grid ---- */
/* Unified browser styles consolidated in shared components block */

/* ---- Comparison: Vedic Browser vs Mainstream Browsers (table) ---- */
.browser-cmp-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--ink-950);
}

html[data-theme="light"] .browser-cmp-table-wrap {
  background: var(--ink-800);
}

.browser-cmp-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
}

.browser-cmp-table th,
.browser-cmp-table td {
  padding: 18px 22px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--hairline);
  transition: background var(--dur-s) var(--ease);
}

.browser-cmp-table thead th {
  background: var(--ink-900);
}

html[data-theme="light"] .browser-cmp-table thead th {
  background: var(--ink-700);
}

.browser-cmp-table .col-label {
  vertical-align: bottom;
}

.browser-cmp-table .cmp-table-title {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-hi);
}

.browser-cmp-table .cmp-table-sub {
  display: block;
  margin-top: 4px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-low);
}

.browser-cmp-table .browser-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.browser-cmp-table .browser-head img {
  width: 32px;
  height: 32px;

  object-fit: contain;
}

.browser-cmp-table .browser-name {
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--orange-brand);
}

.browser-cmp-table .browser-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--text-mid);
}

.browser-cmp-table tbody .row-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--text-hi);
  white-space: nowrap;
  background: var(--panel-strong);
}

.browser-cmp-table tbody td:not(.row-label) {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-mid);
}

.browser-cmp-table .col-featured {
  background: color-mix(in srgb, var(--orange-brand) 6%, transparent);
  color: var(--text-hi);
  font-weight: 500;
}

.browser-cmp-table thead .col-featured {
  border-top: 2px solid var(--orange-brand);
}

.browser-cmp-table tbody tr:last-child td {
  border-bottom: none;
}

/* Column hover — same treatment for every column, including the featured one */
.browser-cmp-table th:hover,
.browser-cmp-table td:hover {
  background: color-mix(in srgb, var(--orange-brand) 14%, transparent) !important;
}

.browser-cmp-table:has(th:nth-child(2):hover) td:nth-child(2),
.browser-cmp-table:has(td:nth-child(2):hover) td:nth-child(2),
.browser-cmp-table:has(td:nth-child(2):hover) th:nth-child(2) { background: color-mix(in srgb, var(--orange-brand) 8%, transparent); }

.browser-cmp-table:has(th:nth-child(3):hover) td:nth-child(3),
.browser-cmp-table:has(td:nth-child(3):hover) td:nth-child(3),
.browser-cmp-table:has(td:nth-child(3):hover) th:nth-child(3) { background: color-mix(in srgb, var(--orange-brand) 8%, transparent); }

.browser-cmp-table:has(th:nth-child(4):hover) td:nth-child(4),
.browser-cmp-table:has(td:nth-child(4):hover) td:nth-child(4),
.browser-cmp-table:has(td:nth-child(4):hover) th:nth-child(4) { background: color-mix(in srgb, var(--orange-brand) 8%, transparent); }

.browser-cmp-table:has(th:nth-child(5):hover) td:nth-child(5),
.browser-cmp-table:has(td:nth-child(5):hover) td:nth-child(5),
.browser-cmp-table:has(td:nth-child(5):hover) th:nth-child(5) { background: color-mix(in srgb, var(--orange-brand) 8%, transparent); }

.browser-cmp-table:has(th:nth-child(6):hover) td:nth-child(6),
.browser-cmp-table:has(td:nth-child(6):hover) td:nth-child(6),
.browser-cmp-table:has(td:nth-child(6):hover) th:nth-child(6) { background: color-mix(in srgb, var(--orange-brand) 10%, transparent); }

@media (max-width: 760px) {
  .browser-cmp-table th,
  .browser-cmp-table td {
    padding: 14px 16px;
    font-size: 13px;
  }
}
/* ---- Sticky row-label column + scroll affordance ---- */
.browser-cmp-table-wrap {
  position: relative;
}

.browser-cmp-table .row-label,
.browser-cmp-table .col-label {
  position: sticky;
  left: 0;
  z-index: 2;
}

.browser-cmp-table thead .col-label {
  background: var(--ink-900);
}

.browser-cmp-table tbody .row-label {
  background: var(--ink-900);
  box-shadow: 1px 0 0 0 var(--hairline);
}

html[data-theme="light"] .browser-cmp-table tbody .row-label {
  background: var(--ink-700);
}

/* fade hint on the right edge to signal more columns on scroll */
.browser-cmp-table-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 28px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--ink-950) 90%);
  opacity: 0;
  transition: opacity var(--dur-s) var(--ease);
}

html[data-theme="light"] .browser-cmp-table-wrap::after {
  background: linear-gradient(90deg, transparent, var(--ink-800) 90%);
}

.browser-cmp-table-wrap.has-overflow::after {
  opacity: 1;
}

/* ---- Responsive breakpoints ---- */
@media (max-width: 1100px) {
  .browser-cmp-table {
    min-width: 820px;
  }

  .browser-cmp-table th,
  .browser-cmp-table td {
    padding: 16px 18px;
  }
}

@media (max-width: 900px) {
  .browser-cmp-table {
    min-width: 720px;
  }

  .browser-cmp-table .browser-head img {
    width: 26px;
    height: 26px;
  }

  .browser-cmp-table .browser-name {
    font-size: 14px;
  }

  .browser-cmp-table .browser-meta,
  .browser-cmp-table .cmp-table-sub {
    display: none; /* drop secondary meta line to save vertical space */
  }
}

@media (max-width: 760px) {
  .browser-cmp-table {
    min-width: 640px;
  }

  .browser-cmp-table th,
  .browser-cmp-table td {
    padding: 13px 14px;
    font-size: 13px;
  }

  .browser-cmp-table tbody .row-label {
    font-size: 11px;
  }

  .status-pill {
    font-size: 11px;
    padding: 3px 8px;
    white-space: nowrap;
  }
}

@media (max-width: 600px) {
  .browser-cmp-table {
    min-width: 560px;
  }

  .browser-cmp-table th,
  .browser-cmp-table td {
    padding: 11px 12px;
    font-size: 12.5px;
  }

  .browser-cmp-table .cmp-table-title {
    font-size: 13px;
  }

  .browser-cmp-table .browser-head img {
    width: 22px;
    height: 22px;
  }

  .browser-cmp-table .browser-name {
    font-size: 13px;
  }
}

  /* Re-enable labels inside the cards on mobile */
  .browser-cmp-grid .cmp-col:not(.cmp-features-label-col) .cell-label {
    display: block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--text-low);
    margin-bottom: 4px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-align: left;
    width: 100%;
  }

  .browser-cmp-grid .cmp-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    text-align: left !important;
    height: auto !important;
    min-height: auto !important;
    padding: 12px 14px !important;
    margin: 0 -14px !important;
  }

  .browser-cmp-grid .cmp-col:not(.cmp-features-label-col) .cell-val {
    text-align: left;
  }

/* ---- Applications grid ---- */
/* Unified browser applications grid consolidated in shared components block */

/* ---- Hero emblem: inline shield glyph (no external logo asset yet) ---- */
.browser-shield-wrap svg {
  width: 100%;
  height: 100%;
  margin-right: -100px;
}

/* ---- Vedic Browser hero illustration: bigger box, matched to the
   browser-window SVG's own aspect ratio (viewBox 0 0 780 520 = 1.5:1)
   instead of the default 480x480 square other pillar pages use, which
   was letterboxing this landscape illustration and capping its size. ---- */

.browser-detail-visual {
  justify-content: flex-start;
}

.browser-hero-emblem {
  width: min(calc(680px * var(--emblem-scale)), 100%);
  max-width: 680px;
  aspect-ratio: 680 / 453;
  margin-left: -70px;
  margin-right: -100px;
}

@media (max-width: 900px) {
  .browser-hero-emblem {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .browser-hero-emblem {
    width: min(calc(420px * var(--emblem-scale)), 100%);
    max-width: 420px;
    aspect-ratio: 420 / 280;
  }
}

.browser-shield-wrap img {
  width: 100%;
  max-width: 100%;
  height: auto;
}
/* ===========================================================================
   ADMIN DASHBOARD (admin.html)
   Internal tool — reuses existing tokens/components (.shell, .btn, --ink-*,
   --orange-brand, --radius-*, 'IBM Plex Mono') rather than introducing a new
   visual language. Not linked from public nav.
   =========================================================================== */

.admin-shell {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 28px 100px;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 40px;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--text-hi);
}

.admin-brand img {
  width: 30px;
  height: 30px;
}

.admin-brand .tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-low);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 2px 8px;
  margin-left: 4px;
}

/* ---- Login screen ---- */

.admin-login-wrap {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 28px;
}

.admin-login-card {
  width: 100%;
  max-width: 380px;
  background: var(--ink-800);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}

.admin-login-card h1 {
  font-size: 20px;
  margin: 0 0 6px;
}

.admin-login-card p {
  color: var(--text-mid);
  font-size: 14px;
  margin: 0 0 24px;
}

.admin-login-card .form-group {
  margin-bottom: 18px;
}

.password-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input-wrap input {
  width: 100%;
  padding-right: 44px;
}

.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--text-low);
}

.password-toggle:hover {
  color: var(--text-hi);
}

.password-toggle svg {
  width: 18px;
  height: 18px;
  display: block;
}

.password-toggle .icon-eye-off {
  display: none;
}

.admin-login-card .error-msg.show {
  display: block;
  color: var(--orange-brand);
  font-size: 12.5px;
  margin-top: 6px;
}

.admin-login-card button:not(.password-toggle) {
  width: 100%;
}

/* ---- Dashboard ---- */

.admin-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.admin-tab {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-mid);
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  cursor: pointer;
  transition: border-color var(--dur-s), color var(--dur-s), background var(--dur-s);
}

.admin-tab:hover {
  color: var(--text-hi);
  border-color: var(--text-low);
}

.admin-tab.active {
  color: var(--orange-brand);
  border-color: color-mix(in srgb, var(--orange-brand) 40%, transparent);
  background: color-mix(in srgb, var(--orange-brand) 12%, transparent);
}

.admin-empty {
  color: var(--text-low);
  font-size: 14px;
  padding: 40px 0;
  text-align: center;
  border: 1px dashed var(--hairline);
  border-radius: var(--radius-lg);
}

.admin-table-wrap {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.admin-row {
  display: grid;
  grid-template-columns: 60px 1.1fr 0.9fr 1fr 1.2fr 90px 120px;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--hairline);
  cursor: pointer;
  transition: background var(--dur-s);
}

.admin-row:last-child { border-bottom: none; }
.admin-row:hover { background: var(--panel); }
.admin-row.open {
  background: color-mix(in srgb, var(--orange-brand) 5%, var(--panel));
  border-left: 3px solid var(--orange-brand);
}
.admin-row .col-msg-preview {
  font-size: 13px;
  color: var(--text-low);
  font-style: italic;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-row.head {
  cursor: default;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-low);
  background: var(--ink-900);
}
.admin-row.head:hover { background: var(--ink-900); }

.admin-row .col-name { color: var(--text-hi); font-weight: 600; font-size: 14px; }
.admin-row .col-sub { color: var(--text-mid); font-size: 13px; }
.admin-row .col-date { color: var(--text-low); font-family: 'IBM Plex Mono', monospace; font-size: 12px; }

.admin-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  width: fit-content;
}

.admin-status-pill.new {
  color: var(--orange-brand);
  background: color-mix(in srgb, var(--orange-brand) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--orange-brand) 30%, transparent);
}
.admin-status-pill.read {
  color: var(--text-mid);
  background: var(--panel-strong);
  border: 1px solid var(--hairline);
}
.admin-status-pill.responded {
  color: #34D399;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.admin-detail {
  border-top: 1px dashed var(--hairline);
  padding: 20px 18px 24px;
  background: var(--ink-900);
}

.admin-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
  font-size: 13.5px;
}

.admin-detail-grid div span {
  display: block;
  color: var(--text-low);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 4px;
}

.admin-detail-message {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 14px;
  color: var(--text-hi);
  white-space: pre-wrap;
  margin-bottom: 18px;
}

.admin-detail textarea {
  width: 100%;
  min-height: 80px;
  resize: vertical;
  margin-bottom: 12px;
}

.admin-detail-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-detail-actions .btn {
  padding: 9px 16px;
  font-size: 13px;
}

@media (max-width: 820px) {
  .admin-row { grid-template-columns: 1fr 1fr; row-gap: 6px; }
  .admin-row .col-designation, .admin-row .col-date { display: none; }
  .admin-detail-grid { grid-template-columns: 1fr; }
}

.brand.brand-stacked .brand-text .name {
  font-size: 22px;
  font-weight: 700;
}

.footer-brand-bisag-logo {
  height: 75px;
  align-items: center;
}

.footer-brand p {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text-hi);
  max-width: 280px;
}

.footer-col h6 {
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-hi);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.footer-col h6::before {
  content: '';
  width: 3px;
  height: 14px;
  background: var(--orange-brand);
  display: inline-block;
  flex-shrink: 0;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 14.5px;
  color: var(--text-mid);
  transition: color var(--dur-s) var(--ease), padding-left var(--dur-s) var(--ease);
  display: inline-block;
}

.footer-col a:hover {
  color: var(--orange-brand);
  padding-left: 4px;
}

.co-brand-wrap {
  margin-top: 22px;
  display: inline-block;
  width: 100%;
}

.footer-address {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  max-width: 300px;
  text-decoration: none;
  transition: transform var(--dur-s) var(--ease);
}

.footer-address:hover {
  transform: translateX(3px);
}

.footer-address-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--orange-brand) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--orange-brand) 30%, var(--hairline));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-brand);
  flex-shrink: 0;
  transition: background var(--dur-s) var(--ease), transform var(--dur-s) var(--ease);
}

.footer-address-icon svg {
  width: 16px;
  height: 16px;
}

.footer-address:hover .footer-address-icon {
  background: var(--orange-brand);
  color: #0B0D12;
  transform: scale(1.06);
}

.footer-address-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-address-title {
  font-family: 'Sora', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-hi);
  letter-spacing: -0.01em;
  transition: color var(--dur-s) var(--ease);
}

.footer-address:hover .footer-address-title {
  color: var(--orange-brand);
}

.footer-address-line {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-low);
}

.bisag-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
  transition: transform var(--dur-s) var(--ease);
}

html[data-theme="light"] .bisag-link {
  background: transparent;
}

.bisag-link:hover {
  transform: translateX(3px);
  border: none;
  box-shadow: none;
  background: transparent;
}

html[data-theme="light"] .bisag-link:hover {
  background: transparent;
}

.bisag-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
  transition: transform var(--dur-m) var(--ease), filter var(--dur-m) var(--ease);
}

.bisag-link:hover .bisag-logo {
  transform: scale(1.05);
  filter: drop-shadow(0 0 12px color-mix(in srgb, var(--orange-brand) 40%, transparent));
}

.bisag-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.bisag-title {
  font-family: 'Sora', sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-hi);
  letter-spacing: -0.01em;
  transition: color var(--dur-s) var(--ease);
}

.bisag-dept {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  color: var(--text-low);
  font-weight: 500;
  margin-top: 3px;
  line-height: 1.35;
  transition: color var(--dur-s) var(--ease);
}

.bisag-link:hover .bisag-title {
  color: var(--orange-brand);
}

.bisag-link:hover .bisag-dept {
  color: var(--text-mid);
}


.nav-dd {
  position: relative;
}

.nav-dd-panel {
  position: absolute;
  top: 34px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 340px;
  background: color-mix(in srgb, var(--ink-900) 96%, transparent);
  border: 1px solid var(--hairline);
  border-radius: 0;
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .5);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  z-index: 200;
}

.nav-dd-panel::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
  background: transparent;
}

.nav-dd:hover .nav-dd-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 0;
  font-size: 13px;
  color: var(--text-mid) !important;
  transition: background .2s, color .2s;
}

.nav-dd-item::after {
  content: none !important;
}

.nav-dd-item:hover {
  background: var(--panel-strong);
  color: var(--text-hi) !important;
}

.nav-dd-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.nav-dd-icon svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 26px;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-bottom p {
  font-size: 12.5px;
  color: var(--text-low);
}

@media (max-width:820px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================