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

:root {
  --ink: #0f172a;
  --muted: #475569;
  --accent: #ef4444;
  --accent-deep: #c026d3;
  --panel: #ffffff;
  --border: #e2e8f0;
  --glow: rgba(239, 68, 68, 0.18);
}

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #fff2f2 0%, #f8fafc 45%, #eef2ff 100%);
  min-height: 100vh;
  padding: 48px 24px 64px;
  position: relative;
  overflow-x: hidden;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(0);
  opacity: 0.5;
  animation: drift 18s ease-in-out infinite alternate;
}

.orb-one {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.32), transparent 65%);
  top: -120px;
  left: -80px;
}

.orb-two {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.22), transparent 60%);
  bottom: -160px;
  right: -120px;
  animation-delay: 1s;
}

.orb-three {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.2), transparent 65%);
  top: 35%;
  right: 10%;
  animation-delay: 2s;
}

@keyframes drift {
  from { transform: translateY(0) translateX(0); }
  to { transform: translateY(-30px) translateX(20px); }
}

.hero,
.content,
.footer {
  max-width: 980px;
  margin: 0 auto;
}

.hero {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 40px 48px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(239, 68, 68, 0.08), transparent 45%, rgba(192, 38, 211, 0.08));
  pointer-events: none;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 24px;
}

.back-link::before {
  content: "<";
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.05;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  position: relative;
  z-index: 1;
}

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

.btn.primary {
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #ffffff;
  box-shadow: 0 14px 30px var(--glow);
}

.btn.ghost {
  background: rgba(15, 23, 42, 0.04);
  color: var(--ink);
  border-color: rgba(15, 23, 42, 0.08);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

.content {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section-title h2 {
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.section-title p {
  color: var(--muted);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.step-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  animation: rise 0.6s ease forwards;
}

.step-card:nth-child(2) { animation-delay: 0.1s; }
.step-card:nth-child(3) { animation-delay: 0.2s; }
.step-card:nth-child(4) { animation-delay: 0.3s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-number {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.step-card p {
  color: var(--muted);
  line-height: 1.5;
}

.details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.detail-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.05);
}

.detail-card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.detail-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.detail-card ul li::before {
  content: "•";
  color: var(--accent);
  margin-right: 8px;
}

.detail-card p {
  color: var(--muted);
  line-height: 1.6;
}

.detail-card.highlight {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(192, 38, 211, 0.08));
  border-color: rgba(239, 68, 68, 0.2);
}

.cta-panel {
  background: var(--ink);
  color: #ffffff;
  padding: 28px 32px;
  border-radius: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 6px;
}

.cta-panel .btn.primary {
  box-shadow: none;
}

.footer {
  text-align: center;
  margin-top: 36px;
  color: var(--muted);
}

.footer a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 720px) {
  body {
    padding: 32px 18px 48px;
  }

  .hero {
    padding: 32px 24px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}
