/* ========================================
   菁客云官网 三层架构子页面样式（Layer2 / Layer3）
   科技感：深色 + 网格背景 + 玻璃拟态 + 辉光
   ======================================== */

:root {
    --primary: #00d4ff;
    --primary-dark: #00a8cc;
    --secondary: #7c3aed;
    --accent: #10b981;
    --gold: #f59e0b;
    --bg-dark: #050914;
    --bg-card: rgba(13, 18, 38, 0.72);
    --bg-card-hover: rgba(20, 28, 58, 0.85);
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --border: rgba(0, 212, 255, 0.18);
    --border-strong: rgba(0, 212, 255, 0.4);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --glow: 0 0 24px rgba(0, 212, 255, 0.25);
    --radius: 16px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- 科技网格背景 + 辉光 ---------- */
.grid-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 212, 255, 0.12), transparent),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(124, 58, 237, 0.10), transparent),
        var(--bg-dark);
}
.grid-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
}

/* ---------- 子页头部 ---------- */
.sub-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 5%;
    background: rgba(5, 9, 20, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}
.sub-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; }
.sub-logo img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; }
.sub-logo span em { font-style: normal; color: var(--primary); }
.sub-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.sub-nav a {
    padding: 7px 13px;
    border-radius: 8px;
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: var(--transition);
}
.sub-nav a:hover, .sub-nav a.active {
    color: var(--primary);
    background: rgba(0, 212, 255, 0.08);
}
.sub-actions { display: flex; align-items: center; gap: 10px; }
.btn-ghost {
    padding: 8px 16px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--primary);
    transition: var(--transition);
    cursor: pointer;
    background: transparent;
}
.btn-ghost:hover { background: rgba(0, 212, 255, 0.12); box-shadow: var(--glow); }
.btn-solid {
    padding: 8px 18px;
    border: none;
    border-radius: 999px;
    font-size: 0.85rem;
    color: #041018;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary), #38e1ff);
    cursor: pointer;
    transition: var(--transition);
}
.btn-solid:hover { box-shadow: var(--glow); transform: translateY(-1px); }

/* ---------- Hero ---------- */
.sub-hero {
    padding: 150px 5% 70px;
    text-align: center;
    position: relative;
}
.crumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 18px;
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(13, 18, 38, 0.6);
}
.crumb a { color: var(--primary); }
.crumb a:hover { text-decoration: underline; }
.sub-hero h1 {
    font-size: clamp(1.8rem, 4.2vw, 3rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    background: linear-gradient(120deg, #fff 30%, var(--primary) 70%, var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 14px;
}
.sub-hero .subtitle {
    color: var(--text-muted);
    font-size: clamp(0.95rem, 1.6vw, 1.12rem);
    max-width: 760px;
    margin: 0 auto 26px;
}
.hero-tags { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.hero-tags span {
    padding: 6px 14px;
    font-size: 0.8rem;
    border-radius: 999px;
    color: var(--primary);
    border: 1px solid var(--border-strong);
    background: rgba(0, 212, 255, 0.06);
}
.hero-banner {
    max-width: 1080px;
    margin: 36px auto 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow), var(--glow);
    position: relative;
}
.hero-banner img { width: 100%; height: clamp(220px, 34vw, 420px); object-fit: cover; }
.hero-banner::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(5, 9, 20, 0.55));
    pointer-events: none;
}

/* ---------- 通用区块 ---------- */
.section { padding: 56px 5%; }
.section-alt { background: rgba(255, 255, 255, 0.015); }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head .tag {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    color: var(--primary);
    border: 1px solid var(--border-strong);
    padding: 4px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 700; margin-bottom: 10px; }
.section-head p { color: var(--text-muted); max-width: 720px; margin: 0 auto; }

/* ---------- Layer2 卡片网格 ---------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
}
.p-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}
.p-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow), var(--glow);
}
.p-card .card-img { height: 190px; overflow: hidden; position: relative; }
.p-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.p-card:hover .card-img img { transform: scale(1.06); }
.p-card .card-img .card-no {
    position: absolute; top: 12px; left: 12px;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
    color: var(--primary);
    background: rgba(5, 9, 20, 0.75);
    border: 1px solid var(--border-strong);
    padding: 4px 10px; border-radius: 6px;
}
.p-card .card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.p-card h3 { font-size: 1.08rem; font-weight: 700; }
.p-card .card-sum { font-size: 0.88rem; color: var(--text-muted); flex: 1; }
.p-card .card-points { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.p-card .card-points li {
    font-size: 0.74rem; color: var(--primary);
    padding: 3px 10px; border-radius: 999px;
    background: rgba(0, 212, 255, 0.07);
    border: 1px solid rgba(0, 212, 255, 0.15);
}
.p-card .card-go {
    margin-top: 6px;
    font-size: 0.85rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.p-card .card-go .arrow { transition: transform 0.3s ease; }
.p-card:hover .card-go .arrow { transform: translateX(5px); }

/* ---------- Layer3 详情页 ---------- */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: center;
}
.detail-grid.reverse .detail-text { order: 2; }
.detail-text h3 {
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    margin-bottom: 14px;
    font-weight: 700;
}
.detail-text h3 em { font-style: normal; color: var(--primary); }
.detail-text p { color: var(--text-muted); margin-bottom: 14px; font-size: 0.95rem; }
.detail-text ul.check-list { list-style: none; margin-top: 10px; }
.detail-text ul.check-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    font-size: 0.92rem;
}
.detail-text ul.check-list li::before {
    content: '▸';
    position: absolute; left: 4px;
    color: var(--primary);
}
.detail-text ul.check-list li b { color: var(--text); }
.detail-img {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    position: relative;
}
.detail-img img { width: 100%; height: 340px; object-fit: cover; }
.detail-img .img-glow {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), transparent 50%, rgba(124, 58, 237, 0.08));
    pointer-events: none;
}

.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.feat {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px;
    transition: var(--transition);
}
.feat:hover { border-color: var(--border-strong); transform: translateY(-4px); box-shadow: var(--glow); }
.feat .feat-ico {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(124, 58, 237, 0.15));
    border: 1px solid var(--border-strong);
    margin-bottom: 14px;
    color: var(--primary);
}
.feat h4 { font-size: 0.98rem; margin-bottom: 8px; }
.feat p { font-size: 0.85rem; color: var(--text-muted); }

/* 规格参数表 */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    font-size: 0.9rem;
}
.spec-table th, .spec-table td { padding: 13px 18px; text-align: left; border-bottom: 1px solid rgba(0, 212, 255, 0.08); }
.spec-table th { width: 220px; color: var(--primary); font-weight: 600; background: rgba(0, 212, 255, 0.04); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

/* 流程步骤 */
.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; counter-reset: step; }
.flow .step {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px 20px 20px;
    transition: var(--transition);
}
.flow .step:hover { border-color: var(--border-strong); box-shadow: var(--glow); }
.flow .step::before {
    counter-increment: step;
    content: '0' counter(step);
    font-size: 1.5rem;
    font-weight: 800;
    color: rgba(0, 212, 255, 0.35);
    display: block;
    margin-bottom: 10px;
}
.flow .step h4 { font-size: 0.95rem; margin-bottom: 6px; }
.flow .step p { font-size: 0.82rem; color: var(--text-muted); }

/* CTA */
.cta-band {
    max-width: 1200px;
    margin: 10px auto 70px;
    padding: 44px 5%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.10), rgba(124, 58, 237, 0.10));
    border: 1px solid var(--border-strong);
    border-radius: 20px;
    text-align: center;
}
.cta-band h2 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin-bottom: 12px; }
.cta-band p { color: var(--text-muted); margin-bottom: 24px; }
.cta-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta-btns a { padding: 11px 26px; border-radius: 999px; font-size: 0.92rem; font-weight: 600; transition: var(--transition); }
.cta-btns .primary-btn { background: linear-gradient(135deg, var(--primary), #38e1ff); color: #041018; }
.cta-btns .primary-btn:hover { box-shadow: var(--glow); transform: translateY(-2px); }
.cta-btns .ghost-btn { border: 1px solid var(--border-strong); color: var(--primary); }
.cta-btns .ghost-btn:hover { background: rgba(0, 212, 255, 0.1); }

/* 相关推荐 */
.rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.rel-card {
    display: flex; align-items: center; gap: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    transition: var(--transition);
}
.rel-card:hover { border-color: var(--border-strong); transform: translateX(4px); box-shadow: var(--glow); }
.rel-card img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.rel-card .rel-info { min-width: 0; }
.rel-card .rel-info h4 { font-size: 0.92rem; margin-bottom: 2px; }
.rel-card .rel-info span { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 页脚 ---------- */
.sub-footer {
    border-top: 1px solid var(--border);
    padding: 36px 5% 28px;
    background: rgba(5, 9, 20, 0.9);
}
.sub-footer .foot-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px;
}
.sub-footer h4 { font-size: 0.95rem; margin-bottom: 12px; color: var(--text); }
.sub-footer p, .sub-footer a { font-size: 0.84rem; color: var(--text-muted); line-height: 1.9; }
.sub-footer a:hover { color: var(--primary); }
.sub-footer .copyright {
    max-width: 1200px; margin: 24px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(0, 212, 255, 0.08);
    font-size: 0.8rem; color: var(--text-muted);
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.sub-footer .copyright a { color: var(--primary); }

/* ---------- 滚动显现动效 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
    .detail-grid { grid-template-columns: 1fr; }
    .detail-grid.reverse .detail-text { order: 0; }
    .sub-footer .foot-inner { grid-template-columns: 1fr; }
    .sub-nav { display: none; }
    .sub-header { padding: 12px 4%; }
    .section { padding: 44px 5%; }
}
@media (max-width: 560px) {
    .sub-hero { padding-top: 120px; }
    .card-grid { grid-template-columns: 1fr; }
}

/* ---------- 资质保障区块补充说明 ---------- */
.guarantee-note {
    margin-top: 28px;
    padding: 16px 22px;
    border: 1px dashed var(--border-strong, rgba(0, 212, 255, 0.35));
    border-radius: 12px;
    font-size: 0.92rem;
    color: var(--text-2, rgba(255, 255, 255, 0.72));
    text-align: center;
    background: rgba(0, 212, 255, 0.05);
}
.guarantee-note a { color: var(--primary, #00d4ff); text-decoration: none; border-bottom: 1px dotted currentColor; }
.guarantee-note a:hover { opacity: 0.85; }

/* ---------- 新闻动态栏目 ---------- */
.news-list { display: flex; flex-direction: column; gap: 22px; }
.news-item {
    display: grid; grid-template-columns: 220px 1fr; gap: 26px; align-items: center;
    background: var(--card-bg, rgba(255, 255, 255, 0.04));
    border: 1px solid var(--border, rgba(255, 255, 255, 0.09));
    border-radius: 16px; padding: 22px;
    transition: var(--transition, all 0.3s ease);
}
.news-item:hover { transform: translateY(-4px); border-color: var(--border-strong, rgba(0, 212, 255, 0.4)); box-shadow: var(--glow, 0 0 24px rgba(0, 212, 255, 0.18)); }
.news-item-img { border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; }
.news-item-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-item-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.news-item-body h3 a { color: inherit; text-decoration: none; }
.news-item-body h3 a:hover { color: var(--primary, #00d4ff); }
.news-meta { display: flex; gap: 12px; align-items: center; font-size: 0.82rem; color: var(--text-2, rgba(255, 255, 255, 0.6)); margin-bottom: 10px; }
.news-meta .n-tag { padding: 2px 10px; border-radius: 999px; background: rgba(0, 212, 255, 0.12); color: var(--primary, #00d4ff); border: 1px solid rgba(0, 212, 255, 0.3); }
.news-item-body p { font-size: 0.92rem; color: var(--text-2, rgba(255, 255, 255, 0.72)); line-height: 1.7; }
.news-more { display: inline-block; margin-top: 10px; font-size: 0.88rem; color: var(--primary, #00d4ff); text-decoration: none; }
.news-more:hover { text-decoration: underline; }
@media (max-width: 720px) {
    .news-item { grid-template-columns: 1fr; }
    .news-item-img { aspect-ratio: 16 / 7; }
}
