:root {
  --bg: #020918;
  --bg-deep: #000511;
  --panel: rgba(2, 12, 30, 0.82);
  --panel-strong: rgba(0, 7, 20, 0.94);
  --cyan: #00c8ff;
  --cyan-soft: #77edff;
  --blue: #0775d9;
  --ink: #dff8ff;
  --muted: #8daac3;
  --white: #fffaf0;
  --border: rgba(0, 200, 255, 0.28);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes softScale {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(18px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes glowBreath {
  0%,
  100% {
    opacity: 0.48;
    transform: scale(1);
  }

  50% {
    opacity: 0.78;
    transform: scale(1.08);
  }
}

@keyframes bgPan {
  0% {
    background-position: center, center;
  }

  50% {
    background-position: 52% 48%, 48% 52%;
  }

  100% {
    background-position: center, center;
  }
}

@keyframes orbDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(42px, -34px, 0) scale(1.12);
  }
}

@keyframes shapeFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(var(--shape-rotate, 0deg));
  }

  50% {
    transform: translate3d(22px, -28px, 0) rotate(calc(var(--shape-rotate, 0deg) + 18deg));
  }
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  margin: 0;
  font-family: "Geologica", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 18%, rgba(0, 184, 255, 0.18), transparent 30rem),
    radial-gradient(circle at 82% 8%, rgba(0, 96, 220, 0.26), transparent 28rem),
    linear-gradient(135deg, var(--bg-deep), #061a45 52%, #03102a);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at 18% 22%, rgba(0, 200, 255, 0.16), transparent 24rem),
    radial-gradient(circle at 78% 18%, rgba(7, 117, 217, 0.18), transparent 28rem),
    radial-gradient(circle at 50% 86%, rgba(119, 237, 255, 0.1), transparent 26rem);
  opacity: 0.9;
  animation: softScale 1200ms ease-out both, bgPan 18s 1200ms ease-in-out infinite;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(180deg, rgba(0, 5, 17, 0.08), rgba(0, 5, 17, 0.72)),
    repeating-linear-gradient(90deg, rgba(119, 237, 255, 0.035) 0 1px, transparent 1px 140px),
    repeating-linear-gradient(0deg, rgba(119, 237, 255, 0.025) 0 1px, transparent 1px 140px);
  opacity: 0.55;
  pointer-events: none;
  animation: fadeUp 1400ms ease-out both;
}

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

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

.bg-orb,
.bg-shape {
  position: absolute;
  display: block;
  opacity: 0.34;
  will-change: transform;
}

.bg-orb {
  border-radius: 999px;
  background: radial-gradient(circle, rgba(119, 237, 255, 0.28), rgba(0, 99, 217, 0.08) 48%, transparent 70%);
  filter: blur(2px);
  animation: orbDrift 12s ease-in-out infinite;
}

.bg-orb-1 {
  top: 18%;
  left: 6%;
  width: 240px;
  height: 240px;
}

.bg-orb-2 {
  right: 5%;
  bottom: 14%;
  width: 340px;
  height: 340px;
  animation-duration: 16s;
  animation-delay: -5s;
}

.bg-shape {
  border: 3px solid rgba(119, 237, 255, 0.22);
  filter: drop-shadow(0 0 18px rgba(0, 200, 255, 0.16));
  animation: shapeFloat 11s ease-in-out infinite;
}

.animated-bg.is-dynamic .bg-shape {
  animation: none;
  transform: translate3d(var(--x, 0), var(--y, 0), 0) rotate(var(--angle, 0deg));
}

.bg-shape-square {
  --shape-rotate: 16deg;
  top: 24%;
  right: 17%;
  width: 58px;
  height: 58px;
}

.bg-shape-triangle {
  --shape-rotate: 45deg;
  bottom: 25%;
  left: 12%;
  width: 74px;
  height: 74px;
  border-right: 0;
  border-bottom: 0;
  animation-duration: 14s;
}

.bg-shape-circle {
  --shape-rotate: 0deg;
  top: 58%;
  right: 9%;
  width: 96px;
  height: 96px;
  border-radius: 999px;
  animation-duration: 13s;
  animation-delay: -4s;
}

.bg-shape-cross {
  --shape-rotate: -10deg;
  top: 14%;
  left: 32%;
  width: 78px;
  height: 78px;
  border: 0;
  animation-duration: 15s;
  animation-delay: -7s;
}

.bg-shape-square-alt {
  --shape-rotate: -22deg;
  top: 74%;
  left: 42%;
  width: 46px;
  height: 46px;
  opacity: 0.22;
  animation-duration: 17s;
  animation-delay: -9s;
}

.bg-shape-circle-alt {
  top: 20%;
  left: 72%;
  width: 64px;
  height: 64px;
  opacity: 0.2;
  animation-duration: 19s;
  animation-delay: -11s;
}

.bg-shape-cross::before,
.bg-shape-cross::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(119, 237, 255, 0.2);
  content: "";
}

.bg-shape-cross::before {
  transform: translateY(-50%) rotate(45deg);
}

.bg-shape-cross::after {
  transform: translateY(-50%) rotate(-45deg);
}

.page-shell {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 104px 0 168px;
}

.site-header {
  position: fixed;
  top: 0;
  right: max(16px, calc((100vw - 1180px) / 2));
  left: max(16px, calc((100vw - 1180px) / 2));
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
  padding: 10px 22px;
  border: 1px solid var(--border);
  border-radius: 0 0 30px 30px;
  background: linear-gradient(180deg, rgba(0, 6, 18, 0.96), rgba(0, 12, 30, 0.76));
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.35), inset 0 -1px 0 rgba(119, 237, 255, 0.18);
  animation: fadeDown 700ms ease-out both;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 96px;
  height: 70px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(0, 200, 255, 0.55));
}

.brand:hover img {
  transform: none;
  filter: drop-shadow(0 0 16px rgba(0, 200, 255, 0.55));
}

.support-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.support-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid rgba(119, 237, 255, 0.26);
  border-radius: 999px;
  background: rgba(2, 12, 30, 0.72);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 0 22px rgba(0, 200, 255, 0.14);
  transition: border-color 300ms ease, color 300ms ease, background 300ms ease, transform 300ms ease;
}

.support-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: currentColor;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 430px;
  align-items: center;
  gap: 44px;
  min-height: calc(100vh - 240px);
  padding: 78px 0 58px;
}

.hero-copy {
  position: relative;
  animation: fadeUp 850ms 120ms ease-out both;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  color: var(--white);
  font-size: clamp(46px, 8vw, 96px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.07em;
  text-transform: uppercase;
  text-shadow: 0 0 34px rgba(0, 200, 255, 0.28);
}

.hero-text {
  max-width: 620px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
}

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

.primary-button,
.ghost-button,
.activate-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 16px;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease, color 280ms ease, background 280ms ease;
}

.primary-button,
.activate-form button {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #001023;
  box-shadow: 0 16px 44px rgba(0, 200, 255, 0.28);
}

.ghost-button {
  border: 1px solid var(--border);
  background: rgba(0, 8, 22, 0.66);
  color: var(--ink);
}

.activation-card {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 40;
  width: min(460px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  overflow-y: auto;
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 34px;
  background:
    linear-gradient(160deg, rgba(0, 200, 255, 0.14), transparent 32%),
    var(--panel);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -46%) scale(0.96);
  transition: opacity 260ms ease, transform 300ms ease, visibility 260ms ease;
  animation: none;
}

.activation-card:hover {
  transform: translate(-50%, -46%) scale(0.96);
  border-color: var(--border);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.activation-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(119, 237, 255, 0.34);
  border-radius: 14px;
  background: rgba(0, 12, 30, 0.86);
  color: var(--ink);
  font-size: 28px;
  font-weight: 300;
  line-height: 0.9;
  padding-bottom: 2px;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 20px rgba(0, 0, 0, 0.28);
  transition: border-color 240ms ease, background 240ms ease, color 240ms ease, transform 240ms ease;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 34;
  background: rgba(0, 4, 14, 0.36);
  backdrop-filter: blur(9px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.card-glow {
  position: absolute;
  top: -110px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(0, 200, 255, 0.28);
  filter: blur(28px);
  animation: glowBreath 4.5s ease-in-out infinite;
}

.card-logo {
  position: relative;
  display: block;
  width: 190px;
  margin: 0 auto 6px;
  filter: drop-shadow(0 0 22px rgba(0, 200, 255, 0.46));
  transition: transform 420ms ease, filter 420ms ease;
}

.activation-card:hover .card-logo {
  transform: scale(1.035);
  filter: drop-shadow(0 0 30px rgba(0, 200, 255, 0.62));
}

.activation-card h2 {
  position: relative;
  margin-bottom: 10px;
  color: var(--white);
  font-size: 34px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.activation-card p {
  position: relative;
  color: var(--muted);
  line-height: 1.6;
  text-align: center;
}

.activation-text-line {
  display: block;
  font-weight: 600;
}

.activation-success {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 24px 6px 10px;
  text-align: center;
}

.activation-success h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(30px, 4.2vw, 42px);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}

.activation-success p {
  margin: 0;
  color: var(--muted);
}

.activation-success-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.activation-success-links .support-link {
  min-width: 158px;
  font-size: 13px;
}

.activation-success-time {
  font-size: 14px;
  line-height: 1.55;
}

.activate-form {
  position: relative;
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.activate-form label {
  color: var(--cyan-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.activate-form input {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(119, 237, 255, 0.26);
  border-radius: 16px;
  outline: 0;
  background: rgba(0, 5, 17, 0.74);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: border-color 260ms ease, box-shadow 260ms ease, background 260ms ease;
}

.activate-form input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0, 200, 255, 0.12);
}

.form-note {
  margin: 18px 0 0;
  font-size: 12px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 48px;
}

.step-card {
  padding: 26px;
  border: 1px solid rgba(119, 237, 255, 0.18);
  border-radius: 26px;
  background: rgba(0, 7, 20, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  animation: fadeUp 760ms ease-out both;
  transition: transform 320ms ease, border-color 320ms ease, background 320ms ease, box-shadow 320ms ease;
}

.step-card:nth-child(1) {
  animation-delay: 380ms;
}

.step-card:nth-child(2) {
  animation-delay: 500ms;
}

.step-card:nth-child(3) {
  animation-delay: 620ms;
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: rgba(119, 237, 255, 0.34);
  background: rgba(0, 10, 28, 0.8);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.step-card span {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--cyan);
  font-size: 42px;
  font-weight: 100;
  line-height: 1;
}

.step-card h3 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 22px;
  text-transform: uppercase;
}

.step-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.65;
}

.site-footer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 82px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  background: var(--panel-strong);
  backdrop-filter: blur(14px);
  color: rgba(223, 248, 255, 0.64);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 -18px 55px rgba(0, 0, 0, 0.32);
  animation: fadeUp 720ms 720ms ease-out both;
}

.site-footer a,
.site-footer span {
  transition: color 280ms ease, opacity 280ms ease;
}

.site-footer a:hover,
.support-link:hover,
.ghost-button:hover {
  color: var(--cyan-soft);
  border-color: var(--cyan);
}

body.modal-open .modal-overlay {
  opacity: 1;
  pointer-events: auto;
}

.activation-card.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.activation-card.is-open:hover {
  transform: translate(-50%, -50%) scale(1);
  border-color: rgba(119, 237, 255, 0.42);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.52), 0 0 48px rgba(0, 200, 255, 0.1);
}

.activation-close:hover {
  border-color: var(--cyan);
  background: rgba(0, 18, 42, 0.94);
  color: var(--cyan-soft);
  transform: translateY(-1px);
}

.support-link:hover,
.ghost-button:hover {
  transform: translateY(-1px);
  background: rgba(0, 15, 38, 0.82);
}

.primary-button:hover,
.activate-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 54px rgba(0, 200, 255, 0.36);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .animated-bg {
    opacity: 0.4;
  }
}

@media (max-width: 920px) {
  .page-shell {
    width: min(100% - 24px, 1180px);
    padding-top: 118px;
    padding-bottom: 160px;
  }

  .site-header {
    align-items: center;
    flex-direction: row;
    gap: 16px;
    right: 12px;
    left: 12px;
    padding: 10px 18px;
  }

  .support-links {
    justify-content: flex-end;
    width: auto;
    margin-left: auto;
  }

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

  .activation-card {
    max-width: 520px;
    scroll-margin-top: 132px;
  }

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

@media (min-width: 921px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
  }

  .hero-text {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions {
    justify-content: center;
  }

}

@media (max-width: 560px) {
  .page-shell {
    width: 100%;
    padding: 92px 10px 148px;
  }

  .site-header,
  .site-footer {
    right: 0;
    left: 0;
  }

  .site-header,
  .activation-card,
  .step-card {
    border-radius: 22px;
  }

  .brand img {
    width: 62px;
    height: 44px;
  }

  .site-header {
    gap: 12px;
    min-height: 76px;
    padding: 8px 16px;
    border-radius: 0 0 20px 20px;
  }

  .support-links {
    gap: 10px;
  }

  .support-link {
    width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    font-size: 0;
    letter-spacing: 0;
  }

  .support-link span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .support-icon {
    width: 20px;
    height: 20px;
  }

  .hero {
    gap: 28px;
    padding: 24px 0 34px;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.24em;
  }

  h1 {
    font-size: 38px;
    letter-spacing: -0.06em;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-actions,
  .primary-button,
  .ghost-button {
    width: 100%;
  }

  .activation-card {
    width: min(460px, calc(100vw - 20px));
    max-height: calc(100vh - 20px);
    padding: 24px;
  }

  .card-logo {
    width: 150px;
  }

  .activation-success {
    padding-top: 18px;
  }

  .activation-success h3 {
    font-size: 34px;
  }

  .activation-success-links .support-link {
    width: 100%;
  }

  .steps {
    gap: 14px;
    padding-bottom: 26px;
  }

  .step-card {
    padding: 22px;
  }

  .site-footer {
    gap: 10px 16px;
    min-height: 0;
    padding: 12px 10px;
    border-radius: 20px 20px 0 0;
    font-size: 10px;
    line-height: 1.4;
    text-align: center;
  }
}
