/* *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= CSS变量定义 *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= */
:root {
    /* 主色调 - 深蓝金色风格 */
    --primary-color: #1a365d;
    --primary-dark: #0f2341;
    --primary-light: #2c5282;
    
    /* 强调色 - 金色 */
    --accent-color: #d4a853;
    --accent-dark: #b8942f;
    --accent-light: #e6c068;
    
    /* 辅助色 */
    --success-color: #38a169;
    --warning-color: #dd6b20;
    --danger-color: #e53e3e;
    --info-color: #3182ce;
    
    /* 中性色 */
    --text-dark: #1a202c;
    --text-gray: #4a5568;
    --text-light: #718096;
    --text-muted: #a0aec0;
    
    /* 背景色 */
    --bg-white: #ffffff;
    --bg-light: #f7fafc;
    --bg-gray: #edf2f7;
    --bg-dark: #1a202c;
    
    /* 边框色 */
    --border-light: #e2e8f0;
    --border-gray: #cbd5e0;
    
    /* 阴影 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* 圆角 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    
    /* 过渡 */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* 字体 */
    --font-sans: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    --font-serif: 'Georgia', serif;
    
    /* 字体大小系统 */
    --text-xs: 0.75rem;      /* 12px - 次要信息 */
    --text-sm: 0.875rem;     /* 14px - 小号 */
    --text-base: 1rem;       /* 16px - 正文 */
    --text-lg: 1.125rem;     /* 18px - 大号正文 */
    --text-xl: 1.25rem;      /* 20px - 小标题 */
    --text-2xl: 1.5rem;      /* 24px - 标题 */
    --text-3xl: 2rem;        /* 32px - 大标题 */
    --text-4xl: 2.5rem;      /* 40px - 页面标题 */
    --text-5xl: 3rem;        /* 48px - 超大标题 */
    
    /* 行高系统 */
    --leading-tight: 1.25;
    --leading-normal: 1.6;
    --leading-relaxed: 1.8;
}

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

html {
    scroll-behavior: smooth;
    font-size: var(--text-base);
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
    color: var(--accent-color);
}

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

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= 容器 *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-fluid {
    width: 100%;
    padding: 0 1rem;
}

/* *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= 导航栏 *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
}

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

.navbar-brand {
    display: flex;
    
    align-items: center;
    gap: 10px;
}

.navbar-brand .logo {
    width: 40px;
    height: 40px;
}

.navbar-brand .brand-text {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--primary-color);
}

.navbar-brand .brand-text span {
    color: var(--accent-color);
}

.navbar-menu {
    display: flex;
    
    align-items: center;
    gap: 2rem;
}

.navbar-menu a {
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--text-gray);
    padding: 0.5rem 0;
    position: relative;
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width var(--transition-normal);
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
    width: 100%;
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: var(--primary-color);
}

.navbar-actions {
    display: flex;
    
    align-items: center;
    gap: 1rem;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.navbar-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

/* 移动端导航 */
@media (max-width: 768px) {
    .navbar-container {
        justify-content: space-between;
    }
    
    .navbar-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
        z-index: 999;
    }
    
    .navbar-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .navbar-menu a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid var(--border-light);
    }
    
    .navbar-toggle {
        display: flex;
        margin-left: 0.5rem;
    }
    
    .navbar-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .navbar-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .navbar-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .navbar-actions {
        gap: 0.5rem;
    }
}

/* *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= 按钮 *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--bg-white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: var(--bg-white);
}

.btn-accent:hover {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent-color));
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--bg-white);
}

.btn-white {
    background: var(--bg-white);
    color: var(--primary-color);
}

.btn-white:hover {
    background: var(--bg-gray);
    color: var(--primary-color);
}

.btn-sm {
    min-height: auto;
    max-height: 30px;
    line-height: 1.1;
    padding: 0.35rem 0.7rem;
    font-size: var(--text-xs);
}
.btn-lg {
    padding: 1rem 2rem;
    font-size: var(--text-lg);
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
}

/* *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= Hero区域 *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width*='60' height*='60' viewBox*='0 0 60 60' xmlns*='http://www.w3.org/2000/svg'%3E%3Cg fill*='none' fill-rule*='evenodd'%3E%3Cg fill*='%23ffffff' fill-opacity*='0.03'%3E%3Cpath d*='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--bg-white);
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    margin-bottom: 1.5rem;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
    fill: var(--accent-color);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-actions {
    
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
}

.hero-stat-label {
    font-size: var(--text-base);
    opacity: 0.8;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
}

/* *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= 区块标题 *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= */
.section {
    padding: 5rem 0;
}

.section-gray {
    background: var(--bg-gray);
}

.section-dark {
    background: var(--bg-dark);
    color: var(--bg-white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-label {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(212, 168, 83, 0.1);
    color: var(--accent-color);
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.section-dark .section-label {
    background: rgba(212, 168, 83, 0.2);
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-dark .section-title {
    color: var(--bg-white);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--text-gray);
    line-height: 1.7;
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= 基金卡片 *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= */
.fund-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.fund-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-light);
}

.fund-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
}

.fund-card-header {
    position: relative;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--bg-white);
    min-height: 130px;
}

.fund-card-header .fund-type {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--accent-color);
    color: var(--bg-white);
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
    margin-left: 0.5rem;
}

.fund-card-header .fund-name {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: 0.25rem;
    margin-top: 0.5rem;
    margin-left: 1rem;
}

.fund-card-header .fund-code {
    font-size: var(--text-sm);
    opacity: 0.8;
    position: relative;
    margin-left: 1rem;
}

.fund-card-header .fund-badges {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    
    gap: 0.5rem;
}

.fund-card-header .fund-badge {
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: var(--text-xs);
    font-weight: 600;
}

.fund-badge-new {
    background: #38a169;
}

.fund-badge-recommended {
    background: #3182ce;
}

.fund-badge {
    padding: 0.2rem 0.5rem;
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.fund-badge-new {
    background: var(--danger-color);
    color: var(--bg-white);
}

.fund-badge-recommended {
    background: var(--accent-color);
    color: var(--bg-white);
}

.fund-card-body {
    padding: 1.5rem;
}

.fund-nav-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.fund-nav-item {
    text-align: center;
    padding: 1rem;
    background: var(--bg-gray);
    border-radius: var(--radius-md);
}

.fund-nav-label {
    font-size: var(--text-sm);
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.fund-nav-value {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-dark);
}

.fund-nav-value.positive {
    color: var(--danger-color);
}

.fund-nav-value.negative {
    color: var(--success-color);
}

.fund-meta {
    
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.fund-meta-item {
    padding: 0.25rem 0.5rem;
    background: var(--bg-light);
    font-size: var(--text-xs);
    color: var(--text-gray);
    border-radius: var(--radius-sm);
}

.fund-card-footer {
    
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.fund-card-footer .btn {
    flex: 1;
}

/* 基金信息列表 - 新样式 */
.fund-info-list {
    
    flex-direction: column;
    gap: 0.5rem;
}

.fund-info-row {
    
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    border-bottom: 1px dashed var(--border-light);
}

.fund-info-row:last-child {
    border-bottom: none;
}

.fund-info-label {
    font-size: var(--text-sm);
    color: var(--text-light);
    
    align-items: center;
    gap: 0.3rem;
}

.fund-info-label i {
    font-size: var(--text-xs);
    color: var(--accent-color);
}

.fund-info-value {
    font-size: var(--text-sm);
    color: var(--text-dark);
    font-weight: 500;
}

/* 风险等级颜色 */
.risk-level-1 { color: #48bb78; }
.risk-level-2 { color: #68d391; }
.risk-level-3 { color: #ecc94b; }
.risk-level-4 { color: #ed8936; }
.risk-level-5 { color: #f56565; }

/* *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= 基金详情页 *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= */
.fund-detail-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--bg-white);
    padding: 8rem 0 3rem;
}

.fund-detail-title {
    
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.fund-detail-title h1 {
    font-size: var(--text-3xl);
    font-weight: 700;
}

.fund-detail-meta {
    
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.fund-detail-meta span {
    
    align-items: center;
    gap: 0.5rem;
    font-size: var(--text-base);
    opacity: 0.9;
}

.fund-detail-meta svg {
    width: 18px;
    height: 18px;
}

.fund-detail-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.fund-detail-nav-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
}

.fund-detail-nav-value {
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--accent-color);
}

.fund-detail-nav-label {
    font-size: var(--text-sm);
    opacity: 0.8;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .fund-detail-nav {
        grid-template-columns: 1fr;
    }
}

/* *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= 新闻卡片 *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.news-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

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

.news-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.75rem;
    background: var(--accent-color);
    color: var(--bg-white);
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
}

.news-card-body {
    padding: 1.5rem;
}

.news-card-date {
    font-size: var(--text-sm);
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.news-card-title {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-title:hover {
    color: var(--accent-color);
}

.news-card-summary {
    font-size: var(--text-sm);
    color: var(--text-gray);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-footer {
    
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.news-card-author {
    font-size: var(--text-sm);
    color: var(--text-light);
}

.news-card-views {
    font-size: var(--text-sm);
    color: var(--text-light);
    
    align-items: center;
    gap: 0.25rem;
}

/* *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= 关于我们 *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= */
.about-section {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 3rem;
    align-items: center;
}

.team-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.about-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
}

.about-content h2 {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.about-content h2 span {
    color: var(--accent-color);
}

.about-content p {
    font-size: var(--text-base);
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-feature {
    
    align-items: flex-start;
    gap: 1rem;
}

.about-feature-icon {
    display: flex;
    width: 50px;
    height: 50px;
    
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.about-feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--bg-white);
}

.about-feature h4 {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.about-feature p {
    font-size: var(--text-sm);
    color: var(--text-light);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .about-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .team-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Research Content Grid - responsive */
.research-content-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 768px) {
    .research-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .research-content-grid > div:last-child {
        order: 1;
    }
    .research-content-grid > div:first-child {
        order: 2;
    }
}


/* Index Principle Grid - responsive */
.index-principle-grid {
    display: grid;
    grid-template-columns: 1.75fr 0.75fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .index-principle-grid {
        grid-template-columns: 1fr;
    }
}

/* *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= 团队成员 *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.team-card-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--bg-white);
}

.team-card-body {
    padding: 1.5rem;
    text-align: center;
}

.team-card-name {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.team-card-position {
    font-size: var(--text-sm);
    color: var(--accent-color);
    font-weight: 500;
}

.team-card-bio {
    font-size: var(--text-sm);
    color: var(--text-gray);
    margin-top: 1rem;
    line-height: 1.6;
}

.team-card-social {
    
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.team-card-social a {
    width: 36px;
    height: 36px;
    
    align-items: center;
    justify-content: center;
    background: var(--bg-gray);
    border-radius: 50%;
    color: var(--text-gray);
    transition: all var(--transition-fast);
}

.team-card-social a:hover {
    background: var(--accent-color);
    color: var(--bg-white);
}

/* *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= 优势区块 *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.advantage-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.advantage-card:hover::before {
    transform: scaleX(1);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.advantage-icon {
    display: flex;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
}

.advantage-icon svg {
    width: 36px;
    height: 36px;
    color: var(--bg-white);
}

.advantage-icon .fas,
.advantage-icon .far,
.advantage-icon .fal,
.advantage-icon .fab {
    font-size: var(--text-4xl);
    color: #ffffff;
}

.advantage-title {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.advantage-desc {
    font-size: var(--text-sm);
    color: var(--text-gray);
    line-height: 1.6;
}


/* Partner Grid - 2x2 on mobile */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

@media (max-width: 768px) {
    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= 统计数据 *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= */
.stats-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--bg-white);
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stats-item {
    text-align: center;
}

.stats-value {
    font-size: var(--text-5xl);
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
}

.stats-label {
    font-size: var(--text-base);
    opacity: 0.9;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-value {
        font-size: var(--text-4xl);
    }
}

/* *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= CTA区块 *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= */
.cta-section {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    color: var(--bg-white);
    text-align: center;
}

.cta-section::before {
    content: '';
    position: absolute;
top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width*='60' height*='60' viewBox*='0 0 60 60' xmlns*='http://www.w3.org/2000/svg'%3E%3Cg fill*='%23ffffff' fill-opacity*='0.1'%3E%3Cpath d*='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: var(--text-4xl);
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: var(--text-xl);
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-buttons {
    
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= 联系表单 *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 3rem;
}

.contact-info {
    padding: 2rem;
    background: var(--primary-color);
    border-radius: var(--radius-xl);
    color: var(--bg-white);
}

.contact-info h3 {
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-info p {
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-info-item {
    
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent-color);
}

.contact-info-content h4 {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-info-content p {
    font-size: var(--text-sm);
    opacity: 0.8;
    margin-bottom: 0;
}

.contact-form {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: var(--text-base);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-md);
    background: var(--bg-white);
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.1);
}

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

@media (max-width: 768px) {
    .contact-section {
        grid-template-columns: 1fr;
    }
}

/* *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= 页脚 *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= */
.footer {
    background: var(--bg-dark);
    color: var(--bg-white);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-about h3 {
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-about h3 span {
    color: var(--accent-color);
}

.footer-about p {
    font-size: var(--text-sm);
    opacity: 0.8;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-title {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--bg-white);
}

.footer-links li {
    margin-bottom: 0.75rem;
    opacity: 0.7;
}

.footer-links li i {
    margin-right: 0.5rem;
}

.footer-links a {
    font-size: var(--text-sm);
    opacity: 0.7;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-bottom {
    padding: 1.5rem 0;
    
    justify-content: space-between;
    align-items: center;
    font-size: var(--text-sm);
    opacity: 0.7;
}

.footer-bottom-links {
    
    gap: 1.5rem;
}

.footer-bottom-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links-wrap {
        display: none;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= 面包屑 *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= */
.breadcrumb {
    
    align-items: center;
    gap: 0.5rem;
    font-size: var(--text-sm);
    color: var(--text-light);
    padding: 1rem 0;
}

.breadcrumb a {
    color: var(--text-gray);
}

.breadcrumb a:hover {
    color: var(--accent-color);
}

.breadcrumb span {
    color: var(--text-muted);
}

/* *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= 分页 *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= */
.pagination {
    
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a,
.pagination span {
    
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    font-size: var(--text-sm);
    color: var(--text-gray);
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.pagination a:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.pagination .active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--bg-white);
}

.pagination .disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= 文章内容 *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.article-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
}

.article-category {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: var(--accent-color);
    color: var(--bg-white);
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.article-title {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-meta {
    
    justify-content: center;
    gap: 2rem;
    color: var(--text-light);
    font-size: var(--text-sm);
}

.article-body {
    font-size: var(--text-lg);
    line-height: 1.8;
    color: var(--text-gray);
}

.article-body h2 {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--text-dark);
    margin: 2rem 0 1rem;
}

.article-body h3 {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--text-dark);
    margin: 1.5rem 0 1rem;
}

.article-body p {
    margin-bottom: 1rem;
}

.article-body ul,
.article-body ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-body blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid var(--accent-color);
    background: var(--bg-gray);
    font-style: italic;
}

/* *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= 动画效果 *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= 工具类 *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary-color); }
.text-accent { color: var(--accent-color); }
.text-success { color: var(--success-color); }
.text-danger { color: var(--danger-color); }
.text-muted { color: var(--text-muted); }

.bg-primary { background-color: var(--primary-color); }
.bg-accent { background-color: var(--accent-color); }
.bg-gray { background-color: var(--bg-gray); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }

.d-flex { display: flex; }
.d-grid { display: grid; }
.d-none { display: none; }
.d-block { display: block; }

.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

.w-100 { width: 100%; }

/* *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= 加载状态 *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= */
.loading {
    
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-light);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= 空状态 *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state svg {
    width: 80px;
    height: 80px;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: var(--text-xl);
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.empty-state p {
    font-size: var(--text-sm);
    color: var(--text-light);
}

/* *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= 手机App嵌入优化 *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= */
/* 为适配手机App WebView嵌入而优化的样式 */

body.app-embedded {
    /* 移除顶部安全区域留白 */
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
}

/* 固定导航栏适配iOS刘海屏 */
.navbar {
    padding-top: env(safe-area-inset-top);
    height: calc(60px + env(safe-area-inset-top));
}

.navbar-container {
    display: flex;
    height: 60px;
}

/* 隐藏头部安全区 */
.app-embedded .hero {
    padding-top: env(safe-area-inset-top);
}

/* App嵌入时隐藏导航栏（通过JS控制） */
.app-embedded .navbar.hidden {
    display: none !important;
}

.app-embedded .hero {
    min-height: auto;
    padding: 80px 0 60px;
}

/* App嵌入模式优化 */
.app-mode .navbar {
    display: none;
}

.app-mode .hero {
    padding-top: 15px;
}

.app-mode .section {
    padding: 40px 0;
}

/* 触摸友好优化 */
@media (max-width: 768px) {
    /* 增大触摸目标 */
    .btn {
        min-height: 44px;
        padding: 0.875rem 1.5rem;
    }
    
    .navbar-menu a {
        min-height: 50px;
        
        align-items: center;
    }
    
    /* 表单输入优化 */
    input[type*="text"],
    input[type*="email"],
    input[type*="tel"],
    input[type*="password"],
    input[type*="number"],
    textarea,
    select {
        min-height: 44px;
        font-size: var(--text-base); /* 防止iOS缩放 */
    }
    
    /* 表格横向滚动 */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* 卡片间距优化 */
    .fund-card,
    .news-card,
    .team-card {
        margin-bottom: 1rem;
    }
    
    /* 底部固定操作栏 */
    .fixed-bottom-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 12px 16px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        z-index: 1000;
        
        gap: 12px;
    }
    
    .fixed-bottom-bar .btn {
        flex: 1;
    }
    
    /* 返回按钮 */
    .app-back-btn {
        position: fixed;
        top: env(safe-area-inset-top);
        left: 0;
        width: 44px;
        height: 44px;
        
        align-items: center;
        justify-content: center;
        background: rgba(255,255,255,0.95);
        border-radius: 0 22px 22px 0;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        z-index: 1001;
        color: var(--primary-color);
        font-size: var(--text-lg);
    }
    
    /* 弹窗优化 */
    .modal-content {
    position: relative;
        border-radius: 16px 16px 0 0;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .modal-header {
        border-radius: 16px 16px 0 0;
    }
    
    /* 分页优化 */
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .pagination li {
        min-width: 40px;
        min-height: 40px;
    }
}

/* 超小屏幕优化 */
@media (max-width: 768px) {
    html {
        font-size: var(--text-sm);
    }
    
    .hero-title {
        font-size: var(--text-2xl);
    }
    
    .section-title {
        font-size: var(--text-2xl);
    }
    
    .card {
        padding: 1rem;
    }
}

/* 平板横屏优化 */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .hero {
        min-height: 80vh;
    }
    
    .hero-stats {
        flex-wrap: nowrap;
    }
}

/* 防止水平滚动 */
html, body {
    overflow-x: hidden;
}

/* 图片适应容器 */
img {
    max-width: 100%;
height: auto;
    object-fit: cover;
}

/* 禁用长按选择 */
.no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* 禁用触摸高亮 */
.no-highlight {
    -webkit-tap-highlight-color: transparent;
}

/* 平滑滚动 */
.smooth-scroll {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* 加载状态 */
.app-loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

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

/* 懒加载占位 */
.lazy-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* 安全区域适配 */
@supports (padding: env(safe-area-inset-top)) {
    .safe-area-pb {
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    .safe-area-pt {
        padding-top: env(safe-area-inset-top);
    }
    
    .safe-area-pl {
        padding-left: env(safe-area-inset-left);
    }
    
    .safe-area-pr {
        padding-right: env(safe-area-inset-right);
    }
}

/* *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= 弹窗样式 *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    overflow: hidden;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 950px;
    width: 95%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-header {
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    
    justify-content: space-between;
    align-items: center;
    border-radius: 16px 16px 0 0;
}

.modal-header h3 {
    margin: 0;
    font-size: var(--text-lg);
    
    align-items: center;
    gap: 0.5rem;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: var(--text-2xl);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal-body {
    padding: 1.5rem;
    max-height: calc(90vh - 60px);
    overflow-y: auto;
}


/* *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= 紧凑布局优化 - 手机端减少留白 *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= */

/* 基金/资讯筛选区域 - 上下压缩30%，左右压缩20% */
.fund-filter {
    padding: 0.7rem !important;
    gap: 0.5rem !important;
    margin-bottom: 1.4rem !important;
}

.fund-filter .btn {
    min-height: auto;
    max-height: 32px;
    line-height: 1.2;
    padding: 0.5rem 0.85rem !important;
    font-size: var(--text-sm) !important;
}

/* 导航栏按钮压缩 */
.navbar-actions .btn {
    min-height: auto;
    max-height: 34px;
    line-height: 1.1;
    font-size: var(--text-sm) !important;
    padding: 0.5rem 0.9rem !important;
    font-size: var(--text-sm) !important;
}

.navbar-actions .btn-outline {
    padding: 0.5rem 0.85rem !important;
}

.navbar-actions .btn-primary {
    padding: 0.5rem 0.9rem !important;
}

.navbar-actions .btn i {
    margin-right: 0.3rem !important;
}
    line-height: 1.4 !important;
}

/* 基金卡片压缩 */
.fund-card {
    padding: 1rem !important;
}

.fund-card-header {
    padding: 1.5rem !important;
    margin: -1rem -1rem 0.75rem !important;
    min-height: 100px !important;
}

.fund-card-header .fund-type {
    margin-bottom: 0.5rem !important;
}

.fund-card-header .fund-name {
    margin-top: 0.25rem !important;
    margin-bottom: 0.15rem !important;
}

.fund-card-footer {
    padding-top: 0.75rem !important;
    gap: 0.5rem !important;
}

/* 页面头部区域压缩 */
.fund-detail-header {
    padding-top: 70px !important;
}

.breadcrumb {
    padding: 0.5rem 0 !important;
    font-size: var(--text-sm) !important;
 color: var(--text-light);
}

/* 摘要 */
.news-item p {
 margin: 0 !important;
 font-size: var(--text-sm) !important;
 color: var(--text-gray);
 line-height: 1.5;
}

/* 去掉箭头 */
.news-item i.fa-chevron-right {
 display: none !important;
}
/* Meta row */
.news-item > div:first-child > div:last-child {
    
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}
/* Category badge */
.news-category-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    background: var(--primary-color);
    color: white;
    border-radius: 4px;
    font-size: var(--text-xs);
    font-weight: 500;
}
/* Views and date */
.news-meta-item span,
.news-views,
.news-date {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-size: var(--text-sm);
    color: var(--text-light);
}
/* Summary */
.news-item p {
    margin: 0;
    font-size: var(--text-sm);
    color: var(--text-gray);
    line-height: 1.5;
}
/* Hide arrow */
.news-item i.fa-chevron-right {
    display: none;
}
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* Header row: title left, meta right */
.news-item > div:first-child > div:first-child {
    
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

/* Title */
.news-item h3 {
    margin: 0;
    font-size: var(--text-base);
    font-weight: 600;
    line-height: 1.3;
    flex: 1;
    min-width: 60%;
}
.news-item h3 a {
    color: var(--text-dark);
    text-decoration: none;
}

/* Meta: category badge + views + date */
.news-item > div:first-child > div:last-child {
    
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* Category badge */
.news-category-badge {
    display: inline-block;
    padding: 0.1rem 0.4rem;
    background: var(--primary-color);
    color: white;
    border-radius: 3px;
    font-size: var(--text-xs);
    font-weight: 500;
}

/* Views and date */
.news-meta-item,
.news-views,
.news-date {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    font-size: var(--text-xs);
    color: var(--text-light);
}

/* Top badge */
.news-top-badge {
    display: inline-block;
    padding: 0.08rem 0.35rem;
    background: #ed8936;
    color: white;
    border-radius: 3px;
    font-size: var(--text-xs);
    font-weight: 500;
}

/* Summary */
.news-item p {
    margin: 0;
    font-size: var(--text-sm);
    color: var(--text-gray);
    line-height: 1.4;
}

/* Hide arrow */
.news-item i.fa-chevron-right {
    display: none;
}
/* ==================== News List Mobile Layout ==================== */
.news-item {
    display: block;
    padding: 0;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 0.75rem;
}
.news-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
/* Header: title + meta */
.news-header {
    
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--bg-light);
}
/* Title */
.news-header h3 {
    margin: 0;
    font-size: var(--text-base);
    font-weight: 600;
    line-height: 1.3;
    flex: 1;
    min-width: 55%;
}
.news-header h3 a {
    color: var(--text-dark);
    text-decoration: none;
}
/* Top badge */
.news-top-badge {
    display: inline-block;
    padding: 0.08rem 0.35rem;
    background: #ed8936;
    color: white;
    border-radius: 3px;
    font-size: var(--text-xs);
    font-weight: 500;
    margin-left: 0.4rem;
    vertical-align: middle;
}
/* Meta: category + views + date */
.news-meta {
    
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}
.news-meta .news-category-badge {
    display: inline-block;
    padding: 0.08rem 0.4rem;
    background: var(--primary-color);
    color: white;
    border-radius: 3px;
    font-size: var(--text-xs);
    font-weight: 500;
}
.news-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    font-size: var(--text-xs);
    color: var(--text-light);
}
/* Summary */
.news-item .news-summary {
    padding: 0.6rem 0.75rem;
    margin: 0;
    font-size: var(--text-sm);
    color: var(--text-gray);
    line-height: 1.4;
    background: white;
}

/* Research Grid - Alternate layout (for sections 2, 4: colored box on left, content on right) */
.research-grid-alt {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 768px) {
    .research-grid-alt {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .research-grid-alt > div:last-child {
        order: 1;
    }

    .research-grid-alt > div:first-child {
        order: 2;
    }

}
