:root {
  --bg: #000000;
  --bg-2: #040910;
  --ink: #e7f4ff;
  --muted: #95aac8;
  --cyan: #67efff;
  --blue: #38a5ff;
  --violet: #a269ff;
  --hot: #ff4e5f;
  --line: rgba(92, 192, 255, 0.28);
  --radius-xl: 30px;
  --radius-lg: 18px;
  --max: 1220px;
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
  --glow: 0 0 0 1px rgba(103, 239, 255, 0.28), 0 0 36px rgba(56, 165, 255, 0.26);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink);
  background-color: var(--bg);
  background-image: radial-gradient(circle at 86% 8%, rgba(103, 239, 255, 0.1), transparent 33%),
    radial-gradient(circle at 12% 16%, rgba(162, 105, 255, 0.12), transparent 28%),
    linear-gradient(170deg, #000000 0%, #02060e 52%, #061021 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(66, 112, 170, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(66, 112, 170, 0.08) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.35;
}

body.revva-page {
  --cyan: #68f5ff;
  --blue: #3aa8ff;
  --violet: #ba70ff;
  --hot: #ff5565;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.wrap {
  width: min(100% - 2.4rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(127, 184, 244, 0.28);
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(9px);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.62rem 0;
  gap: 0.8rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.nav-logo img {
  width: clamp(142px, 16vw, 240px);
  filter: drop-shadow(0 0 18px rgba(103, 239, 255, 0.26));
}

.nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  font-size: 0.92rem;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Sora", "Segoe UI", sans-serif;
}

.eyebrow {
  display: inline-block;
  font-family: "Orbitron", "Space Grotesk", sans-serif;
  color: var(--cyan);
  letter-spacing: 0.1em;
  font-size: 0.77rem;
  text-transform: uppercase;
}

.hero {
  padding: 3.4rem 0 2.2rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.3rem;
}

.panel {
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(154deg, rgba(6, 14, 28, 0.9), rgba(3, 8, 16, 0.94));
  box-shadow: var(--shadow);
}

.cut-panel {
  clip-path: polygon(0 16px, 16px 0, calc(100% - 16px) 0, 100% 16px, 100% calc(100% - 16px), calc(100% - 16px) 100%, 16px 100%, 0 calc(100% - 16px));
}

.hero-main {
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.hero-main::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  right: -130px;
  top: -130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(103, 239, 255, 0.26), transparent 72%);
}

.hero-main::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(90deg, transparent 0%, transparent 20%, rgba(103, 239, 255, 0.2) 20.2%, transparent 21%),
    linear-gradient(90deg, transparent 0%, transparent 74%, rgba(162, 105, 255, 0.2) 74.2%, transparent 75%),
    linear-gradient(180deg, transparent 0%, transparent 28%, rgba(103, 239, 255, 0.18) 28.2%, transparent 29%),
    linear-gradient(180deg, transparent 0%, transparent 84%, rgba(56, 165, 255, 0.18) 84.2%, transparent 85%);
  opacity: 0.55;
}

.hero-emblem {
  margin: 1.2rem 0 1rem;
  padding: 0.9rem;
  border: 1px solid rgba(103, 239, 255, 0.24);
  border-radius: 14px;
  background: rgba(2, 8, 15, 0.7);
  position: relative;
  overflow: hidden;
}

.hero-emblem::before,
.hero-emblem::after {
  content: "";
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(103, 239, 255, 0.85), transparent);
}

.hero-emblem::before {
  left: 12px;
  right: 46%;
  top: 8px;
}

.hero-emblem::after {
  left: 46%;
  right: 12px;
  bottom: 8px;
}

.hero-emblem img {
  width: 100%;
  filter: drop-shadow(0 0 18px rgba(103, 239, 255, 0.28));
}

.launch-lockup {
  margin: 0.8rem 0 1.3rem;
  padding: 0.95rem;
  border: 1px solid rgba(103, 239, 255, 0.28);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(3, 10, 19, 0.9), rgba(2, 7, 14, 0.9));
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0.7rem;
  position: relative;
  overflow: hidden;
}

.launch-lockup::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(103, 239, 255, 0.95), transparent);
  animation: tracePulse 3.1s linear infinite;
}

.launch-lockup img {
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(103, 239, 255, 0.2));
}

.hazard-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.4rem 0 0.9rem;
  padding: 0.3rem 0.55rem;
  border: 1px solid rgba(255, 94, 108, 0.35);
  border-radius: 999px;
  color: #ffd4d8;
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(28, 7, 11, 0.7);
}

.hazard-tag::before {
  content: "";
  width: 42px;
  height: 7px;
  border-radius: 4px;
  background: repeating-linear-gradient(135deg, #ff4e5f 0 6px, #101727 6px 12px);
}

.hero h1 {
  margin-top: 0.62rem;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.05;
}

.hero p {
  color: var(--muted);
  line-height: 1.58;
  max-width: 62ch;
}

.platform-note {
  margin: 0.85rem 0 1.05rem;
  padding: 0.58rem 0.72rem;
  border: 1px solid rgba(255, 94, 108, 0.32);
  border-left: 3px solid var(--hot);
  border-radius: 10px;
  background: rgba(40, 10, 17, 0.36);
  color: #ffd6db;
  font-size: 0.9rem;
  line-height: 1.46;
  max-width: 70ch;
}

.cta-row {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 0.72rem 1.18rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 150ms ease;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  color: #031526;
  background: linear-gradient(120deg, var(--blue), var(--cyan));
  box-shadow: var(--glow);
}

.btn-ghost {
  color: var(--ink);
  background: rgba(12, 22, 40, 0.58);
  border: 1px solid rgba(113, 175, 243, 0.35);
}

.hero-side {
  display: grid;
  gap: 1rem;
}

.metric {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(113, 171, 236, 0.28);
  background: rgba(4, 13, 24, 0.84);
  padding: 1.1rem;
}

.metric .label {
  color: var(--muted);
  font-size: 0.79rem;
}

.metric .value {
  margin-top: 0.4rem;
  color: var(--cyan);
  font-family: "Orbitron", "Space Grotesk", sans-serif;
  letter-spacing: 0.02em;
}

.metric .copy {
  margin-top: 0.48rem;
  color: #b9cbe5;
  font-size: 0.84rem;
  line-height: 1.45;
}

.stack {
  display: grid;
  gap: 2.8rem;
  padding: 0.6rem 0 3.1rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.58;
}

.trace-heading {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding-right: 0.8rem;
}

.trace-heading::before,
.trace-heading::after {
  content: "";
  height: 2px;
  background: linear-gradient(90deg, rgba(103, 239, 255, 0.85), transparent);
  border-radius: 3px;
}

.trace-heading::before {
  width: 18px;
}

.trace-heading::after {
  width: 72px;
  animation: tracePulse 2.8s linear infinite;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.tile {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(4, 11, 21, 0.78);
  padding: 1rem;
  position: relative;
}

.tile::before {
  content: "";
  position: absolute;
  right: 10px;
  top: 10px;
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, rgba(103, 239, 255, 0.8), transparent);
}

.tile h3 {
  font-size: 1.03rem;
  margin-bottom: 0.56rem;
}

.tile p {
  margin: 0;
  color: var(--muted);
  line-height: 1.52;
}

.tour-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.tour-card {
  display: grid;
  grid-template-columns: 230px 1fr;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(110, 174, 243, 0.32);
  background: linear-gradient(150deg, rgba(4, 12, 24, 0.87), rgba(2, 9, 18, 0.92));
  overflow: hidden;
}

.tour-shot {
  margin: 0;
  border-right: 1px solid rgba(110, 174, 243, 0.28);
}

.tour-shot img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  max-height: 170px;
  object-fit: cover;
  object-position: top center;
}

.tour-copy {
  padding: 0.8rem 0.85rem 0.9rem;
}

.tour-copy h3 {
  font-size: 1.02rem;
  margin-bottom: 0.45rem;
}

.tour-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.52;
}

.tour-meta {
  margin-top: 0.48rem !important;
  font-size: 0.82rem;
  color: #bfd1ea !important;
}

.logo-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.9rem;
}

.logo-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(155deg, rgba(5, 14, 27, 0.83), rgba(3, 9, 18, 0.91));
  padding: 1.2rem;
}

.logo-card img {
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(97, 240, 255, 0.2));
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.shot {
  border: 1px solid rgba(112, 173, 242, 0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(2, 10, 21, 0.84);
  box-shadow: var(--shadow);
}

.shot img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: top center;
}

.shot figcaption {
  padding: 0.68rem 0.7rem;
  color: var(--muted);
  font-size: 0.81rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(116, 175, 243, 0.28);
  border-radius: var(--radius-lg);
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 840px;
}

th,
td {
  padding: 0.85rem 0.72rem;
  border-bottom: 1px solid rgba(126, 183, 246, 0.18);
  text-align: left;
}

th {
  background: rgba(9, 23, 40, 0.9);
  font-size: 0.9rem;
}

td {
  color: var(--muted);
  background: rgba(2, 11, 22, 0.93);
  font-size: 0.91rem;
}

td.revva {
  color: var(--cyan);
  font-weight: 700;
}

.note {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.callout {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(127, 190, 255, 0.34);
  background: linear-gradient(115deg, rgba(8, 24, 48, 0.92), rgba(5, 14, 28, 0.96));
  padding: 1.4rem;
}

.micro-accent {
  position: relative;
}

.micro-accent::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 12px;
  width: 64px;
  height: 7px;
  border-radius: 4px;
  opacity: 0.9;
  pointer-events: none;
  background: repeating-linear-gradient(135deg, var(--cyan) 0 6px, transparent 6px 12px);
}

@keyframes tracePulse {
  0% {
    transform: translateX(-35%);
    opacity: 0.4;
  }
  40% {
    opacity: 1;
  }
  100% {
    transform: translateX(35%);
    opacity: 0.4;
  }
}

.callout p {
  color: #d8e8ff;
  line-height: 1.56;
}

footer {
  margin-top: 1.8rem;
  border-top: 1px solid rgba(119, 175, 243, 0.2);
  padding: 2rem 0 3rem;
  color: var(--muted);
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 280ms ease, transform 280ms ease;
}

.reveal.on {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero,
  .logo-row,
  .feature-grid,
  .shot-grid,
  .tour-grid {
    grid-template-columns: 1fr;
  }

  .launch-lockup {
    grid-template-columns: 1fr;
  }

  .shot img {
    height: auto;
  }

  .tour-shot img {
    height: 180px;
    min-height: 180px;
    max-height: 180px;
  }

  .tour-card {
    grid-template-columns: 1fr;
  }

  .tour-shot {
    border-right: none;
    border-bottom: 1px solid rgba(110, 174, 243, 0.28);
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(100% - 1.2rem, var(--max));
  }

  .hero-main {
    padding: 1.35rem;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-logo img {
    width: clamp(128px, 46vw, 210px);
  }
}
