/* 全局变量 */
:root {
    --gold-primary: #e4b860;
    --gold-dark: #b8860b;
    --bg-light: #f9f7f3;
    --text-dark: #333333;
    --text-light: #666666;
    --danger-color: #dc3545;
}

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

body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    color: var(--text-dark);
    background-color: #fff;
    line-height: 1.6;
}

/* 导航栏样式 */
.header-nav {
    background-color: #222;
    padding: 15px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo a {
    color: var(--gold-primary);
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
}
.nav-menu {
    display: flex;
    list-style: none;
}
.nav-menu li {
    margin-left: 30px;
}
.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}
.nav-menu a:hover {
    color: var(--gold-primary);
}
.mobile-toggle {
    display: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

/* 首屏区域样式 */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url("https://picsum.photos/1920/600?gold=1");
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: #fff;
    text-align: center;
}
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.hero-section h1 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
}
.hero-section p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #eee;
}
.btn-gold {
    background-color: var(--gold-primary);
    color: #222;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    display: inline-block;
}
.btn-gold:hover {
    background-color: var(--gold-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* 通用区块样式 */
.section {
    padding: 80px 0;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}
.section-title h2 {
    font-size: 30px;
    font-weight: 700;
    color: var(--text-dark);
}
.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--gold-primary);
    margin: 20px auto;
}

/* 开户渠道卡片样式 */
.knowledge-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.knowledge-card {
    background-color: var(--bg-light);
    border-radius: 10px;
    padding: 30px;
    transition: transform 0.3s;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.knowledge-card:hover {
    transform: translateY(-10px);
}
.card-icon {
    font-size: 36px;
    color: var(--gold-dark);
    margin-bottom: 20px;
}
.knowledge-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
}
.knowledge-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}
.card-link {
    color: var(--gold-dark);
    text-decoration: none;
    font-weight: 600;
}
.card-link:hover {
    color: var(--gold-primary);
    text-decoration: underline;
}

/* 开户流程样式 */
.process-item {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
}
.process-number {
    width: 40px;
    height: 40px;
    background-color: var(--gold-primary);
    color: #222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 20px;
    flex-shrink: 0;
}
.process-text h4 {
    font-size: 18px;
    margin-bottom: 10px;
}
.process-text p {
    color: var(--text-light);
}

/* 风险提示区样式 */
.risk-section {
    background-color: #f0f0f0;
}
.risk-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.risk-item {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}
.risk-icon {
    font-size: 24px;
    color: var(--danger-color);
    margin-right: 15px;
    margin-top: 5px;
}
.risk-text h4 {
    font-size: 18px;
    margin-bottom: 10px;
}
.risk-text p {
    color: var(--text-light);
}

/* 页脚样式 */
.footer {
    background-color: #222;
    color: #fff;
    padding: 60px 0 30px;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}
.footer-col h3 {
    color: var(--gold-primary);
    font-size: 18px;
    margin-bottom: 20px;
}
.footer-col ul {
    list-style: none;
    padding: 0;
}
.footer-col li {
    margin-bottom: 10px;
}
.footer-col a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-col a:hover {
    color: var(--gold-primary);
}
.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #444;
    color: #999;
    font-size: 14px;
}

/* 响应式适配（移动端SEO优化） */
@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: #222;
        padding: 20px;
        text-align: center;
    }
    .nav-menu li {
        margin: 10px 0;
    }
    .hero-section h1 {
        font-size: 28px;
    }
    .hero-section p {
        font-size: 16px;
    }
    .section-title h2 {
        font-size: 24px;
    }
    .process-item {
        flex-direction: column;
    }
    .process-number {
        margin-bottom: 10px;
    }
}


/* 关键词落地页整体样式 - 调整为黄色系主色调 */
#keyword-section {
    background-color: #f8f9fa; /* 浅黄背景，贴合黄色主调 */
}

/* 区块标题样式 */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #212529;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

/* 标题下方装饰线 - 改为金黄色 */
.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background-color: #f59e0b; /* 主色调：金黄色 */
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

/* 关键词卡片容器间距优化 */
#keyword-cards {
    margin-top: 1rem;
}

/* 核心卡片样式 */
.feature-card {
    border: 1px solid #f3e8c6; /* 浅黄边框 */
    border-radius: 8px;
    transition: all 0.3s ease; /* 过渡动画，提升交互体验 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
}

/* 卡片悬浮效果 - 边框改为主色调 */
.feature-card:hover {
    transform: translateY(-5px); /* 轻微上移 */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* 加深阴影 */
    border-color: #f59e0b;
}

/* 卡片内标题样式 */
.feature-card h5 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #fef3c7; /* 浅黄分隔线 */
}

/* 卡片内描述文本样式 */
.feature-card p {
    font-size: 0.95rem;
    color: #495057;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1; /* 让文本区域占满剩余空间，按钮始终在底部 */
}

/* 自定义按钮样式 - 改为金黄色系 */
.btn-primary-custom {
    background-color: #e4b860; /* 主色调：金黄色 */
    border-color: #e4b860;
    color: #000000;
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s ease;
}

/* 按钮悬浮效果 - 加深黄色 */
.btn-primary-custom:hover {
    background-color: #f59e0b; /* 深金黄色 */
    border-color: #f59e0b;
    color: #000000;
}

/* 加载失败提示样式 */
.text-danger {
    font-size: 1rem;
    padding: 2rem 0;
}

/* 响应式适配 - 小屏幕（手机）优化 */
@media (max-width: 767.98px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .feature-card h5 {
        font-size: 1.1rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
    
    .btn-primary-custom {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }
}

/* 响应式适配 - 超小屏幕优化 */
@media (max-width: 575.98px) {
    #keyword-section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .feature-card {
        padding: 1.5rem !important;
    }
}