/* ==========================================
   聚隆基金 - 主样式文件
   国际金融机构风格 - 黑白灰 + 金色点缀
   ========================================== */

/* ===== 全局重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333333;
    background: #FFFFFF;
    padding-top: 80px; /* 为固定导航栏留出空间 */
}

/* ===== 颜色变量 ===== */
:root {
    /* 主色调 */
    --color-black: #000000;
    --color-white: #FFFFFF;

    /* 灰色调 */
    --color-gray-dark: #333333;
    --color-gray-medium: #666666;
    --color-gray-light: #999999;
    --color-gray-bg: #F5F5F5;
    --color-gray-border: #E0E0E0;

    /* 金色色阶 - 从浅到深 */
    --gold-50: #F9F4E8;
    --gold-100: #EDD9A3;
    --gold-200: #E5C97D;
    --gold-300: #D4AF37;  /* 主金色 */
    --gold-400: #C9A325;
    --gold-500: #B8962E;
    --gold-600: #A68526;
}

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

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-bottom: 1px solid #E0E0E0;
    height: 80px;
    display: flex;
    align-items: center;
    z-index: 1000;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gold-300);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 400;
}

.logo-text {
    font-size: 20px;
    font-weight: 300;
    color: #000000;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #000000;
    font-size: 15px;
    font-weight: 400;
    position: relative;
    padding-bottom: 8px;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold-300);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-300);
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

@media (max-width: 768px) {
    .navbar-content {
        padding: 0 20px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 14px;
    }
}

/* ===== Hero 区域 ===== */
.hero {
    padding: 120px 0 80px;
    background: #FFFFFF;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* 背景图片样式 */
    background-image: url('/images/hero-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* background-attachment: fixed;  可选：固定背景效果 */
}

.hero h1 {
    font-size: 64px;
    font-weight: 300;
    color: #000000;
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero p {
    font-size: 24px;
    color: var(--color-gray-medium);
    font-weight: 300;
    margin-bottom: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero 遮罩层（可选，使文字在背景图上更清晰） */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.55);
    /* 调整透明度：0.85 表示 85% 白色遮罩，可根据需要调整 */
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 18px;
    }
}

/* ===== 按钮样式 ===== */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gold-300);
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--gold-500);
}

.btn-secondary {
    background: transparent;
    border: 1px solid #000000;
    color: #000000;
}

.btn-secondary:hover {
    background: #000000;
    color: #FFFFFF;
}

/* ===== 分隔区域 ===== */
.section {
    padding: 100px 0;
}

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

.section-title {
    font-size: 48px;
    font-weight: 300;
    color: #000000;
    text-align: center;
    margin-bottom: 24px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-gray-medium);
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== 数据展示 ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    margin-top: 80px;
}

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

.stat-number {
    font-size: 64px;
    font-weight: 300;
    color: #000000;
    line-height: 1;
    margin-bottom: 16px;
}

.stat-number.gold {
    color: var(--gold-300);
}

.stat-label {
    font-size: 14px;
    color: var(--color-gray-medium);
    font-weight: 400;
    letter-spacing: 1px;
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ===== 卡片样式 ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.card {
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 2px;
    padding: 40px;
    transition: all 0.3s;
}

.card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    border: 1.5px solid var(--gold-300);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--gold-300);
    stroke-width: 1.5;
    fill: none;
}

.card-title {
    font-size: 24px;
    font-weight: 400;
    color: #000000;
    margin-bottom: 16px;
}

.card-description {
    font-size: 15px;
    color: var(--color-gray-medium);
    line-height: 1.8;
}

.card-link {
    display: inline-block;
    margin-top: 24px;
    color: var(--gold-400);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.card-link:hover {
    color: var(--gold-600);
}

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

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

    .card {
        padding: 24px;
    }
}

/* ===== 分隔线 ===== */
hr,
.divider {
    border: none;
    border-top: 1px solid #E0E0E0;
    margin: 0;
}

/* ===== 特色展示 ===== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
    align-items: center;
}

.feature-content h3 {
    font-size: 36px;
    font-weight: 300;
    color: #000000;
    margin-bottom: 24px;
}

.feature-content p {
    font-size: 16px;
    color: var(--color-gray-medium);
    line-height: 1.8;
    margin-bottom: 32px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    font-size: 16px;
    color: #333333;
    padding: 16px 0;
    border-bottom: 1px solid #E0E0E0;
    display: flex;
    align-items: center;
}

.feature-list li::before {
    content: '●';
    color: var(--gold-300);
    font-size: 12px;
    margin-right: 16px;
}

.feature-visual {
    height: 400px;
    background: linear-gradient(135deg, var(--gold-50) 0%, var(--gold-100) 100%);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    font-weight: 300;
    color: var(--gold-500);
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ===== 底部 ===== */
.footer {
    background: #000000;
    color: #FFFFFF;
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 24px;
    color: var(--gold-200);
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #999999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--gold-200);
}

.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 40px;
    text-align: center;
}

.footer-bottom p {
    color: #666666;
    font-size: 14px;
    margin: 0;
}

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

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

/* ===== 响应式调整 ===== */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    hr,
    .divider {
        margin: 40px 0;
    }

    .section-title {
        font-size: 36px;
    }

    .section-subtitle {
        font-size: 16px;
    }
}

/* ===== 文章列表样式 ===== */
.article-list {
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 2px;
}

.article-item {
    padding: 40px;
    border-bottom: 1px solid #E0E0E0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.article-item:last-child {
    border-bottom: none;
}

.article-item h3 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 10px;
    color: #000000;
}

.article-item p {
    font-size: 14px;
    color: #999999;
    margin: 0;
}

.article-link {
    padding: 8px 20px;
    border: 1px solid var(--gold-400);
    color: var(--gold-400);
    font-size: 14px;
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.3s;
}

.article-link:hover {
    background: var(--gold-400);
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .article-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

/* ===== 表单样式 ===== */
.form-container {
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 2px;
    padding: 50px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 10px;
    color: #000000;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #E0E0E0;
    border-radius: 2px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold-300);
}

.form-submit {
    width: 100%;
    padding: 16px;
    background: var(--gold-300);
    color: white;
    border: none;
    border-radius: 2px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: background 0.3s;
}

.form-submit:hover {
    background: var(--gold-500);
}

@media (max-width: 768px) {
    .form-container {
        padding: 30px;
    }
}

/* ===== 主内容区域 ===== */
main {
    background: #FFFFFF;
}

/* ===== 页面内容样式 ===== */
.page-content {
    background: #FFFFFF;
    padding: 80px 0;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-wrapper h1 {
    font-size: 56px;
    font-weight: 300;
    color: #000000;
    text-align: center;
    margin-bottom: 60px;
    line-height: 1.2;
}

.content-wrapper h2 {
    font-size: 42px;
    font-weight: 300;
    color: #000000;
    margin-top: 100px;
    margin-bottom: 40px;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #E0E0E0;
}

.content-wrapper h3 {
    font-size: 28px;
    font-weight: 400;
    color: #000000;
    margin-top: 60px;
    margin-bottom: 20px;
}

.content-wrapper h4 {
    font-size: 20px;
    font-weight: 400;
    color: #D4AF37;
    margin-top: 40px;
    margin-bottom: 15px;
}

.content-wrapper p {
    font-size: 16px;
    line-height: 1.8;
    color: #666666;
    margin-bottom: 20px;
}

.content-wrapper hr {
    border: none;
    border-top: 1px solid #E0E0E0;
    margin: 80px 0;
}

@media (max-width: 768px) {
    .content-wrapper h1 {
        font-size: 40px;
    }

    .content-wrapper h2 {
        font-size: 32px;
    }

    .content-wrapper h3 {
        font-size: 24px;
    }

    .page-content {
        padding: 40px 0;
    }
}

/* ===== 移除所有默认样式影响 ===== */
section {
    background: #FFFFFF;
}

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

/* 确保内容不被限制 */
.content {
    max-width: 100%;
}
