.compliance-page,.compliance-page *{box-sizing:border-box}
.compliance-page *{margin:0;padding:0}
html{scroll-behavior:smooth}
.compliance-page{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Noto Sans SC","Microsoft YaHei",sans-serif;color:#161616;background:#f8f8f8;-webkit-font-smoothing:antialiased}
.compliance-page a{text-decoration:none;color:inherit}
.compliance-page .font-mono{font-family:"JetBrains Mono","Fira Code","Courier New",monospace}

/* ===== Hero ===== */
.compliance-page .hero{position:relative;min-height:60vh;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;background:#1a1a1c;padding-top:100px;padding-bottom:60px}
.compliance-page .hero-glow{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 50% 30%,rgba(62,183,133,.08) 0%,transparent 50%)}
.compliance-page .hero-content{position:relative;z-index:10;width:100%;max-width:900px;margin:0 auto;padding:0 24px;text-align:center}
.compliance-page .breadcrumb{display:flex;align-items:center;justify-content:center;gap:8px;font-size:14px;color:#888;margin-bottom:24px}
.compliance-page .breadcrumb a{color:#888;transition:color .2s}
.compliance-page .breadcrumb a:hover{color:#fff}
.compliance-page .breadcrumb svg{opacity:.4;flex-shrink:0}
.compliance-page .breadcrumb span{color:#ccc}
.compliance-page .hero-title{font-size:clamp(32px,4vw,52px);font-weight:700;letter-spacing:-1.5px;line-height:1.12;color:#f0f0f0}
.compliance-page .hero-subtitle{margin-top:20px;margin-left:auto;margin-right:auto;max-width:640px;font-size:16px;line-height:1.7;color:#999}
.compliance-page .hero-fade{position:absolute;bottom:0;left:0;right:0;height:96px;pointer-events:none;background:linear-gradient(to bottom,transparent,#f8f8f8)}

/* ===== Section ===== */
.compliance-page .section{padding:80px 0}
@media(max-width:768px){.compliance-page .section{padding:60px 0}}
.compliance-page .container{width:100%;max-width:1200px;margin:0 auto;padding:0 24px}
.compliance-page .section-header-center{text-align:center;margin-bottom:48px}
.compliance-page .section-header-left{margin-bottom:48px}
.compliance-page .tag{display:inline-flex;padding:4px 14px;border-radius:999px;font-size:13px;font-weight:500;background:rgba(62,183,133,.1);color:#3eb785;margin-bottom:12px}
.compliance-page .section-title{font-size:clamp(26px,3vw,36px);font-weight:500;letter-spacing:-1px;line-height:1.2;color:#161616;margin-bottom:12px}
.compliance-page .section-subtitle{font-size:16px;line-height:1.6;color:#666;max-width:600px;margin:0}
.compliance-page .section-header-center .section-subtitle{margin-left:auto;margin-right:auto}

/* ===== Cards ===== */
.compliance-page .card{background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.06),0 2px 2px rgba(0,0,0,.04),0 8px 16px rgba(0,0,0,.04);padding:28px;display:block;transition:transform .4s cubic-bezier(.22,1,.36,1),box-shadow .4s cubic-bezier(.22,1,.36,1)}
.compliance-page .card:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(0,0,0,.08)}
.compliance-page .cards-grid-6{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}
.compliance-page .cards-grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.compliance-page .cards-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.compliance-page .cards-grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
@media(max-width:1024px){.compliance-page .cards-grid-6{grid-template-columns:repeat(3,1fr)}.compliance-page .cards-grid-4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:768px){.compliance-page .cards-grid-6,.compliance-page .cards-grid-4,.compliance-page .cards-grid-3,.compliance-page .cards-grid-2{grid-template-columns:1fr}}
.compliance-page .card-icon{width:40px;height:40px;border-radius:10px;background:rgba(62,183,133,.1);color:#3eb785;display:flex;align-items:center;justify-content:center;margin-bottom:14px}
.compliance-page .card-title{font-size:16px;font-weight:600;color:#161616;margin-bottom:8px}
.compliance-page .card-desc{font-size:14px;line-height:1.6;color:#666;margin:0}
.compliance-page .card-link{font-size:14px;font-weight:500;color:#3eb785;display:inline-flex;align-items:center;gap:4px;margin-top:12px}

.compliance-page .content-card{background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.06),0 2px 2px rgba(0,0,0,.04),0 8px 16px rgba(0,0,0,.04);padding:32px;margin-bottom:20px}
.compliance-page .content-card h3{font-size:18px;font-weight:600;color:#161616;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #f0f0f0}
.compliance-page .content-card p{font-size:14px;color:#555;line-height:1.8;margin-bottom:12px}
.compliance-page .content-card ul,.compliance-page .content-card ol{padding-left:20px;margin-bottom:12px}
.compliance-page .content-card li{font-size:14px;color:#555;line-height:1.8;margin-bottom:6px}
.compliance-page .content-card code{font-family:"JetBrains Mono","Fira Code","Courier New",monospace;background:#f5f5f5;border-radius:4px;padding:1px 5px;color:#333}
.compliance-page .highlight-box{background:#f0faf4;border-left:3px solid #3eb785;padding:14px 18px;border-radius:0 8px 8px 0;margin:14px 0}
.compliance-page .highlight-box p{margin-bottom:0;color:#2a6b4e;font-size:14px}
.compliance-page .warning-box{background:#fdf6f0;border-left:3px solid #e8a93a;padding:14px 18px;border-radius:0 8px 8px 0;margin:14px 0}
.compliance-page .warning-box p{margin-bottom:0;color:#8b6914;font-size:14px}
.compliance-page .danger-box{background:#fdf2f2;border-left:3px solid #e05050;padding:14px 18px;border-radius:0 8px 8px 0;margin:14px 0}
.compliance-page .danger-box p{margin-bottom:0;color:#9b3030;font-size:14px}
.compliance-page .example-box{background:#f8f8f8;border-radius:8px;padding:16px;margin:12px 0}
.compliance-page .example-box .ex-label{font-size:12px;color:#999;margin-bottom:6px;text-transform:uppercase;letter-spacing:.5px}
.compliance-page .example-box .ex-good{color:#3eb785;font-size:14px;font-weight:500}
.compliance-page .example-box .ex-bad{color:#e05050;font-size:14px;font-weight:500}
.compliance-page .example-box .ex-arrow{color:#ccc;margin:4px 0;font-size:12px}
.compliance-page .example-box pre{background:#1a1a1c;border-radius:6px;padding:12px;margin-top:8px;font-size:13px;color:#a8d8a0;font-family:monospace;overflow-x:auto}
.compliance-page .data-table{width:100%;border-collapse:collapse;margin:16px 0;font-size:14px;background:#fff;border-radius:8px;overflow:hidden}
.compliance-page .data-table th{text-align:left;padding:12px 16px;background:#f8f8f8;border-bottom:1px solid #e0e0e0;color:#666;font-weight:600}
.compliance-page .data-table td{padding:12px 16px;border-bottom:1px solid #f0f0f0;color:#555;vertical-align:top}
.compliance-page .data-table tr:hover td{background:#fafafa}
.compliance-page .steps{display:flex;gap:16px;margin:24px 0}
.compliance-page .step{flex:1;text-align:center;padding:20px;background:#f8f8f8;border-radius:10px}
.compliance-page .step-arrow{display:flex;align-items:center;color:#ccc;font-size:20px}
@media(max-width:768px){.compliance-page .content-card{padding:24px}.compliance-page .steps{flex-direction:column}.compliance-page .step-arrow{transform:rotate(90deg);justify-content:center;margin:4px 0}.compliance-page .data-table{display:block;overflow-x:auto}}

/* ===== FAQ Accordion ===== */
.compliance-page .faq-list{display:flex;flex-direction:column;gap:12px}
.compliance-page .faq-item{background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.06),0 2px 2px rgba(0,0,0,.04),0 8px 16px rgba(0,0,0,.04);overflow:hidden}
.compliance-page .faq-q{width:100%;display:flex;align-items:flex-start;gap:12px;padding:22px 24px;border:none;background:none;cursor:pointer;text-align:left}
.compliance-page .faq-q-icon{flex-shrink:0;width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;background:rgba(62,183,133,.1);color:#3eb785}
.compliance-page .faq-q-text{flex:1;font-size:15px;font-weight:500;color:#161616;line-height:1.5}
.compliance-page .faq-arrow{flex-shrink:0;color:#666;transition:transform .3s;margin-top:3px}
.compliance-page .faq-item.open .faq-arrow{transform:rotate(180deg)}
.compliance-page .faq-a{max-height:0;overflow:hidden;transition:max-height .3s ease,opacity .3s ease;opacity:0}
.compliance-page .faq-item.open .faq-a{max-height:400px;opacity:1}
.compliance-page .faq-a-inner{padding:0 24px 22px 60px;font-size:14px;line-height:1.7;color:#666}
.compliance-page .faq-a-inner p{margin-bottom:10px}
.compliance-page .faq-a-inner ul{margin-left:20px;margin-bottom:10px}
.compliance-page .faq-a-inner li{margin-bottom:6px}

/* ===== Steps ===== */
.compliance-page .steps-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;position:relative}
.compliance-page .steps-grid::before{content:"";position:absolute;top:28px;left:48px;right:48px;height:2px;background:#ececec;z-index:0}
@media(max-width:768px){.compliance-page .steps-grid{grid-template-columns:1fr}.compliance-page .steps-grid::before{display:none}}
.compliance-page .step-card-c{position:relative;z-index:1;text-align:center;padding:20px 16px}
.compliance-page .step-num{width:56px;height:56px;border-radius:50%;background:#fff;border:2px solid #ececec;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:700;color:#3eb785;margin:0 auto 16px}
.compliance-page .step-title{font-size:15px;font-weight:600;color:#161616;margin-bottom:8px}
.compliance-page .step-desc{font-size:13px;color:#666;line-height:1.5}

/* ===== Table ===== */
.compliance-page .table-wrap{background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.06),0 2px 2px rgba(0,0,0,.04),0 8px 16px rgba(0,0,0,.04);overflow:hidden}
.compliance-page .table-wrap table{width:100%;border-collapse:collapse;font-size:14px}
.compliance-page .table-wrap th{text-align:left;padding:14px 24px;font-weight:600;color:#161616;border-bottom:1px solid #ececec;background:#fafafa}
.compliance-page .table-wrap td{padding:14px 24px;border-bottom:1px solid #ececec;vertical-align:top}
.compliance-page .table-wrap td:first-child{font-weight:600;color:#161616;white-space:nowrap}
.compliance-page .status-ok{color:#3eb785}
.compliance-page .status-warn{color:#f59e0b}
.compliance-page .status-err{color:#ef4444}

/* ===== Checklist ===== */
.compliance-page .checklist{background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.06),0 2px 2px rgba(0,0,0,.04),0 8px 16px rgba(0,0,0,.04);padding:32px}
.compliance-page .check-item{display:flex;align-items:flex-start;gap:14px;padding:14px 0;border-bottom:1px solid #f0f0f0}
.compliance-page .check-item:last-child{border-bottom:none}
.compliance-page .check-box{width:20px;height:20px;border-radius:4px;border:2px solid #d0d0d0;flex-shrink:0;margin-top:1px;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center}
.compliance-page .check-box.checked{background:#3eb785;border-color:#3eb785}
.compliance-page .check-box.checked::after{content:"";width:6px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg);margin-bottom:2px}
.compliance-page .check-label{font-size:15px;color:#161616;line-height:1.5}
.compliance-page .check-label span{color:#999;font-size:13px;display:block;margin-top:2px}

/* ===== Info Box ===== */
.compliance-page .info-box{margin-top:20px;padding:16px 20px;border-radius:12px;font-size:14px;display:flex;align-items:flex-start;gap:12px;background:rgba(62,183,133,.05);border:1px solid rgba(62,183,133,.12);color:#666}
.compliance-page .warn-box{margin-top:20px;padding:16px 20px;border-radius:12px;font-size:14px;display:flex;align-items:flex-start;gap:12px;background:rgba(239,68,68,.05);border:1px solid rgba(239,68,68,.12);color:#666}
.compliance-page .info-box svg,.compliance-page .warn-box svg{flex-shrink:0;margin-top:2px}

/* ===== Text Content ===== */
.compliance-page .text-content{font-size:15px;line-height:1.8;color:#555}
.compliance-page .text-content h4{font-size:17px;font-weight:600;color:#161616;margin:24px 0 10px}
.compliance-page .text-content p{margin-bottom:12px}
.compliance-page .text-content ul{margin-left:22px;margin-bottom:14px}
.compliance-page .text-content li{margin-bottom:7px}
.compliance-page .text-content strong{color:#161616}

.compliance-page .detail-card{background:#fff;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.06),0 2px 2px rgba(0,0,0,.04),0 8px 16px rgba(0,0,0,.04);padding:32px;margin-bottom:20px}
.compliance-page .detail-card-grid{margin-top:20px}
.compliance-page .detail-table-wrap{margin-top:20px}
.compliance-page .related-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.compliance-page .related-card{display:block;background:#fff;border:1px solid #eee;border-radius:10px;padding:20px;transition:border-color .2s,box-shadow .2s,transform .2s}
.compliance-page .related-card:hover{border-color:#3eb785;box-shadow:0 4px 12px rgba(62,183,133,.08);transform:translateY(-2px)}
.compliance-page .related-card h3,.compliance-page .related-card h4{font-size:15px;color:#161616;font-weight:600;margin-bottom:6px}
.compliance-page .related-card p{font-size:13px;color:#777;line-height:1.5;margin:0}
@media(max-width:1024px){.compliance-page .related-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:768px){.compliance-page .related-grid{grid-template-columns:1fr}.compliance-page .detail-card{padding:24px}}


/* WordPress template adjustments */
.compliance-page .overview-card{text-align:center}
.compliance-page .compliance-bg-soft{background:#f8f8f8}
.compliance-page .compliance-bg-white{background:#fff}
.compliance-page .text-content-spaced{margin-top:32px}
.compliance-page .content-review-panel{background:#fff;padding:32px;border-radius:12px;box-shadow:0 0 0 1px rgba(0,0,0,.06),0 2px 2px rgba(0,0,0,.04),0 8px 16px rgba(0,0,0,.04)}
.compliance-page .faq-container{max-width:800px}
.compliance-page .info-box-spaced{margin-top:24px}
.compliance-page .info-box-lg{margin-top:32px}
.compliance-page .green-inline-link{color:#3eb785}
.compliance-page .channel-title{display:flex;align-items:center;gap:8px}
.compliance-page .channel-dot{width:8px;height:8px;border-radius:50%;display:inline-block;flex-shrink:0}
.compliance-page .channel-dot-green{background:#3eb785}
.compliance-page .channel-dot-blue{background:#2e7d9c}
.compliance-page .channel-dot-warn{background:#f59e0b}

/* ===== 优化后的代码 ===== */

/* 1. 使用CSS自定义属性统一管理 */
:root {
  --hero-bg-color: rgb(25 28 30 / 1);
  --hero-text-white: #ffffff;
  --hero-text-muted: rgb(255 255 255 / 0.55);
  --hero-text-dim: rgb(255 255 255 / 0.75);
  --hero-text-faint: rgb(255 255 255 / 0.35);
  --hero-input-color: #818588;
  --hero-border-color: #3f4349;
}

/* 2. 主容器 - 合并background相关属性 */
.compliance-page .product-hero-bg {
  padding-top: 70px;
  background: 
    url("./banner.jpg") center 52% / cover no-repeat,
    rgb(25 28 30);
  box-shadow: inset 0 -2px 0 rgb(7 18 31 / 0.92);
  overflow: hidden;
  position: relative;
}

/* 3. 合并重复的flex布局规则 */
.compliance-page .product-hero-bg .flex,
.compliance-page .product-hero-bg .flex-col {
  display: flex;
}
.compliance-page .product-hero-bg .flex-col {
  flex-direction: column;
}

/* 4. 合并重复的margin auto */
.compliance-page .product-hero-bg .mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* 5. 合并重复的justify-between */
.compliance-page .product-hero-bg .justify-between {
  justify-content: space-between;
}

/* 6. 工具类精简合并 */
.compliance-page .product-hero-bg .px-gutter {
  padding: 0 24px;
}

.compliance-page .product-hero-bg .max-w-container-max {
  max-width: 1200px;
}

.compliance-page .product-hero-bg .h-\[340px\] {
  height: 340px;
}

.compliance-page .product-hero-bg .text-center {
  text-align: center;
}

.compliance-page .product-hero-bg .pt-\[127px\] {
  padding-top: 127px;
}

.compliance-page .product-hero-bg .max-w-4xl {
  max-width: 56rem;
}

.compliance-page .product-hero-bg .gap-6 {
  gap: 1.5rem;
}

.compliance-page .product-hero-bg .items-start {
  align-items: flex-start;
}

.compliance-page .product-hero-bg .z-10 {
  z-index: 10;
}

.compliance-page .product-hero-bg .relative {
  position: relative;
}

/* 7. 标题样式优化 */
.compliance-page .product-hero-bg .hero-banner-title {
  margin: 0;
  color: var(--hero-text-white);
  font: 34px/1.2 Arial, "Microsoft YaHei", "微软雅黑", sans-serif;
  letter-spacing: 16px;
  text-align: center;
  font-weight: inherit;
}

.compliance-page .product-hero-bg .hero-banner-subtitle {
  min-height: 20px;
  margin-top: 12px;
  color: var(--hero-text-white);
  font-size: 15px;
  line-height: 20px;
  text-align: center;
}

/* 8. hero-top-other 优化 - 使用逻辑属性 */
.compliance-page .product-hero-bg .hero-top-other {
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding-bottom: 20px;
}

.compliance-page .product-hero-bg .hero-top-other .other-site {
  width: auto !important;
  float: none !important;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  line-height: 1.6;
  margin-top: 10px;
  gap: 0;
}

.compliance-page .product-hero-bg .hero-top-other .other-site > p {
  display: inline !important;
  width: auto !important;
  margin: 0 4px 0 0;
  color: var(--hero-text-muted);
  font-size: 13px;
}

.compliance-page .product-hero-bg .hero-top-other .other-site a {
  display: inline !important;
  width: auto !important;
  color: var(--hero-text-dim);
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 150ms;
}

.compliance-page .product-hero-bg .hero-top-other .other-site .bc-sep {
  display: inline;
  width: 20px;
  text-align: center;
  color: var(--hero-text-faint);
  font-size: 12px;
  user-select: none;
}

.compliance-page .product-hero-bg .hero-top-other .other-site .bc-current {
  display: inline;
  width: auto !important;
  color: var(--hero-text-white);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

/* 9. 搜索表单优化 - 使用flex替代float */
.compliance-page .product-hero-bg .hero-search-form {
  display: flex;
  align-items: center;
  width: 206px;
  height: 40px;
  border: 1px solid var(--hero-border-color);
  border-radius: 25px;
  background: rgb(0 0 0 / 0.6);
  overflow: hidden;
}

.compliance-page .product-hero-bg .hero-search-form input[name="s"] {
  width: 163px;
  height: 40px;
  flex: 1;
  height: 100%;
  padding: 0 0 0 10px;
  border: none;
  border-right: 1px solid #2d2f30;
  background: none;
  color: var(--hero-input-color);
  font: 14px/40px Arial, "Microsoft YaHei", "微软雅黑", sans-serif;
  outline: none;
  box-shadow: none;
  text-indent: 10px;
}

.compliance-page .product-hero-bg .hero-search-form input[name="s"]::placeholder {
  color: var(--hero-input-color);
  opacity: 1;
}

.compliance-page .product-hero-bg .hero-search-form button {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  margin: 0 2px;
  color: var(--hero-text-white);
  text-align: center;
  cursor: pointer;
  background: transparent;
  border: none;
  font: inherit;
  -webkit-appearance: button;
}

/* 10. 字体定义移到顶部或单独文件 */
@font-face {
  font-family: "Material Symbols Outlined";
  src: url("../fonts/material-symbols-outlined.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: block;
}

.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-size: 24px;
  line-height: 1;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  font-weight: normal;
  font-style: normal;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

/* 11. 全局重置 - 建议移到全局样式 */
.compliance-page *,
.compliance-page ::after,
.compliance-page ::before {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}

/* 12. 其他工具类 */
.leading-9 {
  line-height: 2.25rem;
}

.text-\[26px\] {
  font-size: 26px;
}
