/* 子页面专用样式 */

/* 页面横幅 */
.page-banner {
    margin-top: 120px;
    background: linear-gradient(135deg, #1e9be6 0%, #0d3a7a 100%);
    padding: 80px 0;
    color: #ffffff;
    text-align: center;
}

.page-banner-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}

.page-banner-content p {
    font-size: 20px;
    margin-bottom: 24px;
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.8;
}

.breadcrumb a {
    color: #ffffff;
    transition: var(--transition);
}

.breadcrumb a:hover {
    opacity: 0.7;
}

.breadcrumb span {
    color: #ffffff;
}

.breadcrumb .current {
    opacity: 1;
    font-weight: 600;
}

/* 主要内容区域 */
.main-content {
    padding: 80px 0;
}

/* 介绍区域 */
.intro-section {
    padding: 60px 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
}

.intro-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 24px;
}

.feature-list {
    margin: 24px 0;
}

.feature-list li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    color: var(--text-light);
    font-size: 15px;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
    font-size: 18px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.intro-image img {
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: auto;
}

/* 货币对卡片区域 */
.forex-pairs-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.pairs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.pair-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.pair-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.pair-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-color);
}

.pair-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
}

.pair-type {
    font-size: 12px;
    padding: 4px 12px;
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 12px;
    font-weight: 600;
}

.pair-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.pair-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.pair-stat .label {
    color: var(--text-light);
    font-size: 14px;
}

.pair-stat .value {
    color: var(--text-color);
    font-weight: 600;
    font-size: 16px;
}

.pair-card .btn {
    width: 100%;
    display: block;
    text-align: center;
}

/* 优势区域 */
.advantages-section {
    padding: 80px 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.advantage-card {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.advantage-icon {
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-color);
}

.advantage-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* 页面专用CTA */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e9be6 0%, #0d3a7a 100%);
    color: #ffffff;
    text-align: center;
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.cta-buttons {
    justify-content: center;
}

.cta-section .btn-outline {
    border-color: #ffffff;
    color: #ffffff;
}

.cta-section .btn-outline:hover {
    background-color: #ffffff;
    color: var(--primary-color);
}

/* ================================
   交易平台页面专用样式（MT4/MT5等）
   ================================ */
.platform-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.platform-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.platform-feature-card {
    background-color: var(--bg-white);
    padding: 32px 24px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    text-align: center;
}

.platform-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.platform-feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    background: linear-gradient(135deg, #1e9be6 0%, #0d3a7a 100%);
    color: #ffffff;
}

.platform-feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-color);
}

.platform-feature-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.platform-download-section {
    padding: 60px 0;
    background-color: var(--bg-white);
}

.platform-download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.platform-download-card {
    padding: 32px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.platform-download-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(30, 155, 230, 0.2);
}

.platform-download-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-color);
}

.platform-download-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
}

/* ================================
   贵金属/能源/指数产品页面专用样式
   ================================ */
.products-table-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.products-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.products-table thead {
    background: linear-gradient(135deg, #1e9be6 0%, #0d3a7a 100%);
    color: #ffffff;
}

.products-table th {
    padding: 16px;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
}

.products-table td {
    padding: 16px;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}

.products-table tbody tr:hover {
    background-color: #f0f8ff;
}

.products-table tbody tr:last-child td {
    border-bottom: none;
}

/* ================================
   计算器工具页面专用样式
   ================================ */
.calculator-container {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.calculator-wrapper {
    max-width: 800px;
    margin: 40px auto 0;
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.calculator-form {
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.calculator-result {
    padding: 24px;
    background-color: #f0f8ff;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.calculator-result h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.calculator-result p {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.6;
}

/* ================================
   经济日历页面专用样式
   ================================ */
.calendar-container {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.calendar-filters {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.calendar-filter-btn {
    padding: 10px 20px;
    background-color: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.calendar-filter-btn:hover,
.calendar-filter-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

.calendar-table {
    width: 100%;
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.calendar-table table {
    width: 100%;
    border-collapse: collapse;
}

.calendar-table th {
    background: linear-gradient(135deg, #1e9be6 0%, #0d3a7a 100%);
    color: #ffffff;
    padding: 16px;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
}

.calendar-table td {
    padding: 16px;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}

.calendar-table tbody tr:hover {
    background-color: #f0f8ff;
}

.impact-high {
    color: #cc0000;
    font-weight: 700;
}

.impact-medium {
    color: #ff9900;
    font-weight: 600;
}

.impact-low {
    color: #cccccc;
}

/* ================================
   关于我们/联系页面专用样式
   ================================ */
.company-info-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.company-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.company-info-card {
    background-color: var(--bg-white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.company-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.company-info-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.company-info-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.stat-card {
    text-align: center;
    padding: 32px 20px;
    background: linear-gradient(135deg, #1e9be6 0%, #0d3a7a 100%);
    color: #ffffff;
    border-radius: 12px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

/* ================================
   交易教程页面专用样式
   ================================ */
.tutorials-categories {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.tutorial-category {
    margin-bottom: 48px;
}

.tutorial-category h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-color);
}

.tutorial-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.tutorial-item {
    background-color: var(--bg-white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.tutorial-item:hover {
    border-left-color: var(--primary-color);
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.tutorial-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-color);
}

.tutorial-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ================================
   常见问题页面专用样式
   ================================ */
.faq-container {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.faq-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.faq-category {
    background-color: var(--bg-white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.faq-category:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.faq-category h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.faq-item {
    margin-bottom: 16px;
    padding: 12px;
    background-color: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-item:hover {
    background-color: #e8f4ff;
}

.faq-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.faq-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ================================
   步骤说明页面专用样式
   ================================ */
.steps-section {
    padding: 60px 0;
    background-color: var(--bg-white);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.step-item {
    background-color: var(--bg-white);
    padding: 40px 32px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
    position: relative;
}

.step-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.step-number {
    font-size: 64px;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.15;
    position: absolute;
    top: 20px;
    right: 32px;
}

.step-item h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-color);
}

.step-item p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ================================
   信息展示卡片页面专用样式
   ================================ */
.info-cards-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.info-card {
    background-color: var(--bg-white);
    padding: 32px 24px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    text-align: center;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.info-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    background: linear-gradient(135deg, #f0f8ff 0%, #e0f0ff 100%);
}

.info-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-color);
}

.info-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ================================
   响应式调整补充
   ================================ */
@media screen and (max-width: 1024px) {
    .platform-features,
    .platform-download-grid,
    .company-stats,
    .faq-categories,
    .info-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tutorial-list,
    .steps-container {
        grid-template-columns: 1fr;
    }

    .products-table {
        overflow-x: auto;
    }
}

@media screen and (max-width: 768px) {
    .platform-features,
    .platform-download-grid,
    .company-info-grid,
    .tutorial-list,
    .faq-categories,
    .info-cards-grid {
        grid-template-columns: 1fr;
    }

    .company-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .calculator-wrapper {
        padding: 24px;
    }

    .calendar-filters {
        flex-direction: column;
    }

    .calendar-filter-btn {
        width: 100%;
    }
}
