:root {
  --bg: #020617;
  --bg-alt: #020b1a;
  --accent: #21f0c3;
  --accent-soft: rgba(33, 240, 195, 0.26);
  --text: #e5f2ff;
  --muted: #7f8ca5;
  --border: #1e293b;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.75);
  --max-width: 1080px;
  --nav-height: 70px;
  --transition-fast: 160ms ease-out;
}

/* RESET */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  background: radial-gradient(circle at top, #04152d 0, #020617 45%, #000 100%);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Inter", "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* === ANIMATED BACKGROUND LAYERS === */

/* Moving neon “aurora” layer */
body::before {
  content: "";
  position: fixed;
  inset: -30%;
  background:
    radial-gradient(circle at 0% 0%, rgba(91, 245, 255, 0.38), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(33, 240, 195, 0.35), transparent 55%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.2), rgba(15, 118, 110, 0.45), rgba(15, 23, 42, 0.2));
  background-size: 180% 180%, 180% 180%, 260% 260%;
  mix-blend-mode: screen;
  opacity: 0.8;
  pointer-events: none;
  animation: bgNeon 26s ease-in-out infinite;
  z-index: -3;
}

/* Faint cyber grid + vignette */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.7) 70%);
  background-size: 46px 46px, 46px 46px, 100% 100%;
  mix-blend-mode: soft-light;
  opacity: 0.35;
  pointer-events: none;
  z-index: -1;
}

/* Drifting neon orbs */
.bg-orb {
  position: fixed;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #afffe9 0, #21f0c3 45%, #021016 100%);
  box-shadow: 0 0 40px rgba(33, 240, 195, 0.7);
  opacity: 0.35;
  pointer-events: none;
  z-index: -2;
}

.bg-orb.orb-1 {
  width: 220px;
  height: 220px;
  top: 8%;
  left: -60px;
  animation: orbFloat1 32s ease-in-out infinite alternate;
}

.bg-orb.orb-2 {
  width: 160px;
  height: 160px;
  top: 65%;
  left: 10%;
  animation: orbFloat2 26s ease-in-out infinite alternate;
}

.bg-orb.orb-3 {
  width: 260px;
  height: 260px;
  top: 20%;
  right: -90px;
  animation: orbFloat3 34s ease-in-out infinite alternate;
}

.bg-orb.orb-4 {
  width: 140px;
  height: 140px;
  top: 80%;
  right: 12%;
  animation: orbFloat4 28s ease-in-out infinite alternate;
}

.bg-orb.orb-5 {
  width: 180px;
  height: 180px;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  animation: orbFloat5 30s ease-in-out infinite alternate;
}

/* Background aurora animation */
@keyframes bgNeon {
  0% {
    background-position: 0% 0%, 100% 100%, 0% 0%;
    opacity: 0.7;
  }
  25% {
    background-position: 100% 0%, 0% 100%, 50% 50%;
    opacity: 0.9;
  }
  50% {
    background-position: 100% 100%, 0% 0%, 100% 50%;
    opacity: 0.8;
  }
  75% {
    background-position: 0% 100%, 100% 0%, 50% 100%;
    opacity: 0.9;
  }
  100% {
    background-position: 0% 0%, 100% 100%, 0% 0%;
    opacity: 0.7;
  }
}

/* Orb drift paths */
@keyframes orbFloat1 {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(40px, 20px, 0);
  }
  100% {
    transform: translate3d(10px, 50px, 0);
  }
}

@keyframes orbFloat2 {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-30px, -30px, 0);
  }
  100% {
    transform: translate3d(10px, -50px, 0);
  }
}

@keyframes orbFloat3 {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-50px, 10px, 0);
  }
  100% {
    transform: translate3d(-20px, 40px, 0);
  }
}

@keyframes orbFloat4 {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(30px, -20px, 0);
  }
  100% {
    transform: translate3d(-10px, -40px, 0);
  }
}

@keyframes orbFloat5 {
  0% {
    transform: translate3d(-50%, 0, 0);
  }
  50% {
    transform: translate3d(-50%, 25px, 0);
  }
  100% {
    transform: translate3d(-50%, -20px, 0);
  }
}

/* links / container */

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

.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px 64px;
}

/* NAVBAR */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(22px);
  background: linear-gradient(
    to bottom,
    rgba(2, 6, 23, 0.95),
    rgba(2, 6, 23, 0.7),
    transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px 20px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.nav-logo {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #afffe9 0, #21f0c3 35%, #052529 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(33, 240, 195, 0.55);
  overflow: hidden;
}

.nav-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-title {
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #cbd5f5;
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 0.92rem;
  color: var(--muted);
}

.nav-links a {
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #5bf5ff);
  transition: width var(--transition-fast);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #e2e8f0;
  background: radial-gradient(circle at 0 0, rgba(33, 240, 195, 0.21), transparent 60%);
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast),
    box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.nav-cta:hover {
  transform: translateY(-1px);
  background: radial-gradient(circle at 10% 0, rgba(33, 240, 195, 0.32), rgba(15, 23, 42, 0.96));
  box-shadow: 0 0 35px rgba(33, 240, 195, 0.45);
  border-color: rgba(148, 163, 184, 0.85);
}

/* HERO */

main {
  margin-top: 18px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3.5fr) minmax(0, 2.5fr);
  gap: 40px;
  align-items: center;
  padding: 36px 0 40px;
}

.hero-eyebrow {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-bottom: 10px;
}

.hero h1 {
  font-size: clamp(2.25rem, 3vw + 1rem, 3.1rem);
  line-height: 1.08;
  margin-bottom: 14px;
}

.hero h1 span {
  background: linear-gradient(90deg, var(--accent), #5bf5ff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 32rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.hero-badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 0.75rem;
  color: #cbd5f5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}

.btn-primary {
  padding: 11px 20px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: radial-gradient(circle at 0 0, #5bf5ff, var(--accent));
  color: #020617;
  box-shadow: 0 0 40px rgba(33, 240, 195, 0.72);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    filter var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 0 55px rgba(33, 240, 195, 0.9);
}

.btn-ghost {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.7);
  color: #e5f2ff;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color var(--transition-fast),
    background var(--transition-fast), transform var(--transition-fast);
}

.btn-ghost:hover {
  border-color: rgba(148, 163, 184, 0.9);
  background: rgba(15, 23, 42, 0.95);
  transform: translateY(-1px);
}

.hero-footnote {
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-visual {
  background: radial-gradient(circle at 0 0, #0b2435, transparent 55%),
    radial-gradient(circle at 100% 100%, #03151f, #020617 60%);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: var(--shadow-soft);
  padding: 26px 22px 22px;
  position: relative;
  overflow: hidden;
}

.hero-logo-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.hero-logo {
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 0, #afffe9 0, #21f0c3 40%, #021016 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 70px rgba(33, 240, 195, 0.9);
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

.hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-orbit {
  position: absolute;
  inset: -40%;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  opacity: 0.35;
  pointer-events: none;
}

.hero-orbit.orbit-2 {
  transform: rotate(12deg);
  border-color: rgba(33, 240, 195, 0.28);
}

.hero-orbit.orbit-3 {
  transform: rotate(-15deg);
  border-color: rgba(91, 245, 255, 0.18);
}

.hero-metric-card {
  background: rgba(15, 23, 42, 0.96);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.55);
  padding: 14px 16px 13px;
  margin-top: 6px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  font-size: 0.8rem;
  position: relative;
  z-index: 1;
  animation: float-slow 10s ease-in-out infinite;
}

.metric-label {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 4px;
}

.metric-value {
  font-size: 0.98rem;
}

.metric-value strong {
  font-size: 1.03rem;
}

@keyframes float {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -6px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes float-slow {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -4px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

/* SECTION BASE */

section {
  margin-top: 30px;
  padding-top: 40px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

section:first-of-type {
  border-top: none;
  padding-top: 0;
}

.section-header {
  margin-bottom: 20px;
}

.section-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 6px;
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.section-description {
  font-size: 0.96rem;
  color: var(--muted);
  max-width: 36rem;
}

/* CARDS / GRID */

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 12px;
}

.card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.3);
  padding: 16px 16px 14px;
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.8);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0 0, rgba(33, 240, 195, 0.16), transparent 58%);
  opacity: 1;
  pointer-events: none;
}

.card-title {
  font-size: 1.04rem;
  margin-bottom: 4px;
}

.card-tagline {
  font-size: 0.82rem;
  color: #9ca3c5;
  margin-bottom: 6px;
}

.card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.95);
  border-radius: 999px;
  padding: 4px 10px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  font-size: 0.78rem;
  color: #cbd5f5;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #afffe9 0, var(--accent) 50%, #052529 100%);
  box-shadow: 0 0 14px rgba(33, 240, 195, 0.8);
}

/* LISTS / TWO-COL / BOXES */

.list {
  margin-top: 6px;
  padding-left: 0.9rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.list li {
  margin-bottom: 4px;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 10px;
}

.muted-box {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(148, 163, 184, 0.4);
  padding: 14px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* FORMS */

.form-card {
  margin-top: 12px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 16px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.9);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.form-row label {
  font-size: 0.85rem;
  color: var(--muted);
}

.form-row input,
.form-row textarea {
  background: #020617;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 8px 10px;
  color: var(--text);
  font-size: 0.9rem;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(33, 240, 195, 0.4);
}

.form-row textarea {
  min-height: 80px;
  resize: vertical;
}

.form-note {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 4px;
}

/* CONTACT */

.contact-block {
  margin-top: 10px;
  font-size: 0.96rem;
  color: var(--muted);
}

.contact-block strong {
  color: var(--text);
}

/* FOOTER */

footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

footer a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

/* RESPONSIVE */

@media (max-width: 860px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 22px;
  }

  .hero-visual {
    order: -1;
  }

  .hero {
    gap: 26px;
  }

  .card-grid,
  .two-col {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    margin-left: auto;
  }
}

@media (max-width: 520px) {
  .page {
    padding-inline: 16px;
  }

  .hero-logo {
    width: 130px;
    height: 130px;
  }

  .hero-logo img {
    width: 100%;
    height: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
