* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Tahoma, Arial, sans-serif;
  background: #06111f;
  color: white;
  overflow-x: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at top right, rgba(0, 213, 255, .22), transparent 32%),
    radial-gradient(circle at bottom left, rgba(132, 70, 255, .2), transparent 34%),
    linear-gradient(180deg, #050b18, #071827);
}

.hero {
  min-height: 82vh;
  padding: 70px 18px 35px;
  display: grid;
  place-items: center;
  text-align: center;
}

.logo {
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 22px;
}

.logo span {
  background: linear-gradient(90deg, #8fb8ff, #00d5ff);
  -webkit-background-clip: text;
  color: transparent;
}

.hero h1 {
  font-size: clamp(38px, 8vw, 82px);
  margin: 0;
  line-height: 1.1;
}

.hero p {
  max-width: 720px;
  color: #b7c8e9;
  line-height: 1.9;
  font-size: 18px;
}

.hero-actions,
.cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 15px 28px;
  font-weight: 900;
  transition: .25s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
}

.primary {
  color: white;
  background: linear-gradient(135deg, #4a97ff, #00d5ff);
  box-shadow: 0 0 28px rgba(0, 213, 255, .35);
}

.secondary {
  color: #dce9ff;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.07);
}

.container {
  width: min(1120px, calc(100% - 24px));
  margin: auto;
}

.tabs {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 12px;
  background: rgba(6, 17, 31, .78);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  margin-bottom: 22px;
}

.tab {
  border: 0;
  padding: 14px 10px;
  border-radius: 16px;
  color: #c9d8f4;
  font-weight: 900;
  background: rgba(255,255,255,.06);
  cursor: pointer;
}

.tab.active {
  color: white;
  background: linear-gradient(135deg, #4a97ff, #00d5ff);
}

.guide {
  display: none;
  grid-template-columns: 1fr .82fr;
  gap: 22px;
  align-items: center;
  margin-bottom: 28px;
  padding: 22px;
  border-radius: 32px;
  border: 1px solid rgba(0, 213, 255, .18);
  background: linear-gradient(180deg, rgba(28, 43, 75, .86), rgba(10, 21, 38, .92));
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}

.guide.active {
  display: grid;
  animation: fadeUp .45s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.badge {
  display: inline-flex;
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 900;
  color: #c8f3ff;
  border: 1px solid rgba(0, 213, 255, .28);
  background: rgba(0, 213, 255, .1);
}

.text h2 {
  font-size: clamp(30px, 5vw, 54px);
  margin: 18px 0 12px;
  background: linear-gradient(90deg, #ffffff, #62dcff);
  -webkit-background-clip: text;
  color: transparent;
}

.text p {
  color: #b7c8e9;
  line-height: 1.9;
  font-size: 17px;
}

ol {
  padding: 0 22px 0 0;
  line-height: 2;
  color: #e7f0ff;
  font-weight: 700;
}

li::marker {
  color: #00d5ff;
  font-weight: 900;
}

.note {
  margin-top: 18px;
  padding: 15px;
  border-radius: 18px;
  background: rgba(0, 213, 255, .1);
  border: 1px solid rgba(0, 213, 255, .25);
  color: #dff8ff;
  font-weight: 800;
}

.warning {
  background: rgba(255, 180, 40, .12);
  border-color: rgba(255, 180, 40, .28);
  color: #ffe4ae;
}

.phone {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(0, 213, 255, .25);
  background: #08111f;
  box-shadow: inset 0 0 38px rgba(0, 213, 255, .06), 0 20px 50px rgba(0,0,0,.35);
  transform: perspective(900px) rotateY(-4deg);
  transition: .3s;
}

.phone:hover {
  transform: perspective(900px) rotateY(0) translateY(-6px);
}

.phone img {
  width: 100%;
  display: block;
}

.policy,
.cta {
  margin: 28px 0;
  padding: 24px;
  border-radius: 30px;
  border: 1px solid rgba(0, 213, 255, .18);
  background: rgba(13, 28, 50, .82);
}

.policy h2,
.cta h2 {
  margin: 0 0 18px;
  font-size: 34px;
  color: #62dcff;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.policy-grid div {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: #dbeafe;
  font-weight: 800;
  line-height: 1.7;
}

.cta {
  text-align: center;
  display: block;
}

.cta p {
  color: #b7c8e9;
}

.top-btn {
  position: fixed;
  left: 18px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(135deg, #4a97ff, #00d5ff);
  color: white;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
  display: none;
  box-shadow: 0 0 25px rgba(0, 213, 255, .35);
}

.top-btn.show {
  display: block;
}

@media (max-width: 850px) {
  .hero {
    min-height: 72vh;
    padding-top: 45px;
  }

  .tabs {
    grid-template-columns: 1fr;
    position: static;
  }

  .guide {
    grid-template-columns: 1fr;
    padding: 15px;
    border-radius: 24px;
  }

  .phone {
    transform: none;
  }

  .policy-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.bg::before,
.bg::after {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  filter: blur(120px);
  animation: floatGlow 18s infinite alternate ease-in-out;
}

.bg::before {
  background: rgba(0, 213, 255, 0.18);
  top: -150px;
  right: -150px;
}

.bg::after {
  background: rgba(80, 120, 255, 0.16);
  bottom: -150px;
  left: -150px;
  animation-delay: 4s;
}

@keyframes floatGlow {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(100px, -60px) scale(1.2);
  }
}
#starsCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

#imageViewer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .92);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: .3s ease;
  z-index: 9999;
}

#imageViewer.show {
  opacity: 1;
  visibility: visible;
}

#viewerImage {
  max-width: 95%;
  max-height: 95%;
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(0, 213, 255, .35);
}

#closeViewer {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 34px;
  color: white;
  cursor: pointer;
  z-index: 2;
}

.phone img {
  cursor: zoom-in;
}