/* ============================================================
 * 功能插件 page skin
 * 视觉与 plugin-market.html 橙色主题对齐（#F59E0B / #FF6B35）
 * ============================================================ */

.plugin-center-page {
  --pc-ink: #10152f;
  --pc-muted: #626b86;
  --pc-amber: #F59E0B;
  --pc-orange: #FF6B35;
  --pc-red: #E2231A;
  --pc-green: #3DD68C;
  --pc-purple: #7C5CFF;
  --pc-line: rgba(226, 35, 26, 0.12);
}

.plugin-center-page .dd-header,
.plugin-center-page .dd-util-nav,
.plugin-center-page .dd-cat-nav {
  position: relative;
  z-index: 20;
}

.plugin-center-page .dd-cat-nav {
  border-bottom-color: var(--pc-amber);
}

.plugin-center-page .dd-cat-nav .main-links a.red {
  color: var(--pc-amber);
}

.plugin-center-page .float-sidebar .float-btn,
.plugin-center-page .dd-float-sidebar .dd-float-btn {
  border-color: rgba(245, 158, 11, 0.16);
  color: #7b83a0;
}

.plugin-center-page .float-sidebar .float-btn:hover,
.plugin-center-page .dd-float-sidebar .dd-float-btn:hover {
  color: var(--pc-amber);
  border-color: rgba(245, 158, 11, 0.46);
}

.plugin-center-page #sources,
.plugin-center-page #categories,
.plugin-center-page #tiers,
.plugin-center-page #platform,
.plugin-center-page #scenarios,
.plugin-center-page #metrics,
.plugin-center-page #cta {
  scroll-margin-top: 24px;
}

.plugin-center-page .section-head .eyebrow {
  border-color: rgba(245, 158, 11, 0.18);
  background: rgba(245, 158, 11, 0.07);
  color: var(--pc-amber);
}

.plugin-center-page .section-head h2 {
  color: var(--pc-ink);
  font-size: clamp(34px, 4.2vw, 56px);
}

.plugin-center-page .section-head h2::first-line {
  color: var(--pc-ink);
}

.plugin-center-page .section-head p {
  color: var(--pc-muted);
}

.plugin-center-page .grid {
  gap: 20px;
}

.plugin-center-page .industry,
.plugin-center-page .card,
.plugin-center-page .showcase {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--pc-line);
  background: rgba(255, 255, 255, 0.7);
  transition: all 280ms ease;
}

.plugin-center-page .industry {
  min-height: 300px;
  padding: 30px;
}

.plugin-center-page .industry::before,
.plugin-center-page .card::before,
.plugin-center-page .showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(255, 107, 53, 0.08));
  opacity: 0;
  transition: opacity 280ms ease;
  pointer-events: none;
}

.plugin-center-page .industry:hover,
.plugin-center-page .card:hover,
.plugin-center-page .showcase:hover {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(255, 255, 255, 0.96);
  transform: translateY(-3px);
}

.plugin-center-page .industry:hover::before,
.plugin-center-page .card:hover::before,
.plugin-center-page .showcase:hover::before {
  opacity: 1;
}

.plugin-center-page .industry .icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pc-amber);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(255, 107, 53, 0.12));
}

.plugin-center-page .industry h4,
.plugin-center-page .card .h4 {
  color: var(--pc-ink);
}

.plugin-center-page .industry p,
.plugin-center-page .card .text {
  color: var(--pc-muted);
}

.plugin-center-page .tags {
  gap: 7px;
}

.plugin-center-page .tag {
  border-color: rgba(245, 158, 11, 0.18);
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.06);
  color: #8a6d3b;
  padding: 4px 10px;
  font-size: 12px;
}

.plugin-center-page .industry .more {
  color: var(--pc-amber);
  font-weight: 600;
}

.plugin-center-page #categories {
  background:
    linear-gradient(180deg, rgba(255, 251, 235, 0.86), rgba(255, 247, 237, 0.58));
}

.plugin-center-page #categories .card {
  min-height: 250px;
  padding: 28px;
}

.plugin-center-page #categories .step-num {
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(255, 107, 53, 0.12));
  color: var(--pc-amber);
}

.plugin-center-page #categories .card:nth-child(3n + 2) .step-num {
  color: var(--pc-orange);
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.18), rgba(251, 146, 60, 0.1));
}

.plugin-center-page #categories .card:nth-child(3n) .step-num {
  color: var(--pc-green);
  background: linear-gradient(135deg, rgba(61, 214, 140, 0.18), rgba(34, 197, 94, 0.1));
}

.plugin-center-page .model-grid {
  gap: 16px;
}

.plugin-center-page .model-card {
  min-height: 174px;
  padding: 22px;
}

.plugin-center-page .model-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 18px;
}

.plugin-center-page .tier-light {
  background: linear-gradient(135deg, #3DD68C, #34D399);
}
.plugin-center-page .tier-standard {
  background: linear-gradient(135deg, #F59E0B, #FF6B35);
}
.plugin-center-page .tier-flagship {
  background: linear-gradient(135deg, #7C5CFF, #A78BFA);
}
.plugin-center-page .tier-custom {
  background: linear-gradient(135deg, #1f2937, #475569);
}

.plugin-center-page .model-status {
  position: absolute;
  top: 25px;
  right: 22px;
  font-size: 11px;
  color: var(--pc-green);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.plugin-center-page .model-status::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--pc-green);
  border-radius: 50%;
}

.plugin-center-page .model-card .h4 {
  margin-bottom: 4px;
}

.plugin-center-page .model-card .text {
  font-size: 12px;
}

.plugin-center-page .platform-grid {
  gap: 18px;
}

.plugin-center-page .platform-card {
  padding: 28px;
}

.plugin-center-page .platform-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.plugin-center-page .platform-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--pc-amber);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(255, 107, 53, 0.12));
}

.plugin-center-page .platform-card:nth-child(2) .platform-icon {
  color: var(--pc-orange);
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.16), rgba(251, 146, 60, 0.12));
}

.plugin-center-page .platform-card:nth-child(3) .platform-icon {
  color: var(--pc-green);
  background: linear-gradient(135deg, rgba(61, 214, 140, 0.18), rgba(34, 197, 94, 0.12));
}

.plugin-center-page .platform-card:nth-child(4) .platform-icon {
  color: var(--pc-purple);
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.18), rgba(167, 139, 250, 0.12));
}

.plugin-center-page .platform-kicker {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--pc-muted);
}

.plugin-center-page .section#platform .plan-features li {
  padding: 9px 0;
}

.plugin-center-page .section#scenarios {
  background: linear-gradient(180deg, rgba(255, 251, 235, 0.6), rgba(254, 243, 199, 0.7));
}

.plugin-center-page .section#scenarios .industry:nth-child(3n + 2) .icon {
  color: var(--pc-orange);
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.18), rgba(251, 146, 60, 0.12));
}

.plugin-center-page .section#scenarios .industry:nth-child(3n) .icon {
  color: var(--pc-green);
  background: linear-gradient(135deg, rgba(61, 214, 140, 0.18), rgba(34, 197, 94, 0.12));
}

.plugin-center-page .section#scenarios .industry {
  min-height: 286px;
}

.plugin-center-page .section#scenarios .more .arr {
  transition: transform 220ms ease;
}

.plugin-center-page .section#scenarios .industry:hover .more .arr {
  transform: translateX(4px);
}

.plugin-center-page #metrics {
  padding-top: 94px;
  padding-bottom: 98px;
}

.plugin-center-page .plan-features li {
  color: var(--pc-muted);
  border-bottom: 1px dashed rgba(245, 158, 11, 0.14);
}

.plugin-center-page .plan-features li:last-child {
  border-bottom: 0;
}

.plugin-center-page .plan-features li::before {
  background-color: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.32);
  background-image: radial-gradient(circle, var(--pc-amber) 0%, var(--pc-amber) 30%, transparent 30%);
}

.plugin-center-page .showcase {
  min-height: 190px;
  border-radius: 22px;
  padding: 28px;
}

.plugin-center-page .showcase .label {
  color: #7d86a4;
}

.plugin-center-page .showcase .value {
  background: linear-gradient(135deg, var(--pc-ink), var(--pc-amber) 55%, var(--pc-orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(38px, 4vw, 54px);
}

.plugin-center-page .showcase .delta {
  color: var(--pc-green);
}

/* ============================================================
 * 顶部深色 Banner（与 plugin-market.html 同款深色 Hero 视觉）
 * ============================================================ */
.plugin-center-page .pc-banner {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #fff;
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
}
.plugin-center-page .pc-banner-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 18% 22%, rgba(245, 158, 11, 0.32) 0%, transparent 38%),
    radial-gradient(circle at 82% 70%, rgba(255, 107, 53, 0.20) 0%, transparent 42%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23F59E0B' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.plugin-center-page .pc-banner .wrap {
  position: relative; z-index: 1;
  max-width: 1240px; margin: 0 auto; padding: 0 32px;
}
.plugin-center-page .pc-banner .eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245, 158, 11, 0.15); border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 600;
  letter-spacing: 2px; margin-bottom: 14px; backdrop-filter: blur(6px);
  color: #FFE4D6;
}
.plugin-center-page .pc-banner .eyebrow-pill .dot {
  width: 8px; height: 8px; background: #F59E0B; border-radius: 50%;
  box-shadow: 0 0 8px #F59E0B; animation: pcLivePulse 1.6s infinite;
}
@keyframes pcLivePulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.plugin-center-page .pc-banner h1 {
  font-size: 36px;
  font-weight: 900; line-height: 1.15; letter-spacing: -1px;
  margin-bottom: 14px; color: #fff;
}
.plugin-center-page .pc-banner h1 .grad {
  background: linear-gradient(135deg, #FFE4D6, #F59E0B 50%, #FF6B35);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.plugin-center-page .pc-banner .lead {
  font-size: 15px;
  line-height: 1.75; color: rgba(255,255,255,0.88);
  max-width: 760px; margin-bottom: 22px;
}
.plugin-center-page .pc-banner .hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  max-width: 900px;
}
.plugin-center-page .pc-banner .hs {
  padding: 12px 16px; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(245, 158, 11, 0.3); border-radius: 12px;
  backdrop-filter: blur(6px);
}
.plugin-center-page .pc-banner .hs .v {
  font-size: 22px; font-weight: 900;
  background: linear-gradient(135deg, #FFE4D6, #F59E0B);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1; margin-bottom: 4px;
}
.plugin-center-page .pc-banner .hs .v span {
  font-size: 14px; opacity: 0.85; margin-left: 2px;
}
.plugin-center-page .pc-banner .hs .l {
  font-size: 11px; color: rgba(255,255,255,0.78); letter-spacing: 1px;
}
@media (max-width: 768px) {
  .plugin-center-page .pc-banner { padding: 40px 0 36px; }
  .plugin-center-page .pc-banner .wrap { padding: 0 20px; }
  .plugin-center-page .pc-banner .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .plugin-center-page .pc-banner h1 { font-size: 28px; }
}

/* ============================================================
 * CTA
 * ============================================================ */
.plugin-center-page .cta-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 48px 56px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 14% 20%, rgba(245, 158, 11, 0.22), transparent 22rem),
    radial-gradient(circle at 88% 80%, rgba(255, 107, 53, 0.20), transparent 24rem),
    linear-gradient(135deg, #141936 0%, #1f2547 54%, #2d1e44 100%);
  color: #fff;
  border: 1px solid rgba(245, 158, 11, 0.3);
  box-shadow: 0 28px 70px rgba(30, 34, 84, 0.18);
}
.plugin-center-page .cta-card .cta-text {
  flex: 1 1 320px;
}
.plugin-center-page .cta-card .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #F59E0B;
  background: rgba(245, 158, 11, 0.12);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.plugin-center-page .cta-card h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.2;
}
.plugin-center-page .cta-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}
.plugin-center-page .cta-card .cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.plugin-center-page .cta-card .btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 26px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 220ms ease;
  cursor: pointer;
  border: 0;
}
.plugin-center-page .cta-card .btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #F59E0B, #FF6B35);
  box-shadow: 0 14px 30px rgba(245, 158, 11, 0.32);
}
.plugin-center-page .cta-card .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(245, 158, 11, 0.42);
}
.plugin-center-page .cta-card .btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.24);
}
.plugin-center-page .cta-card .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}
@media (max-width: 768px) {
  .plugin-center-page .cta-card {
    padding: 32px 24px;
  }
  .plugin-center-page .cta-card .cta-actions {
    width: 100%;
  }
  .plugin-center-page .cta-card .btn {
    flex: 1;
    justify-content: center;
  }
}

/* ============================================================
 * Breadcrumb（与 plugin-market 同款）
 * ============================================================ */
.plugin-center-page .dd-breadcrumb {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 10px 0;
}
.plugin-center-page .dd-breadcrumb .inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #999;
}
.plugin-center-page .dd-breadcrumb .inner a { color: #666; }
.plugin-center-page .dd-breadcrumb .inner a:hover { color: #F59E0B; }
.plugin-center-page .dd-breadcrumb .inner .sep { color: #ddd; }
.plugin-center-page .dd-breadcrumb .inner .current { color: #333; font-weight: 600; }
@media (max-width: 768px) {
  .plugin-center-page .dd-breadcrumb .inner { padding: 0 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .plugin-center-page .pc-banner .eyebrow-pill .dot {
    animation: none;
  }
}
