/* XM开户主题 - 现代商务风格 */
/* 主配色：深蓝 + 白色 + 金色点缀 */

:root {
    --primary-blue: #001f3f;
    --secondary-blue: #003d7a;
    --accent-gold: #d4af37;
    --light-gold: #f4e5c2;
    --white: #ffffff;
    --light-gray: #f5f7fa;
    --text-dark: #1a202c;
    --text-light: #718096;
    --border-color: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* 导航栏样式 */
.navbar {
    background: var(--primary-blue);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-menu a:hover {
    color: var(--accent-gold);
}

.btn-cta {
    background: var(--accent-gold);
    color: var(--primary-blue);
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-cta:hover {
    background: var(--light-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* 移动端菜单 */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-blue);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

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

    .mobile-menu-toggle {
        display: block;
    }

    .btn-cta-mobile {
        display: block !important;
    }
}

/* Hero区域 */
.hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 4rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/xm_background_pexels_03.jpg') center/cover;
    opacity: 0.15;
    z-index: 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

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

.hero-advantages {
    list-style: none;
    margin: 2rem 0;
}

.hero-advantages li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.hero-advantages i {
    color: var(--accent-gold);
    font-size: 1.2rem;
}

.hero-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-form h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
}

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

@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
    }

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

/* 信任标识带 */
.trust-section {
    background: var(--white);
    padding: 3rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.trust-badge {
    padding: 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s;
}

.trust-badge:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.trust-badge i {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.trust-badge h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.trust-badge p {
    color: var(--text-light);
    font-size: 0.9rem;
}
#process, #accounts {
  scroll-margin-top: 80px; /* 导航栏的高度 */
}
/* 流程区域 */
.process-section {
    background: var(--light-gray);
    padding: 4rem 1.5rem;
}

.process-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.process-step {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--accent-gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.process-step i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin: 1rem 0;
}

.process-step h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.process-step .time-badge {
    display: inline-block;
    background: var(--light-gold);
    color: var(--primary-blue);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* 账户对比表 */
.accounts-section {
    background: var(--white);
    padding: 4rem 1.5rem;
}

.accounts-container {
    max-width: 1200px;
    margin: 0 auto;
}

.accounts-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.account-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.account-card.featured {
    border-color: var(--accent-gold);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.account-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.account-card h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.account-card .badge {
    background: var(--accent-gold);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.account-card .price {
    font-size: 2rem;
    color: var(--primary-blue);
    font-weight: 700;
    margin: 1rem 0;
}

.account-features {
    list-style: none;
    text-align: left;
    margin: 1.5rem 0;
}

.account-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.account-features i {
    color: var(--accent-gold);
}

/* 数据展示 */
.stats-section {
    background: var(--primary-blue);
    color: var(--white);
    padding: 4rem 1.5rem;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h2 {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-item p {
    font-size: 1.1rem;
}

/* 文章列表 */
.articles-section {
    background: var(--light-gray);
    padding: 4rem 1.5rem;
}

.articles-container {
    max-width: 1200px;
    margin: 0 auto;
}

.articles-list {
    list-style: none;
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.articles-list li {
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 5px;
    border-left: 3px solid var(--accent-gold);
    transition: all 0.3s;
}

.articles-list li:hover {
    transform: translateX(10px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.articles-list a {
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.articles-list i {
    color: var(--accent-gold);
}

/* 活动弹窗 */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    animation: fadeIn 0.3s;
}

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

.modal-content {
    background: var(--primary-blue);
    border-radius: 15px;
    max-width: 90%;
    max-height: 90%;
    position: relative;
    animation: slideIn 0.3s;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: rotate(90deg);
}

.modal-image {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

.modal-text {
    padding: 1.5rem;
    color: var(--white);
    text-align: center;
}

.modal-text h3 {
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.modal-text p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding: 0 1.5rem 1.5rem;
}

.modal-actions .btn {
    padding: 0.75rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.modal-actions .btn-primary {
    background: var(--accent-gold);
    color: var(--primary-blue);
}

.modal-actions .btn-primary:hover {
    background: var(--light-gold);
}

.modal-actions .btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.modal-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

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

@keyframes slideIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Footer */
.footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 3rem 1.5rem 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-size: 1.2rem;
     text-align: center;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
    text-align: center;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: var(--white);
}

.footer-bottom a {
    color: var(--white);
    text-decoration: none;
}

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

/* 客服悬浮球 */
.floating-support {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    cursor: pointer;
    z-index: 99;
    animation: pulse 2s infinite;
}

.floating-support i {
    color: var(--primary-blue);
    font-size: 1.5rem;
}

@keyframes pulse {
    0% {
        box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    }
    50% {
        box-shadow: 0 5px 30px rgba(212, 175, 55, 0.7);
    }
    100% {
        box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .process-steps,
    .accounts-table {
        grid-template-columns: 1fr;
    }

    .account-card.featured {
        transform: scale(1);
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .modal-content {
        max-width: 95%;
    }
}

/* 文章列表页样式 */
.page-header {
    background: var(--primary-blue);
    color: var(--white);
    padding: 3rem 1.5rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.breadcrumb {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    color: var(--light-gold);
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
}

/* 栏目单页样式 */
.about-page {
    background: var(--light-gray);
    padding: 3rem 1.5rem;
    min-height: 60vh;
}

.about-content {
    background: var(--white);
    border-radius: 10px;
    padding: 2.5rem 3rem;
    line-height: 1.8;
    color: #333;
    font-size: 1rem;
}

.about-content h1,
.about-content h2,
.about-content h3,
.about-content h4 {
    color: var(--primary-blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-content p {
    margin-bottom: 1rem;
}

.about-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.about-content a {
    color: var(--primary-blue);
    text-decoration: underline;
}

.about-content ul,
.about-content ol {
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.about-content li {
    margin-bottom: 0.5rem;
}

.article-list-page {
    background: var(--light-gray);
    padding: 3rem 1.5rem;
    min-height: 60vh;
}

.article-list-page .articles-list {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
}

.article-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.article-item a {
    flex: 1;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.article-item a:hover {
    color: var(--primary-blue);
}

.article-item span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
    margin-top: 2rem;
}

.pagination li {
    border: none;
}

.pagination a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--white);
    color: var(--primary-blue);
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.pagination a:hover,
.pagination a.active {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

/* 文章详情页样式 */
.article-detail {
    background: var(--light-gray);
    padding: 3rem 1.5rem;
}

.article-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.article-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.article-header h1 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.article-meta i {
    color: var(--accent-gold);
}

.article-body {
    line-height: 1.8;
    font-size: 1.05rem;
    color: var(--text-dark);
}

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

.article-body h2,
.article-body h3 {
    color: var(--primary-blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.related-articles {
    max-width: 900px;
    margin: 2rem auto 0;
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
}

.related-articles h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.attention {
    list-style: none;
}

.attention li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.attention a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.attention a:hover {
    color: var(--primary-blue);
}

.attention a::before {
    content: '\f138';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-gold);
}

@media (max-width: 768px) {
    .article-content {
        padding: 1.5rem;
    }

    .article-header h1 {
        font-size: 1.5rem;
    }

    .article-body {
        font-size: 1rem;
    }
}

