/* ============================================================
   产品页样式 —— 采用 About 页设计语言（视觉统一）
   参照：about.css
   ============================================================ */

:root {
    --c-primary: #1d6fe8;
    --c-primary-hover: #1557b8;
    --c-primary-light: #38bdf8;
    --c-dark: #090d16;
    --c-text: #0f2a4a;
    --c-text-muted: #64748b;
    --c-border: #e2e8f0;
    --c-bg-soft: #f8fafc;
}

/* ---------- HERO ---------- */
.pc-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    padding: 100px 20px;
    overflow: hidden;
    color: #fff;
    background: #0a1f3d;
}
.pc-hero-bg {
    position: absolute;
    inset: 0;
    background: url('/images/banner/cnc-machining-aluminum-profile.webp') center/cover no-repeat;
    opacity: 0.35;
    z-index: 0;
}
.pc-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,31,61,0.92) 0%, rgba(15,42,74,0.6) 100%);
    z-index: 1;
}
.pc-hero-inner {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}
.pc-hero-label {
    display: inline-block;
    background: rgba(56,189,248,0.15);
    border: 1px solid rgba(56,189,248,0.4);
    color: var(--c-primary-light);
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 12px;
    letter-spacing: 1.5px;
    margin-bottom: 22px;
    font-weight: 600;
}
.pc-hero-title {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.12;
    margin: 0 0 20px;
    max-width: 820px;
    letter-spacing: -1px;
}
.pc-hero-title span {
    background: linear-gradient(90deg, var(--c-primary-light) 0%, var(--c-primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.pc-hero-sub {
    font-size: 17px;
    color: #cbd5e1;
    line-height: 1.7;
    max-width: 680px;
    margin: 0 0 32px;
}
.pc-hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.pc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.25s ease;
}
.pc-btn-primary { background: var(--c-primary); color: #fff; }
.pc-btn-primary:hover { background: var(--c-primary-hover); transform: translateY(-2px); }
.pc-btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.pc-btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* ---------- STATS（参照 about 的 stats-bar） ---------- */
.pc-stats {
    background: #ffffff;
    padding: 60px 20px;
    border-bottom: 1px solid #f1f5f9;
}
.pc-stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.pc-stat {
    flex: 1;
    text-align: center;
    padding: 10px 20px;
    position: relative;
    min-width: 140px;
}
.pc-stat + .pc-stat::before {
    content: "";
    position: absolute;
    left: 0;
    top: 15%;
    bottom: 15%;
    width: 1px;
    background: var(--c-border);
}
.pc-stat-value {
    font-size: 40px;
    font-weight: 800;
    color: var(--c-text);
    line-height: 1.1;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}
.pc-stat-label {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ---------- 通用区块标题 ---------- */
.pc-section-head { text-align: center; margin-bottom: 56px; }
.pc-label {
    display: inline-block;
    font-size: 13px;
    color: var(--c-primary);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.pc-label::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--c-primary);
    vertical-align: middle;
    margin-right: 10px;
}
.pc-h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--c-text);
    margin: 0 0 14px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}
.pc-sub {
    font-size: 15px;
    color: var(--c-text-muted);
    line-height: 1.6;
    max-width: 680px;
    margin: 0 auto;
}

/* ---------- 新增：板块底部的条状跳转按钮 ---------- */
.pc-section-action-wrap {
    text-align: center;
    margin-top: 50px; 
}
.pc-action-btn-bar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: var(--c-primary);
    border: 2px solid var(--c-primary);
    padding: 12px 36px;
    border-radius: 30px; 
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}
.pc-action-btn-bar:hover {
    background-color: var(--c-primary);
    color: #ffffff;
    box-shadow: 0 10px 20px -10px rgba(29, 111, 232, 0.5);
    transform: translateY(-3px);
}

/* ---------- 分类网格 ---------- */
.pc-main { padding: 100px 0; background: var(--c-bg-soft); }
.pc-main-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

.pc-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
}
.pc-grid .pc-card {
    flex: 0 0 calc((100% - 56px) / 3); 
    max-width: calc((100% - 56px) / 3);
}
.pc-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    box-shadow: 0 4px 15px rgba(15,42,74,0.05);
}
.pc-card:hover {
    transform: translateY(-6px);
    border-color: #bfdbfe;
    box-shadow: 0 24px 48px -18px rgba(29,111,232,0.35);
}
.pc-card-cover {
    width: 100%;
    aspect-ratio: 4/3;
    background: #f8fafc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important; 
}
.pc-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover !important; 
    display: block;
    transition: transform 0.5s ease;
}
.pc-card:hover .pc-card-cover img { transform: scale(1.05); }
.pc-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex-grow: 1; }
.pc-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.pc-card-title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: var(--c-text);
    line-height: 1.35;
}
.pc-card-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 24px;
    padding: 0 8px;
    background: #eff6ff;
    color: var(--c-primary);
    font-size: 12px;
    font-weight: 700;
    border-radius: 12px;
    flex-shrink: 0;
}
/* 新增：分类卡片内部条状按钮 */
.pc-card-action {
    display: block;
    width: 100%;
    text-align: center;
    background: #eff6ff;
    color: var(--c-primary);
    padding: 10px 0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
    margin-top: auto; /* 推到底部 */
}
.pc-card:hover .pc-card-action {
    background: var(--c-primary);
    color: #fff;
}

/* ---------- 深加工 ---------- */
.pc-capabilities { padding: 100px 0; background: #fff; }
.pc-cap-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.pc-cap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.pc-cap-item {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    box-shadow: 0 4px 15px rgba(15,42,74,0.05);
    padding: 0 0 20px;
}
.pc-cap-item:hover {
    transform: translateY(-6px);
    border-color: #bfdbfe;
    box-shadow: 0 20px 40px -16px rgba(29,111,232,0.18);
}
.pc-cap-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.pc-cap-item:hover img { transform: scale(1.04); }
.pc-cap-item h4 { margin: 18px 22px 4px; font-size: 16px; font-weight: 700; color: var(--c-text); }
.pc-cap-item p { margin: 0 22px; font-size: 13px; color: var(--c-text-muted); }

/* ---------- 生产车间 ---------- */
.pc-workshop { padding: 100px 0; background: var(--c-bg-soft); overflow: hidden; }
.pc-workshop-inner { max-width: 1320px; margin: 0 auto; padding: 0 40px; }

/* ---------- 应用场景 ---------- */
.pc-apps { padding: 100px 0; background: #fff; }
.pc-apps-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.pc-apps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 180px;
    gap: 20px;
}
.pc-app-item {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    box-shadow: 0 4px 15px rgba(15,42,74,0.05);
}
.pc-app-item:hover {
    transform: translateY(-4px);
    border-color: #bfdbfe;
    box-shadow: 0 24px 48px -18px rgba(29,111,232,0.3);
}
.pc-app-item:nth-child(1),
.pc-app-item:nth-child(4),
.pc-app-item:nth-child(7) { grid-row: span 2; }
.pc-app-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.pc-app-item:hover img { transform: scale(1.05); }
.pc-app-item span {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 30px 18px 14px;
    background: linear-gradient(180deg, transparent 0%, rgba(10,31,61,0.85) 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

/* ---------- 认证 ---------- */
.pc-cert { padding: 100px 20px; background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%); }
.pc-cert-inner { max-width: 1100px; margin: 0 auto; }
.pc-cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: center;
}
.pc-cert-item {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: 16px;
    overflow: hidden;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3 / 4;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    box-shadow: 0 4px 15px rgba(15,42,74,0.05);
}
.pc-cert-item:hover {
    transform: translateY(-8px);
    border-color: #93c5fd;
    box-shadow: 0 24px 48px -18px rgba(29,111,232,0.35);
}
.pc-cert-item img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* ---------- 全球地图 ---------- */
.pc-global { padding: 100px 0; background: #fff; }
.pc-global-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.pc-map-wrap {
    max-width: 1100px;
    margin: 0 auto 60px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(15,42,74,0.05);
}
.pc-map-wrap img { width: 100%; display: block; }
.pc-countries-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.pc-country-item {
    background: var(--c-bg-soft);
    border: 1px solid var(--c-border);
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    transition: all 0.3s ease;
}
.pc-country-item:hover {
    background: #fff;
    border-color: #bfdbfe;
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -14px rgba(29,111,232,0.25);
}
.pc-country-flag { font-size: 28px; line-height: 1; margin-bottom: 10px; }
.pc-country-name { font-size: 13px; font-weight: 700; color: var(--c-text); margin-bottom: 4px; }
.pc-country-count { font-size: 12px; color: var(--c-text-muted); }

/* ---------- CTA ---------- */
.pc-cta {
    padding: 100px 20px;
    background: linear-gradient(135deg, #0a1f3d 0%, #1e3c72 100%);
    color: #fff;
    text-align: center;
}
.pc-cta-inner { max-width: 720px; margin: 0 auto; }
.pc-cta h2 {
    margin: 0 0 16px;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    color: #fff;
}
.pc-cta p { margin: 0 0 32px; font-size: 16px; line-height: 1.7; color: rgba(255,255,255,0.75); }
.pc-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: var(--c-primary-light);
    color: var(--c-text);
    border: 2px solid var(--c-primary-light);
    border-radius: 40px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 800;
    transition: all 0.3s ease;
}
.pc-cta-btn:hover { background: transparent; color: var(--c-primary-light); transform: translateY(-2px); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .pc-hero { min-height: 520px; padding: 80px 20px; }
    .pc-hero-title { font-size: 38px; }
    .pc-hero-sub { font-size: 16px; }
    .pc-stats-inner { flex-wrap: wrap; }
    .pc-stat { flex: 1 1 30%; }
    .pc-stat + .pc-stat::before { display: none; }
    .pc-grid .pc-card {
        flex: 0 0 calc((100% - 28px) / 2);   
        max-width: calc((100% - 28px) / 2);
    }
    .pc-cap-grid { grid-template-columns: repeat(2, 1fr); }
    .pc-apps-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
    .pc-cert-grid { grid-template-columns: repeat(2, 1fr); }
    .pc-countries-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
    .pc-hero { min-height: 440px; padding: 60px 20px; }
    .pc-hero-title { font-size: 26px; }
    .pc-hero-sub { font-size: 14px; }
    .pc-hero-cta { flex-direction: column; align-items: stretch; }
    .pc-btn { justify-content: center; }
    .pc-stat-value { font-size: 30px; }
    .pc-h2 { font-size: 28px; }
    .pc-main, .pc-capabilities, .pc-workshop, .pc-apps, .pc-cert, .pc-global { padding: 60px 0; }
    .pc-main-inner, .pc-cap-inner, .pc-apps-inner, .pc-global-inner { padding: 0 20px; }
    .pc-grid .pc-card {
        flex: 0 0 100%;   
        max-width: 100%;
    }
    .pc-cap-grid, .pc-apps-grid, .pc-cert-grid { grid-template-columns: 1fr; }
    .pc-apps-grid { grid-auto-rows: 200px; }
    .pc-app-item:nth-child(n) { grid-row: span 1; }
    .pc-countries-grid { grid-template-columns: repeat(2, 1fr); }
    .pc-cta h2 { font-size: 26px; }
}

/* ============================================================
   产品页车间轮播样式（同步自 About 页）
   ============================================================ */
.ab-team-section { padding: 90px 0 80px; background: #ffffff; overflow: hidden; }
.ab-team-header { max-width: 1200px; margin: 0 auto 50px; padding: 0 20px; text-align: center; }
.ab-team-carousel { position: relative; max-width: 1320px; margin: 0 auto; padding: 0 60px; }
.ab-team-viewport { overflow: hidden; }
.ab-team-track { display: flex; gap: 24px; transition: transform 0.5s ease; will-change: transform; }
.team-card { flex: 0 0 calc((100% - 72px) / 4); background: #ffffff; border: 1px solid var(--c-border); border-radius: 14px; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; }
.team-card:hover { transform: translateY(-6px); border-color: #bfdbfe; box-shadow: 0 20px 40px -16px rgba(29, 111, 232, 0.18); }
.team-photo { width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: #f1f5f9; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-info { padding: 16px 18px 20px; }
.team-info h4 { font-size: 15px; color: var(--c-text); margin: 0 0 6px; font-weight: 700; }
.team-info p { font-size: 12.5px; color: var(--c-text-muted); margin: 0; line-height: 1.5; }
.ab-team-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid #cbd5e1; background: #ffffff; color: var(--c-text); cursor: pointer; font-size: 16px; z-index: 3; display: flex; align-items: center; justify-content: center; transition: background 0.25s, color 0.25s, border-color 0.25s; box-shadow: 0 8px 20px -10px rgba(15,42,74,0.2); }
.ab-team-arrow:hover { background: var(--c-dark); color: #fff; border-color: var(--c-dark); }
.ab-team-prev { left: 0; }
.ab-team-next { right: 0; }
.ab-team-dots { display: flex; justify-content: center; gap: 8px; margin-top: 30px; flex-wrap: wrap; padding: 0 20px; }
.ab-team-dots .dot { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; cursor: pointer; transition: background 0.2s, width 0.2s; }
.ab-team-dots .dot.active { background: var(--c-primary); width: 24px; border-radius: 4px; }

@media (max-width: 1200px) {
    .team-card { flex: 0 0 calc((100% - 48px) / 3); }
}
@media (max-width: 1024px) {
    .team-card { flex: 0 0 calc((100% - 24px) / 2); }
}
@media (max-width: 700px) {
    .ab-team-carousel { padding: 0 50px; }
    .team-card { flex: 0 0 100%; }
    .ab-team-arrow { width: 40px; height: 40px; font-size: 14px; }
}

/* ==========================================
   强制统一产品页顶部导航栏颜色与全站一致
   ========================================== */
.topbar {
    background: #1e3c72 !important;
}
.site-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%) !important;
}