:root {
  --bg: #07111f;
  --bg2: #0b2230;
  --panel: rgba(8, 20, 36, .82);
  --panel2: rgba(15, 34, 58, .80);
  --line: rgba(93, 149, 214, .28);
  --text: #f7fbff;
  --muted: #b8c7dc;
  --green: #34d399;
  --cyan: #38bdf8;
  --blue: #1d4ed8;
  --orange: #f59e0b;
  --red: #ef4444;
  --shadow: 0 28px 90px rgba(0, 0, 0, .42);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background:
    radial-gradient(circle at 14% 16%, rgba(56,189,248,.15), transparent 32%),
    radial-gradient(circle at 86% 24%, rgba(52,211,153,.13), transparent 30%),
    radial-gradient(circle at 48% 100%, rgba(245,158,11,.11), transparent 28%),
    linear-gradient(135deg, var(--bg), var(--bg2));
  overflow-x: hidden;
}

a { color: inherit; }

.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

#stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .45;
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(93,149,214,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93,149,214,.08) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 70%);
  opacity: .22;
}

.glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  filter: blur(34px);
  opacity: .16;
  animation: drift 12s ease-in-out infinite;
}

.glow-a { left: -150px; top: 140px; background: var(--cyan); }
.glow-b { right: -130px; top: 210px; background: var(--green); animation-delay: -4s; }
.glow-c { left: 42%; bottom: -190px; background: var(--orange); animation-delay: -7s; }

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 78px;
  padding: 16px clamp(18px, 4vw, 58px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: rgba(7, 17, 31, .76);
  border-bottom: 1px solid rgba(93,149,214,.18);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #06131f;
  font-weight: 950;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 16px 38px rgba(56,189,248,.20);
}

.brand strong {
  display: block;
  font-size: 18px;
  letter-spacing: -.3px;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

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

.nav a {
  text-decoration: none;
  color: #dbeafe;
  font-size: 14px;
  font-weight: 900;
  padding: 10px 13px;
  border-radius: 999px;
  transition: .2s ease;
}

.nav a:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}

.nav .nav-button {
  color: #06131f;
  background: linear-gradient(135deg, var(--green), var(--cyan));
}

.menu {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(8,20,36,.8);
  cursor: pointer;
}

.menu span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  border-radius: 5px;
}

.hero {
  width: min(1180px, calc(100% - 38px));
  min-height: calc(100vh - 78px);
  margin: 0 auto;
  padding: 72px 0 54px;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 54px;
  align-items: center;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #a7f3d0;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 950;
}

.tag::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 20px rgba(52,211,153,.9);
}

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

h1 {
  max-width: 760px;
  margin: 18px 0 20px;
  font-size: clamp(52px, 7vw, 92px);
  line-height: .95;
  letter-spacing: -3.2px;
}

h2 {
  margin: 14px 0 14px;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.02;
  letter-spacing: -2px;
}

h3 {
  font-size: 23px;
  margin-bottom: 11px;
  letter-spacing: -.5px;
}

.lead {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.62;
  margin-bottom: 30px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

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

.btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 21px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 950;
  border: 1px solid rgba(255,255,255,.12);
  transition: transform .2s ease, filter .2s ease, border-color .2s ease;
}

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

.btn.full { width: 100%; }

.primary {
  color: #06131f;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 18px 44px rgba(52,211,153,.18);
}

.soft {
  background: rgba(59,130,246,.16);
  color: #f7fbff;
  border-color: rgba(93,149,214,.34);
}

.danger {
  background: linear-gradient(135deg, var(--orange), var(--red));
  color: #fff;
}

.status-line {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  border-radius: 999px;
  color: #dbeafe;
  font-size: 14px;
  font-weight: 850;
  background: rgba(8,20,36,.56);
  border: 1px solid rgba(93,149,214,.24);
}

.status-line span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52,211,153,.65); }
  70% { box-shadow: 0 0 0 12px rgba(52,211,153,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); }
}

.console,
.access-card,
.feature,
.steps,
.support-panel,
.final {
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, rgba(56,189,248,.12), transparent 32%),
    linear-gradient(145deg, var(--panel2), var(--panel));
  box-shadow: var(--shadow);
}

.console {
  border-radius: 30px;
  overflow: hidden;
}

.console-head {
  height: 52px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  background: rgba(7,17,31,.52);
  border-bottom: 1px solid rgba(93,149,214,.18);
}

.console-head span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

.console-head span:nth-child(1) { background: var(--green); }
.console-head span:nth-child(2) { background: var(--cyan); }
.console-head span:nth-child(3) { background: var(--orange); }

.console-head strong {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
}

.console-body {
  padding: 25px;
}

.console-body p {
  margin: 0 0 14px;
  padding: 15px 16px;
  border-radius: 16px;
  color: #dbeafe;
  background: rgba(7,17,31,.48);
  border: 1px solid rgba(93,149,214,.18);
}

.console-body .notice {
  color: #93c5fd;
  font-style: italic;
}

.green { color: #a7f3d0; }
.cyan { color: #7dd3fc; }

.console-foot {
  margin: 0 25px 25px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(52,211,153,.28);
  background: linear-gradient(135deg, rgba(52,211,153,.16), rgba(56,189,248,.14));
}

.console-foot span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.console-foot strong {
  display: block;
  margin-top: 6px;
  font-size: 24px;
}

.access {
  width: min(1180px, calc(100% - 38px));
  margin: 0 auto 54px;
  display: grid;
  grid-template-columns: 1.2fr .9fr .9fr;
  gap: 18px;
}

.access-card {
  border-radius: 28px;
  padding: 27px;
}

.main-access h2 {
  font-size: clamp(32px, 3.4vw, 48px);
}

.access-card p,
.feature p,
.section-head p,
.steps p,
.support-panel p,
.final p {
  color: var(--muted);
  line-height: 1.65;
}

.mini {
  color: #a7f3d0;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
}

.num,
.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #06131f;
  font-weight: 950;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  margin-bottom: 18px;
}

.access-card a:not(.btn),
.feature a {
  color: #a7f3d0;
  font-weight: 950;
  text-decoration: none;
}

.section {
  width: min(1180px, calc(100% - 38px));
  margin: 0 auto;
  padding: 54px 0;
}

.section-head {
  max-width: 820px;
  margin-bottom: 28px;
}

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

.feature {
  padding: 27px;
  border-radius: 28px;
}

.steps {
  width: min(1180px, calc(100% - 38px));
  margin: 28px auto 54px;
  padding: clamp(28px, 5vw, 46px);
  border-radius: 34px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 30px;
  align-items: center;
}

.step-list {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 15px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(7,17,31,.45);
  border: 1px solid rgba(93,149,214,.18);
}

.step b {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #06131f;
  background: linear-gradient(135deg, var(--green), var(--cyan));
}

.step h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.support {
  width: min(1180px, calc(100% - 38px));
  margin: 0 auto;
  padding: 30px 0 62px;
}

.support-panel {
  border-radius: 34px;
  padding: clamp(28px, 5vw, 48px);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: center;
}

.support-actions {
  display: grid;
  gap: 13px;
}

.mail {
  display: block;
  text-align: center;
  color: #a7f3d0;
  font-weight: 950;
  text-decoration: none;
  padding-top: 6px;
}

.final {
  width: min(1180px, calc(100% - 38px));
  margin: 0 auto 62px;
  padding: clamp(30px, 5vw, 56px);
  border-radius: 34px;
  text-align: center;
}

.final p {
  max-width: 680px;
  margin: 0 auto 26px;
}

.footer {
  width: min(1180px, calc(100% - 38px));
  margin: 0 auto;
  padding: 28px 0 42px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  border-top: 1px solid rgba(93,149,214,.18);
}

.footer strong {
  display: block;
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: #dbeafe;
  text-decoration: none;
  font-weight: 850;
}

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

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

@media (max-width: 1020px) {
  .hero,
  .access,
  .features,
  .steps,
  .support-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .topbar {
    padding: 14px 18px;
  }

  .menu {
    display: block;
  }

  .nav {
    position: absolute;
    top: 72px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 20px;
    background: rgba(7,17,31,.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    border-radius: 14px;
  }

  h1 {
    letter-spacing: -2px;
  }

  .actions .btn {
    width: 100%;
  }

  .footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
