/* plugin.pjyun.cc — 官网补充（主样式见 home.css） */

.home-hero-console-device {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.home-hero-console-progress {
  margin-top: 0.85rem;
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--home-border, #e2e8f0);
  background: #fff;
}

.home-hero-console-progress-head {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--home-text, #0f172a);
  margin-bottom: 0.45rem;
}

.home-hero-console-progress-bar {
  height: 5px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
  margin-bottom: 0.65rem;
}

.home-hero-console-progress-bar span {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #3b82f6, #2563eb);
}

.home-hero-console-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.home-hero-console-steps span {
  display: inline-flex;
  padding: 0.18rem 0.48rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
}

.home-hero-console-steps span.is-done {
  color: #16a34a;
  background: #dcfce7;
}

.home-hero-console-steps span.is-active {
  color: #2563eb;
  background: #dbeafe;
}

.home-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.15rem;
  max-width: 960px;
  margin: 0 auto;
}

.home-price-card {
  position: relative;
  padding: 1.65rem 1.45rem 1.35rem;
  border-radius: 18px;
  border: 1px solid var(--home-border, #e2e8f0);
  background: #fff;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-price-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.home-price-card.is-featured {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.12);
  padding-top: 1.85rem;
}

.home-price-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0.22rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.home-price-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.home-price-amount {
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--home-text, #0f172a);
  margin: 0.65rem 0 1rem;
  letter-spacing: -0.02em;
}

.home-price-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  text-align: left;
}

.home-price-list li {
  position: relative;
  padding-left: 1.25rem;
  margin: 0.4rem 0;
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.45;
}

.home-price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #16a34a;
  font-weight: 700;
}

.home-price-card .home-btn {
  width: 100%;
}

.home-pricing-section .home-section-head {
  margin-bottom: 2rem;
}

.home-portals-section {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.home-portals-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 920px;
  margin: 0 auto;
}

.home-portal-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1.25rem 1.35rem;
  border-radius: 18px;
  border: 1px solid var(--home-border, #e2e8f0);
  background: #fff;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
}

.home-portal-device {
  width: 100%;
  max-width: 340px;
  margin-bottom: 1rem;
}

.home-portal-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
}

.home-portal-card p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.55;
  max-width: 28rem;
}

.home-portal-card .home-btn {
  margin-top: auto;
  min-width: 10rem;
}

#steps .home-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 960px) {
  #steps .home-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

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