.report-ready-page {
  width: 100%;
  max-width: var(--mobile-max-width);
  min-height: 100dvh;
  margin: 0 auto;

  padding:
    calc(var(--safe-top) + 8px)
    clamp(14px, 4vw, 18px)
    calc(var(--safe-bottom) + 12px);

  background:
    radial-gradient(circle at 50% 0%, rgba(232, 255, 240, 0.72), transparent 32%),
    linear-gradient(180deg, #fffefc 0%, #ffffff 100%);
}

/* HERO */

.report-ready-hero {
  position: relative;
  text-align: center;
  padding-top: 2px;
}

.report-ready-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  margin: 0 auto 5px;
}

.success-badge {
  width: 52px;
  height: 52px;
  margin: 0 auto 8px;

  border-radius: 50%;

  display: grid;
  place-items: center;

  background:
    radial-gradient(circle, #ffffff 0 42%, transparent 43%),
    linear-gradient(135deg, #dff9e9 0%, #c9f2d7 100%);

  box-shadow:
    0 9px 20px rgba(8, 169, 87, 0.15),
    inset 0 0 0 8px rgba(8, 169, 87, 0.08);
}

.success-badge span {
  color: #07984e;
  font-size: 32px;
  line-height: 1;
  font-weight: 900;
}

.report-ready-hero h1 {
  margin: 0;
  color: var(--color-navy);
  font-size: clamp(30px, 7.7vw, 37px);
  line-height: 1.03;
  letter-spacing: -1px;
  font-weight: 950;
}

.report-ready-hero h1 span {
  display: block;
  margin-top: 3px;
  color: #07984e;
  font-size: clamp(23px, 6.2vw, 30px);
  letter-spacing: -0.7px;
}

.report-ready-hero p {
  max-width: 320px;
  margin: 9px auto 0;
  color: #6d7085;
  font-size: clamp(12.5px, 3.35vw, 14.5px);
  line-height: 1.42;
  font-weight: 560;
}

.confetti {
  position: absolute;
  width: 11px;
  height: 4px;
  border-radius: 999px;
}

.confetti-1 {
  left: 42px;
  top: 44px;
  background: #08a957;
  transform: rotate(28deg);
}

.confetti-2 {
  left: 82px;
  top: 62px;
  background: #ffc947;
  transform: rotate(-22deg);
}

.confetti-3 {
  right: 54px;
  top: 42px;
  background: #34d399;
  transform: rotate(-18deg);
}

.confetti-4 {
  right: 95px;
  top: 76px;
  background: #ff6b8f;
  transform: rotate(18deg);
}

/* CONTENT */

.report-ready-content {
  margin-top: 11px;
  display: grid;
  gap: 9px;
}

/* COMMON CARDS */

.download-report-card,
.inside-report-card,
.guarantee-card,
.upsell-card,
.support-share-card {
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.985);
  border: 1px solid rgba(236, 236, 242, 0.96);
  box-shadow: 0 10px 24px rgba(7, 20, 63, 0.06);
}

/* DOWNLOAD */

.download-report-card {
  padding: 12px;
}

.download-card-top {
  display: grid;
  grid-template-columns: 86px 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.pdf-preview {
  position: relative;
  width: 86px;
  height: 74px;
}

.pdf-file {
  position: absolute;
  left: 10px;
  top: 0;

  width: 58px;
  height: 68px;
  border-radius: 7px;

  background: linear-gradient(180deg, #ffffff 0%, #f8f9fc 100%);
  border: 1px solid #e5e6ef;
  box-shadow: 0 10px 20px rgba(7, 20, 63, 0.1);
}

.pdf-file::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -1px;

  width: 22px;
  height: 22px;

  background: #edf0f6;
  border-left: 1px solid #dfe2ec;
  border-bottom: 1px solid #dfe2ec;

  clip-path: polygon(100% 0, 0 0, 100% 100%);
  border-radius: 0 7px 0 0;
}

.pdf-file span {
  position: absolute;
  left: 9px;
  top: 20px;

  padding: 3px 6px;
  border-radius: 4px;

  background: #ff3d4f;
  color: #ffffff;
  font-size: 9px;
  line-height: 1;
  font-weight: 900;
}

.pdf-file b {
  position: absolute;
  left: 19px;
  bottom: 7px;

  color: #e22d43;
  font-family: var(--font-title);
  font-size: 32px;
  line-height: 1;
  transform: rotate(-12deg);
}

.download-circle {
  position: absolute;
  right: 4px;
  bottom: 3px;

  width: 35px;
  height: 35px;
  border-radius: 50%;

  display: grid;
  place-items: center;

  background: linear-gradient(135deg, #13b962 0%, #02934d 100%);
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  font-weight: 900;

  box-shadow: 0 9px 17px rgba(8, 169, 87, 0.25);
}

.download-copy h2 {
  color: var(--color-navy);
  font-size: 17px;
  line-height: 1.1;
  font-weight: 950;
}

.download-copy p {
  margin-top: 5px;
  color: #6d7085;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 600;
}

.download-report-button {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  background: linear-gradient(135deg, #0bb95e 0%, #02994e 100%);
  color: #ffffff;

  font-size: clamp(14px, 3.6vw, 17px);
  line-height: 1.12;
  font-weight: 900;

  box-shadow: 0 12px 22px rgba(8, 169, 87, 0.22);
}

.download-report-button span {
  font-size: 22px;
  line-height: 1;
}

.download-report-button.is-loading {
  opacity: 0.75;
}

.download-report-button.is-loading span {
  display: none;
}

.download-report-button.is-loading::after {
  content: "Preparing download...";
}

.download-features {
  margin-top: 9px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;

  color: #6d7085;
  font-size: 10.8px;
  line-height: 1.2;
  font-weight: 700;
}

.download-features i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #07984e;
}

/* INSIDE */

.inside-report-card {
  padding: 12px;
}

.inside-report-card h2 {
  margin-bottom: 10px;
  text-align: center;
  color: var(--color-navy);
  font-size: 17px;
  line-height: 1.1;
  font-weight: 950;
}

.inside-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.inside-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.inside-icon {
  width: 31px;
  height: 31px;
  border-radius: 50%;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
}

.inside-icon svg {
  width: 18px;
  height: 18px;
}

.inside-green {
  background: #dcf8e8;
  color: #08a957;
}

.inside-pink {
  background: #ffe7ef;
  color: #ff3d7d;
}

.inside-yellow {
  background: #fff4d7;
  color: #f2b423;
}

.inside-purple {
  background: #eee3ff;
  color: #9b62e8;
}

.inside-item p {
  color: var(--color-navy);
  font-size: 11.7px;
  line-height: 1.18;
  font-weight: 850;
}

/* GUARANTEE */

.guarantee-card {
  min-height: 58px;
  padding: 10px 13px;

  display: flex;
  align-items: center;
  gap: 12px;

  background: linear-gradient(135deg, #f4fff8 0%, #eefbf2 100%);
}

.guarantee-card > span {
  color: #07984e;
  flex-shrink: 0;
}

.guarantee-card svg {
  width: 34px;
  height: 34px;
}

.guarantee-card h2 {
  color: var(--color-navy);
  font-size: 14px;
  line-height: 1.1;
  font-weight: 950;
}

.guarantee-card p {
  margin-top: 3px;
  color: #6d7085;
  font-size: 11.5px;
  line-height: 1.2;
  font-weight: 600;
}

/* UPSELL */

.upsell-card {
  position: relative;
  padding: 13px;

  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 12px;

  overflow: hidden;

  background:
    radial-gradient(circle at 0% 100%, rgba(255, 47, 117, 0.08), transparent 36%),
    linear-gradient(135deg, #fff7f1 0%, #fff0f5 100%);
}

.upsell-badge {
  position: absolute;
  top: 9px;
  right: 10px;

  padding: 5px 8px;
  border-radius: 999px;

  background: #ffffff;
  color: #ff3d7d;

  font-size: 9px;
  line-height: 1;
  font-weight: 950;

  box-shadow: 0 7px 15px rgba(255, 47, 117, 0.1);
}

.course-visual {
  position: relative;
  min-height: 122px;
}

.course-book {
  position: absolute;
  left: 0;
  bottom: 0;

  width: 74px;
  height: 108px;
  padding: 13px 7px;

  border-radius: 4px 9px 9px 4px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 0 7px, transparent 7px),
    linear-gradient(135deg, #081743 0%, #142766 100%);

  box-shadow: 0 12px 20px rgba(7, 20, 63, 0.18);
}

.course-book p {
  color: #ffffff;
  font-family: var(--font-title);
  text-align: center;
  font-size: 11.5px;
  line-height: 1.1;
}

.course-book img {
  width: 22px;
  height: 22px;
  margin-top: 8px;
}

.course-phone {
  position: absolute;
  right: 0;
  bottom: 0;

  width: 52px;
  height: 88px;

  border-radius: 12px;
  border: 4px solid #1f2130;
  background: #fff9fb;
  box-shadow: 0 10px 20px rgba(7, 20, 63, 0.13);
  overflow: hidden;
}

.phone-top {
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: #1f2130;
  margin: 5px auto 7px;
}

.course-video {
  width: 30px;
  height: 24px;
  margin: 6px auto;
  border-radius: 8px;
  display: grid;
  place-items: center;

  background: #ff5b8b;
  color: #ffffff;
  font-size: 11px;
}

.course-line {
  height: 7px;
  margin: 6px 8px;
  border-radius: 999px;
  background: #ffdce7;
}

.course-line.short {
  width: 24px;
}

.upsell-info {
  padding-top: 18px;
}

.upsell-info h2 {
  color: var(--color-navy);
  font-size: 18px;
  line-height: 1.04;
  font-weight: 950;
}

.upsell-info p {
  margin-top: 6px;
  color: var(--color-navy);
  font-size: 11.5px;
  line-height: 1.3;
  font-weight: 620;
}

.course-price {
  margin-top: 8px;

  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.course-price span {
  color: #8b8e9f;
  font-size: 14px;
  text-decoration: line-through;
  font-weight: 800;
}

.course-price strong {
  color: #ff3d7d;
  font-size: 27px;
  line-height: 1;
  font-weight: 950;
}

.course-price em {
  padding: 5px 7px;
  border-radius: 999px;

  background: #ffffff;
  color: #ff3d7d;

  font-size: 9.5px;
  line-height: 1;
  font-style: normal;
  font-weight: 950;
}

.course-button {
  width: 100%;
  min-height: 42px;
  margin-top: 8px;

  border-radius: 11px;
  background: var(--gradient-primary);
  color: #ffffff;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  font-size: 12.5px;
  line-height: 1.1;
  font-weight: 950;

  box-shadow: 0 11px 22px rgba(255, 47, 117, 0.2);
}

.course-button span {
  font-size: 20px;
}

.course-button.is-loading {
  opacity: 0.75;
}

.course-button.is-loading::after {
  content: "Preparing...";
}

.course-button.is-loading span,
.course-button.is-loading {
  font-size: 0;
}

/* SUPPORT */

.support-share-card {
  min-height: 62px;
  padding: 10px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.support-box,
.share-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.support-box > span {
  width: 38px;
  height: 38px;
  border-radius: 50%;

  display: grid;
  place-items: center;

  background: linear-gradient(135deg, #15bd65 0%, #07984e 100%);
  color: #ffffff;
  flex-shrink: 0;
}

.support-box svg {
  width: 21px;
  height: 21px;
}

.support-box h3,
.share-box h3 {
  color: var(--color-navy);
  font-size: 12.5px;
  line-height: 1.1;
  font-weight: 950;
}

.support-box p {
  margin-top: 3px;
  color: #6d7085;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 600;
}

.share-box {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-left: 1px solid #e8e9f0;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
}

.social-icons span {
  width: 26px;
  height: 26px;
  border-radius: 50%;

  display: grid;
  place-items: center;

  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
}

.social-instagram {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 55%, #515bd4 100%);
}

.social-facebook {
  background: #2f61b7;
}

.social-twitter {
  background: #1da1f2;
}

/* FOOTER */

.report-ready-footer {
  text-align: center;
  padding-top: 1px;
}

.footer-heart {
  width: 38px;
  height: 38px;
  margin: 0 auto 6px;

  border-radius: 50%;

  display: grid;
  place-items: center;

  background: #fff0f4;
  color: #ff3d7d;
  font-size: 19px;
}

.report-ready-footer p {
  color: var(--color-navy);
  font-size: 11px;
  line-height: 1.25;
  font-weight: 700;
}

.footer-links {
  margin-top: 6px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;

  color: #8b8e9f;
  font-size: 10px;
}

.footer-links a {
  color: #6d7085;
  font-weight: 650;
}

/* IPHONE NORMAL / PRO */

@media (max-width: 414px) and (max-height: 880px) {
  .report-ready-page {
    padding-left: 13px;
    padding-right: 13px;
  }

  .success-badge {
    width: 46px;
    height: 46px;
  }

  .success-badge span {
    font-size: 29px;
  }

  .report-ready-hero h1 {
    font-size: 29px;
  }

  .report-ready-hero h1 span {
    font-size: 23px;
  }

  .report-ready-hero p {
    margin-top: 7px;
    font-size: 12px;
  }

  .report-ready-content {
    gap: 8px;
  }

  .download-report-card,
  .inside-report-card,
  .upsell-card {
    padding: 11px;
  }

  .download-card-top {
    grid-template-columns: 76px 1fr;
  }

  .pdf-preview {
    width: 76px;
  }

  .inside-item p {
    font-size: 10.8px;
  }

  .guarantee-card {
    min-height: 54px;
  }

  .upsell-card {
    grid-template-columns: 104px 1fr;
  }

  .course-visual {
    min-height: 110px;
  }

  .course-book {
    width: 66px;
    height: 98px;
  }

  .course-phone {
    width: 46px;
    height: 80px;
  }

  .upsell-info h2 {
    font-size: 16px;
  }

  .upsell-info p {
    font-size: 10.8px;
  }

  .course-price strong {
    font-size: 24px;
  }

  .course-button {
    min-height: 40px;
    font-size: 11.8px;
  }
}

/* SMALL PHONES */

@media (max-width: 374px), (max-height: 760px) {
  .support-share-card {
    grid-template-columns: 1fr;
  }

  .share-box {
    border-left: 0;
    border-top: 1px solid #e8e9f0;
    padding-top: 10px;
  }

  .upsell-card {
    grid-template-columns: 1fr;
  }

  .course-visual {
    width: 130px;
    margin: 0 auto;
  }
}