/* ============================================
   钦管家 qgj999.cn - 全局样式表
   专业金融保险服务网站
   ============================================ */

/* ===== CSS 变量 ===== */
:root {
    --primary: #1a3a5c;
    --primary-light: #2d5a8a;
    --primary-dark: #0f2540;
    --accent: #c8a45c;
    --accent-light: #dbb976;
    --accent-dark: #a8863e;
    --bg-light: #f7f9fc;
    --bg-card: #ffffff;
    --text-dark: #1a2332;
    --text-body: #4a5568;
    --text-muted: #8896a8;
    --border: #e2e8f0;
    --success: #2d8659;
    --warning: #d4a017;
    --danger: #c53030;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 28px rgba(0,0,0,0.12);
    --radius: 10px;
    --radius-sm: 6px;
    --radius-lg: 16px;
    --container: 1200px;
    --transition: all 0.3s ease;
}

/* ===== 重置 ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
                 "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;
    color: var(--text-body);
    background: var(--bg-light);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ===== 容器 ===== */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.container-sm {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== 顶部公告条 ===== */
.top-bar {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.75);
    font-size: 0.82rem;
    padding: 8px 0;
    text-align: center;
}

.top-bar a {
    color: var(--accent-light);
}

/* ===== 导航栏 ===== */
.navbar {
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 16px rgba(26,58,92,0.15);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-logo .logo-icon {
    width: 38px;
    height: 38px;
    background: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    font-weight: 700;
}

.nav-logo .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav-logo .logo-text .sub {
    font-size: 0.65rem;
    color: var(--accent-light);
    letter-spacing: 3px;
    font-weight: 400;
}

/* LOGO图片样式 */
.nav-logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
    border-radius: 50%;
    transition: transform 0.3s ease;
}
.nav-logo:hover .nav-logo-img {
    transform: scale(1.05);
}

/* LOGO右侧品牌文字 */
.logo-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    margin-left: 4px;
}
.logo-brand-main {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}
.logo-brand-sub {
    font-size: 0.7rem;
    color: var(--accent-light);
    letter-spacing: 2px;
    font-weight: 400;
}

/* 微信小程序按钮 */
.btn-wechat {
    background: linear-gradient(135deg, #07C160 0%, #05a350 100%);
    color: #fff;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-wechat:hover {
    background: linear-gradient(135deg, #06ad56 0%, #048a43 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(7, 193, 96, 0.3);
}
.btn-wechat .wechat-icon {
    font-size: 1.2em;
}

/* 小程序弹窗 */
.mini-program-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.mini-program-modal.active {
    display: flex;
}
.mini-program-content {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}
.mini-program-content .wechat-icon-large {
    font-size: 3.5rem;
    color: #07C160;
    margin-bottom: 16px;
}
.mini-program-content h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 12px;
}
.mini-program-content p {
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 10px;
}
.mini-program-content .mini-program-name {
    display: inline-block;
    background: #f0f9f4;
    color: #07C160;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    margin: 8px 0;
    border: 1px dashed #07C160;
}
.mini-program-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 1.6rem;
    color: var(--text-muted);
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
}
.mini-program-close:hover {
    color: var(--primary);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-menu {
    display: flex;
    gap: 4px;
    align-items: center;
}

.nav-menu a {
    color: rgba(255,255,255,0.82);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover, .nav-menu a.active {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px;
}

/* ===== 按钮通用 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200,164,92,0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn-light {
    background: #fff;
    color: var(--primary);
}

.btn-light:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-block {
    display: flex;
    width: 100%;
    justify-content: center;
}

/* ===== 区块通用 ===== */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 56px;
}

.section-title .label {
    display: inline-block;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title h2 {
    font-size: 2.1rem;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.3;
}

.section-title p {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ===== Hero 区 ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: #fff;
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(200,164,92,0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(45,90,138,0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
}

.hero-content h1 .highlight {
    color: var(--accent-light);
}

.hero-content .subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.78);
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    padding: 32px;
    width: 100%;
    max-width: 380px;
}

.hero-card .card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hero-card .card-header .icon {
    width: 44px;
    height: 44px;
    background: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.hero-card .card-header h3 {
    font-size: 1.1rem;
    color: #fff;
}

.hero-card .card-header p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
}

.hero-card .stat-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 0.9rem;
}

.hero-card .stat-row:last-child {
    border-bottom: none;
}

.hero-card .stat-row .label {
    color: rgba(255,255,255,0.65);
}

.hero-card .stat-row .value {
    color: var(--accent-light);
    font-weight: 600;
}

/* ===== 数据统计条 ===== */
.stats-bar {
    background: #fff;
    padding: 40px 0;
    box-shadow: var(--shadow-sm);
}

.stats-bar .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item .number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-item .number .unit {
    font-size: 1rem;
    color: var(--accent);
    margin-left: 4px;
}

.stat-item .desc {
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ===== 服务卡片网格 ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--accent);
    transition: height 0.4s ease;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.service-card:hover::before {
    height: 100%;
}

.service-card .icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
}

.service-card h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.service-card p {
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-card .tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.service-card .tag {
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 20px;
    background: var(--bg-light);
    color: var(--primary);
    font-weight: 500;
}

/* ===== 功能入口区 ===== */
.feature-section {
    background: #fff;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.feature-card {
    display: flex;
    gap: 24px;
    padding: 36px;
    border-radius: var(--radius);
    background: var(--bg-light);
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-card:hover {
    background: #fff;
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.feature-card .icon-box {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.feature-card .content h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.feature-card .content p {
    font-size: 0.9rem;
    color: var(--text-body);
    margin-bottom: 12px;
}

.feature-card .content .link {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.88rem;
}

.feature-card .content .link:hover {
    color: var(--accent-dark);
}

/* ===== 页面横幅 ===== */
.page-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    padding: 60px 0 50px;
    text-align: center;
}

.page-banner h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.page-banner .breadcrumb {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
}

.page-banner .breadcrumb a {
    color: var(--accent-light);
}

/* ===== 知识库卡片 ===== */
.knowledge-tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.knowledge-tab {
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    background: #fff;
    color: var(--text-body);
    border: 1px solid var(--border);
}

.knowledge-tab:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.knowledge-tab.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.knowledge-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.knowledge-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.knowledge-card .thumb {
    width: 100%;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    position: relative;
}

.knowledge-card .thumb.video { background: linear-gradient(135deg, #2d5a8a, #1a3a5c); }
.knowledge-card .thumb.doc { background: linear-gradient(135deg, #c8a45c, #a8863e); }
.knowledge-card .thumb.article { background: linear-gradient(135deg, #2d8659, #1e6041); }

.knowledge-card .thumb .play-icon {
    position: absolute;
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.knowledge-card .body {
    padding: 20px 22px 24px;
}

.knowledge-card .body .cat-tag {
    display: inline-block;
    font-size: 0.72rem;
    padding: 3px 10px;
    border-radius: 4px;
    background: var(--bg-light);
    color: var(--text-muted);
    margin-bottom: 10px;
    font-weight: 600;
}

.knowledge-card .body h3 {
    font-size: 1.02rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.knowledge-card .body p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.knowledge-card .body .meta {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    font-size: 0.78rem;
    color: var(--text-muted);
}

.knowledge-card.locked {
    position: relative;
}

.knowledge-card.locked .thumb::after {
    content: "🔒";
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #fff;
    backdrop-filter: blur(4px);
}

.knowledge-card .body .price-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 700;
    margin-right: 6px;
}

.price-tag.free {
    background: #e8f5e9;
    color: #2d8659;
}

.price-tag.vip {
    background: #fff3e0;
    color: #e65100;
}

.price-tag.paid {
    background: #e3f2fd;
    color: #1565c0;
}

/* ===== 知识库会员横幅 ===== */
.membership-banner {
    background: linear-gradient(135deg, #1a3a5c 0%, #0f2540 100%);
    border-radius: var(--radius-lg);
    padding: 32px 40px;
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    color: #fff;
}

.membership-banner .banner-content h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
    color: #fff;
}

.membership-banner .banner-content p {
    color: rgba(255,255,255,0.85);
    font-size: 0.92rem;
    margin-bottom: 0;
}

.membership-banner .banner-price {
    text-align: center;
    flex-shrink: 0;
}

.membership-banner .banner-price .price {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent);
}

.membership-banner .banner-price .unit {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

.membership-banner .banner-price .btn {
    margin-top: 12px;
    display: inline-block;
}

/* ===== 表单 ===== */
.form-section {
    background: #fff;
}

.form-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group label .required {
    color: var(--danger);
    margin-left: 2px;
}

.form-group label .hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: #fff;
    transition: var(--transition);
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,58,92,0.08);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.form-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 32px 0;
    position: relative;
}

.form-divider::after {
    content: attr(data-label);
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-light);
    padding: 0 16px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
}

.form-section-title {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 20px;
    padding-left: 14px;
    border-left: 4px solid var(--accent);
}

/* ===== 保单检视结果 ===== */
.result-section {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.result-section.show {
    display: block;
}

.result-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--accent);
}

.result-card h3 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.result-card .result-content {
    color: var(--text-body);
    line-height: 1.8;
    font-size: 0.92rem;
}

.result-card .result-content ul {
    list-style: none;
    padding: 0;
}

.result-card .result-content ul li {
    padding: 6px 0 6px 24px;
    position: relative;
}

.result-card .result-content ul li::before {
    content: '▸';
    position: absolute;
    left: 6px;
    color: var(--accent);
}

.gap-analysis {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.gap-item {
    padding: 16px;
    border-radius: var(--radius-sm);
    background: var(--bg-light);
}

.gap-item .gap-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.gap-item .gap-status {
    font-size: 1rem;
    font-weight: 700;
}

.gap-status.good { color: var(--success); }
.gap-status.warn { color: var(--warning); }
.gap-status.bad { color: var(--danger); }

/* ===== 案例卡片 ===== */
.case-filter {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.case-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.case-card .case-header {
    padding: 24px 28px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
}

.case-card .case-header .case-type {
    font-size: 0.75rem;
    color: var(--accent-light);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.case-card .case-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
}

.case-card .case-body {
    padding: 24px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-card .case-body .profile {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.case-card .case-body .profile-item {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.case-card .case-body .profile-item strong {
    color: var(--text-dark);
}

.case-card .case-body p {
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.7;
    flex: 1;
}

.case-card .case-body .case-footer {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.case-card .case-body .case-footer .tag {
    font-size: 0.78rem;
    padding: 4px 12px;
    border-radius: 4px;
    background: var(--bg-light);
    color: var(--primary);
    font-weight: 600;
}

.case-card .case-body .case-footer .link {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.85rem;
}

/* ===== 关于页面 ===== */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 32px 0 16px;
    font-weight: 700;
}

.about-content h2:first-child {
    margin-top: 0;
}

.about-content p {
    margin-bottom: 16px;
    line-height: 1.9;
}

.about-content .value-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 24px 0;
}

.about-content .value-item {
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--radius);
    border-left: 3px solid var(--accent);
}

.about-content .value-item h4 {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 8px;
}

.about-content .value-item p {
    font-size: 0.88rem;
    color: var(--text-body);
    margin: 0;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 24px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.contact-item .icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item .info h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-item .info p {
    font-size: 1.05rem;
    color: var(--text-dark);
    font-weight: 600;
    margin: 0;
}

/* ===== CTA 区 ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    text-align: center;
    padding: 70px 0;
}

.cta-section h2 {
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-section p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 32px;
}

.cta-section .hero-actions {
    justify-content: center;
}

/* ===== 页脚 ===== */
.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .nav-logo {
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.8;
    max-width: 320px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    flex-wrap: wrap;
    gap: 8px;
}

.footer-bottom a {
    color: rgba(255,255,255,0.55);
}

.footer-bottom a:hover {
    color: var(--accent-light);
}

.beian-link {
    color: rgba(255,255,255,0.6) !important;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.beian-link:hover {
    color: var(--accent-light) !important;
    text-decoration: underline;
}

/* ===== 使命愿景价值观高亮 ===== */
.highlight-text {
    font-size: 1.15rem !important;
    color: var(--primary) !important;
    font-weight: 600 !important;
    line-height: 1.8 !important;
}

/* ===== 创始人简介区域 ===== */
.founder-section {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    background: linear-gradient(135deg, #faf8f5 0%, #f5f0e8 100%);
    border: 1px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-top: 16px;
}
.founder-image {
    width: 280px;
    height: auto;
    border-radius: var(--radius);
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.founder-info h3 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 6px;
}
.founder-title {
    color: var(--accent-dark);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
}
.founder-achievements {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}
.founder-achievements li {
    padding: 6px 0;
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.7;
}
.founder-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.7;
}

/* ===== 隐私保护高亮区域 ===== */
.privacy-highlight {
    display: flex;
    gap: 24px;
    background: linear-gradient(135deg, #1a3a5c 0%, #0f2540 100%);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-top: 16px;
    color: #fff;
}
.privacy-icon {
    font-size: 3.5rem;
    flex-shrink: 0;
    opacity: 0.9;
    text-align: center;
    line-height: 1;
}
.privacy-content {
    flex: 1;
}
.privacy-bold {
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    color: var(--accent) !important;
    margin-bottom: 14px !important;
    letter-spacing: 1px;
}
.privacy-content p {
    color: rgba(255,255,255,0.85) !important;
    line-height: 1.8 !important;
    margin-bottom: 10px !important;
}
.privacy-content ul {
    list-style: none;
    padding: 0;
    margin: 12px 0;
}
.privacy-content ul li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.82);
}
.privacy-content ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* ===== 会员订阅页面 ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.pricing-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.recommended {
    border: 2px solid var(--accent);
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.recommend-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.pricing-header h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.pricing-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 4px;
}

.pricing-price .currency {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 600;
}

.pricing-price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.pricing-price .period {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.pricing-original {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: 16px;
}

.pricing-body {
    flex: 1;
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--text-body);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features .check {
    color: #2d8659;
    font-weight: 700;
}

.pricing-features .cross {
    color: #c53030;
}

.pricing-features li.disabled {
    color: var(--text-muted);
}

.pricing-footer .btn {
    width: 100%;
    text-align: center;
}

.single-purchase-info {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
}

.single-purchase-info h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.single-purchase-info p {
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 20px;
    line-height: 1.7;
}

/* 权益对比表格 */
.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.benefits-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    min-width: 600px;
}

.benefits-table th,
.benefits-table td {
    padding: 16px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.benefits-table th {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
}

.benefits-table th:first-child {
    text-align: left;
}

.benefits-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--text-dark);
}

.benefits-table tbody tr:last-child td {
    border-bottom: none;
}

.benefits-table tbody tr:hover {
    background: var(--bg-light);
}

.benefits-table .dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
}

.benefits-table .dot.yes {
    background: #e8f5e9;
    color: #2d8659;
}

.benefits-table .dot.no {
    background: #ffebee;
    color: #c53030;
}

/* 支付方式 */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.payment-card {
    position: relative;
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.payment-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 1px;
    box-shadow: var(--shadow-sm);
}

.payment-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.payment-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.payment-card h3 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.payment-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.payment-note {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 20px 24px;
    text-align: center;
}

.payment-note p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px 28px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
}

.faq-item h4 {
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.faq-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ===== 加载动画 ===== */
.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

.loading-overlay.show {
    display: flex;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loading-text {
    font-size: 0.95rem;
    color: var(--text-body);
}

/* ===== Toast 提示 ===== */
.toast {
    position: fixed;
    top: 90px;
    right: 24px;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 9998;
    animation: slideInRight 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.toast.success {
    background: var(--success);
    color: #fff;
}

.toast.error {
    background: var(--danger);
    color: #fff;
}

.toast.info {
    background: var(--primary);
    color: #fff;
}

/* ===== 模态框 ===== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15,37,64,0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 24px;
    backdrop-filter: blur(4px);
}

.modal-overlay.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal {
    background: #fff;
    border-radius: var(--radius-lg);
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    animation: fadeInUp 0.4s ease;
}

.modal-header {
    padding: 24px 28px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
}

.modal-header h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    padding: 4px 8px;
    line-height: 1;
}

.modal-body {
    padding: 28px;
}

.modal-body h4 {
    color: var(--text-dark);
    font-size: 1rem;
    margin: 20px 0 10px;
}

.modal-body h4:first-child {
    margin-top: 0;
}

.modal-body p {
    margin-bottom: 12px;
    font-size: 0.92rem;
    line-height: 1.8;
}

.modal-body .case-detail-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.modal-body .case-detail-section:last-child {
    border-bottom: none;
}

.modal-body .detail-label {
    font-size: 0.82rem;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 6px;
}

/* ===== 动画 ===== */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
    from { transform: translateX(120%); }
    to { transform: translateX(0); }
}

.fade-in {
    animation: fadeInUp 0.6s ease;
}

/* ===== 响应式 ===== */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 2.1rem;
    }

    .services-grid,
    .knowledge-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-grid,
    .case-grid {
        grid-template-columns: 1fr;
    }

    .stats-bar .container {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 56px 0;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--primary);
        flex-direction: column;
        padding: 16px;
        gap: 4px;
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-menu a {
        width: 100%;
        padding: 12px 16px;
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        padding: 60px 0 80px;
    }

    .hero-content h1 {
        font-size: 1.7rem;
    }

    .hero-content .subtitle {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .services-grid,
    .knowledge-grid {
        grid-template-columns: 1fr;
    }

    .form-row,
    .form-row-3 {
        grid-template-columns: 1fr;
    }

    .gap-analysis {
        grid-template-columns: 1fr;
    }

    .stats-bar .container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-item .number {
        font-size: 1.7rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .form-card {
        padding: 24px;
    }

    .feature-card {
        flex-direction: column;
        gap: 16px;
        padding: 28px;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .about-content .value-list {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .founder-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }
    .founder-image {
        width: 100%;
        max-width: 300px;
    }

    .privacy-highlight {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }
    .privacy-icon {
        font-size: 2.5rem;
    }

    .logo-brand-main {
        font-size: 1.05rem;
    }
    .logo-brand-sub {
        font-size: 0.6rem;
        letter-spacing: 1px;
    }
    .nav-logo-img {
        height: 36px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .pricing-card.recommended {
        transform: none;
        order: -1;
    }
    .payment-methods {
        grid-template-columns: 1fr 1fr;
    }
    .membership-banner {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
    .knowledge-card.locked .thumb::after {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
}
