:root {
  color-scheme: dark;
  --bg: #05070b;
  --panel: rgba(13, 18, 26, 0.78);
  --line: rgba(159, 195, 255, 0.18);
  --text: #f4f8ff;
  --muted: #a9b6c8;
  --blue: #0e7cff;
  --cyan: #28ecff;
  --violet: #8b5cf6;
  --pink: #ff4fd8;
  --green: #62ffb4;
  --steel: #b8c6d8;
  --shadow: rgba(0, 126, 255, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 18% 10%, rgba(139, 92, 246, 0.18), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(255, 79, 216, 0.12), transparent 28%),
    radial-gradient(circle at 50% 92%, rgba(40, 236, 255, 0.1), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 72px;
  padding: 0 clamp(18px, 4vw, 58px);
  background: rgba(5, 7, 11, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 24px rgba(0, 144, 255, 0.36);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: 112px clamp(18px, 5vw, 76px) 48px;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 82% 42%, rgba(255, 79, 216, 0.18), transparent 28%),
    radial-gradient(circle at 64% 22%, rgba(98, 255, 180, 0.12), transparent 24%),
    linear-gradient(90deg, rgba(5, 7, 11, 0.98) 0%, rgba(5, 8, 15, 0.88) 46%, rgba(9, 15, 43, 0.78) 100%),
    url("./assets/blue-flame-base-x-promo-1600x900.png") center / cover no-repeat;
  animation: chromaDrift 13s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, transparent 0%, rgba(40, 236, 255, 0.11) 42%, rgba(255, 79, 216, 0.09) 48%, transparent 56%),
    linear-gradient(180deg, rgba(5, 7, 11, 0.18), rgba(5, 7, 11, 0.86)),
    radial-gradient(circle at 20% 50%, rgba(0, 132, 255, 0.24), transparent 34%),
    repeating-linear-gradient(90deg, transparent 0 88px, rgba(40, 236, 255, 0.045) 88px 89px);
  animation: chainSweep 7s linear infinite;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.72fr);
  align-items: center;
  gap: clamp(24px, 6vw, 80px);
  max-width: 1280px;
  min-height: calc(100svh - 160px);
  margin: 0 auto;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow:
    0 0 18px rgba(40, 236, 255, 0.32),
    0 0 28px rgba(255, 79, 216, 0.16);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: transparent;
  background: linear-gradient(92deg, #ffffff 0%, #28ecff 36%, #ff4fd8 66%, #62ffb4 100%);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: clamp(54px, 9vw, 124px);
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 0 42px rgba(0, 123, 255, 0.24);
  animation: titleGlow 4.6s ease-in-out infinite;
}

.ticker {
  margin: 12px 0 0;
  color: #e7f8ff;
  font-size: clamp(30px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: 0;
  text-shadow:
    0 0 22px rgba(40, 236, 255, 0.36),
    0 0 34px rgba(139, 92, 246, 0.22);
}

.lead {
  max-width: 650px;
  margin: 22px 0 0;
  color: #d8e4f4;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(126px, 1fr));
  gap: 12px;
  width: min(100%, 760px);
  margin-top: 34px;
}

.action {
  display: flex;
  min-height: 86px;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 12, 20, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.action:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 79, 216, 0.62);
  background:
    linear-gradient(135deg, rgba(10, 23, 42, 0.9), rgba(38, 12, 56, 0.72)),
    rgba(7, 17, 32, 0.86);
}

.action.primary {
  border-color: rgba(40, 236, 255, 0.58);
  background:
    linear-gradient(135deg, rgba(11, 32, 62, 0.84), rgba(42, 13, 63, 0.66)),
    rgba(7, 12, 20, 0.72);
  box-shadow:
    0 0 28px rgba(0, 126, 255, 0.18),
    0 0 38px rgba(255, 79, 216, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.action-kicker {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.action strong {
  font-size: 15px;
  line-height: 1.2;
}

.contract-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(100%, 760px);
  min-height: 66px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(40, 236, 255, 0.4);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(3, 9, 18, 0.88), rgba(20, 11, 39, 0.76)),
    rgba(3, 9, 18, 0.78);
  box-shadow:
    0 0 28px rgba(0, 126, 255, 0.1),
    0 0 34px rgba(255, 79, 216, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.contract-copy {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--steel);
  font-size: 14px;
  font-weight: 850;
}

.contract-copy span {
  color: var(--cyan);
}

.contract-copy code {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, ui-monospace,
    monospace;
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-button {
  flex: 0 0 auto;
  min-width: 82px;
  min-height: 38px;
  border: 1px solid rgba(40, 236, 255, 0.44);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(14, 124, 255, 0.9), rgba(139, 92, 246, 0.82), rgba(255, 79, 216, 0.64));
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
}

.copy-button:hover {
  border-color: rgba(255, 255, 255, 0.74);
  box-shadow:
    0 0 24px rgba(0, 126, 255, 0.24),
    0 0 28px rgba(255, 79, 216, 0.2);
}

.hero-mark {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  justify-self: center;
  animation: flameFloat 4.8s ease-in-out infinite;
  transform-style: preserve-3d;
}

.hero-mark img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 0 44px var(--shadow));
  animation: flamePulse 2.4s ease-in-out infinite, logoTilt 7s ease-in-out infinite;
}

.hero-mark::before,
.hero-mark::after,
.energy-ring {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-mark::before {
  inset: -7%;
  z-index: 0;
  border: 1px solid rgba(40, 236, 255, 0.26);
  background:
    conic-gradient(from 90deg, transparent 0deg, rgba(40, 236, 255, 0.62) 58deg, transparent 118deg, rgba(255, 79, 216, 0.34) 176deg, transparent 226deg, rgba(98, 255, 180, 0.38) 288deg, transparent 360deg);
  filter: blur(1px);
  opacity: 0.72;
  animation: ringOrbit 8s linear infinite;
}

.hero-mark::after {
  inset: 5%;
  z-index: 1;
  box-shadow:
    0 0 46px rgba(40, 236, 255, 0.22),
    0 0 70px rgba(255, 79, 216, 0.14),
    inset 0 0 42px rgba(0, 126, 255, 0.22);
  animation: glowBreath 3.6s ease-in-out infinite;
}

.energy-ring {
  inset: -14%;
  z-index: 0;
  border: 1px solid rgba(14, 124, 255, 0.18);
  background:
    linear-gradient(90deg, transparent 49%, rgba(40, 236, 255, 0.18) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(255, 79, 216, 0.15) 50%, transparent 51%);
  opacity: 0.48;
  animation: ringOrbit 14s linear infinite reverse;
}

.ai-orbit {
  position: absolute;
  z-index: 3;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow:
    0 0 16px rgba(40, 236, 255, 0.95),
    0 0 30px rgba(255, 79, 216, 0.35);
  pointer-events: none;
}

.orbit-one {
  top: 4%;
  left: 50%;
  animation: particleOrbit 6s linear infinite;
}

.orbit-two {
  right: 5%;
  bottom: 18%;
  background: var(--pink);
  box-shadow:
    0 0 16px rgba(255, 79, 216, 0.9),
    0 0 30px rgba(98, 255, 180, 0.28);
  animation: particleOrbit 8.5s linear infinite reverse;
}

.narrative {
  padding: clamp(64px, 10vw, 120px) clamp(18px, 5vw, 76px);
  background:
    radial-gradient(circle at 12% 28%, rgba(139, 92, 246, 0.16), transparent 30%),
    radial-gradient(circle at 84% 62%, rgba(40, 236, 255, 0.12), transparent 28%),
    #070b12;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-inner {
  max-width: 980px;
  margin: 0 auto;
}

h2 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(36px, 6vw, 78px);
  line-height: 1;
  letter-spacing: 0;
}

.narrative p:not(.eyebrow),
.launch-copy p {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.62;
}

.culture {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
  padding: clamp(64px, 10vw, 120px) clamp(18px, 5vw, 76px);
  background:
    radial-gradient(circle at 15% 18%, rgba(255, 79, 216, 0.16), transparent 28%),
    radial-gradient(circle at 86% 20%, rgba(98, 255, 180, 0.1), transparent 26%),
    linear-gradient(90deg, rgba(4, 7, 12, 0.98), rgba(14, 11, 42, 0.94)),
    repeating-linear-gradient(90deg, rgba(40, 236, 255, 0.06) 0 1px, transparent 1px 120px);
  border-bottom: 1px solid var(--line);
}

.culture-copy {
  max-width: 720px;
}

.culture-list {
  display: grid;
  gap: 14px;
}

.culture-item {
  padding: 22px;
  border: 1px solid rgba(159, 195, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(6, 12, 22, 0.82), rgba(36, 16, 60, 0.58)),
    rgba(6, 12, 22, 0.74);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 32px rgba(40, 236, 255, 0.05);
}

.culture-item span {
  display: block;
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(40, 236, 255, 0.28);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.culture-item p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.signal-grid article {
  min-height: 300px;
  padding: clamp(28px, 5vw, 56px);
  background:
    linear-gradient(160deg, rgba(13, 18, 26, 0.94), rgba(23, 9, 42, 0.86), rgba(7, 10, 16, 0.98)),
    #080c13;
}

.signal-grid span {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 850;
}

h3 {
  margin: 42px 0 14px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.05;
  letter-spacing: 0;
}

.signal-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.launch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: clamp(26px, 6vw, 76px);
  align-items: center;
  padding: clamp(64px, 10vw, 128px) clamp(18px, 5vw, 76px);
  background:
    radial-gradient(circle at 85% 42%, rgba(0, 129, 255, 0.2), transparent 30%),
    radial-gradient(circle at 18% 60%, rgba(255, 79, 216, 0.12), transparent 28%),
    radial-gradient(circle at 52% 20%, rgba(98, 255, 180, 0.08), transparent 24%),
    #05070b;
}

.launch-copy {
  max-width: 820px;
}

.launch-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.stat:last-child {
  border-bottom: 0;
}

.stat span {
  color: var(--muted);
  font-size: 14px;
}

.stat strong {
  text-align: right;
  font-size: clamp(18px, 2vw, 24px);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 76px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #04060a;
  font-size: 14px;
}

@keyframes flameFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(0, -14px, 0) scale(1.015);
  }
}

@keyframes flamePulse {
  0%,
  100% {
    filter:
      drop-shadow(0 0 34px rgba(0, 126, 255, 0.4))
      drop-shadow(0 0 18px rgba(139, 92, 246, 0.2));
  }

  50% {
    filter:
      drop-shadow(0 0 66px rgba(40, 236, 255, 0.66))
      drop-shadow(0 0 34px rgba(255, 79, 216, 0.34));
  }
}

@keyframes logoTilt {
  0%,
  100% {
    transform: rotate3d(0, 1, 0, 0deg);
  }

  50% {
    transform: rotate3d(0, 1, 0, 5deg);
  }
}

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

@keyframes glowBreath {
  0%,
  100% {
    opacity: 0.54;
    transform: scale(0.99);
  }

  50% {
    opacity: 0.9;
    transform: scale(1.03);
  }
}

@keyframes chainSweep {
  from {
    background-position:
      -120% 0,
      0 0,
      0 0;
  }

  to {
    background-position:
      220% 0,
      0 0,
      0 0;
  }
}

@keyframes titleGlow {
  0%,
  100% {
    filter: saturate(1);
  }

  50% {
    filter: saturate(1.35) brightness(1.08);
  }
}

@keyframes chromaDrift {
  0% {
    filter: saturate(1) hue-rotate(0deg);
    transform: scale(1);
  }

  100% {
    filter: saturate(1.25) hue-rotate(10deg);
    transform: scale(1.025);
  }
}

@keyframes particleOrbit {
  0% {
    transform: rotate(0deg) translateX(230px) rotate(0deg);
  }

  100% {
    transform: rotate(360deg) translateX(230px) rotate(-360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 920px) {
  .site-header {
    height: 66px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 96px;
  }

  .hero-content,
  .culture,
  .launch {
    grid-template-columns: 1fr;
  }

  .hero-mark {
    width: min(78vw, 360px);
    order: -1;
  }

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

  .signal-grid {
    grid-template-columns: 1fr;
  }

  .signal-grid article {
    min-height: 240px;
  }
}

@media (max-width: 560px) {
  .brand span {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .action {
    min-height: 72px;
  }

  .contract-box {
    align-items: stretch;
    flex-direction: column;
  }

  .copy-button {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
