:root {
  --txt: #fff;
  --mute: rgba(255, 255, 255, 0.78);
  --glass: rgba(255, 255, 255, 0.14);
  --line: rgba(255, 255, 255, 0.28);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: Outfit, system-ui, sans-serif;
  background: #1a6bff;
  color: var(--txt);
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}

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

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: linear-gradient(118deg,
    #1a6bff 0%,
    #2f5cff 12%,
    #5a3dff 26%,
    #8b2bff 40%,
    #c42cff 54%,
    #f02d9a 68%,
    #ff5a6a 80%,
    #ff8a3d 90%,
    #ffc14a 100%
  );
}

.wrap {
  position: relative;
  z-index: 1;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.7rem, 1.8vh, 1.4rem);
  padding: max(1rem, env(safe-area-inset-top)) 1.25rem max(1rem, env(safe-area-inset-bottom));
  text-align: center;
}

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

.logo-ring {
  position: relative;
  width: clamp(96px, 16vh, 168px);
  height: clamp(96px, 16vh, 168px);
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.2));
  box-shadow:
    0 12px 40px rgba(20, 8, 40, 0.28),
    0 0 0 10px rgba(255, 255, 255, 0.12);
}

.logo-ring::after {
  content: "";
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28), transparent 68%);
  z-index: -1;
  animation: pulse 4s ease-in-out infinite;
}

.logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

h1 {
  margin-top: 0.85rem;
  font-size: clamp(1.55rem, 5.2vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 8px 28px rgba(20, 8, 40, 0.22);
}

.tag {
  margin-top: 0.55rem;
  font-size: clamp(0.98rem, 2.1vw, 1.25rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.94);
}

.wave {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  height: 48px;
  margin: 0.95rem 0 0.7rem;
  filter: drop-shadow(0 10px 18px rgba(20, 8, 40, 0.18));
}

.wave i {
  display: block;
  width: 7px;
  border-radius: 99px;
  transform-origin: center bottom;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.16));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  animation: wave 1.9s ease-in-out infinite;
}

.wave i:nth-child(1) { height: 22%; animation-delay: 0s; }
.wave i:nth-child(2) { height: 34%; animation-delay: 0.08s; }
.wave i:nth-child(3) { height: 48%; animation-delay: 0.16s; }
.wave i:nth-child(4) { height: 64%; animation-delay: 0.24s; }
.wave i:nth-child(5) { height: 80%; animation-delay: 0.32s; }
.wave i:nth-child(6) { height: 94%; animation-delay: 0.4s; }
.wave i:nth-child(7) { height: 78%; animation-delay: 0.48s; }
.wave i:nth-child(8) { height: 58%; animation-delay: 0.56s; }
.wave i:nth-child(9) { height: 72%; animation-delay: 0.64s; }
.wave i:nth-child(10) { height: 100%; animation-delay: 0.72s; }
.wave i:nth-child(11) { height: 86%; animation-delay: 0.8s; }
.wave i:nth-child(12) { height: 100%; animation-delay: 0.72s; }
.wave i:nth-child(13) { height: 72%; animation-delay: 0.64s; }
.wave i:nth-child(14) { height: 58%; animation-delay: 0.56s; }
.wave i:nth-child(15) { height: 78%; animation-delay: 0.48s; }
.wave i:nth-child(16) { height: 94%; animation-delay: 0.4s; }
.wave i:nth-child(17) { height: 80%; animation-delay: 0.32s; }
.wave i:nth-child(18) { height: 64%; animation-delay: 0.24s; }
.wave i:nth-child(19) { height: 48%; animation-delay: 0.16s; }
.wave i:nth-child(20) { height: 34%; animation-delay: 0.08s; }
.wave i:nth-child(21) { height: 22%; animation-delay: 0s; }

.lead {
  max-width: 38rem;
  font-size: clamp(0.86rem, 1.7vw, 1.02rem);
  line-height: 1.55;
  color: var(--mute);
}

.lead a {
  font-weight: 700;
  color: #fff;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  width: min(780px, 100%);
}

.card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(0.85rem, 1.8vh, 1.15rem) 0.9rem 1rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 28px rgba(20, 8, 40, 0.12);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.2);
}

.card span {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.35rem;
}

.card h2 {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.28rem;
}

.card p {
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--mute);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.2rem;
  padding: 0.82rem 1.45rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #161018;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 8, 40, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 14px 34px rgba(20, 8, 40, 0.26);
}

.cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes wave {
  0%, 100% { transform: scaleY(0.55); }
  50% { transform: scaleY(1); }
}

@media (max-width: 640px) {
  .steps {
    gap: 0.5rem;
  }

  .card {
    border-radius: 14px;
    padding: 0.75rem 0.55rem 0.85rem;
  }

  .card p {
    font-size: 0.74rem;
  }

  .wave {
    height: 34px;
    gap: 4px;
  }

  .wave i {
    width: 5px;
  }

  .cta {
    width: min(100%, 280px);
    justify-content: center;
  }
}

@media (max-height: 700px) {
  .logo-ring {
    width: 92px;
    height: 92px;
  }

  h1 {
    margin-top: 0.5rem;
  }

  .wave {
    height: 26px;
    margin: 0.45rem 0 0.35rem;
  }
}

@media (max-width: 420px) {
  .card h2 {
    font-size: 0.95rem;
  }

  .card p {
    font-size: 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-ring::after,
  .wave i {
    animation: none;
  }
}
