/* ORION OS 6.5 — CLEAN HERO ENGINE */

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

#os65Universe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

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

.os65-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;
}

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

.os65-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;
}

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

.os65-lead {
  max-width: 650px;
  color: rgba(226,241,255,.78);
  font-size: clamp(18px, 1.35vw, 21px);
  line-height: 1.65;
  margin-bottom: 30px;
}

.os65-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

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

.os65-btn-primary {
  color: #020617;
  background: linear-gradient(135deg, #67e8f9, #8b5cf6);
  box-shadow: 0 0 42px rgba(103,232,249,.3);
}

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

.os65-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.os65-chips span {
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.055);
  color: rgba(230,241,255,.72);
  font-size: 13px;
  font-weight: 850;
}

.os65-command {
  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,.2), 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);
}

.os65-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(103,232,249,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103,232,249,.055) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .24;
}

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

.os65-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);
}

.os65-ring-1 { width: 280px; height: 280px; animation: os65Rotate 24s linear infinite; }
.os65-ring-2 { width: 420px; height: 420px; animation: os65RotateReverse 38s linear infinite; }
.os65-ring-3 { width: 540px; height: 540px; animation: os65Rotate 62s linear infinite; }

.os65-core {
  position: absolute;
  left: 50%;
  top: 43%;
  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 85px rgba(0,234,255,.46);
  animation: os65CoreFloat 6s ease-in-out infinite;
}

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

.os65-core span { top: 56px; font-size: 13px; color: white; }
.os65-core strong { top: 94px; font-size: 32px; color: #06111f; }
.os65-core small { bottom: 54px; font-size: 12px; color: white; }

.os65-core-pulse {
  position: absolute;
  inset: -24px;
  border-radius: 50%;
  border: 1px solid rgba(103,232,249,.28);
  animation: os65CorePulse 3.8s ease-out infinite;
}

.os65-node {
  position: absolute;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(2,6,23,.82);
  border: 1px solid rgba(255,255,255,.13);
  color: white;
  font-size: 14px;
  font-weight: 950;
}

.os65-node b {
  color: #67e8f9;
  margin-right: 6px;
}

.os65-node-1 { left: 52px; top: 128px; }
.os65-node-2 { right: 52px; top: 128px; }
.os65-node-3 { left: 42px; top: 292px; }
.os65-node-4 { right: 42px; top: 292px; }
.os65-node-5 { left: 96px; bottom: 166px; }
.os65-node-6 { right: 96px; bottom: 166px; }

.os65-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);
  backdrop-filter: blur(24px);
}

.os65-dots {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.os65-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(148,163,184,.75);
}

.os65-console h3 {
  font-size: 24px;
  margin: 0 0 12px;
}

.os65-log p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(230,241,255,.76);
  font-size: 14px;
  line-height: 1.8;
}

.os65-log p span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2fffd2;
  box-shadow: 0 0 14px rgba(47,255,210,.9);
}

@keyframes os65Rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes os65RotateReverse {
  from { transform: translate(-50%, -50%) rotate(360deg); }
  to { transform: translate(-50%, -50%) rotate(0deg); }
}

@keyframes os65CoreFloat {
  0%,100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-14px); }
}

@keyframes os65CorePulse {
  0% { opacity: .55; transform: scale(.9); }
  100% { opacity: 0; transform: scale(1.22); }
}

@media (max-width: 980px) {
  .os65-shell {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}
/* ORION OS 6.5.3 — DYNAMIC WORKFLOW ANIMATION */

.os65-node {
  transition: transform .45s ease, box-shadow .45s ease, border-color .45s ease, background .45s ease, opacity .45s ease;
}

.os65-node.is-active {
  transform: translateY(-8px) scale(1.06);
  border-color: rgba(103,232,249,.75);
  background: rgba(6, 20, 38, .96);
  box-shadow:
    0 0 26px rgba(103,232,249,.45),
    0 18px 44px rgba(0,0,0,.42);
}

.os65-node.is-complete {
  border-color: rgba(47,255,210,.45);
}

.os65-node small {
  display: block;
  margin-top: 3px;
  color: rgba(226,241,255,.58);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.os65-node.is-active small {
  color: #67e8f9;
}

.os65-core.is-thinking {
  box-shadow:
    inset -28px -34px 55px rgba(12,18,60,.42),
    0 0 110px rgba(0,234,255,.7),
    0 0 180px rgba(139,92,246,.28);
}

.os65-command::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--pulse-x, 50%) var(--pulse-y, 43%), rgba(103,232,249,.22), transparent 18%);
  opacity: 0;
  animation: os65WorkflowPulse 2.4s ease-out infinite;
}

@keyframes os65WorkflowPulse {
  0% { opacity: .85; transform: scale(.9); }
  100% { opacity: 0; transform: scale(1.18); }
}

/* ORION OS 6.5.4 — WORKFLOW NODE READABILITY FIX */

.os65-node {
  min-width: 138px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

.os65-node small {
  display: inline-flex;
  margin-left: 4px;
  padding-left: 7px;
  border-left: 1px solid rgba(103,232,249,.22);
  color: rgba(226,241,255,.62);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.os65-node.is-active small {
  color: #67e8f9;
}

.os65-node.is-complete small {
  color: #2fffd2;
}

.os65-node.is-active {
  transform: translateY(-8px) scale(1.08);
}

.os65-node.is-complete {
  opacity: .78;
}

/* ORION OS 6.5.5 — LIVING CORE ENGINE */

.os65-core {
  overflow: visible;
}

.os65-core::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background:
    conic-gradient(from 0deg, transparent, rgba(103,232,249,.55), transparent, rgba(139,92,246,.45), transparent);
  opacity: .55;
  animation: os65CoreSpin 9s linear infinite;
  filter: blur(2px);
}

.os65-core::after {
  content: "";
  position: absolute;
  inset: -42px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(103,232,249,.22), transparent 62%);
  animation: os65CoreBreath 4.8s ease-in-out infinite;
}

.os65-core span,
.os65-core strong,
.os65-core small {
  z-index: 6;
}

.os65-core-aura {
  position: absolute;
  inset: -72px;
  border-radius: 50%;
  border: 1px solid rgba(103,232,249,.16);
  box-shadow:
    0 0 60px rgba(103,232,249,.18),
    inset 0 0 42px rgba(139,92,246,.12);
  animation: os65AuraPulse 6s ease-in-out infinite;
}

.os65-core-orbital {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 1px dashed rgba(103,232,249,.18);
  transform: translate(-50%, -50%);
}

.os65-core-orbital-a {
  width: 310px;
  height: 310px;
  animation: os65CoreOrbit 18s linear infinite;
}

.os65-core-orbital-b {
  width: 380px;
  height: 380px;
  animation: os65CoreOrbitReverse 29s linear infinite;
}

.os65-core-orbital-c {
  width: 455px;
  height: 455px;
  animation: os65CoreOrbit 44s linear infinite;
}

.os65-energy-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #67e8f9;
  box-shadow: 0 0 22px rgba(103,232,249,1);
}

.os65-core-orbital-a .os65-energy-dot { left: 50%; top: -5px; }
.os65-core-orbital-b .os65-energy-dot { right: 18%; bottom: 4%; }
.os65-core-orbital-c .os65-energy-dot { left: 12%; top: 18%; }

.os65-core-scan {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.36), transparent 58%);
  opacity: .22;
  mix-blend-mode: screen;
  animation: os65CoreScan 5.8s ease-in-out infinite;
}

.os65-core.is-thinking,
.os65-core.is-core-surge {
  box-shadow:
    inset -28px -34px 55px rgba(12,18,60,.42),
    0 0 130px rgba(0,234,255,.82),
    0 0 220px rgba(139,92,246,.34);
}

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

@keyframes os65CoreBreath {
  0%,100% { opacity: .35; transform: scale(.92); }
  50% { opacity: .85; transform: scale(1.08); }
}

@keyframes os65AuraPulse {
  0%,100% { opacity: .42; transform: scale(.96); }
  50% { opacity: .9; transform: scale(1.04); }
}

@keyframes os65CoreOrbit {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes os65CoreOrbitReverse {
  from { transform: translate(-50%, -50%) rotate(360deg); }
  to { transform: translate(-50%, -50%) rotate(0deg); }
}

@keyframes os65CoreScan {
  0%,100% { transform: rotate(0deg); opacity: .12; }
  50% { transform: rotate(180deg); opacity: .34; }
}

/* ORION OS 6.6 — LIVE ORION CORE REACTOR */

.os65-ring,
.os65-core,
.os65-node {
  display: none !important;
}

.os66-reactor {
  position: absolute;
  inset: 34px;
  border-radius: 36px;
  overflow: hidden;
}

.os66-reactor::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(103,232,249,.25), transparent 28%),
    radial-gradient(circle at 50% 42%, rgba(139,92,246,.18), transparent 46%);
  animation: os66FieldBreath 5s ease-in-out infinite;
}

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

.os66-ring-a { width: 250px; height: 250px; animation: os66Spin 18s linear infinite; }
.os66-ring-b { width: 360px; height: 360px; animation: os66SpinReverse 31s linear infinite; }
.os66-ring-c { width: 470px; height: 470px; animation: os66Spin 48s linear infinite; }

.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-core {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 220px;
  height: 220px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 23%, #fff 0%, #b9f7ff 9%, transparent 22%),
    conic-gradient(from 0deg, #67e8f9, #8b5cf6, #60a5fa, #67e8f9);
  box-shadow:
    inset -32px -38px 58px rgba(2,6,23,.36),
    inset 22px 20px 42px rgba(255,255,255,.18),
    0 0 70px rgba(103,232,249,.55),
    0 0 150px rgba(139,92,246,.35);
  animation: os66CoreFloat 5.8s ease-in-out infinite;
}

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

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

.os66-core-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  z-index: 3;
}

.os66-core-label span {
  display: block;
  color: rgba(255,255,255,.95);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .18em;
}

.os66-core-label strong {
  display: block;
  margin: 12px 0;
  color: #04111f;
  font-size: 34px;
  font-weight: 950;
  letter-spacing: .16em;
}

.os66-core-label small {
  display: block;
  color: rgba(255,255,255,.95);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .14em;
}

.os66-node {
  position: absolute;
  min-width: 126px;
  padding: 11px 13px;
  border-radius: 999px;
  background: rgba(2,6,23,.84);
  border: 1px solid rgba(255,255,255,.13);
  color: white;
  font-size: 13px;
  font-weight: 950;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0,0,0,.38);
  transition: all .45s ease;
}

.os66-node b {
  color: #67e8f9;
  margin-right: 5px;
}

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

.os66-node.is-active {
  transform: translateY(-8px) scale(1.08);
  border-color: rgba(103,232,249,.8);
  box-shadow:
    0 0 30px rgba(103,232,249,.45),
    0 18px 48px rgba(0,0,0,.42);
}

.os66-node.is-active small {
  color: #67e8f9;
}

.os66-node.is-complete small {
  color: #2fffd2;
}

.os66-node-1 { left: 24px; top: 94px; }
.os66-node-2 { right: 24px; top: 94px; }
.os66-node-3 { left: 18px; top: 268px; }
.os66-node-4 { right: 18px; top: 268px; }
.os66-node-5 { left: 76px; bottom: 146px; }
.os66-node-6 { right: 76px; bottom: 146px; }

.os66-beam {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 2px;
  height: 180px;
  transform-origin: top center;
  background: linear-gradient(180deg, rgba(103,232,249,.7), transparent);
  opacity: .18;
  filter: drop-shadow(0 0 10px rgba(103,232,249,.8));
}

.os66-beam-1 { transform: rotate(40deg); }
.os66-beam-2 { transform: rotate(100deg); }
.os66-beam-3 { transform: rotate(160deg); }
.os66-beam-4 { transform: rotate(220deg); }
.os66-beam-5 { transform: rotate(280deg); }
.os66-beam-6 { transform: rotate(340deg); }

@keyframes os66Spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes os66SpinReverse {
  to { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes os66CoreFloat {
  0%,100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-14px); }
}

@keyframes os66Pulse {
  0% { opacity: .75; transform: scale(.88); }
  100% { opacity: 0; transform: scale(1.28); }
}

@keyframes os66FieldBreath {
  0%,100% { opacity: .62; }
  50% { opacity: 1; }
}
