:root {
  --bg-1: #070414;
  --bg-2: #150828;
  --bg-3: #250a3a;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(212, 98, 10, 0.34);
  --text: #f4f3f7;
  --muted: rgba(244, 243, 247, 0.7);
  --accent: #d4620a;
  --accent-2: #9e57ff;
  --panel: rgba(28, 20, 46, 0.5);
}

@font-face {
  font-family: "Monoblock";
  src: url("./fonts/Monoblock-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, Segoe UI, Arial, sans-serif;
  color: var(--text);
  background: #0b0720;
}

.hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background:
    radial-gradient(1300px 620px at 16% 55%, rgba(212, 98, 10, 0.24), transparent 60%),
    radial-gradient(1400px 700px at 86% 22%, rgba(158, 87, 255, 0.22), transparent 62%),
    linear-gradient(122deg, var(--bg-1) 0%, var(--bg-2) 44%, var(--bg-3) 100%);
  padding-top: 84px;
}

#canvas-tech {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.4;
}

.site-logo {
  position: absolute;
  top: 18px;
  left: 42px;
  z-index: 5;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
  height: 48px;
  display: inline-flex;
  align-items: center;
}

.site-logo:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.site-logo img {
  display: block;
  width: min(132px, 18vw);
  height: auto;
  max-height: 40px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.04) 50%, transparent 100%);
  opacity: 0.28;
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.11;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: noiseShift 0.35s steps(2, end) infinite;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(26px);
  opacity: 0.5;
  pointer-events: none;
}

.hero-glow-left {
  width: 360px;
  height: 360px;
  left: -60px;
  top: 24%;
  background: radial-gradient(circle, rgba(212, 98, 10, 0.42), transparent 68%);
  animation: floatLeft 10s ease-in-out infinite;
}

.hero-glow-right {
  width: 420px;
  height: 420px;
  right: -90px;
  top: 8%;
  background: radial-gradient(circle, rgba(158, 87, 255, 0.38), transparent 67%);
  animation: floatRight 12s ease-in-out infinite;
}

.hero-beam {
  position: absolute;
  left: -8%;
  right: 32%;
  top: 60%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(212, 98, 10, 0.2) 26%,
    rgba(212, 98, 10, 0.75) 48%,
    rgba(158, 87, 255, 0.55) 72%,
    transparent 100%
  );
  box-shadow: 0 0 26px rgba(212, 98, 10, 0.5);
  animation: beamSweep 6s ease-in-out infinite;
}

.content {
  position: relative;
  z-index: 2;
  width: min(1420px, 100%);
  margin: 0 auto;
  padding: 30px 56px 56px;
  display: grid;
  grid-template-columns: minmax(420px, 1.05fr) minmax(430px, 0.95fr);
  gap: 54px;
  align-items: stretch;
}

.left-col {
  align-self: center;
  padding-bottom: 0;
  animation: fadeUp 1s ease-out both;
  animation-delay: 0.15s;
}

.right-col {
  align-self: center;
  animation: fadeUp 1s ease-out both;
}

.eyebrow {
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: dotBlink 1.4s ease-in-out infinite;
}

.eyebrow-line {
  width: 26px;
  height: 1px;
  background: rgba(212, 98, 10, 0.7);
}

.eyebrow-text {
  color: rgba(212, 98, 10, 0.95);
  letter-spacing: 0.18em;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 28px;
  font-family: "Monoblock", Inter, Segoe UI, Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(44px, 4.9vw, 72px);
  line-height: 0.94;
  letter-spacing: -0.01em;
  text-transform: none;
  animation: fadeUp 1s ease-out both;
  animation-delay: 0.25s;
}

h1 span {
  color: var(--accent);
  background: none;
  -webkit-text-fill-color: currentColor;
  animation: none;
}

.lead {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.contact-box {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.contact-link:hover {
  border-color: rgba(212, 98, 10, 0.62);
  background: rgba(212, 98, 10, 0.12);
  transform: translateY(-1px);
}

.status-panel {
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  animation: fadeUp 1s ease-out both;
  animation-delay: 0.4s;
}

.status-row {
  display: flex;
  gap: 16px;
  align-items: start;
  padding: 20px 22px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease, transform 0.25s ease;
}

.status-row:hover {
  background: rgba(46, 34, 74, 0.64);
  transform: translateX(4px);
}

.status-row:last-child {
  border-bottom: 0;
}

.row-id {
  font-family: Consolas, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.32);
  min-width: 22px;
  margin-top: 3px;
}

.status-row h2 {
  margin: 0 0 4px;
  font-family: "Monoblock", Inter, Segoe UI, Arial, sans-serif;
  font-weight: 900;
  font-size: 20px;
  line-height: 1.1;
}

.status-row p {
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
}

.marquee-wrap {
  position: relative;
  left: 0;
  right: 0;
  z-index: 10;
  overflow: hidden;
  height: 58px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(10, 8, 20, 0.98);
  backdrop-filter: blur(10px);
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  min-width: max-content;
  height: 100%;
  animation: marquee 24s linear infinite;
}

.marquee-item {
  font-family: "Monoblock", Inter, Segoe UI, Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  padding: 0 18px;
}

.marquee-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.75;
}

.page-fill {
  min-height: calc(100vh - 578px);
  background:
    radial-gradient(900px 280px at 50% -80px, rgba(158, 87, 255, 0.14), transparent 70%),
    linear-gradient(180deg, #120a2b 0%, #0b0720 70%, #090619 100%);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes beamSweep {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.55;
  }
  50% {
    transform: translateX(22px);
    opacity: 1;
  }
}

@keyframes noiseShift {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-0.6%, 0.4%);
  }
}

@keyframes dotBlink {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.9);
  }
}

@keyframes floatLeft {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(22px, -10px);
  }
}

@keyframes floatRight {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-16px, 12px);
  }
}

@media (max-width: 980px) {
  .site-logo {
    top: 16px;
    left: 20px;
    height: 42px;
  }

  .site-logo img {
    width: min(120px, 40vw);
    max-height: 36px;
  }

  .content {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 38px 24px 46px;
  }

  .left-col {
    order: 1;
  }

  .right-col {
    order: 2;
  }

  .lead {
    max-width: 100%;
    font-size: 18px;
  }

  .contact-link {
    font-size: 13px;
    padding: 8px 12px;
  }

  h1 {
    font-size: clamp(36px, 8vw, 54px);
  }

  .status-row h2 {
    font-size: 18px;
  }

  .hero {
    min-height: 560px;
  }

  .page-fill {
    min-height: calc(100vh - 618px);
  }
}

@media (max-width: 640px) {
  #canvas-tech {
    opacity: 0.34;
  }

  .hero-beam {
    top: 54%;
    right: 8%;
  }

  .marquee-item {
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .hero {
    min-height: 600px;
  }

  .page-fill {
    min-height: calc(100vh - 658px);
  }
}

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