:root {
  --bg: #060607;
  --bg-soft: #0d0e10;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f0f3ff;
  --text-soft: #b4bfd6;
  --primary: #6d7cff;
  --secondary: #39d6ff;
  --accent: #8e4dff;
}

* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  background: radial-gradient(circle at 18% -12%, #1f1340 0%, transparent 45%),
    radial-gradient(circle at 90% 4%, #093848 0%, transparent 36%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: #9dc8ff;
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: #d8e9ff;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.intro-splash {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  background: #000;
  animation: splashOut 2.4s ease forwards;
}

.intro-core {
  display: grid;
  justify-items: center;
  gap: 0.8rem;
}

.intro-logo-mark {
  width: 160px;
  height: 160px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 24px rgba(109, 124, 255, 0.4)) drop-shadow(0 0 50px rgba(57, 214, 255, 0.15));
  animation: introLogoPulse 2s ease;
}

.intro-logo-name {
  margin: 0;
  letter-spacing: 0.28rem;
  text-transform: uppercase;
  color: #dce3ff;
  font-size: 0.95rem;
  animation: introNameIn 1.6s ease;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(3, 3, 4, 0.68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 0;
  gap: 0.8rem;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.4px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 150px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 6px rgba(57, 214, 255, 0.35));
}

.logo-symbol {
  width: 100%;
  height: 100%;
}

.logo-symbol-intro {
  animation: logoFloat 2.1s ease;
}

.orbit {
  transform-origin: 60px 60px;
}

.orbit-1 {
  animation: orbitSpin1 12s linear infinite;
}

.orbit-2 {
  animation: orbitSpin2 18s linear infinite;
}

.orbit-3 {
  animation: orbitSpin3 25s linear infinite;
}

.planet-surface {
  animation: planetRotate 20s linear infinite;
}

.logo-pulse {
  animation: pulseGlow 3s ease-in-out infinite;
}

.particle {
  animation: particleFloat 4s ease-in-out infinite;
}

.p1 { animation-delay: 0s; }
.p2 { animation-delay: 0.6s; }
.p3 { animation-delay: 1.2s; }
.p4 { animation-delay: 1.8s; }
.p5 { animation-delay: 2.4s; }
.p6 { animation-delay: 3s; }

.logo-symbol-nav {
  animation: logoBreath 5.2s ease-in-out infinite;
}

.nav nav {
  display: flex;
  gap: 1.15rem;
  flex-wrap: wrap;
}

.nav nav a {
  position: relative;
}

.nav nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--secondary), var(--accent));
  transition: width 0.25s ease;
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 7px 8px;
  cursor: pointer;
  order: 3;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #dce6ff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s 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);
}

.lang-switch {
  display: flex;
  gap: 0.35rem;
}

.lang-switch button {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.02);
  color: #dce6ff;
  padding: 0.26rem 0.55rem;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.lang-switch button:hover {
  border-color: rgba(109, 124, 255, 0.85);
}

.lang-switch button.active {
  background: linear-gradient(130deg, var(--primary), var(--accent));
  border-color: transparent;
  color: #fff;
}

.hero {
  padding: 5.6rem 0 4.2rem;
  background: radial-gradient(circle at 80% 8%, rgba(57, 214, 255, 0.25), transparent 45%),
    radial-gradient(circle at 20% -4%, rgba(142, 77, 255, 0.3), transparent 38%);
}

.eyebrow {
  color: #7ee6ff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 0.82rem;
}

h1 {
  font-size: clamp(1.95rem, 4vw, 3.25rem);
  margin: 0.35rem 0 0.75rem;
  line-height: 1.12;
  text-wrap: balance;
}

.subtitle {
  max-width: 760px;
  color: #c9d1e9;
}

.cta-group {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.trust-row {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
  color: #b7c4df;
}

.btn {
  display: inline-block;
  border-radius: 12px;
  padding: 0.74rem 1.12rem;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

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

.btn-primary {
  background: linear-gradient(130deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  box-shadow: 0 10px 30px rgba(109, 124, 255, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 14px 36px rgba(109, 124, 255, 0.46);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #dce6ff;
}

.btn-secondary:hover {
  border-color: rgba(57, 214, 255, 0.7);
}

.section {
  padding: 3.3rem 0;
}

.alt {
  background: rgba(255, 255, 255, 0.018);
}

h2 {
  margin-top: 0;
}

.section-intro {
  color: var(--text-soft);
  max-width: 780px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--surface), rgba(255, 255, 255, 0.015));
  border-radius: 16px;
  padding: 1.4rem 1.3rem;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  opacity: 0;
  transition: opacity 0.28s ease;
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(109, 124, 255, 0.15), rgba(142, 77, 255, 0.12));
  border: 1px solid rgba(109, 124, 255, 0.2);
  display: grid;
  place-items: center;
  margin-bottom: 0.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-icon i {
  font-size: 1.4rem;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card:hover .card-icon {
  transform: scale(1.08);
  box-shadow: 0 0 18px rgba(57, 214, 255, 0.25);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(57, 214, 255, 0.45);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
}

.card p {
  margin: 0.4rem 0;
}

.card ul {
  margin: 0.5rem 0 0;
  padding-left: 1rem;
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.2rem;
}

.metric-panel {
  display: grid;
  gap: 0.85rem;
}

.metric-panel > div {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  background: linear-gradient(150deg, rgba(57, 214, 255, 0.1), rgba(142, 77, 255, 0.08));
  transition: transform 0.3s ease;
}

.metric-panel > div:hover {
  transform: translateX(4px);
}

.metric-panel strong {
  display: block;
  font-size: 1.42rem;
}

.timeline {
  display: grid;
  gap: 0.8rem;
}

.step {
  border-left: 3px solid var(--secondary);
  padding: 0.45rem 0 0.45rem 0.9rem;
  background: var(--surface);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.step:hover {
  border-left-color: var(--accent);
  transform: translateX(4px);
}

.step strong {
  display: inline-block;
  min-width: 44px;
}

.credit-list {
  display: grid;
  gap: 0.45rem;
}

.credit-links {
  margin-top: 0.95rem;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.8rem;
  background: rgba(0, 0, 0, 0.28);
}

.form-shell {
  margin-top: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem;
  background: linear-gradient(160deg, var(--surface), rgba(255, 255, 255, 0.015));
  display: grid;
  gap: 0.95rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.form-field {
  display: grid;
  gap: 0.38rem;
}

.form-field span {
  color: #d8e1f8;
  font-weight: 600;
}

.input-control {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 0.72rem 0.8rem;
  background: rgba(0, 0, 0, 0.3);
  color: #eef2ff;
  font: inherit;
}

.input-control:focus {
  outline: none;
  border-color: rgba(57, 214, 255, 0.7);
  box-shadow: 0 0 0 3px rgba(57, 214, 255, 0.14);
}

.check-field {
  grid-template-columns: auto 1fr;
  align-items: start;
  column-gap: 0.5rem;
}

.check-field input {
  margin-top: 0.28rem;
}

small {
  color: #8ea0c7;
}

.reveal-ready {
  opacity: 0;
  transform: translateY(18px);
}

.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

body.intro-lock {
  overflow: hidden;
}

@keyframes introLogoPulse {
  0% {
    opacity: 0;
    transform: scale(0.5);
    filter: drop-shadow(0 0 60px rgba(57, 214, 255, 0.9));
  }
  60% {
    opacity: 1;
    transform: scale(1.06);
    filter: drop-shadow(0 0 40px rgba(109, 124, 255, 0.5));
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: drop-shadow(0 0 24px rgba(109, 124, 255, 0.4)) drop-shadow(0 0 50px rgba(57, 214, 255, 0.15));
  }
}

@keyframes planetRotate {
  from { transform: translateX(0); }
  to { transform: translateX(-60px); }
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.08);
  }
}

@keyframes orbitSpin1 {
  from { transform: rotate(-25deg); }
  to { transform: rotate(335deg); }
}

@keyframes orbitSpin2 {
  from { transform: rotate(50deg); }
  to { transform: rotate(-310deg); }
}

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

@keyframes particleFloat {
  0%, 100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.3);
  }
}

@keyframes logoFloat {
  0% {
    transform: translateY(8px) scale(0.8);
    opacity: 0;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes logoBreath {
  0%,
  100% {
    filter: drop-shadow(0 0 4px rgba(57, 214, 255, 0.3));
  }
  50% {
    filter: drop-shadow(0 0 10px rgba(109, 124, 255, 0.5));
  }
}

@keyframes introNameIn {
  0% {
    opacity: 0;
    letter-spacing: 0.7rem;
  }
  100% {
    opacity: 1;
    letter-spacing: 0.28rem;
  }
}

@keyframes splashOut {
  0%,
  72% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@media (max-width: 980px) {
  .nav {
    flex-wrap: wrap;
  }

  .nav nav {
    gap: 0.8rem;
  }
}

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

  .nav {
    flex-wrap: wrap;
  }

  .nav nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.6rem;
    padding: 0.8rem 0 0.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    order: 10;
  }

  .nav nav.open {
    display: flex;
  }

  .nav nav a {
    padding: 0.35rem 0;
  }

  .grid-3,
  .split {
    grid-template-columns: 1fr;
  }

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