/* ========================================================
   官网级设计系统 · 多域名差异化主题
   主题变量由 PHP 按域名输出（--primary / --secondary / --accent 等）
   ======================================================== */

/* ---------- 变量 ---------- */
:root {
    --primary: #0066cc;
    --secondary: #0052a3;
    --accent: #ff9500;

    --bg-main: #f5f7fb;
    --bg-card: #ffffff;
    --bg-section: #ffffff;
    --bg-input: #ffffff;

    --text-main: #0f172a;
    --text-sub: #5b6b83;
    --text-light: #94a3b8;

    --border: #e5eaf2;
    --border-light: #eef2f8;

    --radius: 8px;
    --radius-lg: 14px;
    --radius-full: 9999px;

    --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -12px rgba(15, 23, 42, .12);
    --shadow-hover: 0 2px 4px rgba(15, 23, 42, .05), 0 18px 40px -16px rgba(15, 23, 42, .22);
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, .05);

    --font: 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', system-ui, sans-serif;

    --container-width: 1140px;
    --header-height: 66px;
    --spacing-sm: 12px;
    --spacing-md: 20px;
    --spacing-lg: 40px;

    --transition: all .22s cubic-bezier(.4, 0, .2, 1);
    --primary-soft: rgba(0, 102, 204, .09);
    --grad: linear-gradient(120deg, var(--primary), var(--secondary));
}

/* ---------- 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg-main);
    color: var(--text-main);
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.35; letter-spacing: .01em; }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-muted { color: var(--text-light); }
.mt-lg { margin-top: 32px; }
.mb-md { margin-bottom: 16px; }

::selection { background: var(--primary); color: #fff; }

/* ---------- 顶栏（权威信息条） ---------- */
.topbar {
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    color: rgba(255, 255, 255, .92);
    font-size: 12.5px;
}
.topbar-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 7px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.topbar-welcome { display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; }
.topbar-welcome .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, .25);
    flex-shrink: 0;
}
.topbar-right { display: flex; gap: 22px; white-space: nowrap; }
.topbar-right span { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 768px) { .topbar-right span:nth-child(2) { display: none; } .topbar-inner { padding: 6px 16px; } }

/* ---------- 头部 ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 300;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-light);
    transition: box-shadow .25s ease, border-color .25s ease;
}
.header.scrolled { box-shadow: 0 8px 30px -18px rgba(15, 23, 42, .25); border-color: transparent; }
.header .container {
    max-width: 1200px;
    height: var(--header-height);
    display: flex;
    align-items: center;
    gap: 28px;
}
.logo {
    font-size: 21px;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 9px;
    white-space: nowrap;
    letter-spacing: .02em;
}
.logo::before {
    content: '';
    width: 10px; height: 22px;
    border-radius: 3px;
    background: var(--grad);
    box-shadow: 0 4px 10px -3px var(--primary);
}
.logo span { color: var(--primary); }

.nav { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.nav-btn {
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-sub);
    padding: 9px 18px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}
.nav-btn:hover { color: var(--primary); background: var(--primary-soft); }
.nav-btn.active {
    background: var(--grad);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 6px 16px -6px var(--primary);
}
.header-cta {
    margin-left: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    border-radius: var(--radius-full);
    background: var(--grad);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 6px 16px -6px var(--primary);
    transition: var(--transition);
}
.header-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -8px var(--primary); color: #fff; }
@media (max-width: 900px) { .header-cta { display: none; } }

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}
.mobile-menu-toggle span {
    width: 22px; height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: var(--transition);
}
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
    .mobile-menu-toggle { display: flex; }
    .nav {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        padding: 12px 16px 16px;
        gap: 4px;
        box-shadow: 0 24px 40px -20px rgba(15, 23, 42, .25);
        border-bottom: 1px solid var(--border-light);
    }
    .nav.active { display: flex; }
    .nav-btn { width: 100%; text-align: left; border-radius: var(--radius); padding: 12px 14px; }
}

/* ---------- 主体 / 区块 ---------- */
.main { min-height: 60vh; }
.section { display: none; padding: 8px 0 64px; }
.section.active { display: block; animation: sectionIn .35s ease; }
@keyframes sectionIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.section-header { text-align: center; margin-bottom: 36px; }
.section-header h2 {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 800;
    color: var(--text-main);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.section-header h2::before {
    content: '';
    width: 44px; height: 4px;
    border-radius: 2px;
    background: var(--grad);
}
.section-header p { color: var(--text-sub); margin-top: 8px; font-size: 14.5px; }

.two-column-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 26px;
    align-items: start;
}
.main-column { min-width: 0; }
@media (max-width: 900px) { .two-column-layout { grid-template-columns: 1fr; } }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); gap: 18px; }

/* ---------- 卡片 ---------- */
.card, .sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.card { padding: 26px; }
.sidebar-card { padding: 22px; margin-bottom: 18px; }
.sidebar-card > h3, .card > h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 14px; }
.sidebar-card > h3::before, .card > h3::before {
    content: '';
    display: inline-block;
    width: 4px; height: 14px;
    border-radius: 2px;
    background: var(--grad);
    margin-right: 8px;
    vertical-align: -2px;
}

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 26px;
    border-radius: var(--radius-full);
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1.4;
}
.btn-primary {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 8px 20px -8px var(--primary);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -10px var(--primary); color: #fff; }
.btn-accent { background: linear-gradient(120deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #b45309)); color: #fff; box-shadow: 0 8px 20px -8px var(--accent); }
.btn-accent:hover { transform: translateY(-2px); color: #fff; }
.btn-outline {
    background: transparent;
    color: var(--primary);
    box-shadow: inset 0 0 0 1.5px var(--primary);
}
.btn-outline:hover { background: var(--primary-soft); transform: translateY(-2px); }
.btn-lg { padding: 14px 34px; font-size: 15.5px; }
.btn-block { width: 100%; }

/* ---------- 英雄区 ---------- */
.hero {
    position: relative;
    padding: 46px 0 30px;
    overflow: hidden;
    background:
        radial-gradient(720px 320px at 85% -10%, var(--primary-soft), transparent 65%),
        radial-gradient(560px 300px at -10% 110%, var(--primary-soft), transparent 60%),
        var(--bg-main);
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border-light) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
    background-size: 44px 44px;
    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%);
    pointer-events: none;
}
.hero .container { position: relative; }
.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: 48px;
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: #fff;
    border: 1px solid var(--border);
    color: var(--primary);
    font-size: 12.5px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    margin-bottom: 18px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.hero h1 {
    font-size: clamp(28px, 4.2vw, 42px);
    font-weight: 800;
    line-height: 1.28;
    color: var(--text-main);
    margin-bottom: 14px;
}
.hero .hero-desc {
    font-size: 16px;
    color: var(--text-sub);
    max-width: 560px;
    margin-bottom: 26px;
}
.hero-slogan {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .08em;
    margin-bottom: 10px;
}
.hero-slogan::before { content: ''; width: 26px; height: 2px; background: var(--grad); border-radius: 1px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 520px;
}
.hero-stats .stat {
    background: rgba(255, 255, 255, .82);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 14px 10px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(6px);
}
.hero-stats .num {
    font-size: 24px;
    font-weight: 800;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
}
.hero-stats .label { font-size: 12px; color: var(--text-sub); margin-top: 2px; }

/* 右侧视觉面板（纯 CSS 官网感装饰） */
.hero-visual { position: relative; min-height: 360px; }
.hero-panel {
    position: relative;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 18px;
    box-shadow: var(--shadow-hover);
    padding: 24px;
    z-index: 1;
}
.hero-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 16px;
}
.hero-panel-head strong { font-size: 15px; }
.hero-panel-head span {
    font-size: 11px;
    color: var(--primary);
    background: var(--primary-soft);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-weight: 600;
}
.hero-panel-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    margin-bottom: 10px;
    background: var(--bg-main);
}
.hero-panel-item .p-icon {
    width: 38px; height: 38px;
    display: grid;
    place-items: center;
    font-size: 18px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--border-light);
    flex-shrink: 0;
}
.hero-panel-item .p-name { font-size: 13.5px; font-weight: 600; }
.hero-panel-item .p-desc { font-size: 12px; color: var(--text-sub); }
.hero-panel-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 12.5px;
    color: var(--text-sub);
}
.hero-panel-foot b { color: var(--primary); }
.hero-float {
    position: absolute;
    z-index: 2;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--border-light);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-main);
    animation: floatY 5s ease-in-out infinite;
}
.hero-float .f-icon { font-size: 17px; }
.hero-float small { display: block; font-weight: 400; color: var(--text-sub); font-size: 11px; }
.hero-float-1 { top: -26px; right: -14px; }
.hero-float-2 { bottom: -26px; left: -18px; animation-delay: 2.2s; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; gap: 34px; }
    .hero-visual { min-height: 0; }
}

/* ---------- 顶部 Banner 广告位 ---------- */
.top-banner-ad {
    position: relative;
    z-index: 5;
    background: var(--grad);
    border-radius: var(--radius-lg);
    margin-bottom: 34px;
    color: #fff;
    box-shadow: 0 10px 26px -12px var(--primary);
}
.banner-ad-content { padding: 11px 46px; text-align: center; }
.banner-ad-link { color: #fff; font-size: 13.5px; font-weight: 500; display: inline-block; }
.banner-ad-link:hover { text-decoration: underline; color: #fff; }
.banner-ad-close {
    position: absolute;
    right: 12px; top: 50%;
    transform: translateY(-50%);
    width: 22px; height: 22px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .22);
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    display: grid;
    place-items: center;
}
.banner-ad-close:hover { background: rgba(255, 255, 255, .38); }

/* ---------- 首页服务概览 / 服务 ---------- */
.home-services { padding: 44px 0 10px; }
.home-services > .section-header, .why-us > .section-header, .testimonials > .section-header { margin-bottom: 30px; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.service-card {
    padding: 26px 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::after {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 3px;
    background: var(--grad);
    opacity: 0;
    transition: var(--transition);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: transparent; }
.service-card:hover::after { opacity: 1; }
.service-card .icon, .service-icon {
    width: 54px; height: 54px;
    display: grid;
    place-items: center;
    font-size: 26px;
    border-radius: 14px;
    background: var(--primary-soft);
    margin-bottom: 16px;
}
.service-card h3 { font-size: 17px; margin-bottom: 8px; }
.service-card p { font-size: 13.5px; color: var(--text-sub); }
.service-detail { margin-top: 18px; }
.service-detail h4 { font-size: 14px; color: var(--primary); margin-bottom: 6px; font-weight: 600; }
.service-list { list-style: none; }
.service-list li { font-size: 13.5px; color: var(--text-sub); padding: 3px 0; }
.service-list li::before { content: '✓'; color: var(--primary); font-weight: 700; margin-right: 8px; }

/* ---------- 为什么选择我们 ---------- */
.why-us { padding: 40px 0 10px; }
.feature-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 26px 22px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}
.feature-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.feature-icon {
    width: 58px; height: 58px;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    font-size: 27px;
    border-radius: 16px;
    background: var(--grad);
    box-shadow: 0 10px 22px -10px var(--primary);
}
.feature-item h3 { font-size: 16px; margin-bottom: 6px; }
.feature-item p { font-size: 13px; color: var(--text-sub); }

/* ---------- 客户评价 ---------- */
.testimonials { padding: 40px 0 20px; }
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.testimonial-card::before {
    content: '“';
    position: absolute;
    top: 6px; right: 18px;
    font-size: 64px;
    font-weight: 800;
    font-family: Georgia, serif;
    color: var(--primary);
    opacity: .12;
    line-height: 1;
}
.testimonial-stars { font-size: 13px; letter-spacing: 2px; margin-bottom: 10px; }
.testimonial-text { font-size: 14px; color: var(--text-main); margin-bottom: 12px; min-height: 44px; }
.testimonial-author { font-size: 12.5px; color: var(--text-light); }

/* ---------- 侧栏 ---------- */
.sidebar-column { position: relative; }
.sidebar-sticky-ad { margin-bottom: 18px; }
.sidebar-ad-content, .sticky-ad-content {
    background: #fff;
    border: 1px solid var(--border-light);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    padding: 14px;
    font-size: 13px;
    position: relative;
    box-shadow: var(--shadow-sm);
}
.sidebar-ad-badge, .ad-badge {
    font-size: 10px;
    color: var(--text-light);
    border: 1px solid var(--border);
    padding: 1px 7px;
    border-radius: var(--radius-full);
    margin-right: 8px;
    vertical-align: 1px;
}
.sidebar-ad-text { font-weight: 600; display: inline-block; }
.sidebar-ad-desc { color: var(--text-sub); font-size: 12px; margin-top: 4px; white-space: pre-line; }
.sidebar-ad-link, .sticky-ad-link { display: block; color: var(--text-main); }
.sidebar-ad-link:hover { color: var(--primary); }
.sidebar-ad-close {
    position: absolute;
    right: 8px; top: 8px;
    width: 20px; height: 20px;
    border-radius: 50%;
    border: none;
    background: var(--bg-main);
    color: var(--text-light);
    font-size: 11px;
    cursor: pointer;
    display: grid;
    place-items: center;
}
.sidebar-ad-close:hover { color: var(--text-main); }

.contact-item { display: flex; gap: 13px; padding: 11px 0; border-bottom: 1px dashed var(--border-light); }
.contact-item:last-child { border-bottom: none; }
.contact-item .icon {
    width: 42px; height: 42px;
    display: grid;
    place-items: center;
    font-size: 19px;
    border-radius: 12px;
    background: var(--primary-soft);
    flex-shrink: 0;
}
.contact-item .info h4 { font-size: 12.5px; color: var(--text-light); font-weight: 500; }
.contact-item .info strong { font-size: 14px; color: var(--text-main); word-break: break-all; }

.work-time { display: flex; justify-content: space-between; padding: 8px 0; font-size: 13.5px; border-bottom: 1px dashed var(--border-light); }
.work-time:last-child { border-bottom: none; }
.work-day { color: var(--text-sub); }
.work-hours { font-weight: 600; }

.faq-list { display: flex; flex-direction: column; gap: 4px; }
.faq-item { padding: 10px 0; border-bottom: 1px dashed var(--border-light); }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-size: 13.5px; font-weight: 600; margin-bottom: 3px; }
.faq-q::before { content: 'Q'; color: #fff; background: var(--grad); font-size: 10px; padding: 2px 6px; border-radius: 6px; margin-right: 8px; font-weight: 700; }
.faq-a { font-size: 13px; color: var(--text-sub); padding-left: 2px; }

.social-links { display: flex; flex-wrap: wrap; gap: 8px; }
.social-link {
    font-size: 12.5px;
    color: var(--text-sub);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    transition: var(--transition);
}
.social-link:hover { color: var(--primary); border-color: var(--primary); background: var(--primary-soft); }

.requirement-list { list-style: none; }
.requirement-list li { font-size: 13px; color: var(--text-sub); padding: 5px 0; }
.requirement-list li::before { content: '◆'; color: var(--primary); font-size: 9px; margin-right: 9px; vertical-align: 2px; }

.value-list { list-style: none; }
.value-list li { font-size: 13px; color: var(--text-sub); padding: 6px 0; border-bottom: 1px dashed var(--border-light); }
.value-list li:last-child { border-bottom: none; }

.hotline {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--grad);
    border-radius: var(--radius-lg);
    padding: 18px;
    color: #fff;
    box-shadow: 0 10px 24px -10px var(--primary);
}
.hotline-icon { font-size: 26px; }
.hotline-desc { font-size: 12px; opacity: .85; }
.hotline-number { font-size: 20px; font-weight: 800; letter-spacing: .02em; }
.sidebar-card.highlight { background: linear-gradient(180deg, var(--bg-card), var(--bg-main)); }

/* ---------- 案例链接 / 友链 ---------- */
.links-categories { display: flex; flex-direction: column; gap: 26px; }
.links-category {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-sm);
}
.links-category > h3 { font-size: 16px; margin-bottom: 16px; }
.links-category > h3::before {
    content: '';
    display: inline-block;
    width: 4px; height: 14px;
    border-radius: 2px;
    background: var(--grad);
    margin-right: 9px;
    vertical-align: -2px;
}
.links-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.friend-link {
    display: flex;
    gap: 11px;
    align-items: center;
    background: var(--bg-main);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 13px 14px;
    transition: var(--transition);
}
.friend-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--primary); background: #fff; }
.friend-icon {
    width: 40px; height: 40px;
    display: grid;
    place-items: center;
    font-size: 18px;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    flex-shrink: 0;
}
.friend-name { font-size: 13.5px; font-weight: 600; color: var(--text-main); }
.friend-desc { font-size: 12px; color: var(--text-sub); }
.new-links { display: flex; flex-wrap: wrap; gap: 8px; }
.new-link-item {
    font-size: 12.5px;
    color: var(--text-sub);
    background: var(--bg-main);
    border: 1px solid var(--border-light);
    padding: 6px 13px;
    border-radius: var(--radius-full);
    transition: var(--transition);
}
.new-link-item:hover { color: var(--primary); border-color: var(--primary); background: #fff; }

/* ---------- 投资合作 ---------- */
.investment-section {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}
.investment-header { text-align: center; padding-bottom: 22px; border-bottom: 1px solid var(--border-light); margin-bottom: 22px; }
.investment-header h3 { font-size: 20px; font-weight: 800; }
.investment-header p { color: var(--text-sub); font-size: 14px; margin-top: 6px; }
.investment-header img { margin-top: 16px; max-height: 90px; }
.invest-desc { text-align: center; }
.invest-tags { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.invest-tag {
    font-size: 12px;
    color: var(--primary);
    background: var(--primary-soft);
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-weight: 600;
}
.invest-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 16px; }
.invest-option {
    background: var(--bg-main);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 20px 18px;
    transition: var(--transition);
    text-align: center;
}
.invest-option:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); background: #fff; }
.invest-option h4 { font-size: 15.5px; color: var(--primary); margin-bottom: 6px; }
.invest-option p { font-size: 13px; color: var(--text-sub); }

.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 18px 0 6px; }
.process-step {
    text-align: center;
    padding: 18px 12px;
    background: var(--bg-main);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
}
.step-num {
    width: 34px; height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: var(--grad);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 8px;
    box-shadow: 0 6px 14px -6px var(--primary);
}
.step-text { display: block; font-size: 13.5px; font-weight: 600; }

.case-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.case-stat {
    text-align: center;
    background: var(--bg-main);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 16px 10px;
}
.stat-num { font-size: 22px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { font-size: 12px; color: var(--text-sub); margin-top: 2px; }

/* ---------- 联系表单 ---------- */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-main); margin-bottom: 7px; }
.form-input, .form-textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    color: var(--text-main);
    background: var(--bg-input);
    outline: none;
    transition: var(--transition);
}
.form-input:focus, .form-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3.5px var(--primary-soft);
}
.form-textarea { min-height: 110px; resize: vertical; }
.captcha-row { display: flex; gap: 10px; align-items: stretch; }
.captcha-row .form-input { flex: 1; }
.captcha-display {
    min-width: 108px;
    display: grid;
    place-items: center;
    background: var(--primary-soft);
    border: 1.5px dashed var(--primary);
    border-radius: 10px;
    font-family: 'Consolas', monospace;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 5px;
    color: var(--primary);
    cursor: pointer;
    user-select: none;
    padding: 0 10px;
}
.form-message { display: none; margin-top: 14px; padding: 12px 16px; border-radius: 10px; font-size: 13.5px; white-space: pre-line; }
.form-message-success { display: block; background: #ecfdf3; color: #15803d; border: 1px solid #bbf7d0; }
.form-message-error { display: block; background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }

/* ---------- 右下角广告位 ---------- */
.bottom-right-ad {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: var(--grad);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    max-width: 260px;
}
.bottom-right-ad-content { padding: 16px; text-align: center; position: relative; }
.bottom-right-ad-badge {
    background: rgba(0, 0, 0, .18);
    color: rgba(255, 255, 255, .85);
    font-size: 10px;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    position: absolute;
    bottom: 7px; right: 8px;
}
.bottom-right-ad-link { display: block; color: #fff; font-size: 13px; font-weight: 500; line-height: 1.6; }
.bottom-right-ad-link:hover { color: #fff; }
.bottom-right-ad-close {
    position: absolute;
    right: 7px; top: 7px;
    width: 22px; height: 22px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .22);
    color: #fff;
    font-size: 11px;
    cursor: pointer;
    display: grid;
    place-items: center;
}
.bottom-right-ad-close:hover { background: rgba(255, 255, 255, .4); }

/* ---------- 页脚 ---------- */
.footer {
    background: #0b1526;
    color: #94a3b8;
    margin-top: 30px;
}
.footer-grid {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 46px 24px 34px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 34px;
}
.footer-col h4 {
    color: #fff;
    font-size: 14.5px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 26px; height: 3px;
    border-radius: 2px;
    background: var(--grad);
}
.footer-col p { font-size: 13px; line-height: 1.9; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul a, .footer-links a {
    color: #94a3b8;
    font-size: 13px;
    transition: var(--transition);
}
.footer-col ul a:hover, .footer-links a:hover { color: #fff; padding-left: 3px; }
.footer-contact li { display: flex; gap: 8px; font-size: 13px; }
.footer-contact li span.ic { flex-shrink: 0; }
.footer-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 12px;
}
.footer-brand::before {
    content: '';
    width: 9px; height: 19px;
    border-radius: 3px;
    background: var(--grad);
}
.footer-bottom { border-top: 1px solid rgba(148, 163, 184, .16); }
.footer-bottom-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12.5px;
}
.footer-bottom-inner p { color: #64748b; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }

/* ========================================================
   404 页面
   ======================================================== */
.error-page { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg-main); }
.error-header {
    background: rgba(255, 255, 255, .9);
    border-bottom: 1px solid var(--border-light);
    padding: 0 24px;
    height: var(--header-height);
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}
.error-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 56px 24px 40px;
    position: relative;
    overflow: hidden;
}
.error-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 280px at 80% 0%, var(--primary-soft), transparent 65%),
        radial-gradient(500px 260px at 10% 100%, var(--primary-soft), transparent 60%);
    pointer-events: none;
}
.error-content { position: relative; }
.error-code {
    font-size: clamp(88px, 16vw, 150px);
    font-weight: 900;
    line-height: 1;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: .04em;
    filter: drop-shadow(0 16px 30px rgba(15, 23, 42, .18));
}
.error-title { font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin: 10px 0 12px; }
.error-message {
    font-size: 14.5px;
    color: var(--text-sub);
    max-width: 560px;
    margin: 0 auto 30px;
}
.error-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.error-suggestions {
    position: relative;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 28px;
    max-width: 920px;
    width: 100%;
    margin-top: 44px;
    text-align: left;
}
.error-suggestions h3 { font-size: 17px; margin-bottom: 18px; text-align: center; }
.suggestions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.suggestion-card {
    background: var(--bg-main);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 20px 18px;
    transition: var(--transition);
}
.suggestion-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--primary); background: #fff; }
.suggestion-card .s-icon {
    width: 44px; height: 44px;
    display: grid;
    place-items: center;
    font-size: 21px;
    border-radius: 12px;
    background: var(--primary-soft);
    margin-bottom: 12px;
}
.suggestion-card h4 { color: var(--text-main); margin-bottom: 5px; font-size: 14.5px; }
.suggestion-card p { color: var(--text-sub); font-size: 12.5px; margin-bottom: 10px; }
.suggestion-link { color: var(--primary); font-weight: 600; font-size: 13px; }
.error-footer { text-align: center; padding: 26px 24px 30px; font-size: 12.5px; color: var(--text-light); }
.error-footer a { color: var(--text-sub); }
.error-footer a:hover { color: var(--primary); }

/* 404 页广告位 */
.error-top-ad {
    background: var(--grad);
    color: #fff;
    padding: 10px 16px;
    text-align: center;
    position: relative;
    z-index: 10;
}
.error-top-ad-content { max-width: 1000px; margin: 0 auto; display: flex; align-items: center; }
.error-top-ad-text { flex: 1; font-size: 13px; }
.error-top-ad-link { color: #fff; }
.error-top-ad-close {
    width: 24px; height: 24px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .22);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 12px;
    flex-shrink: 0;
}
.error-top-ad-close:hover { background: rgba(255, 255, 255, .4); }
.error-bottom-ad {
    position: fixed;
    bottom: 20px; right: 20px;
    z-index: 1000;
    background: var(--grad);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover);
    max-width: 240px;
    overflow: hidden;
}
.error-bottom-ad-content { padding: 14px; text-align: center; position: relative; }
.error-bottom-ad-badge {
    position: absolute;
    bottom: 6px; right: 8px;
    font-size: 10px;
    background: rgba(0, 0, 0, .18);
    color: rgba(255, 255, 255, .85);
    padding: 2px 8px;
    border-radius: var(--radius-full);
}
.error-bottom-ad-link { display: block; color: #fff; font-size: 13px; font-weight: 500; }
.error-bottom-ad-close {
    position: absolute;
    right: 6px; top: 6px;
    width: 20px; height: 20px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .22);
    color: #fff;
    font-size: 11px;
    cursor: pointer;
    display: grid;
    place-items: center;
}
.error-bottom-ad-close:hover { background: rgba(255, 255, 255, .4); }
