/* ============================================================
   Dr. Alaseo detail page
   Shared type, rail, spacing and responsive rules: detail.css
   ============================================================ */

.alaseo-hero {
  background:
    radial-gradient(circle at 82% 20%, rgba(49, 132, 246, .16), transparent 31%),
    linear-gradient(145deg, #f8fbff 0%, #f3f7fb 54%, #eef4fb 100%);
}

.alaseo-hero-media { max-width: 500px; }

.alaseo-hero-media figcaption,
.alaseo-feature figcaption {
  margin-top: 16px;
  color: var(--ds-muted);
  font-size: var(--detail-caption);
  line-height: var(--detail-line-caption);
}

/* Simulated product UI below intentionally keeps its compact fixed type scale. */
/* Diagnosis report */
.alaseo-report-visual {
  position: relative;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(49, 132, 246, .14);
  border-radius: 28px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 30px 70px rgba(49, 79, 112, .14);
}

.alaseo-report-visual::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(49, 132, 246, .08);
}

.alaseo-report-top,
.alaseo-update-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.alaseo-report-top div,
.alaseo-update-head div {
  display: grid;
  gap: 3px;
}

.alaseo-report-top small,
.alaseo-update-head small {
  color: var(--ds-blue);
  font-size: 12px;
  line-height: 18px;
  font-weight: var(--type-weight-bold);
  letter-spacing: .04em;
}

.alaseo-report-top strong,
.alaseo-update-head strong {
  color: var(--ds-ink);
  font-size: 20px;
  line-height: 29px;
}

.alaseo-report-top > span,
.alaseo-update-head > span {
  min-height: 32px;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  color: #187657;
  background: #eaf8f2;
  font-size: 12px;
  line-height: 18px;
  font-weight: var(--type-weight-bold);
  white-space: nowrap;
}

.alaseo-report-top > span i,
.alaseo-update-head > span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #28a97b;
}

.alaseo-report-result {
  position: relative;
  margin-top: 24px;
  padding: 26px;
  border-radius: 20px;
  color: var(--ds-white);
  background: linear-gradient(135deg, #2679ed 0%, #4b98ff 100%);
}

.alaseo-report-result small {
  display: block;
  color: rgba(255, 255, 255, .76);
  font-size: 13px;
  line-height: 20px;
  font-weight: var(--type-weight-bold);
}

.alaseo-report-result strong {
  display: block;
  margin-top: 10px;
  font-size: 22px;
  line-height: 32px;
}

.alaseo-report-result p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .84);
  font-size: 14px;
  line-height: 22px;
}

.alaseo-report-checks {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.alaseo-report-checks > div {
  min-height: 70px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid #e7ebef;
  border-radius: 14px;
  background: var(--ds-white);
}

.alaseo-report-checks span {
  color: var(--ds-muted);
  font-size: 12px;
  line-height: 18px;
  font-weight: var(--type-weight-semibold);
}

.alaseo-report-checks strong {
  color: var(--ds-body);
  font-size: 14px;
  line-height: 22px;
}

.alaseo-report-checks b {
  min-width: 42px;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--ds-blue);
  background: rgba(49, 132, 246, .09);
  font-size: 12px;
  line-height: 18px;
  text-align: center;
}

.alaseo-report-next {
  margin-top: 18px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--ds-line);
}

.alaseo-report-next span {
  color: var(--ds-muted);
  font-size: 13px;
  line-height: 20px;
}

.alaseo-report-next strong {
  color: var(--ds-ink);
  font-size: 13px;
  line-height: 20px;
  text-align: right;
}

/* Static starting paths */
.alaseo-path-visual {
  padding: 28px;
  border-radius: 28px;
  background: #f2f6fb;
}

.alaseo-path-head {
  display: grid;
  gap: 5px;
}

.alaseo-path-head span {
  color: var(--ds-blue);
  font-size: 12px;
  line-height: 18px;
  font-weight: var(--type-weight-bold);
  letter-spacing: .04em;
}

.alaseo-path-head strong {
  color: var(--ds-ink);
  font-size: 22px;
  line-height: 32px;
}

.alaseo-path-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.alaseo-path-grid article {
  min-width: 0;
  padding: 22px 18px;
  border: 1px solid #e1e7ed;
  border-radius: 18px;
  background: var(--ds-white);
}

.alaseo-path-grid article > small {
  color: var(--ds-blue);
  font-size: 12px;
  line-height: 18px;
  font-weight: var(--type-weight-bold);
}

.alaseo-path-grid article > strong {
  display: block;
  margin-top: 5px;
  color: var(--ds-ink);
  font-size: 17px;
  line-height: 26px;
}

.alaseo-path-grid ol {
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.alaseo-path-grid li {
  min-height: 34px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  color: var(--ds-muted);
  font-size: 13px;
  line-height: 20px;
  font-weight: var(--type-weight-semibold);
}

.alaseo-path-grid li i {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ds-line);
  border-radius: 50%;
  color: var(--ds-muted);
  background: var(--ds-white);
  font-size: 12px;
  font-style: normal;
}

.alaseo-path-grid li.is-complete i {
  color: var(--ds-white);
  background: #28a97b;
  border-color: #28a97b;
}

.alaseo-path-grid li.is-current {
  color: var(--ds-body);
}

.alaseo-path-grid li.is-current i {
  color: var(--ds-white);
  background: var(--ds-blue);
  border-color: var(--ds-blue);
}

.alaseo-path-footer {
  margin-top: 14px;
  padding: 17px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: 14px;
  color: var(--ds-white);
  background: var(--ds-ink);
}

.alaseo-path-footer span {
  color: #aeb8c3;
  font-size: 13px;
  line-height: 20px;
}

.alaseo-path-footer strong {
  font-size: 14px;
  line-height: 22px;
}

/* Information and copy review */
.alaseo-copy-visual {
  display: grid;
  gap: 14px;
}

.alaseo-copy-source {
  padding: 26px;
  border-radius: 22px;
  color: var(--ds-white);
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, .14), transparent 26%),
    linear-gradient(135deg, #1a2736, #243c58);
}

.alaseo-copy-source small {
  color: #8ebcff;
  font-size: 12px;
  line-height: 18px;
  font-weight: var(--type-weight-bold);
}

.alaseo-copy-source > strong {
  display: block;
  margin-top: 12px;
  font-size: 22px;
  line-height: 32px;
}

.alaseo-copy-source > div {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.alaseo-copy-source span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  color: #d6dee7;
  background: rgba(255, 255, 255, .06);
  font-size: 12px;
  line-height: 18px;
}

.alaseo-copy-review {
  padding: 22px;
  border: 1px solid #e1e7ed;
  border-radius: 22px;
  background: var(--ds-white);
}

.alaseo-copy-review header,
.alaseo-copy-review footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.alaseo-copy-review header > span {
  color: var(--ds-ink);
  font-size: 15px;
  line-height: 23px;
  font-weight: var(--type-weight-bold);
}

.alaseo-copy-review header b {
  padding: 5px 9px;
  border-radius: 999px;
  color: #a05b00;
  background: #fff4dc;
  font-size: 12px;
  line-height: 18px;
}

.alaseo-copy-review section {
  margin-top: 14px;
  padding: 16px;
  border-radius: 14px;
}

.alaseo-copy-review section small {
  font-size: 12px;
  line-height: 18px;
  font-weight: var(--type-weight-bold);
}

.alaseo-copy-review section p {
  margin: 8px 0 0;
  color: var(--ds-body);
  font-size: 14px;
  line-height: 22px;
  font-weight: var(--type-weight-semibold);
}

.alaseo-copy-review .is-caution {
  border: 1px solid #f1d7b0;
  background: #fffaf1;
}

.alaseo-copy-review .is-caution small,
.alaseo-copy-review .is-caution > span { color: #9a5b0a; }

.alaseo-copy-review .is-caution mark {
  color: #9a5b0a;
  background: #ffe3ae;
}

.alaseo-copy-review .is-caution > span {
  display: block;
  margin-top: 7px;
  font-size: 12px;
  line-height: 18px;
}

.alaseo-copy-review .is-suggestion {
  border: 1px solid rgba(49, 132, 246, .22);
  background: #f3f8ff;
}

.alaseo-copy-review .is-suggestion small { color: var(--ds-blue); }

.alaseo-copy-review footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--ds-line);
  font-size: 13px;
  line-height: 20px;
}

.alaseo-copy-review footer span { color: var(--ds-muted); }
.alaseo-copy-review footer strong { color: var(--ds-blue); }

/* Updates and operating history */
.alaseo-update-visual {
  padding: 26px;
  border-radius: 28px;
  background: #f2f6fb;
}

.alaseo-update-body {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 12px;
}

.alaseo-update-chat,
.alaseo-update-targets {
  min-width: 0;
  padding: 18px;
  border-radius: 18px;
  background: var(--ds-white);
}

.alaseo-update-chat {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
}

.alaseo-update-chat p {
  max-width: 95%;
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px 14px 4px 14px;
  align-self: flex-end;
  color: var(--ds-white);
  background: var(--ds-blue);
  font-size: 13px;
  line-height: 20px;
}

.alaseo-update-chat p + p {
  align-self: flex-start;
  border-radius: 14px 14px 14px 4px;
  color: var(--ds-body);
  background: #edf1f5;
}

.alaseo-update-targets {
  display: grid;
  gap: 8px;
}

.alaseo-update-targets > div {
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 8px;
  border: 1px solid #e5e9ed;
  border-radius: 12px;
}

.alaseo-update-targets span {
  color: var(--ds-muted);
  font-size: 12px;
  line-height: 18px;
}

.alaseo-update-targets strong {
  color: var(--ds-body);
  font-size: 13px;
  line-height: 20px;
}

.alaseo-update-targets b {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  padding: 4px 7px;
  border-radius: 999px;
  color: var(--ds-blue);
  background: rgba(49, 132, 246, .09);
  font-size: 12px;
  line-height: 18px;
}

.alaseo-update-footer {
  margin-top: 14px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 14px;
  background: var(--ds-white);
}

.alaseo-update-footer span {
  color: var(--ds-muted);
  font-size: 13px;
  line-height: 20px;
}

.alaseo-update-footer strong {
  color: var(--ds-ink);
  font-size: 14px;
  line-height: 22px;
}

/* Final CTA */
.alaseo-contact {
  background:
    radial-gradient(circle at 82% 18%, rgba(49, 132, 246, .4), transparent 34%),
    linear-gradient(135deg, #11181f 0%, #1d2c3d 100%);
}

.alaseo-contact::after {
  background: linear-gradient(90deg, rgba(17, 24, 31, .18), transparent 72%);
}

.alaseo-page .detail-contact .detail-button--secondary {
  color: var(--ds-white);
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .5);
}

.alaseo-page .detail-contact .detail-button--secondary:hover {
  color: var(--ds-white);
  background: rgba(255, 255, 255, .16);
  border-color: var(--ds-white);
}

@media (max-width: 1040px) {
  .alaseo-hero-media,
  .alaseo-feature .detail-feature-media { max-width: 720px; }
}

@media (max-width: 640px) {
  .alaseo-report-visual,
  .alaseo-path-visual,
  .alaseo-update-visual { padding: 20px; border-radius: 20px; }

  .alaseo-report-result { padding: 22px 20px; border-radius: 16px; }
  .alaseo-report-result strong,
  .alaseo-path-head strong,
  .alaseo-copy-source > strong { font-size: 20px; line-height: 29px; }

  .alaseo-report-checks > div {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 4px 10px;
  }

  .alaseo-report-checks b {
    grid-column: 2;
    justify-self: start;
  }

  .alaseo-path-grid,
  .alaseo-update-body { grid-template-columns: 1fr; }

  .alaseo-path-grid article { padding: 20px 18px; }
  .alaseo-copy-source,
  .alaseo-copy-review { padding: 20px; border-radius: 18px; }
  .alaseo-copy-review header { align-items: flex-start; flex-direction: column; gap: 8px; }
  .alaseo-update-chat { min-height: 180px; }
}
