:root {
  --bg: #050915;
  --bg-alt: #090f21;
  --text: #e9f3ff;
  --muted: #9ab3cc;
  --line: rgba(125, 161, 210, 0.28);
  --glow: #59d7ff;
  --accent: #6a7aff;
  --accent-2: #5ef2c2;
  --card: rgba(12, 20, 40, 0.6);
  --card-strong: rgba(15, 24, 48, 0.75);
  --radius: 18px;
  --max: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 80% -20%, rgba(93, 122, 255, 0.22), transparent 60%),
    radial-gradient(950px 650px at -10% 15%, rgba(94, 242, 194, 0.16), transparent 58%),
    linear-gradient(160deg, var(--bg) 0%, var(--bg-alt) 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: radial-gradient(900px 460px at 50% 10%, rgba(89, 215, 255, 0.2), transparent 58%), #040916;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.loader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-core {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.loader-logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  background: transparent;
  padding: 0;
  filter: drop-shadow(0 0 18px rgba(89, 215, 255, 0.35));
}

.loader-core p {
  margin: 0;
  font-size: 20px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: #ddfaff;
}

.loader-core span {
  color: #8fb0ca;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.loader-ring {
  width: 66px;
  height: 66px;
  border: 2px solid rgba(121, 182, 229, 0.25);
  border-top-color: rgba(94, 242, 194, 0.95);
  border-radius: 999px;
  animation: spin 1s linear infinite;
}

.noise-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 0.5px, transparent 0.5px);
  background-size: 2px 2px;
  opacity: 0.18;
}

.aurora {
  position: fixed;
  width: 40vw;
  height: 40vw;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.25;
  pointer-events: none;
  z-index: -2;
  animation: drift 16s ease-in-out infinite alternate;
}

.aurora.a1 {
  background: rgba(90, 219, 255, 0.4);
  top: -10vw;
  left: -6vw;
}

.aurora.a2 {
  background: rgba(106, 122, 255, 0.35);
  right: -8vw;
  bottom: -12vw;
  animation-duration: 20s;
}

#starfield {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.42;
}

.container {
  width: min(100% - 36px, var(--max));
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(4, 8, 18, 0.62);
  border-bottom: 1px solid rgba(89, 215, 255, 0.2);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #e9f9ff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: lowercase;
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  background: transparent;
  padding: 0;
  filter: drop-shadow(0 0 12px rgba(89, 215, 255, 0.28));
}

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

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #d8f7ff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.98;
}

.btn-primary {
  color: #041225;
  background: linear-gradient(135deg, var(--glow), var(--accent-2));
  box-shadow: 0 16px 32px -20px rgba(89, 215, 255, 1);
}

.btn-outline {
  color: #dbf5ff;
  border: 1px solid rgba(126, 194, 247, 0.45);
  background: rgba(8, 15, 32, 0.5);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  align-items: stretch;
}

.eyebrow {
  margin: 0 0 12px;
  color: #a9d8ee;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 5.3vw, 62px);
  line-height: 1.03;
  letter-spacing: -0.03em;
  max-width: 14ch;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.subtitle {
  margin: 16px 0 0;
  color: var(--muted);
  max-width: 64ch;
  font-size: clamp(16px, 1.8vw, 19px);
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-note {
  margin: 12px 0 0;
  color: #8fb0ca;
  font-size: 13px;
}

.hero-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background:
    linear-gradient(170deg, rgba(17, 27, 52, 0.8), rgba(7, 15, 31, 0.82)),
    radial-gradient(500px 240px at 120% -10%, rgba(89, 215, 255, 0.25), transparent 60%);
  box-shadow: 0 26px 60px -45px rgba(0, 0, 0, 0.9);
  min-height: 320px;
  position: relative;
  overflow: hidden;
}

.panel-title {
  margin: 0 0 14px;
  color: #d9f8ff;
  font-size: 14px;
  font-weight: 600;
}

.stats {
  display: grid;
  gap: 12px;
}

.stat {
  border: 1px solid rgba(125, 161, 210, 0.22);
  border-radius: 14px;
  background: rgba(9, 15, 30, 0.55);
  padding: 12px;
}

.value {
  margin: 0;
  font-size: clamp(32px, 4.8vw, 44px);
  line-height: 1;
  color: #d6f7ff;
}

.label {
  margin: 6px 0 0;
  color: #9eb9d2;
  font-size: 13px;
  text-transform: lowercase;
}

.orbit-core {
  position: absolute;
  inset: 0;
}

.orbit-core::before,
.orbit-core::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(122, 189, 241, 0.24);
}

.orbit-core::before {
  inset: 16%;
  animation: spin 14s linear infinite;
}

.orbit-core::after {
  inset: 28%;
  border-color: rgba(94, 242, 194, 0.35);
  animation: spin 10s linear infinite reverse;
}

.orbit-tag {
  position: absolute;
  display: inline-flex;
  border: 1px solid rgba(126, 194, 247, 0.45);
  border-radius: 999px;
  background: rgba(11, 19, 36, 0.78);
  color: #ccefff;
  padding: 6px 10px;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.orbit-tag.one { top: 18px; right: 20px; }
.orbit-tag.two { bottom: 22px; left: 20px; }
.orbit-tag.three { top: 42%; right: 10px; }

.orbit-logo {
  position: absolute;
  width: 126px;
  height: 126px;
  object-fit: contain;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  padding: 0;
  filter: drop-shadow(0 0 22px rgba(89, 215, 255, 0.34));
}

.section-head {
  margin-bottom: 18px;
}

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

.glass-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, var(--card), var(--card-strong));
  backdrop-filter: blur(8px);
  padding: 18px;
  box-shadow: 0 20px 45px -38px rgba(99, 190, 255, 0.8);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

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

.glass-card .value {
  margin: 0 0 8px;
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(94, 242, 194, 0.5);
  box-shadow: 0 32px 60px -40px rgba(94, 242, 194, 0.7);
}

.lens {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background: linear-gradient(170deg, rgba(10, 18, 34, 0.72), rgba(8, 14, 30, 0.82));
  box-shadow: 0 22px 46px -35px rgba(0, 0, 0, 0.9);
}

.lens-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid rgba(125, 161, 210, 0.22);
}

.lens-btn {
  border: 1px solid rgba(125, 161, 210, 0.35);
  color: #b8d6ed;
  background: rgba(8, 14, 30, 0.65);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  cursor: pointer;
  transition: 0.2s ease;
}

.lens-btn.active,
.lens-btn:hover {
  color: #f0feff;
  border-color: rgba(94, 242, 194, 0.55);
  background: rgba(20, 36, 64, 0.8);
}

.lens-body {
  padding: 18px;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

.ticker {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(8, 14, 30, 0.55);
  box-shadow: 0 18px 30px -25px rgba(0, 0, 0, 0.9);
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}

.ticker-track span {
  display: inline-flex;
  border: 1px solid rgba(126, 194, 247, 0.45);
  border-radius: 999px;
  padding: 7px 12px;
  color: #d4f0ff;
  background: rgba(16, 25, 49, 0.72);
  font-size: 14px;
}

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

.contact-card {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(9, 16, 34, 0.74), rgba(8, 14, 30, 0.82));
  padding: 18px;
  box-shadow: 0 24px 50px -40px rgba(99, 190, 255, 0.72);
}

.contact-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}

.field {
  display: grid;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-size: 12px;
  color: #97bad9;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(125, 161, 210, 0.35);
  background: rgba(8, 16, 32, 0.68);
  color: #e2f5ff;
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(94, 242, 194, 0.62);
  box-shadow: 0 0 0 3px rgba(94, 242, 194, 0.18);
}

.form-actions {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.status {
  margin-top: 10px;
  min-height: 18px;
  color: #9ab3cc;
  font-size: 13px;
}

.status.ok {
  color: #8ff4d0;
}

.status.err {
  color: #ff9c9c;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(94, 242, 194, 0.6);
  background: rgba(13, 24, 45, 0.78);
  color: #d7fff4;
  text-decoration: none;
  padding: 10px 14px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -20px rgba(94, 242, 194, 1);
}

.site-footer {
  border-top: 1px solid rgba(125, 161, 210, 0.18);
  padding: 20px 0 28px;
}

.site-footer p {
  margin: 0;
  color: #89a7c3;
  font-size: 13px;
}

.tilt {
  transform-style: preserve-3d;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

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

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

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(2vw, -1vw, 0) scale(1.08);
  }
}

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

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

@media (max-width: 980px) {
  .hero-grid,
  .card-grid,
  .lens-body,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }
}
