.os66-hero {
  position: relative;
  min-height: calc(100vh - 82px);
  padding: 72px 20px;
  overflow: hidden;
}

.os66-shell {
  position: relative;
  z-index: 3;
  width: min(1260px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 72px;
  align-items: center;
}

.os66-pill {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(103,232,249,.42);
  background: rgba(0,234,255,.08);
  color: #67e8f9;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .16em;
}

.os66-pill span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2fffd2;
  box-shadow: 0 0 18px rgba(47,255,210,1);
}

.os66-title {
  margin: 24px 0;
  max-width: 760px;
  font-size: clamp(64px, 7.6vw, 116px);
  line-height: .86;
  letter-spacing: -.08em;
  font-weight: 950;
  color: #f8fbff;
}

.os66-title em {
  display: block;
  font-style: normal;
  background: linear-gradient(90deg,#67e8f9,#60a5fa,#a78bfa);
  -webkit-background-clip: text;
  color: transparent;
}

.os66-lead {
  max-width: 650px;
  color: rgba(226,241,255,.78);
  font-size: 20px;
  line-height: 1.65;
  margin-bottom: 30px;
}

.os66-actions {
  display: flex;
  gap: 14px;
}

.os66-btn {
  min-height: 56px;
  padding: 0 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 950;
}

.os66-btn-primary {
  color: #020617;
  background: linear-gradient(135deg,#67e8f9,#8b5cf6);
}

.os66-btn-secondary {
  color: white;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.055);
}

.os66-panel {
  position: relative;
  min-height: 640px;
  border-radius: 44px;
  border: 1px solid rgba(255,255,255,.14);
  background: radial-gradient(circle at 50% 42%,rgba(103,232,249,.22),transparent 34%), linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.025));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 45px 140px rgba(0,0,0,.48);
  overflow: hidden;
  backdrop-filter: blur(24px);
}

.os66-ring {
  position: absolute;
  left: 50%;
  top: 42%;
  border-radius: 50%;
  border: 1px solid rgba(103,232,249,.24);
  transform: translate(-50%,-50%);
}

.os66-ring::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #67e8f9;
  box-shadow: 0 0 24px rgba(103,232,249,1);
}

.os66-ring-a { width: 280px; height: 280px; animation: os66Spin 20s linear infinite; }
.os66-ring-b { width: 420px; height: 420px; animation: os66SpinReverse 34s linear infinite; }
.os66-ring-c { width: 540px; height: 540px; animation: os66Spin 56s linear infinite; }

.os66-core {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 230px;
  height: 230px;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  text-align: center;
  background: radial-gradient(circle at 34% 24%,#fff 0%,#a8f3ff 10%,transparent 22%), linear-gradient(135deg,#5ee7ff,#8b5cf6 78%);
  box-shadow: inset -28px -34px 55px rgba(12,18,60,.42), 0 0 90px rgba(103,232,249,.55), 0 0 160px rgba(139,92,246,.3);
  animation: os66Float 6s ease-in-out infinite;
}

.os66-core span,
.os66-core strong,
.os66-core small {
  position: absolute;
  left: 0;
  right: 0;
  font-weight: 950;
  letter-spacing: .14em;
}

.os66-core span { top: 58px; font-size: 13px; color: white; }
.os66-core strong { top: 96px; font-size: 34px; color: #06111f; }
.os66-core small { bottom: 54px; font-size: 12px; color: white; }

.os66-node {
  position: absolute;
  min-width: 132px;
  padding: 12px 15px;
  border-radius: 999px;
  background: rgba(2,6,23,.86);
  border: 1px solid rgba(255,255,255,.13);
  color: white;
  font-size: 13px;
  font-weight: 950;
  text-align: center;
}

.os66-node b { color: #67e8f9; margin-right: 5px; }
.os66-node small { display: block; margin-top: 4px; font-size: 9px; color: rgba(226,241,255,.62); text-transform: uppercase; letter-spacing: .12em; }

.os66-node.is-active {
  transform: translateY(-8px) scale(1.08);
  border-color: rgba(103,232,249,.85);
  box-shadow: 0 0 32px rgba(103,232,249,.5);
}

.os66-node-1 { left: 52px; top: 132px; }
.os66-node-2 { right: 52px; top: 132px; }
.os66-node-3 { left: 42px; top: 302px; }
.os66-node-4 { right: 42px; top: 302px; }

.os66-console {
  position: absolute;
  left: 44px;
  right: 44px;
  bottom: 34px;
  padding: 24px;
  border-radius: 28px;
  background: rgba(2,6,23,.84);
  border: 1px solid rgba(255,255,255,.12);
}

.os66-dots { display: flex; gap: 8px; margin-bottom: 14px; }
.os66-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(148,163,184,.75); }
.os66-console h3 { font-size: 24px; margin: 0 0 12px; }
.os66-log p { margin: 0; display: flex; gap: 10px; align-items: center; color: rgba(230,241,255,.76); font-size: 14px; line-height: 1.8; }
.os66-log span { width: 7px; height: 7px; border-radius: 50%; background: #2fffd2; box-shadow: 0 0 14px rgba(47,255,210,.9); }

@keyframes os66Spin { to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes os66SpinReverse { to { transform: translate(-50%,-50%) rotate(-360deg); } }
@keyframes os66Float { 0%,100% { transform: translate(-50%,-50%) translateY(0); } 50% { transform: translate(-50%,-50%) translateY(-14px); } }

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

/* ORION OS 6.7 — AUTONOMOUS SYSTEM SIMULATION */

.os66-core {
  animation: os66Float 6s ease-in-out infinite, os67CoreGlow 4.8s ease-in-out infinite;
}

.os66-core::before {
  content: "";
  position: absolute;
  inset: -34px;
  border-radius: 50%;
  border: 1px solid rgba(103,232,249,.28);
  animation: os67Pulse 3.4s ease-out infinite;
}

.os66-core::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, rgba(255,255,255,.38), transparent, rgba(103,232,249,.28), transparent);
  animation: os67CoreScan 7s linear infinite;
  mix-blend-mode: screen;
}

.os66-ring {
  opacity: .9;
  box-shadow: 0 0 28px rgba(103,232,249,.08);
}

.os66-node {
  transition: all .45s ease;
}

.os66-node.is-active {
  border-color: rgba(103,232,249,.9);
  background: rgba(3,15,30,.94);
  box-shadow: 0 0 34px rgba(103,232,249,.55);
}

.os66-node.is-complete {
  border-color: rgba(47,255,210,.42);
  opacity: .8;
}

.os66-console {
  box-shadow: 0 0 70px rgba(103,232,249,.08);
}

.os67-cursor::after {
  content: "▌";
  margin-left: 4px;
  color: #67e8f9;
  animation: os67Blink 1s steps(2,end) infinite;
}

@keyframes os67CoreGlow {
  0%,100% { filter: brightness(1); }
  50% { filter: brightness(1.18); }
}

@keyframes os67Pulse {
  0% { opacity: .72; transform: scale(.86); }
  100% { opacity: 0; transform: scale(1.34); }
}

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

@keyframes os67Blink {
  50% { opacity: 0; }
}

/* ORION OS 6.8 — DATAFLOW / TERMINAL / CORE REACTION */

.os66-pill {
  box-shadow: 0 0 34px rgba(103,232,249,.16);
}

.os66-core {
  animation:
    os66Float 6s ease-in-out infinite,
    os68CoreEnergy 5.2s ease-in-out infinite;
}

.os66-core.is-surge {
  box-shadow:
    inset -28px -34px 55px rgba(12,18,60,.42),
    0 0 130px rgba(103,232,249,.85),
    0 0 230px rgba(139,92,246,.42);
}

.os68-packet {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #67e8f9;
  box-shadow: 0 0 22px rgba(103,232,249,1);
  z-index: 5;
  left: 50%;
  top: 42%;
  opacity: 0;
}

.os68-packet.is-live {
  animation: os68PacketTravel 2.2s ease-in-out forwards;
}

.os66-log {
  font-family: "Courier New", monospace;
}

.os66-log p {
  color: rgba(202,240,255,.82);
}

.os66-log p::before {
  content: ">";
  color: #67e8f9;
  margin-right: 8px;
}

.os68-ok {
  color: #2fffd2;
}

.os66-node.is-active {
  transform: translateY(-10px) scale(1.1);
}

@keyframes os68CoreEnergy {
  0%,100% { filter: brightness(1) saturate(1); }
  50% { filter: brightness(1.18) saturate(1.18); }
}

@keyframes os68PacketTravel {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.4);
  }
  15% {
    opacity: 1;
  }
  50% {
    transform: translate(var(--packet-x, 120px), var(--packet-y, -80px)) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.35);
  }
}

/* ORION OS 6.9 — CORE + DATA PACKET POLISH */

.os66-core.is-surge {
  transform: translate(-50%, -50%) scale(1.04);
}

.os68-packet {
  width: 12px;
  height: 12px;
  background: #7df9ff;
  box-shadow:
    0 0 18px rgba(103,232,249,1),
    0 0 42px rgba(103,232,249,.65);
}

.os68-packet::after {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(103,232,249,.35), transparent 62%);
}

.os66-node.is-active {
  background: linear-gradient(180deg, rgba(7,27,48,.98), rgba(2,6,23,.9));
}

.os66-node.is-active::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 999px;
  border: 1px solid rgba(103,232,249,.35);
  opacity: .8;
  animation: os69NodePulse 1.8s ease-out infinite;
}

.os66-console {
  background:
    linear-gradient(180deg, rgba(2,6,23,.9), rgba(2,6,23,.78)),
    radial-gradient(circle at 20% 0%, rgba(103,232,249,.12), transparent 35%);
}

@keyframes os69NodePulse {
  0% { transform: scale(.92); opacity: .75; }
  100% { transform: scale(1.18); opacity: 0; }
}
/* =========================================================
   ORION HERO SAFE CONSOLE — FINAL ISOLATED VERSION 6.9.9
   Uses new class names so old os65Console code cannot affect it
   ========================================================= */

.orion-hero-console-safe {
  position: absolute !important;
  left: 50% !important;
  bottom: 34px !important;
  transform: translateX(-50%) !important;
  width: min(360px, 74%) !important;
  min-height: 128px !important;
  padding: 18px 20px 16px !important;
  border-radius: 22px !important;
  background:
    linear-gradient(180deg, rgba(4, 10, 28, 0.88), rgba(2, 6, 18, 0.94)) !important;
  border: 1px solid rgba(112, 202, 255, 0.18) !important;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.42),
    inset 0 0 30px rgba(0, 234, 255, 0.045) !important;
  z-index: 8 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
}

.orion-hero-console-dots {
  display: flex !important;
  gap: 7px !important;
  margin-bottom: 12px !important;
}

.orion-hero-console-dots i {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: rgba(210, 230, 255, 0.42) !important;
}

.orion-hero-console-safe h3 {
  margin: 0 0 13px !important;
  color: #ffffff !important;
  font-size: 22px !important;
  line-height: 1 !important;
  letter-spacing: -0.03em !important;
}

.orion-hero-console-lines {
  display: grid !important;
  gap: 6px !important;
}

.orion-hero-console-row {
  display: grid !important;
  grid-template-columns: 14px 82px minmax(0, 1fr) !important;
  gap: 8px !important;
  align-items: center !important;
  min-height: 14px !important;
}

.orion-hero-console-row span {
  color: rgba(72, 244, 255, 0.8) !important;
  font-size: 10px !important;
  line-height: 1 !important;
}

.orion-hero-console-row strong {
  color: rgba(72, 244, 255, 0.82) !important;
  font-size: 8px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  white-space: nowrap !important;
}

.orion-hero-console-row em {
  color: rgba(232, 247, 255, 0.78) !important;
  font-size: 8.5px !important;
  line-height: 1 !important;
  font-style: normal !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.orion-hero-console-row b {
  display: inline-block !important;
  width: 6px !important;
  height: 13px !important;
  background: #32ff98 !important;
  box-shadow: 0 0 10px rgba(50, 255, 152, 0.85) !important;
  animation: orionHeroConsoleCursor 0.85s steps(2, start) infinite !important;
}

/* simple green cycling */
.orion-hero-console-row.row-1 span,
.orion-hero-console-row.row-1 strong {
  animation: orionHeroConsoleGreen 5.6s linear infinite !important;
}

.orion-hero-console-row.row-2 span,
.orion-hero-console-row.row-2 strong {
  animation: orionHeroConsoleGreen 5.6s linear infinite 1.4s !important;
}

.orion-hero-console-row.row-3 span,
.orion-hero-console-row.row-3 strong {
  animation: orionHeroConsoleGreen 5.6s linear infinite 2.8s !important;
}

.orion-hero-console-row.row-4 span,
.orion-hero-console-row.row-4 strong {
  animation: orionHeroConsoleGreen 5.6s linear infinite 4.2s !important;
}

@keyframes orionHeroConsoleGreen {
  0%, 22% {
    color: #32ff98;
    text-shadow:
      0 0 8px rgba(50, 255, 152, 0.78),
      0 0 16px rgba(50, 255, 152, 0.24);
  }

  23%, 100% {
    color: rgba(72, 244, 255, 0.82);
    text-shadow: none;
  }
}

@keyframes orionHeroConsoleCursor {
  0%, 45% {
    opacity: 1;
  }

  46%, 100% {
    opacity: 0;
  }
}
/* =========================================================
   ORION HERO SAFE CONSOLE — ACTIVE ROW GLOW 6.9.10
   ========================================================= */

.orion-hero-console-row.orion-console-row-active span,
.orion-hero-console-row.orion-console-row-active strong {
  color: #32ff98 !important;
  text-shadow:
    0 0 8px rgba(50, 255, 152, 0.85),
    0 0 16px rgba(50, 255, 152, 0.28) !important;
}

.orion-hero-console-row.orion-console-row-active em {
  color: #ffffff !important;
}
/* =========================================================
   ORION MOBILE HERO FIX — 9.2.4
   Keeps the top hero usable on mobile
   ========================================================= */

@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .os66-hero {
    padding-top: 42px !important;
    padding-bottom: 64px !important;
    overflow: hidden !important;
  }

  .os66-shell {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 22px !important;
    padding-right: 22px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 34px !important;
  }

  .os66-copy {
    max-width: 100% !important;
  }

  .os66-copy h1 {
    font-size: clamp(48px, 16vw, 76px) !important;
    line-height: 0.92 !important;
    letter-spacing: -0.07em !important;
    max-width: 100% !important;
    overflow-wrap: normal !important;
  }

  .os66-copy p {
    max-width: 100% !important;
    font-size: 17px !important;
    line-height: 1.55 !important;
  }

  .os66-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .os66-actions .button {
    width: 100% !important;
    justify-content: center !important;
  }

  .os66-panel {
    width: 100% !important;
    max-width: 390px !important;
    height: 520px !important;
    margin: 0 auto !important;
    transform: none !important;
    overflow: hidden !important;
  }

  .os66-core {
    width: 190px !important;
    height: 190px !important;
  }

  .os66-node {
    transform: scale(0.88) !important;
  }

  .orion-hero-console-safe {
    width: 86% !important;
    left: 50% !important;
    bottom: 28px !important;
    transform: translateX(-50%) !important;
  }
}
/* =========================================================
   ORION MOBILE HERO FINAL FIX — 9.2.5
   Desktop untouched. Mobile only.
   ========================================================= */

@media (max-width: 760px) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .os66-hero,
  section.os66-hero {
    padding: 34px 0 56px !important;
    overflow: hidden !important;
  }

  .os66-shell {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 34px !important;
  }

  .os66-copy {
    width: 100% !important;
    max-width: 100% !important;
  }

  .os66-copy h1,
  .os66-hero h1 {
    font-size: clamp(44px, 12vw, 54px) !important;
    line-height: 0.96 !important;
    letter-spacing: -0.055em !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .os66-copy p {
    max-width: 100% !important;
    font-size: 17px !important;
    line-height: 1.5 !important;
  }

  .os66-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .os66-actions .button {
    width: 100% !important;
    min-height: 58px !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 16px !important;
  }

  .os66-panel {
    width: 100% !important;
    max-width: 390px !important;
    height: 520px !important;
    margin: 0 auto !important;
    overflow: hidden !important;
    transform: none !important;
  }

  .os66-core {
    width: 185px !important;
    height: 185px !important;
    left: 50% !important;
    top: 166px !important;
    transform: translateX(-50%) !important;
  }

  .os66-node {
    width: 142px !important;
    height: 54px !important;
    padding: 10px 14px !important;
    border-radius: 999px !important;
    transform: none !important;
  }

  .os66-node b {
    font-size: 15px !important;
  }

  .os66-node small {
    font-size: 9px !important;
    letter-spacing: 0.1em !important;
  }

  .os66-node-1 {
    left: 18px !important;
    top: 66px !important;
  }

  .os66-node-2 {
    right: 18px !important;
    top: 66px !important;
  }

  .os66-node-3 {
    left: 18px !important;
    top: 222px !important;
  }

  .os66-node-4 {
    right: 18px !important;
    top: 222px !important;
  }

  .orion-hero-console-safe {
    width: 86% !important;
    left: 50% !important;
    bottom: 24px !important;
    transform: translateX(-50%) !important;
    padding: 16px 18px !important;
  }

  .orion-hero-console-safe h3 {
    font-size: 21px !important;
  }

  .orion-hero-console-row {
    grid-template-columns: 14px 82px minmax(0, 1fr) !important;
  }

  .orion-hero-console-row strong {
    font-size: 8px !important;
  }

  .orion-hero-console-row em {
    font-size: 8.5px !important;
  }
}
/* =========================================================
   ORION MOBILE HERO SAFE MODE — 9.2.6
   Hide complex top hero graphic on mobile. Desktop untouched.
   ========================================================= */

@media (max-width: 760px) {
  .os66-hero {
    padding: 42px 0 58px !important;
    overflow: hidden !important;
  }

  .os66-shell {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 22px !important;
    padding-right: 22px !important;
    display: block !important;
  }

  .os66-copy {
    width: 100% !important;
    max-width: 100% !important;
  }

  .os66-copy h1,
  .os66-hero h1 {
    font-size: clamp(44px, 13vw, 58px) !important;
    line-height: 0.96 !important;
    letter-spacing: -0.055em !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .os66-copy p {
    max-width: 100% !important;
    font-size: 17px !important;
    line-height: 1.5 !important;
  }

  .os66-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
    margin-top: 26px !important;
  }

  .os66-actions .button {
    width: 100% !important;
    min-height: 56px !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 16px !important;
  }

  /* Hide the small top demo panel on mobile.
     The full Orion OS V9 section below is the flagship visual. */
  .os66-panel {
    display: none !important;
  }
}