:root {
  --bg-1: #0b1020;
  --bg-2: #17213a;
  --card: rgba(255, 255, 255, 0.96);
  --text: #111827;
  --muted: #667085;
  --primary: #6d5dfc;
  --primary-dark: #5847ef;
  --success: #16a34a;
  --border: #e7eaf0;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 15%, rgba(109, 93, 252, .35), transparent 30%),
    radial-gradient(circle at 80% 85%, rgba(54, 201, 255, .20), transparent 32%),
    linear-gradient(145deg, var(--bg-1), var(--bg-2));
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.85), transparent);
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.card {
  position: relative;
  width: min(100%, 460px);
  padding: 36px 30px 28px;
  background: var(--card);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 28px;
  box-shadow: var(--shadow);
  text-align: center;
  overflow: hidden;
  animation: cardIn .65s cubic-bezier(.2,.8,.2,1) both;
}

.card::after {
  content: "";
  position: absolute;
  top: -90px;
  right: -80px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(109, 93, 252, .08);
}

.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f2efff;
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.icon-wrap {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  margin: 6px auto 18px;
  border-radius: 24px;
  color: var(--primary);
  background: linear-gradient(145deg, #f6f4ff, #e9e5ff);
  box-shadow: inset 0 0 0 1px rgba(109,93,252,.1), 0 12px 30px rgba(109,93,252,.16);
  animation: float 3.6s ease-in-out infinite;
}

.icon-wrap svg { width: 62px; height: 62px; }

.eyebrow {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}

h1 {
  margin: 0;
  font-size: clamp(28px, 7vw, 38px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.subtitle {
  max-width: 360px;
  margin: 14px auto 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.info-grid {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 16px;
  text-align: left;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 18px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #344054;
  font-size: 14px;
  font-weight: 600;
}

.check {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  background: var(--success);
  font-size: 13px;
  font-weight: 800;
}

.cta {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 16px;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #8d64ff);
  box-shadow: 0 14px 28px rgba(109,93,252,.28);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.cta:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(109,93,252,.34);
}

.cta:not(:disabled):active { transform: translateY(0); }

.cta:disabled {
  cursor: not-allowed;
  filter: grayscale(.35);
  opacity: .68;
  box-shadow: none;
}

.cta.loading .arrow { animation: pulseArrow .8s ease-in-out infinite alternate; }

.arrow { font-size: 22px; line-height: 1; }

.device-hint {
  margin: 14px 0 0;
  color: #475467;
  font-size: 12px;
  font-weight: 600;
}

.disclaimer {
  margin: 12px auto 0;
  max-width: 360px;
  color: #98a2b3;
  font-size: 11px;
  line-height: 1.5;
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(24px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes pulseArrow {
  from { transform: translateX(0); }
  to { transform: translateX(5px); }
}

@media (max-width: 480px) {
  .page-shell { padding: 14px; }
  .card { padding: 32px 20px 24px; border-radius: 22px; }
  .badge { top: 14px; right: 14px; }
}

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