/* ══════════════════════════════════════════════════════
   RESULT PAGE — uses root vars/theme from style.css
══════════════════════════════════════════════════════ */
.result-page {
  padding-top: 64px;
}

/* ── HERO ── */
.res-hero {
  position: relative;
  padding: 68px 0 48px;
  text-align: center;
  overflow: hidden;
}
.res-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, var(--dot) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, black 0%, transparent 100%);
}
.res-hero h1 {
  font-family: var(--font-h);
  font-size: clamp(1.85rem, 5.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
  position: relative;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.res-hero-sub {
  color: var(--text-m);
  font-size: 1.02rem;
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.6;
  position: relative;
}

.res-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  max-width: 620px;
  margin: 0 auto;
  position: relative;
}
.res-cta-btn {
  flex: 1 1 260px;
  max-width: 300px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 16px;
  text-decoration: none;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.98rem;
  transition: all 0.2s ease;
  position: relative;
}
.res-cta-btn i:first-child {
  font-size: 1.15rem;
  flex-shrink: 0;
}
.res-cta-btn span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  flex: 1;
  text-align: left;
}
.res-cta-btn span small {
  font-family: var(--font-b);
  font-weight: 500;
  font-size: 0.72rem;
  opacity: 0.75;
}
.res-ext-ic {
  font-size: 0.72rem;
  opacity: 0.7;
  flex-shrink: 0;
}
.res-cta-btn.primary {
  background: linear-gradient(
    135deg,
    color-mix(
      in srgb,
      color-mix(in srgb, var(--p6) 60%, var(--ghost-bg) 40%) 85%,
      transparent
    ),
    color-mix(
      in srgb,
      color-mix(in srgb, var(--p8) 70%, white 30%) 75%,
      transparent
    )
  );
  color: #fff;
  box-shadow: 0 8px 28px rgba(109, 40, 217, 0.35);
  border: 1px solid var(--ghost-bdr);
}
.res-cta-btn.primary:hover {
  background: linear-gradient(
    135deg,
    color-mix(
      in srgb,
      color-mix(in srgb, var(--p6) 90%, white 10%) 90%,
      transparent
    ),
    color-mix(
      in srgb,
      color-mix(in srgb, var(--p8) 80%, white 20%) 80%,
      transparent
    )
  );
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(109, 40, 217, 0.45);
}
.res-cta-btn.secondary {
  background: linear-gradient(color-mix(in srgb, var(--ghost-bg) 85%, var(--p6) 15%));
  color: var(--ghost-txt);
  border: 2px solid var(--ghost-bdr);
}
.res-cta-btn.secondary:hover {
  transform: translateY(-2px);
  background: rgba(109, 40, 217, 0.2);
}

.res-disclaimer {
  max-width: 560px;
  margin: 22px auto 0;
  font-size: 0.8rem;
  color: var(--text-d);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  justify-content: center;
  line-height: 1.5;
  position: relative;
}
.res-disclaimer i {
  color: var(--p5);
  margin-top: 2px;
  flex-shrink: 0;
}

/* ── STEPS SECTION ── */
.res-steps-section {
  padding: 20px 0 56px;
}
.res-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}
@media (max-width: 900px) {
  .res-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .res-steps-grid {
    grid-template-columns: 1fr;
  }
}
.res-step {
  background: var(--bg-card);
  border: 1px solid var(--border-l);
  border-radius: 16px;
  padding: 22px 18px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.res-step:hover {
  border-color: var(--p6);
  transform: translateY(-2px);
}
.res-step-num {
  font-family: var(--font-h);
  font-size: 1.4rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--p5), var(--p4));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}
.res-step h3 {
  font-family: var(--font-h);
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}
.res-step p {
  font-size: 0.85rem;
  color: var(--text-m);
  line-height: 1.55;
}

/* ── SEO GUIDE ── */
.res-guide-section {
  padding: 0 0 56px;
}
.res-guide-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
}
.res-guide-box h2 {
  font-family: var(--font-h);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--p6), var(--p4), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.res-guide-box h3 {
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 26px 0 10px;
  color: var(--text);
}
.res-guide-box h3:first-of-type {
  margin-top: 0;
}
.res-guide-box p {
  color: var(--text-m);
  font-size: 0.96rem;
  line-height: 1.8;
  margin-bottom: 4px;
}
.res-guide-box strong {
  color: var(--text);
}
@media (max-width: 640px) {
  .res-guide-box {
    padding: 24px 20px;
  }
}

/* ── TRUST ── */
.res-trust-section {
  padding: 0 0 56px;
}
.res-trust-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: linear-gradient(135deg, rgba(76, 29, 149, 0.14), rgba(168, 85, 247, 0.06));
  border: 1px solid var(--ghost-bdr);
  border-radius: 16px;
  padding: 22px 24px;
}
.res-trust-box i {
  font-size: 1.3rem;
  color: var(--p5);
  flex-shrink: 0;
  margin-top: 2px;
}
.res-trust-box p {
  color: var(--text-m);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

/* ── BOTTOM CTA ── */
.res-bottom-cta {
  padding: 0 0 80px;
}

/* ── ACCESSIBILITY: focus states ── */
.res-cta-btn:focus-visible,
.res-step:focus-visible {
  outline: 2px solid var(--p4);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .res-cta-btn,
  .res-step {
    transition: none !important;
  }
}