/* 首页 */

.btn-lg {
  min-height: 52px;
  padding: 15px 28px;
  font-size: 16px;
}

.btn-lg svg {
  width: 18px;
  height: 18px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(var(--brand-rgb), 0.35);
  background: rgba(255, 255, 255, 0.7);
  color: var(--brand-dark);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: #fff;
  border-color: var(--brand);
}

/* 首屏 */
.home-hero {
  padding: 56px 0 36px;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 40px;
}

.home-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  background: #fff;
  border: 1px solid rgba(var(--brand-rgb), 0.14);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(var(--brand-rgb), 0.06);
}

.home-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.home-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.home-hero h1 .hero-sub {
  display: block;
  margin-top: 12px;
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--text-700);
}

.home-hero-desc {
  max-width: 560px;
  margin: 0 0 28px;
  color: var(--text-600);
  font-size: 16px;
  line-height: 1.8;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 18px 0 0;
  color: var(--text-500);
  font-size: 13px;
}

.home-hero-art img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

/* 信任条 */
.home-trust-wrap {
  padding: 0 0 24px;
}

.home-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 24px 8px;
  list-style: none;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(var(--brand-rgb), 0.08);
  box-shadow: var(--shadow-md);
}

.home-trust li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 12px;
  text-align: center;
}

.home-trust li + li {
  border-left: 1px solid rgba(var(--brand-rgb), 0.1);
}

.home-trust strong {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  background: var(--cta-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-trust span {
  color: var(--text-500);
  font-size: 13px;
}

/* 通用区块 */
.home-section {
  padding: 72px 0;
}

.home-section-alt {
  background: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(var(--brand-rgb), 0.06);
  border-bottom: 1px solid rgba(var(--brand-rgb), 0.06);
}

.home-head {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}

.home-head h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 2.6vw, 32px);
  font-weight: 800;
}

.home-head p {
  margin: 0;
  color: var(--text-600);
  font-size: 16px;
}

.home-head-left {
  margin: 0 0 24px;
  text-align: left;
}

.home-section-more {
  margin: 24px 0 0;
  text-align: center;
}

/* 主营业务 */
.home-main-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.home-main-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(var(--brand-rgb), 0.1);
  box-shadow: var(--shadow-md);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.home-main-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.home-main-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.home-main-ico {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--cta-gradient);
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.home-main-ico svg {
  width: 26px;
  height: 26px;
}

.home-main-top h3 {
  margin: 0 0 4px;
  font-size: 24px;
}

.home-main-top h3 a {
  color: inherit;
  text-decoration: none;
}

.home-main-top h3 a:hover {
  color: var(--brand-dark);
}

.home-main-top p {
  margin: 0;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 600;
}

.home-badge {
  align-self: flex-start;
  margin-left: auto;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(249, 115, 22, 0.1);
  color: #ea580c;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.home-checks {
  flex: 1;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.home-checks li {
  position: relative;
  padding: 9px 0 9px 30px;
  color: var(--text-700);
  font-size: 15px;
  border-top: 1px dashed rgba(var(--brand-rgb), 0.14);
}

.home-checks li:first-child {
  border-top: 0;
}

.home-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-50);
  box-shadow: inset 0 0 0 1px rgba(var(--brand-rgb), 0.25);
}

.home-checks li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 16px;
  width: 6px;
  height: 9px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(45deg);
}

.home-main-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}

/* 其他业务 */
.home-other-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.home-other-card {
  display: flex;
  flex-direction: column;
  padding: 22px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(var(--brand-rgb), 0.1);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

.home-other-card:hover,
.home-other-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(var(--brand-rgb), 0.28);
  box-shadow: var(--shadow-lg);
}

.home-other-ico,
.home-why-ico {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--brand-50);
  color: var(--brand);
}

.home-other-ico svg,
.home-why-ico svg {
  width: 22px;
  height: 22px;
}

.home-other-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.home-other-card p {
  flex: 1;
  margin: 0 0 14px;
  color: var(--text-600);
  font-size: 13.5px;
  line-height: 1.7;
}

.home-more {
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 700;
}

/* 购买流程 */
.home-flow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}

.home-flow-art img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(closest-side, #000 58%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 58%, transparent 100%);
}

.home-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 22px;
}

.home-steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 46px;
  bottom: 4px;
  border-left: 2px dashed rgba(var(--brand-rgb), 0.25);
}

.home-step-no {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cta-gradient);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  box-shadow: var(--shadow-brand);
}

.home-steps h3 {
  margin: 8px 0 4px;
  font-size: 17px;
}

.home-steps p {
  margin: 0;
  color: var(--text-600);
  font-size: 14.5px;
}

/* 为什么选 */
.home-why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.home-why-card {
  padding: 26px 22px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(var(--brand-rgb), 0.1);
}

.home-why-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.home-why-card p {
  margin: 0;
  color: var(--text-600);
  font-size: 14px;
  line-height: 1.75;
}

/* 常见问题 */
.home-faq {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.home-faq details {
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(var(--brand-rgb), 0.1);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.home-faq details[open] {
  border-color: rgba(var(--brand-rgb), 0.26);
  box-shadow: var(--shadow-md);
}

.home-faq summary {
  position: relative;
  padding: 18px 56px 18px 22px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-900);
  cursor: pointer;
  list-style: none;
}

.home-faq summary::-webkit-details-marker {
  display: none;
}

.home-faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 26px;
  height: 26px;
  margin-top: -13px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-dark);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}

.home-faq details[open] summary::after {
  content: "−";
  background: var(--brand);
  color: #fff;
}

.home-faq details p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--text-600);
  font-size: 15px;
  line-height: 1.8;
}

/* 最新文章 */
.home-latest-grid {
  margin: 0;
}

@media (max-width: 1100px) {
  .home-other-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .home-hero-grid,
  .home-flow-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-hero-art {
    max-width: 460px;
    margin: 0 auto;
  }

  .home-flow-art {
    max-width: 460px;
    margin: 0 auto;
  }

  .home-main-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .home-hero {
    padding: 28px 0 20px;
  }

  .home-hero-art {
    max-width: 300px;
  }

  .home-hero h1 {
    font-size: min(30px, 7.2vw);
  }

  .home-hero-actions .btn-lg,
  .home-hero-actions .btn-outline {
    flex: 1 1 auto;
    min-height: 48px;
    padding: 13px 18px;
    font-size: 15px;
  }

  .home-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 18px;
    padding: 20px 4px;
  }

  .home-trust li:nth-child(3) {
    border-left: 0;
  }

  .home-trust strong {
    font-size: 24px;
  }

  .home-section {
    padding: 48px 0;
  }

  .home-head {
    margin-bottom: 24px;
  }

  .home-main-card {
    padding: 22px;
  }

  .home-main-top h3 {
    font-size: 20px;
  }

  .home-other-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .home-other-card {
    padding: 18px 16px;
  }

  .home-why-grid {
    grid-template-columns: 1fr;
  }

  .home-faq summary {
    padding: 16px 52px 16px 18px;
    font-size: 15px;
  }

  .home-faq details p {
    padding: 0 18px 18px;
  }
}

@media (max-width: 359px) {
  .home-other-grid {
    grid-template-columns: 1fr;
  }
}
