:root {
  --bg: #050b18;
  --card: #0d1324;
  --panel: #0f1a30;
  --primary: #5be49b;
  --primary-strong: #63f5bf;
  --accent: #47b5ff;
  --pink: #ff7ad1;
  --violet: #8c7bff;
  --warm: #ffb561;
  --muted: #9fb0c7;
  --stroke: rgba(255, 255, 255, 0.08);
  --text: #e7edf7;
  --heading: #f3f7ff;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.2'/%3E%3C/svg%3E");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  background-color: #030712;
  margin: 0;
  font-family: 'Sora', 'Space Grotesk', sans-serif;
  background: radial-gradient(circle at 18% 18%, rgba(71, 181, 255, 0.12), transparent 26%),
    radial-gradient(circle at 82% 6%, rgba(255, 122, 209, 0.14), transparent 32%),
    linear-gradient(150deg, #030712 0%, #061025 40%, #050b18 80%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

html {
  background-color: #030712;
}

.page-shell {
  z-index: 1;
}

.global-backdrop {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.glow {
  position: absolute;
  width: 56vw;
  height: 56vw;
  filter: blur(140px);
  opacity: 0.8;
  mix-blend-mode: screen;
  animation: drift 18s ease-in-out infinite;
}

.glow-a {
  top: -12%;
  left: -4%;
  background: radial-gradient(circle, rgba(99, 245, 191, 0.5), transparent 60%);
}

.glow-b {
  bottom: -10%;
  right: -6%;
  background: radial-gradient(circle, rgba(71, 181, 255, 0.45), transparent 62%);
  animation-duration: 24s;
}

.glow-c {
  top: 35%;
  right: 10%;
  background: radial-gradient(circle, rgba(255, 122, 209, 0.3), transparent 55%);
  animation-duration: 20s;
}

.laser-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0 / 160px 160px,
    linear-gradient(0deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0 / 160px 160px;
  opacity: 0.22;
  animation: gridPan 22s linear infinite;
}

.starfield {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1px 1px at 10% 20%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 30% 40%, rgba(99, 245, 191, 0.9), transparent),
    radial-gradient(1px 1px at 70% 10%, rgba(255, 122, 209, 0.9), transparent),
    radial-gradient(1px 1px at 80% 70%, rgba(71, 181, 255, 0.9), transparent),
    radial-gradient(1px 1px at 50% 85%, rgba(255, 255, 255, 0.6), transparent);
  background-size: cover;
  opacity: 0.5;
  mix-blend-mode: screen;
  animation: starDrift 28s linear infinite;
}

.grain-layer {
  position: absolute;
  inset: 0;
  background: var(--noise);
  opacity: 0.22;
  mix-blend-mode: soft-light;
}

.particle-field {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.3), transparent 35%),
    radial-gradient(circle at 80% 60%, rgba(99, 245, 191, 0.3), transparent 40%);
  mix-blend-mode: screen;
  opacity: 0.35;
  animation: sparkleShift 14s ease-in-out infinite;
}

.ray-sweep {
  position: absolute;
  inset: -10% 10%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.12), transparent 60%);
  filter: blur(12px);
  mix-blend-mode: screen;
  animation: sweep 9s ease-in-out infinite;
  opacity: 0.55;
}

.cursor-light {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(280px at var(--cursor-x, 50%) var(--cursor-y, 50%), rgba(99, 245, 191, 0.18), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.6;
  z-index: 0;
  transition: opacity 0.3s ease;
}

.nav a.active {
  color: var(--heading);
  position: relative;
}

.nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--pink));
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(99, 245, 191, 0.6);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.04);
  z-index: 40;
  backdrop-filter: blur(8px);
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--pink));
  transition: width 0.15s ease-out;
}

.page-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 64px;
  position: relative;
}

.page-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(99, 245, 191, 0.04), rgba(71, 181, 255, 0.04));
  filter: blur(40px);
  z-index: -1;
}

.page-shell::after {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 24px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.02) 10%, transparent 10%) 0 0 / 14px 14px,
    linear-gradient(0deg, rgba(255, 255, 255, 0.02) 10%, transparent 10%) 0 0 / 14px 14px;
  opacity: 0.4;
  pointer-events: none;
  mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.8), transparent 70%);
  mix-blend-mode: screen;
}

.noise {
  position: absolute;
  inset: 0;
  background: var(--noise);
  opacity: 0.4;
  pointer-events: none;
}

.section {
  margin: 72px 0;
}

h1,
h2,
h3,
  --header-alpha: 0.86;
h4 {
  color: var(--heading);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 12px;
}

.muted {
  color: var(--muted);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  color: var(--primary);
  margin-bottom: 8px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.section-head.centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-head.centered .section-desc {
  max-width: 560px;
  margin: 0 auto;
}

.section-desc {
  max-width: 420px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  position: sticky;
  top: max(6px, env(safe-area-inset-top, 0px) + 4px);
  z-index: 20;
  backdrop-filter: blur(20px);
  background: rgba(5, 11, 24, var(--header-alpha));
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  margin: 5px 0 14px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.logo-img {
  display: block;
  height: 42px;
  width: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid;
  place-items: center;
  color: #03122b;
  font-weight: 700;
}

.logo-text strong {
  display: block;
  color: var(--heading);
}

.logo-text small {
  color: var(--muted);
}

#detail-content {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 8px 0 32px;
}

#detail-content .detail-figure {
  margin: 32px auto;
  text-align: center;
  width: 100%;
  max-width: 1100px;
}

#detail-content .detail-image {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 1100px;
  border-radius: 16px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  padding: 10px 0;
}

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

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #03122b !important;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow);
  margin-left: 10px;
  display: inline-flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0;
  background: transparent;
  border: 1px solid var(--stroke);
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle-icon {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle-icon span {
  width: 18px;
  height: 2px;
  background: var(--heading);
  display: block;
}

.hero {
  margin-top: clamp(24px, 6vw, 64px);
  padding-bottom: clamp(24px, 6vw, 64px);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  position: relative;
  max-width: min(1160px, 94vw);
  margin: 0 auto;
  justify-items: center;
  text-align: center;
}

.hero-copy {
  z-index: 2;
  width: 100%;
  max-width: min(780px, 96vw);
  margin: 0 auto;
}

.hero-copy h1 {
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.15;
  text-wrap: balance;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(99, 245, 191, 0.12);
  color: var(--primary);
  font-weight: 600;
  border: 1px solid rgba(99, 245, 191, 0.4);
  flex-wrap: wrap;
  max-width: 100%;
  row-gap: 4px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 4px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  color: var(--heading);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  background: var(--card);
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

[data-magnetic] {
  position: relative;
  transition: transform 0.16s ease, box-shadow 0.18s ease;
}

.button.primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #03122b;
  border-color: transparent;
  box-shadow: var(--shadow);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.04);
}

.button.block {
  width: 100%;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.hero-stats strong {
  font-size: 24px;
  display: block;
  color: var(--heading);
}

.hero-stats span {
  color: var(--muted);
}

.hero-marquee {
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.03);
  position: relative;
}

.hero-marquee::before,
.hero-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  width: 14%;
  height: 100%;
  z-index: 2;
}

.hero-marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(5, 11, 24, 0.8), transparent);
}

.hero-marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(5, 11, 24, 0.8), transparent);
}

.marquee-track {
  display: flex;
  gap: 28px;
  padding: 12px 16px;
  width: max-content;
  animation: marquee 16s linear infinite;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--heading);
  font-weight: 600;
}

.marquee-track span {
  white-space: nowrap;
}
.hero-panel {
  background: linear-gradient(160deg, rgba(99, 245, 191, 0.1), rgba(71, 181, 255, 0.1));
  border: 1px solid rgba(99, 245, 191, 0.25);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s ease;
}

.hero-visual {
  position: relative;
  background: radial-gradient(circle at 30% 30%, rgba(99, 245, 191, 0.12), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(71, 181, 255, 0.12), transparent 45%),
    rgba(8, 14, 30, 0.9);
  border: 1px solid var(--stroke);
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow);
  z-index: 1;
}

.hero-aurora {
  position: absolute;
  inset: -20%;
  background: conic-gradient(from 120deg, rgba(99, 245, 191, 0.12), rgba(71, 181, 255, 0.14), rgba(255, 122, 209, 0.14), rgba(99, 245, 191, 0.12));
  filter: blur(48px);
  opacity: 0.6;
  animation: auroraShift 20s ease-in-out infinite;
  mix-blend-mode: screen;
  z-index: 0;
}

.hero-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 55%);
  mix-blend-mode: screen;
  opacity: 0.45;
  animation: scanDown 7s linear infinite;
  z-index: 1;
}

.hero-constellation {
  position: absolute;
  inset: 10% 6%;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  pointer-events: none;
}

.hero-constellation span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-strong), rgba(255, 255, 255, 0));
  box-shadow: 0 0 10px rgba(99, 245, 191, 0.7);
  animation: twinkle 4s ease-in-out infinite;
}

.hero-constellation span:nth-child(2) {
  justify-self: end;
  animation-delay: 0.8s;
}

.hero-constellation span:nth-child(3) {
  align-self: end;
  animation-delay: 1.4s;
}

.hero-constellation span:nth-child(4) {
  justify-self: end;
  align-self: end;
  animation-delay: 2.2s;
}

.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(99, 245, 191, 0.12), transparent 50%);
  mix-blend-mode: screen;
}

.energy-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) repeat,
    linear-gradient(0deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px) repeat;
  background-size: 32px 32px;
  opacity: 0.4;
  animation: gridFlow 14s linear infinite;
  z-index: 1;
  pointer-events: none;
}

.beam {
  position: absolute;
  width: 220%;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(99, 245, 191, 0.5), rgba(71, 181, 255, 0.5), transparent);
  filter: drop-shadow(0 0 12px rgba(99, 245, 191, 0.3));
  opacity: 0.8;
  --beam-rotate: 8deg;
  animation: beamMove 6s linear infinite;
  z-index: 3;
}

.beam-a {
  top: 35%;
  left: -60%;
  transform: rotate(var(--beam-rotate));
}

.beam-b {
  bottom: 20%;
  left: -80%;
  --beam-rotate: -6deg;
  animation-duration: 8s;
}

.energy-orb {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 245, 191, 0.7), rgba(71, 181, 255, 0.1));
  filter: blur(1px);
  animation: float 9s ease-in-out infinite;
  z-index: 3;
}

.orb-a {
  top: 18%;
  right: 16%;
}

.orb-b {
  bottom: 12%;
  left: 14%;
  animation-duration: 11s;
}

.energy-rings {
  position: absolute;
  inset: 18%;
  display: grid;
  place-items: center;
  pointer-events: none;
  z-index: 2;
}

.energy-rings span {
  width: 70%;
  height: 70%;
  border: 1px solid rgba(99, 245, 191, 0.28);
  border-radius: 50%;
  animation: ringPulse 6s ease-in-out infinite;
  mix-blend-mode: screen;
}

.energy-rings span:nth-child(2) {
  width: 90%;
  height: 90%;
  animation-delay: 1s;
  border-color: rgba(71, 181, 255, 0.28);
}

.energy-rings span:nth-child(3) {
  width: 110%;
  height: 110%;
  animation-delay: 2s;
  border-color: rgba(255, 255, 255, 0.14);
}

.orbit {
  position: absolute;
  inset: 10%;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  mix-blend-mode: screen;
  animation: orbitSpin 18s linear infinite;
  z-index: 1;
}

.orbit-b {
  inset: 2%;
  animation-duration: 26s;
  border-style: solid;
  border-color: rgba(71, 181, 255, 0.24);
}

.circuit {
  position: absolute;
  inset: 20px;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  opacity: 0.85;
  z-index: 4;
}

.circuit-path {
  stroke-dasharray: 12 12;
  animation: dash 12s linear infinite;
  filter: drop-shadow(0 0 12px rgba(99, 245, 191, 0.35));
}

.circuit-node {
  fill: rgba(71, 181, 255, 0.2);
  stroke: rgba(99, 245, 191, 0.7);
  stroke-width: 2;
}

.circuit-node.pulse {
  animation: pulse 2.8s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(99, 245, 191, 0.6));
}

.floating-card {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 440px;
  max-width: calc(100% - 32px);
  backdrop-filter: blur(16px);
  z-index: 20;
}

.floating-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  border: 1px solid rgba(99, 245, 191, 0.45);
  background: rgba(5, 11, 24, 0.85);
  color: var(--heading);
  padding: 12px 14px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow);
  animation: float 7s ease-in-out infinite;
  z-index: 8;
}

.holo {
  position: relative;
  overflow: hidden;
}

.holo::before {
  content: '';
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 20% 20%, rgba(99, 245, 191, 0.1), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(71, 181, 255, 0.12), transparent 40%);
  filter: blur(30px);
  z-index: 0;
}

.holo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  position: relative;
  z-index: 1;
}

.holo-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(99, 245, 191, 0.05));
  border: 1px solid rgba(99, 245, 191, 0.3);
  border-radius: 18px;
  padding: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

.holo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.12), transparent 60%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.holo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.holo-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

.spark-lines {
  position: relative;
  height: 120px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
}

.spark {
  position: absolute;
  height: 2px;
  width: 120%;
  background: linear-gradient(90deg, transparent, rgba(99, 245, 191, 0.7), transparent);
  filter: drop-shadow(0 0 10px rgba(99, 245, 191, 0.4));
  animation: beamMove 5s linear infinite;
}

.spark-1 {
  top: 25%;
  animation-duration: 5s;
}

.spark-2 {
  top: 55%;
  animation-duration: 6s;
}

.spark-3 {
  top: 75%;
  animation-duration: 7s;
}

.event-feed {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.event-feed li {
  display: flex;
  gap: 8px;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke);
  padding: 10px;
  border-radius: 12px;
}

.panel-header {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  align-items: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--heading);
  font-weight: 600;
  border: 1px solid var(--stroke);
}

.chip.ghost {
  background: transparent;
  color: var(--muted);
}

.panel-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  gap: 12px;
  min-height: 64px;
}

.panel-row .label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-size: 11px;
  margin: 0 0 4px;
  line-height: 1.2;
}

.panel-row .value {
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  text-align: right;
  line-height: 1.3;
  flex-shrink: 0;
}

.panel-row.highlight {
  border-color: rgba(99, 245, 191, 0.4);
  background: rgba(99, 245, 191, 0.05);
}

.panel-row > div {
  flex: 1;
  min-width: 0;
}

.panel-row strong {
  display: block;
  font-size: 15px;
  line-height: 1.3;
  color: var(--heading);
}

.panel-footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  color: var(--text);
  text-decoration: none;
}

.service-card .card-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  height: 170px;
  background: linear-gradient(135deg, rgba(71, 181, 255, 0.08), rgba(99, 245, 191, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.service-card .card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-card {
  cursor: pointer;
  touch-action: manipulation;
  position: relative;
}

.service-card .card-thumb .card-chip {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(5, 11, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  backdrop-filter: blur(6px);
}

.card,
.tech-card,
.holo-card,
.contact-card,
.steps .step,
.timeline-item {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card.tilted,
.tech-card.tilted,
.holo-card.tilted,
.contact-card.tilted,
.steps .step.tilted,
.timeline-item.tilted {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  border-color: rgba(99, 245, 191, 0.25);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 245, 191, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  font-size: 20px;
}

.card-icon.large {
  width: 52px;
  height: 52px;
}

.card ul {
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
  display: grid;
  gap: 6px;
}

.timeline {
  margin-top: 24px;
  border-left: 1px solid var(--stroke);
  padding-left: 18px;
  display: grid;
  gap: 18px;
}

.timeline-item {
  position: relative;
}

.timeline-item .dot {
  position: absolute;
  left: -28px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 0 8px rgba(99, 245, 191, 0.1);
}

.label {
  color: var(--muted);
  letter-spacing: 0.08em;
  font-size: 11px;
  text-transform: uppercase;
  margin: 0 0 6px;
}

.stacked-list {
  display: grid;
  gap: 10px;
  max-width: 360px;
}

.chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.tech {
  background: linear-gradient(135deg, rgba(71, 181, 255, 0.06), rgba(99, 245, 191, 0.08));
  border: 1px solid var(--stroke);
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: start;
}

.tech-card {
  background: rgba(5, 11, 24, 0.7);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.tech-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--stroke);
  padding-bottom: 12px;
}

.value {
  color: var(--primary);
  font-weight: 700;
}

.value.positive {
  background: rgba(99, 245, 191, 0.15);
  color: var(--primary-strong);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(99, 245, 191, 0.4);
}

.tech-list {
  list-style: none;
  padding: 14px 0 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.tech-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--stroke);
  padding: 10px 12px;
  border-radius: 12px;
}

.tech-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.step {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.step::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 245, 191, 0.06), transparent 60%);
  pointer-events: none;
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(71, 181, 255, 0.12);
  color: var(--heading);
  display: grid;
  place-items: center;
  font-weight: 700;
  border: 1px solid var(--stroke);
  margin-bottom: 6px;
}

.contact {
  background: linear-gradient(135deg, rgba(71, 181, 255, 0.08), rgba(99, 245, 191, 0.08));
  border: 1px solid var(--stroke);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.contact-form,
.contact-card {
  background: rgba(5, 11, 24, 0.7);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--heading);
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.footer-form input {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.03);
  color: var(--heading);
  font-family: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.form-hint {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

.form-status {
  margin-top: 6px;
  font-weight: 600;
}

.contact-card .contact-details {
  display: grid;
  gap: 10px;
}

.strong-link {
  color: var(--heading);
  text-decoration: none;
  font-weight: 700;
}

.strong-link:hover {
  color: var(--primary);
}

.contact-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.pill-small {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  color: var(--heading);
  border: 1px solid var(--stroke);
}

.footer {
  margin-top: 48px;
  border-top: 1px solid var(--stroke);
  padding-top: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--heading);
  text-decoration: none;
}

.footer-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-form button {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--stroke);
  background: var(--card);
  color: var(--heading);
  cursor: pointer;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  color: var(--muted);
  gap: 12px;
  flex-wrap: wrap;
}

.footer-logo .logo-mark {
  width: 32px;
  height: 32px;
}

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

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

@keyframes gridFlow {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 32px 32px, 32px 32px;
  }
}

@keyframes headerGlow {
  0% {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  }
  50% {
    opacity: 1;
    transform: translateY(0) scale(1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  }
  100% {
    opacity: 0;
    transform: translateY(-4px) scale(0.99);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  }
}
@keyframes gridPan {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-90px, -110px, 0);
  }
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(50px, -30px, 0) scale(1.06);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes auroraShift {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(20deg) scale(1.08);
  }
  100% {
    transform: rotate(0deg) scale(1);
  }
}

@keyframes scanDown {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.3);
  }
}

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

@keyframes sparkleShift {
  0% {
    filter: blur(0px);
    opacity: 0.28;
  }
  50% {
    filter: blur(2px);
    opacity: 0.42;
  }
  100% {
    filter: blur(0px);
    opacity: 0.28;
  }
}

@keyframes sweep {
  0% {
    transform: translateX(-20%) skewX(-6deg);
  }
  50% {
    transform: translateX(10%) skewX(0deg);
  }
  100% {
    transform: translateX(-20%) skewX(-6deg);
  }
}

@keyframes starDrift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-80px, -40px, 0);
  }
}

.stats-showcase {
  background: linear-gradient(135deg, rgba(71, 181, 255, 0.08), rgba(99, 245, 191, 0.08));
  border: 1px solid var(--stroke);
  border-radius: 22px;
  padding: 32px 24px;
  box-shadow: var(--shadow);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 245, 191, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.stat-icon {
  font-size: 42px;
  margin-bottom: 12px;
}

.stat-number {
  display: block;
  font-size: 48px;
  font-weight: 700;
  color: var(--primary-strong);
  margin: 8px 0;
  font-family: 'Space Grotesk', monospace;
}

.stat-card p {
  color: var(--muted);
  margin: 0;
}

.projects-gallery {
  margin: 64px 0;
}

.project-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 24px 0;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.25s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #03122b;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(99, 245, 191, 0.3);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.project-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--stroke);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  color: var(--text);
  text-decoration: none;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border-color: rgba(99, 245, 191, 0.3);
  color: var(--text);
}

.card:link,
.card:visited,
.project-card:link,
.project-card:visited {
  color: var(--text);
}

.card:hover,
.project-card:hover {
  color: var(--text);
}

.project-card[data-hidden="true"] {
  display: none;
}

.project-image {
  height: 200px;
  background: linear-gradient(135deg, rgba(71, 181, 255, 0.1), rgba(99, 245, 191, 0.1));
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.project-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(5, 11, 24, 0.9));
}

.project-placeholder {
  font-size: 64px;
  opacity: 0.6;
}

.project-content {
  padding: 20px;
}

.project-content h3 {
  margin: 10px 0;
  font-size: 18px;
}

.project-content p {
  font-size: 14px;
  margin: 8px 0;
}

.project-meta {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

.testimonials-section {
  background: linear-gradient(135deg, rgba(99, 245, 191, 0.06), rgba(71, 181, 255, 0.08));
  border: 1px solid var(--stroke);
  border-radius: 22px;
  padding: 32px 24px;
  box-shadow: var(--shadow);
}

.testimonials-carousel {
  position: relative;
  max-width: 900px;
  margin: 32px auto 0;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
}

.testimonial-card {
  min-width: 100%;
  background: rgba(5, 11, 24, 0.7);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.quote-icon {
  font-size: 72px;
  line-height: 0.8;
  color: var(--primary);
  opacity: 0.3;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  margin: 16px 0;
}

.testimonial-author {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--stroke);
}

.testimonial-author strong {
  display: block;
  color: var(--heading);
  font-size: 16px;
}

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

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.06);
  color: var(--heading);
  font-size: 24px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: grid;
  place-items: center;
}

.carousel-btn:hover {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #03122b;
  border-color: transparent;
  transform: scale(1.08);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  place-items: center;
  color: var(--heading);
  transition: all 0.25s ease;
  text-decoration: none;
}

.social-icon:hover {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #03122b;
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(99, 245, 191, 0.3);
}

.footer-badges {
  display: flex;
  gap: 8px;
  align-items: center;
}

.cta-bubble {
  position: fixed;
  inset: auto 20px 20px auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(99, 245, 191, 0.5);
  background: linear-gradient(135deg, rgba(99, 245, 191, 0.9), rgba(91, 228, 155, 0.9));
  color: #03122b;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.96);
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.2s ease;
}

.cta-bubble.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.cta-bubble:hover {
  box-shadow: 0 24px 70px rgba(99, 245, 191, 0.35);
}

.cta-bubble:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.cta-bubble .bubble-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #03122b;
  color: var(--accent);
  font-size: 18px;
  box-shadow: 0 10px 28px rgba(3, 18, 43, 0.35);
}

.cta-bubble .bubble-text {
  font-size: 15px;
  line-height: 1;
}

@keyframes beamMove {
  from {
    transform: translateX(-10%) rotate(var(--beam-rotate));
  }
  to {
    transform: translateX(20%) rotate(var(--beam-rotate));
  }
}

@keyframes dash {
  to {
    stroke-dashoffset: -240;
  }
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    r: 9;
    opacity: 0.9;
  }
  50% {
    r: 12;
    opacity: 0.4;
  }
}

@keyframes ringPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.6;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0.92);
    opacity: 0.5;
  }
}

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

@media (max-width: 900px) {
  .nav {
    position: absolute;
    top: 68px;
    right: 20px;
    background: rgba(5, 11, 24, 0.94);
    border: 1px solid var(--stroke);
    border-radius: 16px;
    padding: 10px 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    display: none;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .section-head {
    flex-direction: column;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: auto;
  }

  .hero-visual {
    min-height: 420px;
  }

  .floating-card {
    position: relative;
    width: 100%;
    right: 0;
    bottom: 0;
    margin-top: 24px;
  }

  .panel-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .panel-row .value {
    align-self: flex-end;
  }

  .floating-badge {
    position: relative;
    top: 0;
    left: 0;
    width: fit-content;
    margin-bottom: 12px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 18px 16px 48px;
  }

  .card,
  .contact-form,
  .contact-card,
  .tech-card {
    padding: 16px;
  }
}

@media (max-width: 768px) {
  .section {
    margin: 48px 0;
  }

  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
  }

  .site-header.mobile-highlight {
    background: rgba(5, 11, 24, var(--header-alpha));
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(20px);
    animation: headerGlow 2s ease;
  }

  .logo {
    width: auto;
    justify-content: flex-start;
  }

  .nav-toggle {
    display: flex;
    justify-content: center;
    width: auto;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  }

  .nav-toggle-icon {
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }

  .hero {
    margin-top: 24px;
    padding-bottom: 24px;
  }

  .hero-content {
    gap: 40px;
  }

  .hero-copy h1 {
    font-size: clamp(26px, 7vw, 34px);
  }

  .hero-visual {
    min-height: 360px;
  }

  .card-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
  }

  .cta-bubble {
    inset: auto 12px 12px auto;
    padding: 12px;
    gap: 0;
    border-radius: 50%;
  }

  .cta-bubble .bubble-icon {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }

  .cta-bubble .bubble-text {
    display: none;
  }
}

@media (max-width: 768px), (prefers-reduced-motion: reduce), (pointer: coarse) {
  .glow,
  .laser-grid,
  .starfield,
  .particle-field,
  .ray-sweep,
  .hero-aurora,
  .hero-scan,
  .hero-constellation span,
  .energy-grid,
  .beam,
  .energy-orb,
  .energy-rings span,
  .orbit,
  .circuit-path,
  .circuit-node.pulse,
  .floating-badge,
  .marquee-track {
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
