/*
  Vueage V2.0 — Spatial Intelligence Edition
  Readable, editable CSS organised by section.
*/

:root {
  --bg: #050713;
  --bg-soft: #0b1024;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --faint: rgba(255, 255, 255, 0.14);
  --cyan: #7cf7ff;
  --violet: #9b7cff;
  --pink: #ff3ff2;
  --radius: 28px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  max-width: 100%;
  display: block;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  padding: 12px 16px;
  color: #06101a;
  background: var(--cyan);
  border-radius: 12px;
}

.skip-link:focus {
  top: 16px;
}

/* Background effects */

.site-backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 18% 20%, rgba(155, 124, 255, 0.36), transparent 35%),
    radial-gradient(circle at 82% 12%, rgba(124, 247, 255, 0.22), transparent 30%),
    linear-gradient(135deg, #060817 0%, #101544 45%, #5d2cff 100%);
}

.site-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image: linear-gradient(rgba(255,255,255,0.13) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.13) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, transparent, black 15%, transparent 92%);
}

.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(26px);
  animation: floatGlow 12s ease-in-out infinite;
}

.glow-one {
  width: 240px;
  height: 240px;
  left: 8%;
  top: 18%;
  background: rgba(255, 63, 242, 0.35);
}

.glow-two {
  width: 320px;
  height: 320px;
  right: 10%;
  top: 32%;
  background: rgba(124, 247, 255, 0.26);
  animation-delay: -4s;
}

.glow-three {
  width: 260px;
  height: 260px;
  left: 35%;
  bottom: 10%;
  background: rgba(155, 124, 255, 0.32);
  animation-delay: -8s;
}

@keyframes floatGlow {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(24px, -18px, 0) scale(1.08); }
}

/* Header */

.site-header {
  position: sticky;
  top: 18px;
  z-index: 10;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 18px auto 0;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--faint);
  border-radius: 26px;
  background: rgba(5, 7, 19, 0.72);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.brand img {
  width: 168px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

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

.nav-button {
  padding: 10px 15px;
  color: #07101a !important;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: white;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Shared sections */

.section {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 92px 0;
}

.section-label,
.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 26px;
  font-size: clamp(3.6rem, 9vw, 7.8rem);
  line-height: 0.88;
  letter-spacing: -0.09em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 5vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

/* Hero */

.hero {
  min-height: calc(100vh - 110px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 42px;
  padding-top: 78px;
}

.hero-text {
  max-width: 720px;
  font-size: clamp(1.08rem, 2.2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid var(--faint);
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #08101c;
  background: linear-gradient(135deg, var(--cyan), var(--violet), var(--pink));
  box-shadow: 0 18px 40px rgba(255, 63, 242, 0.25);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hologram-card {
  position: relative;
  width: min(470px, 100%);
  aspect-ratio: 0.86;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--faint);
  border-radius: 42px;
  background:
    radial-gradient(circle at 50% 18%, rgba(124, 247, 255, 0.3), transparent 25%),
    linear-gradient(145deg, rgba(255,255,255,0.16), rgba(255,255,255,0.045));
  box-shadow: var(--shadow);
}

.holo-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.orbit-one {
  width: 82%;
  height: 82%;
  animation: rotate 18s linear infinite;
}

.orbit-two {
  width: 62%;
  height: 62%;
  transform: rotate(70deg);
  animation: rotate 12s linear infinite reverse;
}

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

.spatial-headset {
  position: relative;
  width: 78%;
  height: 34%;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-radius: 48px;
  background: rgba(6, 10, 30, 0.82);
  box-shadow: inset 0 0 38px rgba(124, 247, 255, 0.08), 0 22px 70px rgba(0, 0, 0, 0.4);
}

.visor-line {
  position: absolute;
  top: 22%;
  left: 28%;
  width: 44%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
}

.lens {
  position: absolute;
  bottom: 24%;
  width: 28%;
  height: 26%;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(124,247,255,0.25), rgba(255,63,242,0.18));
}

.lens.left { left: 17%; }
.lens.right { right: 17%; }

.sensor-dot {
  position: absolute;
  top: 17%;
  right: 23%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 22px var(--cyan);
}

.floating-chip {
  position: absolute;
  padding: 9px 12px;
  border: 1px solid var(--faint);
  border-radius: 999px;
  color: rgba(255,255,255,0.82);
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  font-size: 0.78rem;
  font-weight: 900;
}

.chip-one { left: 8%; top: 18%; }
.chip-two { right: 9%; top: 32%; }
.chip-three { left: 18%; bottom: 16%; }

/* Vision and metrics */

.vision {
  max-width: 960px;
  text-align: center;
}

.vision p:last-child {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1.12rem;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 20px;
}

.metrics article {
  padding: 26px;
  border: 1px solid var(--faint);
  border-radius: var(--radius);
  text-align: center;
  background: rgba(255, 255, 255, 0.07);
}

.metrics strong {
  display: block;
  margin-bottom: 8px;
  font-size: 2.4rem;
}

.metrics span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Cards */

.card-grid,
.labs-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card,
.lab-card,
.article-card,
.timeline-item,
.contact-card,
.investors {
  border: 1px solid var(--faint);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 20px 60px rgba(0,0,0,0.20);
  backdrop-filter: blur(18px);
}

.feature-card,
.lab-card,
.article-card {
  padding: 28px;
}

.feature-card:hover,
.lab-card:hover,
.article-card:hover,
.timeline-item:hover {
  border-color: rgba(124, 247, 255, 0.35);
  background: rgba(255, 255, 255, 0.11);
}

.icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.11);
  font-size: 1.4rem;
}

/* Industries */

.industry-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.industry-strip span {
  padding: 14px 18px;
  border: 1px solid var(--faint);
  border-radius: 999px;
  color: rgba(255,255,255,0.86);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

/* Timeline */

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.timeline-item {
  padding: 26px;
}

.timeline-item span {
  color: var(--cyan);
  font-weight: 900;
}

/* Investors and contact */

.investors {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
}

.investors div {
  max-width: 720px;
}

.contact-card {
  max-width: 840px;
  margin: 0 auto;
  padding: 34px;
}

.signup-form {
  margin-top: 28px;
}

.signup-form label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-weight: 800;
}

.form-row {
  display: flex;
  gap: 12px;
}

.form-row input {
  flex: 1;
  min-height: 56px;
  padding: 0 18px;
  color: white;
  border: 1px solid var(--faint);
  border-radius: 999px;
  outline: none;
  background: rgba(255, 255, 255, 0.08);
}

.form-row input:focus {
  border-color: rgba(124, 247, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(124, 247, 255, 0.12);
}

/* Footer */

.site-footer {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 36px 0 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-top: 1px solid var(--faint);
}

.site-footer img {
  width: 142px;
  margin-bottom: 12px;
}

.site-footer p {
  margin: 0;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: var(--muted);
  font-weight: 800;
}

/* Reveal animations */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 92px;
    left: 16px;
    right: 16px;
    display: none;
    padding: 18px;
    border: 1px solid var(--faint);
    border-radius: 24px;
    background: rgba(5, 7, 19, 0.95);
    backdrop-filter: blur(24px);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: grid;
    gap: 14px;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 62px;
  }

  .hero-actions,
  .form-row,
  .investors,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .metrics,
  .card-grid,
  .labs-grid,
  .article-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 70px 0;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .site-header {
    top: 10px;
    width: min(calc(100% - 20px), var(--max-width));
    margin-top: 10px;
    border-radius: 22px;
  }

  .brand img {
    width: 138px;
  }

  .section {
    width: min(calc(100% - 24px), var(--max-width));
  }

  h1 {
    font-size: clamp(3.15rem, 17vw, 4.75rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3.2rem);
  }

  .hologram-card {
    border-radius: 30px;
  }

  .feature-card,
  .lab-card,
  .article-card,
  .timeline-item,
  .contact-card,
  .investors {
    padding: 22px;
  }
}
