:root {
  --night: #020b1f;
  --ink: #071329;
  --blue: #1a55ff;
  --paper: #f3f5f9;
  --line: #ced5e2;
  --font-sans: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.shell {
  width: min(1280px, calc(100% - 70px));
  margin-inline: auto;
}

/* ---------- Hero ---------- */

.hero-dark {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background: var(--night);
  color: #fff;
}

.hero-dark:before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}

.nav {
  position: relative;
  z-index: 5;
  height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand {
  display: flex;
  align-items: center;
  font-size: 0;
  letter-spacing: 0;
}

.brand img {
  display: block;
  width: 142px;
  height: 35px;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  gap: 38px;
  color: #92a0bd;
  font-size: 11px;
}

.nav-links a:hover {
  color: #fff;
}

.nav-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 22px;
  font-size: 11px;
  font-weight: 650;
}

.outline-button {
  padding: 11px 14px;
  border: 1px solid #52617e;
  color: #fff;
}

.outline-button:hover {
  border-color: #fff;
}

.hero {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 134px);
  padding: 82px 0 110px;
}

.hero-meta {
  display: flex;
  gap: 23px;
  font: 500 9px var(--font-mono);
  letter-spacing: 0.17em;
  color: #677797;
}

.hero-meta span:first-child {
  color: #6d94ff;
}

.hero h1 {
  margin: 50px 0 0;
  font-size: clamp(78px, 11.3vw, 166px);
  font-weight: 580;
  line-height: 0.77;
  letter-spacing: -0.085em;
}

.hero h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: #89a7ff;
}

.hero-lower {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 75px;
  align-items: end;
}

.hero-lower > p {
  max-width: 420px;
  margin: 0;
  color: #9aa8c4;
  font-size: 15px;
  line-height: 1.65;
}

.hero-lower > div {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 28px;
}

.electric-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  min-width: 198px;
  padding: 17px 18px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 15px 50px rgba(26, 85, 255, 0.28);
  transition: 0.25s;
}

.electric-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 65px rgba(26, 85, 255, 0.45);
}

.electric-button span {
  font-size: 17px;
}

.inline-signin {
  font-size: 11px;
  font-weight: 650;
}

.hero-orbit {
  position: absolute;
  z-index: 1;
  right: -160px;
  top: 52%;
  width: 690px;
  height: 690px;
  transform: translateY(-48%);
}

.hero-orbit i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(93, 127, 217, 0.22);
  border-radius: 50%;
}

.hero-orbit i:nth-child(2) {
  inset: 74px;
}

.hero-orbit i:nth-child(3) {
  inset: 148px;
  border-style: dashed;
  animation: spin 24s linear infinite;
}

.hero-orbit i:nth-child(4) {
  inset: 222px;
  background: radial-gradient(circle, rgba(25, 77, 222, 0.28), transparent 68%);
}

.hero-orbit > img {
  position: absolute;
  inset: 188px;
  width: 314px;
  height: 314px;
  filter: drop-shadow(0 0 65px rgba(50, 106, 255, 0.2));
  animation: breathe 5s ease-in-out infinite;
}

.signal-ticker {
  position: absolute;
  z-index: 4;
  bottom: 0;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(5, 17, 45, 0.88);
  font: 500 9px var(--font-mono);
  letter-spacing: 0.18em;
  color: #7585a3;
}

.signal-ticker > div {
  width: max-content;
  display: flex;
  gap: 28px;
  padding: 15px 0;
  animation: ticker 28s linear infinite;
}

.signal-ticker b {
  color: var(--blue);
}

/* ---------- Reveal / dashboard ---------- */

.section-tag {
  display: flex;
  align-items: center;
  gap: 13px;
  font: 600 9px var(--font-mono);
  letter-spacing: 0.16em;
  color: #71809a;
}

.section-tag span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid #9aa5b8;
  border-radius: 50%;
  color: var(--ink);
}

.section-tag.pale {
  color: #7282a2;
}

.section-tag.pale span {
  border-color: #344667;
  color: #9db4e8;
}

.reveal {
  padding: 135px 0;
}

.reveal-heading {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: end;
  margin: 45px 0 70px;
}

.reveal-heading h2,
.shift-top h2,
.secure h2 {
  margin: 0;
  font-size: clamp(55px, 6.7vw, 92px);
  font-weight: 540;
  line-height: 0.91;
  letter-spacing: -0.07em;
}

.reveal-heading h2 em,
.shift-top h2 em,
.secure h2 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: #7080a3;
}

.reveal-heading p {
  max-width: 420px;
  margin: 0 0 7px;
  color: #66728b;
  font-size: 14px;
  line-height: 1.7;
}

.dashboard-theater {
  position: relative;
  overflow: hidden;
  background: #05122f;
  padding: 0 16px 16px;
  box-shadow: 0 42px 100px rgba(18, 35, 73, 0.18);
}

.screen-bar {
  height: 47px;
  display: flex;
  align-items: center;
  color: #7484a6;
  font: 500 8px var(--font-mono);
  letter-spacing: 0.12em;
}

.screen-bar > span {
  display: flex;
  gap: 5px;
}

.screen-bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #31415f;
}

.screen-bar b {
  margin: auto;
  font-weight: 500;
}

.screen-bar small {
  color: #34ce8b;
}

.dashboard-theater > img {
  display: block;
  width: 100%;
  border: 1px solid #22375f;
}

.scanline {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 47px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #3f79ff, transparent);
  box-shadow: 0 0 15px #3270ff;
  animation: scan 6s ease-in-out infinite;
}

.signal-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 38px;
  border-top: 1px solid var(--ink);
}

.signal-stats article {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  padding: 22px 30px 20px 0;
  border-right: 1px solid var(--line);
}

.signal-stats article + article {
  padding-left: 30px;
}

.signal-stats article:last-child {
  border-right: 0;
}

.signal-stats small {
  grid-column: 1 / -1;
  margin-bottom: 35px;
  font: 500 9px var(--font-mono);
  color: #8290a6;
}

.signal-stats strong {
  font-size: 48px;
  letter-spacing: -0.065em;
}

.signal-stats span {
  justify-self: end;
  margin-bottom: 8px;
  color: #66728a;
  font: 500 9px var(--font-mono);
  text-transform: uppercase;
}

/* ---------- Shift ---------- */

.shift {
  padding: 130px 0;
  background: var(--night);
  color: #fff;
}

.shift-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
}

.shift-top h2 em {
  color: #87a5ff;
}

.shift-grid {
  display: grid;
  grid-template-columns: 1fr 210px 1fr;
  margin-top: 100px;
  border-top: 1px solid #2a3855;
  border-bottom: 1px solid #2a3855;
}

.shift-card {
  position: relative;
  min-height: 490px;
  padding: 35px 38px;
}

.shift-card > span {
  font: 600 9px var(--font-mono);
  letter-spacing: 0.16em;
}

.shift-card h3 {
  margin: 90px 0 35px;
  font-size: 43px;
  line-height: 0.96;
  letter-spacing: -0.06em;
  font-weight: 520;
}

.shift-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  color: #8391aa;
  font-size: 12px;
  line-height: 2;
}

.shift-card li:before {
  content: '—';
  margin-right: 10px;
}

.shift-card > b {
  position: absolute;
  right: 30px;
  bottom: 30px;
  font: 500 10px var(--font-mono);
  letter-spacing: 0.12em;
}

.shift-card.red {
  border-right: 1px solid #2a3855;
}

.shift-card.red > span,
.shift-card.red > b {
  color: #ff686e;
}

.shift-card.blue {
  border-left: 1px solid #2a3855;
}

.shift-card.blue > span,
.shift-card.blue > b {
  color: #6791ff;
}

.shift-pivot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
  background: radial-gradient(circle, rgba(32, 80, 210, 0.22), transparent 70%);
}

.shift-pivot img {
  width: 118px;
  height: 118px;
  animation: breathe 4s ease-in-out infinite;
}

.shift-pivot span {
  text-align: center;
  font: 600 9px/1.5 var(--font-mono);
  letter-spacing: 0.14em;
  color: #6e7d9b;
}

/* ---------- Sequence ---------- */

.sequence {
  padding: 140px 0;
}

.sequence > .section-tag {
  margin-bottom: 75px;
}

.sequence-row {
  display: grid;
  grid-template-columns: 100px 1fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: 150px;
  border-top: 1px solid var(--line);
  transition: 0.25s;
}

.sequence-row:last-child {
  border-bottom: 1px solid var(--line);
}

.sequence-row:hover {
  padding-left: 18px;
  background: #e9efff;
}

.sequence-row > span {
  font: 500 10px var(--font-mono);
  color: #8995aa;
}

.sequence-row h3 {
  font-size: 32px;
  letter-spacing: -0.05em;
  font-weight: 540;
}

.sequence-row p {
  max-width: 420px;
  color: #657088;
  font-size: 13px;
  line-height: 1.65;
}

/* ---------- Secure ---------- */

.secure {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  padding: 135px 0;
  background: #e4ebff;
}

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

.secure h2 {
  margin: 55px 0 35px;
}

.secure h2 em {
  color: #2058ed;
}

.secure-content > p {
  max-width: 480px;
  color: #556584;
  font-size: 15px;
  line-height: 1.7;
}

.secure-content > div:last-child {
  display: flex;
  gap: 35px;
  margin-top: 80px;
  font: 600 8px var(--font-mono);
  letter-spacing: 0.12em;
  color: #50658f;
}

.secure-radar {
  position: absolute;
  right: -110px;
  top: 50%;
  width: 700px;
  height: 700px;
  transform: translateY(-50%);
}

.secure-radar i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(35, 82, 196, 0.18);
  border-radius: 50%;
}

.secure-radar i:nth-child(2) {
  inset: 100px;
}

.secure-radar i:nth-child(3) {
  inset: 200px;
}

.secure-radar span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, #2058ed, transparent);
  transform-origin: left;
  animation: spin 8s linear infinite;
}

.secure-radar:after {
  content: '';
  position: absolute;
  inset: 300px;
  border-radius: 50%;
  background: #2058ed;
  box-shadow: 0 0 0 12px rgba(32, 88, 237, 0.12);
}

/* ---------- Final / footer ---------- */

.final {
  padding: 150px 0;
  text-align: center;
}

.final > img {
  width: 84px;
  height: 84px;
}

.final > p {
  margin: 35px 0 25px;
  font: 600 9px var(--font-mono);
  letter-spacing: 0.17em;
  color: #748099;
}

.final h2 {
  margin: 0 0 55px;
  font-size: clamp(75px, 10vw, 140px);
  line-height: 0.9;
  letter-spacing: -0.08em;
  font-weight: 580;
}

.final > div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.final > div > a:last-child {
  font-size: 11px;
  font-weight: 700;
}

footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: start;
  gap: 30px;
  padding: 60px 0 35px;
  border-top: 1px solid var(--line);
}

footer > span {
  margin-top: 8px;
  color: #7c879b;
  font-size: 11px;
}

footer > div {
  display: flex;
  gap: 25px;
  font-size: 10px;
  font-weight: 650;
}

footer > small {
  grid-column: 1 / -1;
  margin-top: 35px;
  color: #9aa4b6;
  font: 500 8px var(--font-mono);
  letter-spacing: 0.1em;
}

/* ---------- Animations ---------- */

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

@keyframes breathe {
  50% {
    transform: scale(1.06);
    filter: drop-shadow(0 0 45px rgba(49, 104, 255, 0.35));
  }
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

@keyframes scan {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0;
  }
  10%,
  80% {
    opacity: 0.8;
  }
  90% {
    transform: translateY(600px);
    opacity: 0;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 920px) {
  .shell {
    width: min(100% - 40px, 1280px);
  }
  .nav {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links {
    display: none;
  }
  .hero-orbit {
    opacity: 0.55;
    right: -330px;
  }
  .hero-lower,
  .reveal-heading,
  .shift-top {
    grid-template-columns: 1fr;
  }
  .hero-lower > div {
    justify-self: start;
    margin-top: 35px;
  }
  .reveal-heading p {
    margin-top: 30px;
  }
  .shift-top h2 {
    margin-top: 40px;
  }
  .shift-grid {
    grid-template-columns: 1fr;
  }
  .shift-pivot {
    min-height: 230px;
    border-top: 1px solid #2a3855;
    border-bottom: 1px solid #2a3855;
  }
  .shift-card.red,
  .shift-card.blue {
    border: 0;
  }
  .sequence-row {
    grid-template-columns: 60px 1fr;
  }
  .sequence-row p {
    grid-column: 2;
  }
  .secure-radar {
    opacity: 0.55;
    right: -370px;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 26px, 1280px);
  }
  .nav {
    height: 74px;
  }
  .brand img {
    width: 128px;
    height: 32px;
  }
  .nav-actions > a:first-child {
    display: none;
  }
  .hero {
    padding-top: 65px;
    min-height: 760px;
  }
  .hero h1 {
    font-size: 72px;
    line-height: 0.82;
    margin-top: 42px;
  }
  .hero-meta span:last-child {
    display: none;
  }
  .hero-lower {
    margin-top: 50px;
  }
  .hero-lower > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .hero-orbit {
    width: 520px;
    height: 520px;
    right: -330px;
    top: 44%;
  }
  .hero-orbit > img {
    inset: 155px;
    width: 210px;
    height: 210px;
  }
  .hero-orbit i:nth-child(2) {
    inset: 55px;
  }
  .hero-orbit i:nth-child(3) {
    inset: 110px;
  }
  .hero-orbit i:nth-child(4) {
    inset: 165px;
  }
  .reveal {
    padding: 95px 0;
  }
  .reveal-heading h2,
  .shift-top h2,
  .secure h2 {
    font-size: 52px;
  }
  .dashboard-theater {
    padding: 0 7px 7px;
  }
  .dashboard-theater > img {
    width: 175%;
    max-width: none;
  }
  .screen-bar {
    height: 38px;
  }
  .scanline {
    display: none;
  }
  .signal-stats {
    grid-template-columns: 1fr;
  }
  .signal-stats article,
  .signal-stats article + article {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .shift {
    padding: 95px 0;
  }
  .shift-grid {
    margin-top: 65px;
  }
  .shift-card {
    min-height: 420px;
    padding: 28px 20px;
  }
  .shift-card h3 {
    margin-top: 65px;
  }
  .sequence {
    padding: 100px 0;
  }
  .sequence-row {
    gap: 10px;
  }
  .sequence-row h3 {
    font-size: 26px;
  }
  .secure {
    min-height: 700px;
    padding: 100px 0;
  }
  .secure-content > div:last-child {
    flex-direction: column;
    gap: 18px;
  }
  .final {
    padding: 110px 0;
  }
  .final h2 {
    font-size: 74px;
  }
  .final > div {
    flex-direction: column;
  }
  footer {
    grid-template-columns: 1fr auto;
  }
  footer > span {
    display: none;
  }
  footer > div {
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
