/* ============================================================================
   asorank.net — /assets/site-support-pages.css
   Shared layout layer for the five commercial support pages:
     /pricing/  /features/  /about-us/  /reseller/  /terms-of-service/

   Purely additive: this file is new, every selector is namespaced with the
   `.asopg` prefix, and no existing page links to it — so no current page's
   rendering can change.

   All sizing is written in px on purpose. The legacy `layout-*.css` sets
   `html { font-size: 62.5% }`, which makes `rem` resolve to 10px inside the
   layui template; px keeps these pages predictable regardless of that file.
   ========================================================================== */

/* ---------------------------------------------------------------------------
   1. Root scope
   --------------------------------------------------------------------------- */
.asopg {
  font-family: Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #3c3a52;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

.asopg *,
.asopg *::before,
.asopg *::after {
  box-sizing: border-box;
}

.asopg img {
  max-width: 100%;
  height: auto;
}

/* Legacy layui template gives <a> a global hover colour; keep it scoped. */
.asopg a {
  color: #4a3ce0;
  text-decoration: none;
}
.asopg a:hover {
  color: #362c73;
  text-decoration: underline;
}

/* ---------------------------------------------------------------------------
   2. Hero band
   --------------------------------------------------------------------------- */
.asopg__hero {
  /* 柔化：更浅的渐变起点 + 圆角内缩卡片（与全站组件圆角语言一致） */
  background: linear-gradient(135deg, #8b80ff 0%, #6e63ff 52%, #5b4df0 100%);
  color: #fff;
  padding: 52px 0 60px;
  margin: 14px 16px 0;
  border-radius: 22px;
}

.asopg__crumb {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 14px;
}

.asopg__crumb a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}
.asopg__crumb a:hover {
  color: #fff;
  border-bottom-color: #fff;
  text-decoration: none;
}

.asopg__crumb-sep {
  margin: 0 8px;
  opacity: 0.6;
}

.asopg .asopg__hero h1 {
  margin: 0;
  font-size: 40px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: #fff;
  max-width: 860px;
}

.asopg__lead {
  margin: 18px 0 0;
  max-width: 760px;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
}

/* ---------------------------------------------------------------------------
   3. Sections and container
   --------------------------------------------------------------------------- */
.asopg__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.asopg__section {
  padding: 56px 0;
  border-top: 1px solid #f0eef8;
}

.asopg__section--alt {
  background: #f8f7ff;
}

.asopg .asopg__section h2 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.35;
  font-weight: 700;
  color: #1e183f;
  letter-spacing: -0.2px;
}

.asopg .asopg__section h3 {
  margin: 26px 0 8px;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 600;
  color: #1e183f;
}

.asopg .asopg__section p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.75;
  color: #3c3a52;
}

.asopg .asopg__section p:last-child {
  margin-bottom: 0;
}

.asopg__section-lead {
  max-width: 800px;
}

/* ---------------------------------------------------------------------------
   4. Cards / grids
   --------------------------------------------------------------------------- */
.asopg__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 26px;
}

.asopg__grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.asopg__card {
  background: #fff;
  border: 1px solid #ece9f5;
  border-radius: 14px;
  padding: 24px 22px;
  box-shadow: 0 2px 10px rgba(30, 24, 63, 0.04);
}

.asopg .asopg__card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 600;
  color: #1e183f;
}

.asopg .asopg__card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

/* Bulleted capability lists */
.asopg__list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.asopg__list li {
  position: relative;
  padding: 0 0 0 28px;
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.7;
  color: #3c3a52;
}

.asopg__list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 11px;
  height: 6px;
  border-left: 2px solid #6153ff;
  border-bottom: 2px solid #6153ff;
  transform: rotate(-45deg);
}

.asopg__list li strong {
  color: #1e183f;
  font-weight: 600;
}

/* ---------------------------------------------------------------------------
   5. Plan cards (pricing)
   --------------------------------------------------------------------------- */
.asopg__plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.asopg__plan {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ece9f5;
  border-radius: 16px;
  padding: 26px 24px 24px;
  box-shadow: 0 2px 12px rgba(30, 24, 63, 0.05);
}

.asopg__plan--featured {
  border-color: #6153ff;
  box-shadow: 0 10px 28px rgba(97, 83, 255, 0.16);
}

.asopg__plan-tag {
  display: inline-block;
  margin: 0 0 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #f4f2ff;
  color: #4a3ce0;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.asopg .asopg__plan h3 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  color: #1e183f;
}

.asopg__plan-desc {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.7;
  color: #6b6a80;
}

.asopg__plan-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  flex: 1;
}

.asopg__plan-list li {
  position: relative;
  padding: 0 0 0 26px;
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.65;
  color: #3c3a52;
}

.asopg__plan-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 7px;
  width: 9px;
  height: 5px;
  border-left: 2px solid #6153ff;
  border-bottom: 2px solid #6153ff;
  transform: rotate(-45deg);
}

/* ---------------------------------------------------------------------------
   6. Buttons
   --------------------------------------------------------------------------- */
.asopg__btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  background: #6153ff;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: background 0.18s ease;
}

/* The generic `.asopg a` rule above is (0,1,1) and would otherwise win over
   the (0,1,0) `.asopg__btn` colour, painting white-on-purple buttons purple.
   Anchor-qualified selectors below out-specify it. */
.asopg a.asopg__btn {
  color: #fff;
  text-decoration: none;
}

.asopg a.asopg__btn:hover {
  background: #4a3ce0;
  color: #fff;
  text-decoration: none;
}

.asopg__btn--block {
  display: block;
  width: 100%;
}

.asopg__btn--ghost {
  background: #fff;
  border: 1px solid #6153ff;
  color: #4a3ce0;
}

.asopg a.asopg__btn--ghost,
.asopg a.asopg__btn--ghost:hover {
  color: #4a3ce0;
}

.asopg a.asopg__btn--ghost:hover {
  background: #f4f2ff;
}

/* ---------------------------------------------------------------------------
   7. Numbered steps
   --------------------------------------------------------------------------- */
.asopg__steps {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: asopg-step;
}

.asopg__steps--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.asopg__step {
  position: relative;
  background: #fff;
  border: 1px solid #ece9f5;
  border-radius: 14px;
  padding: 22px 20px;
}

.asopg__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin: 0 0 12px;
  border-radius: 50%;
  background: #6153ff;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.asopg .asopg__step h3 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 600;
  color: #1e183f;
}

.asopg .asopg__step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

/* ---------------------------------------------------------------------------
   8. FAQ blocks
   --------------------------------------------------------------------------- */
.asopg__faq {
  margin-top: 24px;
  border-top: 1px solid #ece9f5;
}

.asopg__faq-item {
  padding: 20px 0;
  border-bottom: 1px solid #ece9f5;
}

.asopg .asopg__faq-item h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 600;
  color: #1e183f;
}

.asopg .asopg__faq-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: #4b4966;
}

/* ---------------------------------------------------------------------------
   9. Closing CTA
   --------------------------------------------------------------------------- */
.asopg__cta {
  margin: 8px 0 0;
  padding: 44px 40px;
  border-radius: 18px;
  background: linear-gradient(135deg, #6153ff 0%, #4a3ce0 100%);
  color: #fff;
  text-align: center;
}

.asopg .asopg__cta h2 {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.35;
  font-weight: 700;
  color: #fff;
}

.asopg .asopg__cta p {
  margin: 0 auto 22px;
  max-width: 620px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

.asopg__cta a.asopg__btn {
  background: #fff;
  color: #4a3ce0;
}

.asopg__cta a.asopg__btn:hover {
  background: #f4f2ff;
  color: #362c73;
}

.asopg__cta-wrap {
  padding: 40px 0 64px;
}

/* ---------------------------------------------------------------------------
   10. Legal document layout (terms-of-service)
   --------------------------------------------------------------------------- */
.asopg__doc {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 24px 24px;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.asopg .asopg__doc h2 {
  margin: 34px 0 10px;
  font-size: 21px;
  line-height: 1.4;
  font-weight: 700;
  color: #1e183f;
}

.asopg .asopg__doc h2:first-of-type {
  margin-top: 0;
}

.asopg .asopg__doc h3 {
  margin: 20px 0 6px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  color: #1e183f;
}

.asopg .asopg__doc p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.8;
  color: #3c3a52;
}

.asopg .asopg__doc ul {
  margin: 0 0 14px;
  padding-left: 22px;
  list-style: disc;
}

.asopg .asopg__doc li {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.75;
  color: #3c3a52;
}

.asopg__updated {
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid #ece9f5;
  font-size: 14px;
  line-height: 1.6;
  color: #6b6a80;
}

.asopg__note {
  margin: 0 0 28px;
  padding: 16px 18px;
  border-left: 3px solid #6153ff;
  border-radius: 0 10px 10px 0;
  background: #f8f7ff;
}

.asopg .asopg__note p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #3c3a52;
}

/* ---------------------------------------------------------------------------
   11. Responsive
   --------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .asopg__hero {
    padding: 44px 0 48px;
    margin: 10px 10px 0;
    border-radius: 16px;
  }
  .asopg .asopg__hero h1 {
    font-size: 32px;
  }
  .asopg__lead {
    font-size: 16px;
  }
  .asopg__plans,
  .asopg__grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .asopg__steps,
  .asopg__steps--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .asopg__cta {
    padding: 36px 28px;
  }
}

@media (max-width: 767px) {
  .asopg__hero {
    padding: 34px 0 38px;
  }
  .asopg .asopg__hero h1 {
    font-size: 26px;
    line-height: 1.32;
    letter-spacing: 0;
  }
  .asopg__lead {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.65;
  }
  .asopg__inner {
    padding: 0 18px;
  }
  .asopg__section {
    padding: 36px 0;
  }
  .asopg .asopg__section h2 {
    font-size: 22px;
  }
  .asopg .asopg__section h3 {
    font-size: 17px;
  }
  .asopg__grid,
  .asopg__grid--three,
  .asopg__plans,
  .asopg__steps,
  .asopg__steps--four {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 20px;
  }
  .asopg__card,
  .asopg__plan,
  .asopg__step {
    padding: 20px 18px;
  }
  .asopg .asopg__cta h2 {
    font-size: 21px;
  }
  .asopg__cta {
    padding: 28px 20px;
    border-radius: 14px;
  }
  .asopg__cta-wrap {
    padding: 28px 0 44px;
  }
  .asopg__doc {
    padding: 32px 18px 16px;
  }
  .asopg .asopg__doc h2 {
    font-size: 19px;
  }
  .asopg .asopg__doc p,
  .asopg .asopg__doc li {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .asopg .asopg__hero h1 {
    font-size: 23px;
  }
  .asopg .asopg__section h2 {
    font-size: 20px;
  }
  .asopg__cta .asopg__btn,
  .asopg__plan .asopg__btn {
    display: block;
    width: 100%;
  }
}
