:root {
  color-scheme: dark;
  --bg: #06101c;
  --bg-deep: #020912;
  --panel: #102d4d;
  --panel-dark: #0b223c;
  --panel-soft: #143a5f;
  --gold: #ffc72c;
  --gold-soft: #d5aa37;
  --blue: #289ae8;
  --red: #e34138;
  --green: #28e06d;
  --text: #f7fbff;
  --muted: #9daabc;
  --line: rgba(255, 199, 44, 0.34);
  --blue-line: rgba(52, 154, 232, 0.34);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 8%, rgba(40, 154, 232, 0.16), transparent 26rem),
    linear-gradient(180deg, #06101c 0%, #03101d 46%, #020912 100%);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.25rem;
  border-top: 3px solid var(--gold);
  border-bottom: 1px solid rgba(40, 154, 232, 0.65);
  padding: 0.55rem clamp(1rem, 4vw, 4.5rem);
  background: rgba(4, 18, 32, 0.92);
  backdrop-filter: blur(16px);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  text-transform: uppercase;
}

.brand,
.topbar nav,
.hero-actions,
.requirement-strip,
.legend,
footer {
  display: flex;
  align-items: center;
}

.brand {
  flex: 0 0 auto;
  gap: 0.7rem;
  color: #fff;
  font-size: 0.95rem;
}

.brand-logo {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  max-width: 2.25rem;
  max-height: 2.25rem;
  flex: 0 0 2.25rem;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 0 0.55rem rgba(146, 218, 68, 0.5));
}

.topbar nav {
  gap: clamp(0.8rem, 2.8vw, 2.7rem);
  color: #fff;
  font-size: 0.85rem;
}

.topbar nav a:hover,
footer a:hover {
  color: var(--gold);
}

.topbar-button {
  border: 1px solid var(--gold);
  border-radius: 0.25rem;
  padding: 0.55rem 0.8rem;
  background: rgba(255, 199, 44, 0.08);
  color: var(--gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(20rem, 0.74fr) minmax(32rem, 1.26fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: calc(100vh - 3.25rem);
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 4vw, 4.5rem) 4rem;
}

.kicker {
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 10ch;
  margin-bottom: 1.1rem;
  color: var(--gold);
  font-size: clamp(3.5rem, 7.2vw, 7.25rem);
  line-height: 0.88;
  letter-spacing: 0;
  text-shadow: 0 0 16px rgba(255, 199, 44, 0.42);
}

h2 {
  max-width: 17ch;
  margin-bottom: 1rem;
  color: var(--gold);
  font-size: clamp(2rem, 4.2vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 0 10px rgba(255, 199, 44, 0.24);
}

h3 {
  margin-bottom: 0.6rem;
  color: var(--gold);
  font-size: 1.1rem;
}

.hero-copy p:not(.kicker),
.section-heading p:not(.kicker),
.bot-copy p,
.feature-grid p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.hero-copy > p:not(.kicker) {
  max-width: 43rem;
  font-size: 1.18rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 2rem 0 1rem;
}

.button {
  display: inline-flex;
  min-height: 2.95rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.35rem;
  padding: 0.85rem 1rem;
  font-weight: 800;
}

.button.primary {
  background: var(--gold);
  color: #07101c;
  box-shadow: 0 16px 42px rgba(255, 199, 44, 0.24);
}

.button.secondary {
  border: 1px solid rgba(40, 154, 232, 0.72);
  background: #061626;
  color: #fff;
}

.requirement-strip {
  max-width: 42rem;
  gap: 0.6rem;
  border: 1px solid rgba(255, 199, 44, 0.42);
  border-radius: 0.4rem;
  padding: 0.8rem 0.9rem;
  background: rgba(255, 199, 44, 0.07);
  color: #dce8f5;
  line-height: 1.45;
}

.requirement-strip strong {
  color: var(--gold);
}

.hero-visual {
  min-width: 0;
  perspective: 1400px;
}

.monitor-mockup {
  position: relative;
  transform: rotateY(-12deg) rotateX(5deg) rotateZ(-1deg);
  transform-style: preserve-3d;
}

.monitor-screen {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 199, 44, 0.55);
  border-radius: 0.9rem;
  background: linear-gradient(145deg, #20354d, #040a12 28%, #02070d);
  padding: 0.8rem;
  box-shadow:
    0 2.5rem 5rem rgba(0, 0, 0, 0.55),
    1.2rem 1.2rem 0 rgba(255, 199, 44, 0.06),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.monitor-screen::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.18), transparent 28%),
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.1), transparent 26%);
  content: "";
}

.monitor-neck {
  width: 18%;
  height: 2.4rem;
  margin: -0.1rem auto 0;
  border-inline: 1px solid rgba(255, 199, 44, 0.35);
  background: linear-gradient(90deg, #06111f, #1c3854 50%, #06111f);
  transform: translateZ(-2rem);
}

.monitor-base {
  width: 48%;
  height: 1.45rem;
  margin: 0 auto;
  border: 1px solid rgba(255, 199, 44, 0.38);
  border-radius: 50%;
  background: linear-gradient(180deg, #1a3857, #06111f);
  box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.42);
  transform: translateZ(-3rem) rotateX(58deg);
}

.dashboard-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(40, 154, 232, 0.48);
  border-top: 3px solid var(--gold);
  border-radius: 0.45rem;
  background: #06111f;
  box-shadow: inset 0 0 2rem rgba(40, 154, 232, 0.08);
}

.dash-nav {
  display: flex;
  justify-content: center;
  gap: clamp(0.8rem, 2.1vw, 2rem);
  border-bottom: 1px solid rgba(40, 154, 232, 0.55);
  padding: 0.7rem;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.72rem;
  font-weight: 800;
}

.dash-select {
  width: 10.5rem;
  margin: 0.7rem 1.2rem 0 auto;
  border: 1px solid rgba(40, 154, 232, 0.65);
  border-radius: 0.25rem;
  padding: 0.45rem 0.55rem;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.dash-select span {
  float: right;
  width: 0;
  height: 0;
  margin-top: 0.34rem;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  border-top: 7px solid var(--gold);
}

.dash-title {
  padding: 1.8rem 1rem 1.3rem;
  text-align: center;
}

.dash-title h2 {
  max-width: none;
  margin-bottom: 0.5rem;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
}

.dash-title p {
  color: var(--muted);
  font-weight: 700;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 0 1.4rem 1.6rem;
}

.stats-row article,
.mini-chart,
.donut-panel,
.table-card,
.feature-grid article,
.project-grid a,
.podium article {
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  background: linear-gradient(145deg, #143a60, #0d2743);
}

.stats-row article {
  display: flex;
  min-height: 6.5rem;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem;
}

.stats-row span {
  display: block;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.stats-row strong {
  display: block;
  margin-top: 0.3rem;
  color: #dce7f4;
  font-size: clamp(1.45rem, 2.2vw, 2.05rem);
  text-shadow: 0 0 7px rgba(255, 255, 255, 0.46);
}

.glyph {
  position: relative;
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
}

.glyph.people::before,
.glyph.people::after {
  position: absolute;
  bottom: 0.35rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50% 50% 0.2rem 0.2rem;
  background: linear-gradient(160deg, #8746b3, #4d1b76);
  content: "";
}

.glyph.people::before {
  left: 0.25rem;
}

.glyph.people::after {
  right: 0.25rem;
}

.glyph.aircraft::before {
  position: absolute;
  inset: 0.35rem;
  border-radius: 1rem 1rem 0.2rem 0.2rem;
  background: linear-gradient(135deg, #d7e8ff, #478ee6);
  content: "";
  transform: rotate(45deg);
}

.glyph.timer {
  border: 0.35rem solid #cfd3dc;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.36);
}

.glyph.timer::before {
  position: absolute;
  left: 0.86rem;
  top: 0.4rem;
  width: 0.15rem;
  height: 0.8rem;
  background: #e34138;
  content: "";
  transform: rotate(18deg);
  transform-origin: bottom;
}

.glyph.bars {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 0.18rem;
  border-radius: 0.25rem;
  background: #dce7f4;
  padding: 0.35rem;
}

.glyph.bars::before,
.glyph.bars::after {
  display: block;
  width: 0.36rem;
  border-radius: 0.1rem;
  content: "";
}

.glyph.bars::before {
  height: 1.35rem;
  background: #6bd45c;
}

.glyph.bars::after {
  height: 1.65rem;
  background: #4893e8;
}

.dashboard-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 0 1.4rem 1.4rem;
}

.mini-chart,
.donut-panel {
  min-height: 18rem;
  padding: 1.3rem;
}

.mini-chart header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.mini-chart header span {
  border: 1px solid rgba(40, 154, 232, 0.58);
  border-radius: 0.25rem;
  padding: 0.3rem 2.1rem 0.3rem 0.45rem;
  color: #fff;
  font-size: 0.78rem;
}

.bar-area {
  display: flex;
  height: 12rem;
  align-items: end;
  gap: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  background: repeating-linear-gradient(to top, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 2.55rem);
  padding: 0 1.2rem;
}

.bar-area span {
  width: 100%;
  max-width: 2rem;
  height: var(--bar);
  border: 2px solid var(--gold);
  border-bottom: 0;
  border-radius: 0.35rem 0.35rem 0 0;
  background: linear-gradient(180deg, #f3c947, #8f7d3d);
}

.donut-panel {
  text-align: center;
}

.donut {
  width: min(13rem, 70%);
  aspect-ratio: 1;
  margin: 1.3rem auto 1rem;
  border-radius: 50%;
  background: conic-gradient(var(--blue) 0 74%, var(--red) 74% 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.donut::after {
  display: block;
  width: 56%;
  aspect-ratio: 1;
  margin: 22%;
  border-radius: 50%;
  background: #10365a;
  content: "";
}

.legend {
  justify-content: center;
  gap: 1rem;
  color: #d7e1ef;
  font-size: 0.82rem;
  font-weight: 700;
}

.legend i {
  display: inline-block;
  width: 0.8rem;
  height: 0.8rem;
  margin-right: 0.25rem;
  border-radius: 50%;
  vertical-align: -0.1rem;
}

.blue-dot {
  background: var(--blue);
}

.red-dot {
  background: var(--red);
}

.section {
  padding: clamp(3.4rem, 7vw, 5.5rem) clamp(1rem, 4vw, 4.5rem);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(16rem, 0.72fr) minmax(18rem, 1fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-heading .kicker {
  grid-column: 1 / -1;
  margin-bottom: -1.2rem;
}

.section-heading p:not(.kicker) {
  margin-bottom: 0;
}

.podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 54rem;
  margin: 0 auto 2rem;
}

.podium article {
  min-height: 7.6rem;
  padding: 1.3rem;
  text-align: center;
}

.podium span {
  display: grid;
  width: 1.55rem;
  height: 1.55rem;
  margin: 0 auto 0.8rem;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #07101c;
  font-weight: 900;
}

.podium strong,
.podium small {
  display: block;
}

.podium strong {
  color: var(--gold);
  font-size: 1.2rem;
  text-transform: uppercase;
}

.podium small {
  margin-top: 0.25rem;
  font-size: 0.95rem;
  font-weight: 800;
}

.table-card {
  overflow-x: auto;
  background: #0d2743;
}

table {
  width: 100%;
  min-width: 55rem;
  border-collapse: collapse;
  color: #fff;
}

th,
td {
  border-bottom: 1px solid rgba(71, 154, 232, 0.35);
  padding: 0.85rem 1rem;
  text-align: left;
}

th {
  border-bottom: 2px solid var(--gold);
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

td:first-child,
td:nth-child(2) {
  font-weight: 800;
}

td:nth-child(2) {
  color: #fff260;
}

.bot-section {
  display: grid;
  grid-template-columns: minmax(18rem, 0.8fr) minmax(28rem, 1.2fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  border-block: 1px solid rgba(40, 154, 232, 0.3);
  background: rgba(7, 22, 38, 0.7);
}

.bot-copy h2 {
  max-width: 16ch;
}

.console-window {
  overflow: hidden;
  border: 1px solid #c7d2df;
  background: #030303;
  font-family: "Cascadia Mono", Consolas, "Courier New", monospace;
}

.console-mockup {
  position: relative;
  perspective: 1200px;
  transform: rotateY(10deg) rotateX(4deg) rotateZ(1deg);
  transform-style: preserve-3d;
}

.console-screen {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 199, 44, 0.44);
  border-radius: 0.75rem;
  background: linear-gradient(145deg, #263447, #06090e 32%, #020509);
  padding: 0.7rem;
  box-shadow:
    0 2.4rem 5.5rem rgba(0, 0, 0, 0.54),
    -1.1rem 1.1rem 0 rgba(40, 154, 232, 0.07),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.console-screen::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.16), transparent 27%),
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.09), transparent 25%);
  content: "";
}

.console-neck {
  width: 16%;
  height: 2.2rem;
  margin: -0.1rem auto 0;
  border-inline: 1px solid rgba(255, 199, 44, 0.3);
  background: linear-gradient(90deg, #050b12, #1b334e 50%, #050b12);
  transform: translateZ(-2rem);
}

.console-base {
  width: 42%;
  height: 1.3rem;
  margin: 0 auto;
  border: 1px solid rgba(255, 199, 44, 0.32);
  border-radius: 50%;
  background: linear-gradient(180deg, #183656, #050b12);
  box-shadow: 0 1rem 2.3rem rgba(0, 0, 0, 0.44);
  transform: translateZ(-3rem) rotateX(58deg);
}

.console-title {
  border-bottom: 1px solid #bfc8d4;
  padding: 0.45rem 0.6rem;
  background: #f5f7f9;
  color: #050505;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
}

.console-status {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.35rem;
  border: 1px solid #e8e8e8;
  padding: 0.65rem 1rem;
  color: #fff;
  font-size: 0.8rem;
}

.server-grid {
  display: grid;
  grid-template-columns: 6rem minmax(13rem, 1.3fr) minmax(12rem, 1fr) 5rem;
  gap: 0;
  margin: 0.35rem;
  border: 1px solid #e8e8e8;
  background: #0a35df;
  color: #fff;
  font-size: 0.78rem;
}

.server-grid span {
  overflow: hidden;
  border-right: 1px solid #dce6ff;
  padding: 0.35rem 0.6rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.server-grid span:nth-child(4n) {
  border-right: 0;
  text-align: center;
}

.server-grid span:nth-child(-n + 4) {
  border-bottom: 1px solid #dce6ff;
}

.log-lines {
  min-height: 12rem;
  padding: 0.5rem 0.7rem 1rem;
  font-size: 0.78rem;
}

.log-lines p {
  margin: 0.2rem 0;
  color: #2cff58;
  line-height: 1.25;
}

.log-lines span {
  color: #2ca3ff;
}

.log-lines b {
  color: #2cff58;
  font-weight: 400;
}

.feature-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.feature-grid article {
  padding: 1.25rem;
}

.feature-grid span {
  display: inline-block;
  margin-bottom: 1.7rem;
  color: var(--gold);
  font-weight: 900;
}

.project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-grid a {
  display: grid;
  gap: 0.7rem;
  padding: 1.4rem;
  transition:
    transform 160ms ease,
    border-color 160ms ease;
}

.project-grid a:hover {
  border-color: var(--gold);
  transform: translateY(-0.25rem);
}

.project-grid small {
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
}

.project-grid strong {
  font-size: 1.12rem;
  overflow-wrap: anywhere;
}

.project-grid span {
  color: #d9e8f8;
  font-weight: 800;
}

footer {
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(40, 154, 232, 0.35);
  padding: 1.4rem clamp(1rem, 4vw, 4.5rem);
  color: var(--muted);
}

@media (max-width: 1100px) {
  .topbar nav {
    display: none;
  }

  .hero,
  .bot-section,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .monitor-mockup {
    transform: rotateY(-7deg) rotateX(4deg);
  }

  .console-mockup {
    transform: rotateY(6deg) rotateX(3deg);
  }

  .stats-row,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .topbar {
    position: static;
  }

  .topbar-button {
    display: none;
  }

  .brand {
    font-size: 0.78rem;
  }

  .hero {
    padding-top: 2.4rem;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(3rem, 17vw, 4.3rem);
  }

  h2 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .hero-actions,
  .requirement-strip,
  .console-status,
  footer {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-window {
    border-radius: 0.35rem;
  }

  .monitor-mockup {
    transform: none;
  }

  .monitor-screen {
    padding: 0.45rem;
  }

  .monitor-neck,
  .monitor-base,
  .console-neck,
  .console-base {
    display: none;
  }

  .console-mockup {
    transform: none;
  }

  .console-screen {
    padding: 0.45rem;
  }

  .dash-nav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .dash-select {
    width: auto;
    margin-left: 1rem;
  }

  .stats-row,
  .dashboard-panels,
  .podium,
  .feature-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .server-grid {
    grid-template-columns: 5rem minmax(13rem, 1fr) minmax(12rem, 1fr) 4rem;
    overflow-x: auto;
  }

  .console-window {
    overflow-x: auto;
  }
}
