/* =================================================================
   ===== DESIGN TOKENS — 改这一块就能统一全站配色/圆角/阴影 =====
   ================================================================= */
:root {
    --c-primary:    #165DFF;   /* Astra 主蓝（按钮/链接/图标背景）*/
    --c-primary-d:  #0a3a8a;   /* 深蓝（CTA / Slider 遮罩）*/
    --c-primary-l:  #e8f3ff;   /* 浅蓝（卡片图标背景）*/
    --c-cta:        #FF7D00;   /* CTA 橙（主按钮/Get Quote）*/
    --c-cta-hover:  #ff8a1f;   /* CTA 悬停橙 */
    --c-cta-l:      #fff7e8;   /* 浅橙（badge 背景）*/
    --c-title:      #0a2540;   /* 标题深色 */
    --c-text:       #1d2129;   /* 正文深灰 */
    --c-muted:      #4e5969;   /* 辅助文字 */
    --c-faint:      #86909c;   /* 淡灰（标签/说明）*/
    --c-line:       #eef0f3;   /* 分隔线 */
    --c-bg:         #f7faff;   /* 浅蓝灰板块背景 */
    --c-bg-alt:     #f5f7fa;   /* 浅灰栏背景（详情 hero / alt 区块）*/
    --c-white:      #ffffff;

    --r-sm:  8px;    /* 小圆角 */
    --r-md:  12px;   /* 中圆角 */
    --r-lg:  16px;   /* 大圆角（卡片）*/
    --r-xl:  999px;  /* 胶囊圆角 */

    --sh-sm: 0 2px 8px  rgba(10,37,64,.06);
    --sh-md: 0 8px 24px rgba(10,37,64,.08);
    --sh-lg: 0 14px 36px rgba(22,93,255,.12);
    --sh-cta:0 8px 20px rgba(255,125,0,.30);

    --pad-x: 24px;          /* 容器左右内边距（移动端）*/
    --container: 1240px;    /* 内容最大宽度 */
}

/* =================================================================
   ===== BASE / RESET =====
   ================================================================= */
*, *::before, *::after { box-sizing: border-box; margin:0; padding:0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
                 'Helvetica Neue', Arial, sans-serif;
    color: var(--c-text);
    line-height: 1.6;
    background: var(--c-white);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--pad-x);
}
.section { padding: 64px 0; }
.section.alt { background: var(--c-bg); }
.product-detail { overflow-x: clip; }
.section-compact { padding-top: 24px; }
.text-center { text-align: center; }
.view-all { text-align: center; margin-top: 28px; }
.view-all .btn { padding: 11px 26px; font-size: 14px; }

/* =================================================================
   ===== PRODUCT CARD · 产品卡片（列表页/详情页/首页共用，始终加载）
   ================================================================= */
.prod-grid {
    display: grid; grid-template-columns: repeat(auto-fill, 383px); gap: 18px; justify-content: start;
}
@media (max-width: 1200px) {
    .prod-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 383px)); }
}
@media (max-width: 768px) {
    .prod-grid { grid-template-columns: 1fr; }
}
.prod-card {
    border: 1px solid #eef2f8; border-radius: var(--r-md); overflow: hidden;
    background: #fff; transition: all .25s ease; display: flex; flex-direction: column; height: 100%;
}
.prod-card:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.prod-img {
    display: block; aspect-ratio: 5/3; overflow: hidden;
    background: var(--c-bg);
}
.prod-img svg, .prod-img img { width:100%; height:100%; object-fit: cover; transition: transform .35s ease; }
.prod-card:hover .prod-img img,
.prod-card:hover .prod-img svg { transform: scale(1.06); }
.prod-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }
.prod-model {
    display: inline-block;
    padding: 2px 9px; background: var(--c-primary-l); color: var(--c-primary);
    border-radius: var(--r-xl); font-size: 11px; font-weight: 700;
}
.prod-title { margin: 0 0 6px; line-height: 1.35; }
.prod-title a {
    color: var(--c-text); text-decoration: none;
    font-size: 15.5px; font-weight: 700;
}
.prod-title a:hover { color: var(--c-primary); }
.prod-industries { font-size: 11.5px; color: var(--c-faint); margin-bottom: 7px; letter-spacing: -0.01em; }
.prod-excerpt {
    color: var(--c-muted); font-size: 13px; line-height: 1.55; flex: 1;
    overflow: hidden; display: -webkit-box;
    -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical;
}
.prod-footer {
    margin-top: 10px; display: flex; justify-content: space-between; align-items: center;
}
.prod-price { color: var(--c-faint); font-size: 12px; }
.prod-price em { color: #c9cdd4; font-style: normal; }
.btn-quote {
    background: var(--c-cta); color: #fff; border: none;
    border-radius: 6px; padding: 6px 13px; font-weight: 700;
    text-decoration: none; font-size: 12.5px; transition: all .2s;
}
.btn-quote:hover { background: var(--c-cta-hover); color:#fff; }
.prod-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
    align-items: center;
}
.prod-badge {
    display: inline-block;
    padding: 2px 9px;
    border-radius: var(--r-xl);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.01em;
}
.prod-badge.customizable {
    background: #fff4e6;
    color: #e67300;
}
.prod-badge.core {
    background: #eef2ff;
    color: #4f46e5;
}
.prod-badge svg {
    width: 11px;
    height: 11px;
    margin-right: 3px;
    vertical-align: middle;
}
.prod-model.accent {
    background: #eef2ff;
    color: #4f46e5;
}
.prod-configs {
    font-size: 11.5px;
    color: var(--c-faint);
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 6px;
    align-items: center;
}
.prod-configs span {
    white-space: nowrap;
}
.prod-price-note {
    color: var(--c-muted);
    font-size: 11.5px;
    font-style: italic;
}

/* =================================================================
   ===== SECTION HEADERS · 通用/产品区块标题（全站共用，始终加载）
   ================================================================= */
.product-section .section-header-wrap {
    margin-bottom: 20px;
}
.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-icon {
    font-size: 26px;
}
.section-sub {
    margin-top: 6px;
}
.section-header {
    margin-bottom: 36px;
}
.section-header.center {
    text-align: center;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}
.section-label {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: var(--c-primary-d);
    border-radius: var(--r-xl);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 14px;
}
.section-header .h2-title {
    margin-bottom: 12px;
}
.section-header .section-sub {
    font-size: 15px;
    color: var(--c-muted);
    line-height: 1.7;
    margin: 0;
}
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mt-4 { margin-top: 28px !important; }
.mb-3 { margin-bottom: 24px !important; }
.ml-1 { margin-left: 10px !important; }
.btn-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.h2-title {
    font-size: 32px; font-weight: 800; color: var(--c-title);
    margin: 0 0 10px; line-height: 1.25; letter-spacing: -0.02em;
    text-align: center;
}
.h2-title a {
    color: inherit;
    text-decoration: none;
    transition: color .3s ease;
    display: inline-block;
}
.h2-title a:hover {
    color: var(--c-primary);
}
.p-subtitle {
    font-size: 15px; line-height: 1.7; color: var(--c-muted);
    margin: 0 auto 32px; max-width: 820px; text-align: center;
}


/* =================================================================
   ===== BUTTONS — 统一样式（压缩版）=====
   ================================================================= */
.btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 11px 22px; border-radius: var(--r-sm);
    font-weight: 700; text-decoration: none;
    transition: all .25s ease; cursor: pointer; border: 0;
    font-size: 14px;
}
.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}
.btn-icon-svg {
    width: 16px;
    height: 16px;
}
.btn-primary .btn-icon-svg {
    color: #fff;
}
.btn-outline .btn-icon-svg {
    color: #fff;
}
.btn-primary {
    background: var(--c-cta); color: #fff;
    box-shadow: var(--sh-cta);
}
.btn-primary:hover { background: var(--c-cta-hover); transform: translateY(-2px); color:#fff; }
.btn-outline {
    background: transparent; color: #fff;
    border: 1.5px solid rgba(255,255,255,.5);
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); color:#fff; }
.btn-ghost {
    background: transparent; color: var(--c-primary);
    border: 1.5px solid var(--c-primary);
    padding: 10px 20px;
}
.btn-ghost:hover { background: var(--c-primary); color: #fff; }


/* =================================================================
   ===== 通用：小按钮（About 内部证书用）=====
   ================================================================= */
.btn-sm {
    padding: 8px 14px !important;
    font-size: 12px !important;
    border-radius: 8px !important;
}
/* =================================================================
   ===== 通用：Compliance 徽章（About & 原 Cert 共享文字样式）=====
   ================================================================= */
.cert-badge-label {
    display: inline-block;
    padding: 4px 12px;
    background: var(--c-cta-l);
    color: #b15a00;
    border-radius: var(--r-xl);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .05em;
    margin-bottom: 8px;
}

/* =================================================================
   ===== RESPONSIVE 移动端适配 =====
   ================================================================= */
@media (max-width: 960px) {
    .section    { padding: 44px 0; }
    .h2-title   { font-size: 24px; }
    .p-subtitle { font-size: 14px; margin-bottom: 24px; line-height: 1.65; }

    .slide      { height: 420px; }
    .slide h2, .slide h1 { font-size: 26px; }
    .slide p    { font-size: 14px; line-height: 1.65; max-width: 520px; margin-bottom: 16px; }

    .info-bar { padding: 18px 0; }
    .info-grid { gap: 10px; }
    .info-item { padding: 10px 12px; gap: 10px; }
    .info-icon { width: 34px; height: 34px; font-size: 16px; }
    .info-value { font-size: 13px; }

    .about-grid { grid-template-columns: 1fr; gap: 28px; }
    .about-img  { aspect-ratio: 16/11; }
    .about-title { font-size: 23px; margin-bottom: 10px; }
    .about-desc { font-size: 14px; margin-bottom: 16px; }
    .about-stats { gap: 10px; padding: 14px 16px; margin-bottom: 16px; }
    .about-stat .num { font-size: 20px; }
    .about-stat .label { font-size: 11px; }
    .about-scope { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 16px; margin-bottom: 16px; }

    .svc-grid  { gap: 12px; }
    .svc-card  { padding: 18px 16px; }
    .svc-icon  { width: 40px; height: 40px; font-size: 20px; margin-bottom: 10px; }
    .svc-title { font-size: 15px; }
    .svc-desc  { font-size: 13px; margin-bottom: 10px; }

    .why-grid  { gap: 12px; }
    .why-card  { padding: 18px 16px; }
    .why-icon  { font-size: 22px; margin-bottom: 8px; }
    .why-title { font-size: 14.5px; margin-bottom: 5px; }
    .why-desc  { font-size: 12.5px; }

    .cta-section { padding: 44px 0; }
    .cta-title  { font-size: 23px; margin-bottom: 8px; }
    .cta-sub    { font-size: 14px; margin-bottom: 20px; }
}

/* === 小屏手机（≤560px）：极致压缩版 === */
@media (max-width: 560px) {
    :root { --pad-x: 16px; }
    body { font-size: 14px; }
    .section    { padding: 34px 0; }
    .h2-title   { font-size: 20px; letter-spacing: -0.01em; }
    .p-subtitle { font-size: 13px; margin-bottom: 18px; line-height: 1.6; }

    .slide      { height: 370px; }
    .slide h2, .slide h1 { font-size: 22px; margin-bottom: 10px; }
    .slide p    { font-size: 13px; line-height: 1.6; margin-bottom: 14px; }
    .slider-dots { bottom: 14px; gap: 6px; }
    .btn { padding: 9px 18px; font-size: 13px; gap: 5px; }

    .info-bar { padding: 14px 0; }
    .info-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .info-item { padding: 9px 10px; }
    .info-icon { width: 30px; height: 30px; font-size: 14px; }
    .info-value { font-size: 12.5px; }

    .about-grid { gap: 22px; }
    .about-title { font-size: 20px; margin-bottom: 8px; }
    .about-desc { font-size: 13px; margin-bottom: 14px; line-height: 1.6; }
    .about-stats { padding: 12px; gap: 8px; margin-bottom: 14px; }
    .about-stat .num { font-size: 18px; }
    .about-stat .label { font-size: 10.5px; }
    .about-scope { grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 14px 12px; margin-bottom: 14px; }
    .about-scope-item { font-size: 12.5px; padding: 8px 10px; }

    .svc-card  { padding: 16px 14px; }
    .svc-icon  { width: 36px; height: 36px; font-size: 18px; margin-bottom: 8px; border-radius: 10px; }
    .svc-title { font-size: 14.5px; margin-bottom: 5px; }
    .svc-desc  { font-size: 12.5px; margin-bottom: 8px; }

    .why-card  { padding: 14px 14px; border-left-width: 3px; }
    .why-icon  { font-size: 20px; margin-bottom: 6px; }
    .why-title { font-size: 13.5px; margin-bottom: 4px; }
    .why-desc  { font-size: 12px; line-height: 1.55; }

    .prod-body { padding: 12px 12px 14px; }
    .prod-title a { font-size: 14px; }
    .prod-industries { font-size: 11px; }
    .prod-excerpt { font-size: 12px; }
    .view-all { margin-top: 20px; }

    .cta-section { padding: 34px 0; }
    .cta-title { font-size: 20px; margin-bottom: 6px; }
    .cta-sub { font-size: 13px; margin-bottom: 16px; }

    .site-footer { padding: 34px 0 0; }
    .footer-grid { gap: 22px; padding-bottom: 24px; }
    .footer-col h4 { font-size: 13.5px; margin-bottom: 10px; }
    .footer-col ul { gap: 6px; }
    .footer-col a { font-size: 12.5px; }
    .footer-about p { font-size: 12.5px; margin-bottom: 12px; }
    .copyright { padding: 12px 0; font-size: 11.5px; }

    .float-wrap { right: 14px; bottom: 14px; gap: 10px; }
    .float-btn { width: 46px; height: 46px; font-size: 20px; }
}

/* =================================================================
   ===== UTIL：预览模式标记（让你知道你看的是预览版）=====
   ================================================================= */
.preview-badge {
    position: fixed; bottom: 20px; right: 20px; z-index: 9999;
    background: #000; color: #fff;
    padding: 10px 16px; border-radius: var(--r-xl);
    font-size: 12px; font-weight: 600;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
    opacity: .85;
}
.preview-badge span { color: #FFD666; }

/* =================================================================
   ===== PAGE HERO（内页通用顶部横幅）=====
   ================================================================= */
.page-hero {
    background: linear-gradient(135deg, var(--c-primary-d) 0%, var(--c-primary) 100%);
    color: #fff;
    padding: 60px 0 56px;
    position: relative;
    overflow: hidden;
    min-height: 290px;
    display: flex;
    align-items: flex-start;
}
.page-hero::before {
    content: '';
    position: absolute;
    right: -120px; top: -120px;
    width: 360px; height: 360px;
    background: radial-gradient(circle, rgba(255,125,0,.18) 0%, transparent 70%);
}
.page-hero-inner { position: relative; z-index: 1; width: 100%; }
.breadcrumb {
    font-size: 13px; color: rgba(255,255,255,.7);
    margin-bottom: 14px;
}
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: #FFD666; }
.breadcrumb span { margin: 0; color: rgba(255,255,255,.4); }
.breadcrumb .sep { margin: 0 8px; color: rgba(255,255,255,.4); }
.page-hero h1 {
    font-size: 38px; font-weight: 800; line-height: 1.2;
    margin-bottom: 12px; letter-spacing: -0.02em;
}
.page-hero p {
    font-size: 16px; color: rgba(255,255,255,.85);
    max-width: 680px; line-height: 1.7;
}

/* NEWS 页面特有样式 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 383px);
    gap: 18px;
    justify-content: start;
}
a.news-card {
    text-decoration: none;
    color: inherit;
}
.news-card {
    background: #fff;
    border-radius: var(--r-md);
    border: 1px solid var(--c-line);
    overflow: hidden;
    transition: all .3s ease;
    display: flex;
    flex-direction: column;
}
.news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--sh-lg);
    border-color: var(--c-primary);
}
.news-img {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--c-primary-l), #d6e4ff);
    display: block;
    position: relative;
    overflow: hidden;
}
.news-img svg, .news-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .4s ease;
}
.news-card:hover .news-img svg,
.news-card:hover .news-img img {
    transform: scale(1.05);
}
.news-card:nth-child(2) .news-img { background: linear-gradient(135deg, #fef3c7, #fde68a); }
.news-card:nth-child(3) .news-img { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }
.news-card:nth-child(4) .news-img { background: linear-gradient(135deg, #dcfce7, #bbf7d0); }
.news-card:nth-child(5) .news-img { background: linear-gradient(135deg, #ffe4e6, #fecdd3); }
.news-card:nth-child(6) .news-img { background: linear-gradient(135deg, #ede9fe, #ddd6fe); }
.news-body {
    padding: 18px 18px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.news-date {
    font-size: 12px;
    color: var(--c-faint);
    margin-bottom: 8px;
}
.news-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--c-title);
    line-height: 1.4;
    margin-bottom: 8px;
}
.news-card:hover .news-title { color: var(--c-primary); }
.news-excerpt {
    font-size: 13.5px;
    color: var(--c-muted);
    line-height: 1.6;
    flex: 1;
}
.news-more {
    margin-top: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--c-primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* PLACEHOLDER 通用占位样式 */
.placeholder-note {
    background: #fffbeb;
    border: 1.5px dashed #f59e0b;
    border-radius: var(--r-md);
    padding: 40px;
    text-align: center;
}
.placeholder-icon {
    width: 64px; height: 64px; margin: 0 auto 16px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px;
}
.placeholder-note h2 {
    font-size: 22px; font-weight: 800; color: #92400e;
    margin-bottom: 8px;
}
.placeholder-note p {
    font-size: 14px; color: #78350f; line-height: 1.7;
    margin-bottom: 20px;
}
.placeholder-note .tag-list {
    display: flex; flex-wrap: wrap; gap: 8px;
    justify-content: center;
}
.placeholder-note .tag {
    display: inline-block;
    padding: 4px 12px;
    background: #fef3c7;
    color: #92400e;
    border-radius: var(--r-xl);
    font-size: 12px;
    font-weight: 600;
}

@media (max-width: 960px) {
    .page-hero  { padding: 44px 0 40px; }
    .page-hero h1 { font-size: 28px; }
    .page-hero p { font-size: 14px; }
    .news-grid  { grid-template-columns: repeat(auto-fill, minmax(280px, 383px)); gap: 16px; }
    .news-title { font-size: 15px; }
    .news-excerpt { font-size: 13px; }
}
@media (max-width: 560px) {
    .page-hero h1 { font-size: 24px; }
    .placeholder-note { padding: 28px 20px; }
    .placeholder-note h2 { font-size: 18px; }
    .news-grid  { grid-template-columns: 1fr; }
}


