/* Base */
:root {
  color-scheme: light;
  --bg: #0b0b0f;
  --card: #15161c;
  --text: #f2f4f8;
  --muted: #a6adbb;
  --accent: #7c5cff;
  --accent-2: #2ad49a;
  --danger: #ff5a5f;
  --outline: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(124, 92, 255, 0.25), transparent),
    radial-gradient(800px 400px at 90% 10%, rgba(42, 212, 154, 0.2), transparent),
    var(--bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px 64px;
}

.page {
  width: 100%;
  max-width: 980px;
}

.hero {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.card {
  background: var(--card);
  border: 1px solid var(--outline);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid var(--outline);
  background: rgba(255, 255, 255, 0.04);
}

.logo.center {
  margin: 0 auto;
}

.title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.subtitle {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 24px;
  line-height: 1.5;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), #9d7bff);
  color: white;
  box-shadow: 0 14px 34px rgba(124, 92, 255, 0.35);
}

.button.secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--outline);
}

.button:hover {
  transform: translateY(-2px);
}

.features {
  display: grid;
  gap: 16px;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--outline);
  background: rgba(255, 255, 255, 0.02);
}

.feature-dot {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 6px rgba(42, 212, 154, 0.12);
}

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

.status-card {
  text-align: center;
  display: grid;
  gap: 16px;
  justify-items: center;
}

.status-icon {
  width: 96px;
  height: 96px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--outline);
  animation: float 3.4s ease-in-out infinite;
}

.status-icon.success {
  box-shadow: 0 18px 40px rgba(42, 212, 154, 0.25);
}

.status-icon.fail {
  box-shadow: 0 18px 40px rgba(255, 90, 95, 0.25);
}

.status-icon .mark {
  position: relative;
  width: 42px;
  height: 30px;
  transform: rotate(-45deg);
}

.status-icon.success .mark::before,
.status-icon.success .mark::after {
  content: "";
  position: absolute;
  background: linear-gradient(135deg, #3fe7b7, var(--accent-2));
  border-radius: 10px;
  opacity: 0;
}

.status-icon.success .mark {
  width: 36px;
  height: 36px;
  transform: rotate(0);
}

.status-icon.success .mark::before,
.status-icon.success .mark::after {
  top: 15px;
  left: 0;
}

.status-icon.success .mark::before {
  width: 36px;
  height: 7px;
  top: 14px;
  left: 0;
  transform-origin: left center;
  animation: draw 0.6s ease forwards;
}

.status-icon.success .mark::after {
  width: 7px;
  height: 36px;
  top: 0;
  left: 14px;
  transform-origin: center top;
  animation: draw-vertical 0.6s ease 0.1s forwards;
}

.status-icon.fail .mark {
  width: 36px;
  height: 36px;
  transform: rotate(0);
}

.status-icon.fail .mark::before,
.status-icon.fail .mark::after {
  content: "";
  position: absolute;
  width: 36px;
  height: 6px;
  top: 15px;
  left: 0;
  background: var(--danger);
  border-radius: 8px;
  animation: draw 0.6s ease forwards;
}

.status-icon.fail .mark::before {
  transform: rotate(45deg);
}

.status-icon.fail .mark::after {
  transform: rotate(-45deg);
}

.status-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

.status-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.footer-note {
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.footer-note a {
  color: var(--text);
  background: rgba(124, 92, 255, 0.15);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--outline);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer-note a:hover {
  background: rgba(124, 92, 255, 0.25);
  transform: translateY(-1px);
}

@keyframes draw {
  0% {
    transform: scaleX(0);
    opacity: 0;
  }
  100% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes draw-vertical {
  0% {
    transform: scaleY(0);
    opacity: 0;
  }
  100% {
    transform: scaleY(1);
    opacity: 1;
  }
}

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

@media (max-width: 640px) {
  .card {
    padding: 24px;
  }

  .cta-row {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
