/* ===== CSS变量 ===== */
:root {
    --primary: #8B0000;           /* 深红色主色 */
    --primary-dark: #6B0000;      /* 深红加深 */
    --primary-light: #B22222;     /* 浅红 */
    --primary-bg: #FFF5F5;        /* 浅红背景 */
    --text-primary: #2C2C2C;      /* 主文字 */
    --text-secondary: #666;       /* 次要文字 */
    --text-light: #999;
    --bg-white: #FFFFFF;
    --bg-gray: #F8F9FA;
    --border: #E8E8E8;
    --shadow: 0 2px 12px rgba(139, 0, 0, 0.08);
    --shadow-hover: 0 6px 24px rgba(139, 0, 0, 0.15);
    --radius: 8px;
    --radius-lg: 12px;
    --font: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
}

/* ===== 基础 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

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

/* ===== 顶部导航 ===== */
.site-header {
    background: var(--bg-white);
    border-bottom: 2px solid var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 20px;
}

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

.main-nav ul { display: flex; gap: 8px; }
.main-nav a {
    display: block;
    padding: 8px 14px;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s;
}
.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
    background: var(--primary-bg);
}

/* 子菜单 */
.has-submenu { position: relative; }
.has-submenu .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.3s;
    padding: 8px 0;
}
/* ===== 顶部导航 - 子菜单（竖列下拉） ===== */
.has-submenu { position: relative; }

.has-submenu > a .arrow {
    display: inline-block;
    font-size: 10px;
    margin-left: 4px;
    transition: transform 0.3s;
    vertical-align: middle;
}
.has-submenu:hover > a .arrow { transform: rotate(180deg); }

/* 竖列下拉菜单 */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-top: 3px solid var(--primary);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 8px 24px rgba(139, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    padding: 8px 0;
    z-index: 999;
    /* 强制竖列 */
    display: flex;
    flex-direction: column;
}
.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 每一项独占一行 */
.submenu li {
    display: block;
    width: 100%;
}
.submenu li a {
    display: block;
    width: 100%;
    padding: 11px 20px;
    border-radius: 0;
    font-size: 14px;
    color: var(--text-primary);
    white-space: nowrap;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}
.submenu li a:hover,
.submenu li a.active {
    background: var(--primary-bg);
    color: var(--primary);
    border-left-color: var(--primary);
    padding-left: 24px;
}
.submenu li a {
    display: block;
    padding: 10px 20px;
    border-radius: 0;
    font-size: 14px;
}
.submenu li a:hover {
    background: var(--primary-bg);
    color: var(--primary);
}

/* 按钮 */
.header-actions { display: flex; align-items: center; gap: 10px; }

.btn {
    display: inline-block;
    padding: 9px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
    white-space: nowrap;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-1px);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-lg { padding: 14px 36px; font-size: 17px; border-radius: 8px; }

/* QQ复制 */
.qq-copy {
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.3s;
    white-space: nowrap;
}
.qq-copy:hover { background: var(--primary-bg); }
.copy-hint { color: var(--primary); font-size: 12px; }

/* ===== Banner ===== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 100px 0;
    text-align: center;
}
.hero h1 { font-size: 42px; margin-bottom: 16px; font-weight: 700; }
.hero p { font-size: 20px; opacity: 0.9; margin-bottom: 32px; }

.page-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}
.page-banner h1 { font-size: 32px; margin-bottom: 8px; }
.page-banner p { opacity: 0.85; font-size: 16px; }

/* ===== 通用Section ===== */
.section { padding: 64px 0; }
.section:nth-child(even) { background: var(--bg-gray); }
.section-title {
    text-align: center;
    font-size: 30px;
    color: var(--primary);
    margin-bottom: 40px;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* ===== 产品卡片 ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}
.product-card {
    display: block;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s;
    color: var(--text-primary);
}
.product-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
    color: var(--text-primary);
}
.product-icon { font-size: 40px; display: block; margin-bottom: 12px; }
.product-card h3 { font-size: 18px; color: var(--primary); margin-bottom: 8px; }
.product-card p { font-size: 14px; color: var(--text-secondary); }

/* ===== 新闻卡片 ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.news-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s;
}
.news-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.news-card img { width: 100%; height: 200px; object-fit: cover; }
.news-card h3 { padding: 16px 20px 8px; font-size: 16px; line-height: 1.5; }
.news-card h3 a { color: var(--text-primary); }
.news-card h3 a:hover { color: var(--primary); }
.news-card time { display: block; padding: 0 20px 16px; font-size: 13px; color: var(--text-light); }

/* ===== 产品表格 ===== */
.product-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
    justify-content: center;
}
.product-tabs .tab {
    padding: 10px 22px;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s;
}
.product-tabs .tab:hover,
.product-tabs .tab.active {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.product-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.product-table th {
    background: var(--primary);
    color: #fff;
    padding: 14px 16px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
}
.product-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
}
.product-table tr:last-child td { border-bottom: none; }
.product-table tr:hover td { background: var(--primary-bg); }

/* ===== 优势卡片 ===== */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 32px;
}
.advantage-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    transition: all 0.3s;
}
.advantage-card:hover { border-color: var(--primary); box-shadow: var(--shadow-hover); }
.adv-icon { font-size: 36px; display: block; margin-bottom: 12px; }
.advantage-card h3 { color: var(--primary); margin-bottom: 8px; }

/* ===== 联系我们 ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}
.contact-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s;
}
.contact-card:hover { border-color: var(--primary); box-shadow: var(--shadow-hover); }
.contact-icon { font-size: 36px; display: block; margin-bottom: 12px; }
.contact-card h3 { color: var(--primary); margin-bottom: 8px; }
.contact-card p { font-size: 15px; color: var(--text-secondary); word-break: break-all; margin-bottom: 12px; }

/* ===== 文章详情 ===== */
.article-wrap { max-width: 860px; margin: 0 auto; }
.article-detail h1 { font-size: 28px; margin-bottom: 16px; line-height: 1.4; }
.article-meta { color: var(--text-light); font-size: 14px; margin-bottom: 24px; display: flex; gap: 20px; }
.article-cover { width: 100%; border-radius: var(--radius-lg); margin-bottom: 24px; }
.article-content {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-primary);
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.article-content p { margin-bottom: 16px; }
.article-back { margin-top: 40px; }

/* ===== 404 ===== */
.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
}
.error-page h1 { font-size: 100px; color: var(--primary); line-height: 1; margin-bottom: 16px; }
.error-page p { font-size: 18px; color: var(--text-secondary); margin-bottom: 32px; }

/* ===== 分页 ===== */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 14px;
    transition: all 0.3s;
}
.pagination a:hover,
.pagination a.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ===== 新闻列表 ===== */
.news-list { max-width: 860px; margin: 0 auto; }
.news-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}
.news-item h3 { font-size: 18px; margin-bottom: 6px; }
.news-item h3 a { color: var(--text-primary); }
.news-item h3 a:hover { color: var(--primary); }
.news-item time { font-size: 13px; color: var(--text-light); }

.empty-tip { text-align: center; color: var(--text-light); padding: 40px 0; }

/* ===== 底部 ===== */
.site-footer {
    background: var(--bg-white);
    border-top: 2px solid var(--primary);
    padding-top: 48px;
    margin-top: 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    padding-bottom: 40px;
}
.footer-col h4 {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 700;
}
.footer-col p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 14px; color: var(--text-secondary); }
.footer-col ul li a:hover { color: var(--primary); }
.footer-col ul li { font-size: 14px; color: var(--text-secondary); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    text-align: center;
}
.footer-bottom p { font-size: 13px; color: var(--text-light); }

/* ===== 手机端底部固定按钮（PC端隐藏） ===== */
.mobile-bottom-bar { display: none; }

/* ===== 手机端菜单按钮 ===== */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 5px 0;
    transition: all 0.3s;
    border-radius: 2px;
}
/* ===== 产品页通用样式（5个子页面共用） ===== */
.product-intro {
    background: var(--bg-white);
    border-left: 4px solid var(--primary);
    padding: 24px 28px;
    border-radius: var(--radius);
    margin-bottom: 40px;
    box-shadow: var(--shadow);
}
.product-intro h2 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 12px;
}
.product-intro p {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-secondary);
}

/* 特点卡片 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 8px;
}
.feature-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px 20px;
    text-align: center;
    transition: all 0.3s;
}
.feature-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}
.feature-icon {
    display: block;
    font-size: 34px;
    margin-bottom: 12px;
    line-height: 1;
}
.feature-card h3 {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 8px;
}
.feature-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 灰色Section背景 */
.section-gray { background: var(--bg-gray); }

/* 表格响应式包裹 */
.table-responsive {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    -webkit-overflow-scrolling: touch;
}
.table-responsive .product-table {
    min-width: 640px;
    box-shadow: none;
}

/* ============================================================
   CTA 区块（修复背景被 .section 覆盖的问题）
   使用 section.cta-section 提高优先级
   ============================================================ */
section.cta-section,
.cta-section {
    background: linear-gradient(135deg, #8B0000 0%, #6B0000 100%) !important;
    color: #fff !important;
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

/* 装饰性光晕 */
section.cta-section::before,
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-inner {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-inner h2 {
    font-size: 30px;
    margin-bottom: 16px;
    font-weight: 700;
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
    letter-spacing: 0.5px;
}

.cta-inner p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.92) !important;
    margin-bottom: 32px;
    line-height: 1.7;
}

.cta-inner .btn-primary {
    background: #fff !important;
    color: #8B0000 !important;
    border: 2px solid #fff !important;
    font-weight: 700;
    padding: 14px 40px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}
.cta-inner .btn-primary:hover {
    background: #FFF5F5 !important;
    color: #6B0000 !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}
/* 产品Tab激活态增强 */
.product-tabs .tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(139,0,0,0.25);
}
/* ============================================================
   首页 - 平台详细介绍
   ============================================================ */
.platform-intro-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: start;
}
.platform-intro-text h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 700;
}
.platform-intro-text p {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 16px;
}
.intro-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.intro-stats .stat-item { text-align: center; }
.intro-stats .stat-num {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}
.intro-stats .stat-label {
    font-size: 13px;
    color: var(--text-light);
}
.platform-intro-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.visual-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px 18px;
    text-align: center;
    transition: all 0.3s;
}
.visual-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}
.visual-icon {
    display: block;
    font-size: 32px;
    margin-bottom: 10px;
    line-height: 1;
}
.visual-card h4 {
    font-size: 15px;
    color: var(--primary);
    margin-bottom: 6px;
}
.visual-card p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* section 副标题 */
.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 15px;
    margin-top: -28px;
    margin-bottom: 40px;
}

/* ============================================================
   首页 - 全球办公室
   ============================================================ */
.office-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.office-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.office-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s;
}
.office-card:hover::before { transform: scaleX(1); }
.office-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}
.office-flag {
    display: block;
    font-size: 42px;
    margin-bottom: 12px;
    line-height: 1;
}
.office-card h3 {
    font-size: 17px;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.office-role {
    display: inline-block;
    font-size: 12px;
    color: var(--primary);
    background: var(--primary-bg);
    padding: 2px 10px;
    border-radius: 50px;
    margin-bottom: 8px;
}
.office-card p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ============================================================
   首页 - 监管信息
   ============================================================ */
.regulation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.regulation-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius);
    padding: 22px 22px 18px;
    transition: all 0.3s;
}
.regulation-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}
.reg-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.reg-icon {
    font-size: 32px;
    line-height: 1;
}
.regulation-card h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 2px;
}
.reg-country {
    font-size: 12px;
    color: var(--text-light);
}
.reg-full {
    font-size: 13px;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.6;
}
.reg-license {
    font-size: 12px;
    color: var(--text-light);
    font-family: 'Courier New', monospace;
}
.regulation-notice {
    background: #FFF8E6;
    border-left: 4px solid #F0A800;
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-top: 28px;
}
.regulation-notice p {
    font-size: 13px;
    color: #7A5A00;
    line-height: 1.7;
    margin: 0;
}

/* Hero 按钮组 */
.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-ghost {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
}
.btn-ghost:hover {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}

/* ============================================================
   关于我们 - 平台介绍
   ============================================================ */
.about-intro {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    align-items: start;
}
.about-intro-text h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 700;
}
.about-intro-text p {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 16px;
}
.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.about-stat-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px 16px;
    text-align: center;
    transition: all 0.3s;
}
.about-stat-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}
.about-stat-icon {
    display: block;
    font-size: 30px;
    margin-bottom: 8px;
    line-height: 1;
}
.about-stat-num {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}
.about-stat-label {
    font-size: 13px;
    color: var(--text-light);
}

/* ============================================================
   关于我们 - 发展历程时间轴
   ============================================================ */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}
.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--primary-light));
    transform: translateX(-50%);
    border-radius: 2px;
}
.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 40px;
    margin-bottom: 32px;
}
.timeline-item.left {
    left: 0;
    text-align: right;
}
.timeline-item.right {
    left: 50%;
    text-align: left;
}
.timeline-item::after {
    content: '';
    position: absolute;
    top: 20px;
    width: 16px;
    height: 16px;
    background: var(--bg-white);
    border: 3px solid var(--primary);
    border-radius: 50%;
    z-index: 1;
}
.timeline-item.left::after { right: -8px; }
.timeline-item.right::after { left: -8px; }
.timeline-content {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    transition: all 0.3s;
}
.timeline-content:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}
.timeline-year {
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}
.timeline-content h3 {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.timeline-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================================
   关于我们 - 开户流程
   ============================================================ */
.account-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}
.account-step {
    position: relative;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 16px 24px;
    text-align: center;
    transition: all 0.3s;
}
.account-step:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}
.step-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(139,0,0,0.3);
}
.step-icon {
    display: block;
    font-size: 32px;
    margin: 12px 0 10px;
    line-height: 1;
}
.account-step h3 {
    font-size: 15px;
    color: var(--primary);
    margin-bottom: 8px;
}
.account-step p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
}
.step-arrow {
    position: absolute;
    top: 50%;
    right: -14px;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 20px;
    font-weight: 700;
    opacity: 0.5;
}
.account-cta { text-align: center; }

/* ============================================================
   关于我们 - 交易软件推荐
   ============================================================ */
.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.software-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}
.software-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}
.software-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    position: relative;
}
.software-icon {
    font-size: 36px;
    line-height: 1;
    flex-shrink: 0;
}
.software-title { flex: 1; }
.software-title h3 {
    font-size: 17px;
    color: var(--text-primary);
    margin-bottom: 2px;
}
.software-short {
    font-size: 12px;
    color: var(--text-light);
    font-family: 'Courier New', monospace;
}
.software-tag {
    position: absolute;
    top: -2px;
    right: 0;
    font-size: 11px;
    color: #fff;
    background: var(--primary);
    padding: 2px 10px;
    border-radius: 50px;
    font-weight: 600;
}
.software-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}
.software-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.feature-tag {
    font-size: 12px;
    color: var(--primary);
    background: var(--primary-bg);
    padding: 3px 10px;
    border-radius: 50px;
}
.software-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    margin-bottom: 20px;
}
.platform-label {
    font-size: 12px;
    color: var(--text-light);
}
.platform-tag {
    font-size: 11px;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    padding: 2px 8px;
    border-radius: 4px;
}
.software-card .btn-block { margin-top: auto; }

/* ============================================================
   新闻中心 - 布局（主内容 + 侧栏）
   ============================================================ */
.news-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}
.news-main { min-width: 0; }

/* 新闻列表项 */
.news-list-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
}
.news-list-item:first-child { padding-top: 0; }
.news-list-item:hover { padding-left: 6px; }
.news-thumb {
    flex-shrink: 0;
    width: 160px;
    height: 110px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}
.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.news-list-item:hover .news-thumb img { transform: scale(1.05); }
.news-thumb-placeholder {
    background: linear-gradient(135deg, var(--primary-bg), #FFE8E8);
    font-size: 36px;
}
.news-list-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.news-list-info h3 {
    font-size: 17px;
    line-height: 1.5;
    margin-bottom: 12px;
    font-weight: 600;
}
.news-list-info h3 a {
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-list-info h3 a:hover { color: var(--primary); }
.news-list-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-light);
}

/* 分页信息 */
.pagination-info {
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
    margin-top: 16px;
}
.page-dots {
    display: inline-flex;
    align-items: center;
    padding: 0 4px;
    color: var(--text-light);
}
.page-nav {
    padding: 0 16px !important;
    width: auto !important;
    font-weight: 500;
}

/* 侧栏 */
.news-sidebar {
    position: sticky;
    top: 92px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.sidebar-box {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    box-shadow: var(--shadow);
}
.sidebar-title {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-bg);
    font-weight: 700;
}
.sidebar-empty {
    font-size: 13px;
    color: var(--text-light);
    text-align: center;
    padding: 12px 0;
}

/* 热门文章 */
.hot-list { list-style: none; }
.hot-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border);
}
.hot-item:last-child { border-bottom: none; padding-bottom: 0; }
.hot-item:first-child { padding-top: 0; }
.hot-rank {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: #ccc;
    border-radius: 4px;
    margin-top: 2px;
}
.hot-rank-1 { background: #E74C3C; }
.hot-rank-2 { background: #E67E22; }
.hot-rank-3 { background: #F1C40F; }
.hot-content { flex: 1; min-width: 0; }
.hot-content a {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
}
.hot-content a:hover { color: var(--primary); }
.hot-meta {
    font-size: 12px;
    color: var(--text-light);
}

/* 侧栏快捷链接 */
.sidebar-links li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
}
.sidebar-links li:last-child { border-bottom: none; }
.sidebar-links a {
    font-size: 14px;
    color: var(--text-secondary);
    display: block;
    transition: all 0.2s;
}
.sidebar-links a:hover {
    color: var(--primary);
    padding-left: 6px;
}

/* 侧栏 CTA */
.sidebar-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    color: #fff;
    text-align: center;
}
.sidebar-cta h3 {
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.2);
    font-size: 17px;
}
.sidebar-cta p {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 16px;
    line-height: 1.6;
}
.sidebar-cta .btn-primary {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}
.sidebar-cta .btn-primary:hover {
    background: var(--primary-bg);
    color: var(--primary-dark);
}

/* ============================================================
   联系我们 - 客服服务特点
   ============================================================ */
.service-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.service-feature-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.service-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}
.service-feature-card:hover::before { transform: scaleX(1); }
.service-feature-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}
.service-icon {
    display: inline-flex;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    background: var(--primary-bg);
    border-radius: 50%;
    margin-bottom: 16px;
    line-height: 1;
    transition: all 0.3s;
}
.service-feature-card:hover .service-icon {
    background: var(--primary);
    transform: rotate(-8deg) scale(1.05);
}
.service-feature-card h3 {
    font-size: 17px;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 600;
}
.service-feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 联系卡片 */
.contact-value {
    font-size: 14px;
    color: var(--text-primary);
    word-break: break-all;
    font-weight: 500;
}

/* ============================================================
   联系我们 - 常见问题手风琴
   ============================================================ */
.faq-list {
    max-width: 860px;
    margin: 0 auto;
}
.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s;
}
.faq-item:hover { border-color: var(--primary); }
.faq-item.open {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}
.faq-question {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
}
.faq-question:hover { background: var(--primary-bg); }
.faq-q-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
}
.faq-q-text {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}
.faq-toggle {
    flex-shrink: 0;
    font-size: 22px;
    color: var(--primary);
    transition: transform 0.3s;
    line-height: 1;
    font-weight: 300;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 22px;
    display: flex;
    gap: 14px;
    background: var(--bg-gray);
}
.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 18px 22px;
}
.faq-a-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: #fff;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
}
.faq-answer p {
    flex: 1;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}
/* ============================================================
   Logo 容器 + 手机端QQ客服
   ============================================================ */
.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* 手机端QQ按钮 - PC端默认隐藏 */
.mobile-qq {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff !important;
    border-radius: 20px;
    font-size: 12px;
    line-height: 1.2;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(139, 0, 0, 0.25);
    white-space: nowrap;
    max-width: 140px;
}
.mobile-qq:active {
    transform: scale(0.96);
    box-shadow: 0 1px 4px rgba(139, 0, 0, 0.3);
}
.mobile-qq-icon {
    font-size: 14px;
    flex-shrink: 0;
    line-height: 1;
}
.mobile-qq-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}
.mobile-qq-text em {
    font-style: normal;
    font-size: 10px;
    opacity: 0.85;
    line-height: 1;
    margin-bottom: 1px;
}
.mobile-qq-text b {
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: block;
    line-height: 1.1;
}
/* ============================================================
   首页 - Hero 卖点标签
   ============================================================ */
.hero-features {
    display: flex;
    gap: 28px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.2);
}
.hero-features span {
    color: rgba(255,255,255,0.95);
    font-size: 14px;
    font-weight: 500;
}

/* ============================================================
   首页 - 平台介绍数据卡片图标增强
   ============================================================ */
.intro-stats .stat-icon {
    display: block;
    font-size: 20px;
    margin-bottom: 4px;
    line-height: 1;
}

/* ============================================================
   首页 - 交易环境
   ============================================================ */
.trading-env-intro {
    max-width: 900px;
    margin: 0 auto 32px;
    text-align: center;
}
.trading-env-intro p {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-secondary);
}
.trading-env-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}
.trading-env-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 12px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.trading-env-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.3s;
}
.trading-env-card:hover::before { transform: scaleX(1); }
.trading-env-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}
.env-icon {
    display: block;
    font-size: 26px;
    margin-bottom: 8px;
    line-height: 1;
}
.env-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 4px;
}
.env-label {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 2px;
}
.env-sub {
    font-size: 11px;
    color: var(--text-light);
}
.trading-env-table h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 16px;
    text-align: center;
}

/* ============================================================
   首页 - 为什么选择XM
   ============================================================ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.why-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.why-card::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 100px;
    height: 100px;
    background: var(--primary-bg);
    border-radius: 50%;
    transition: all 0.5s;
    z-index: 0;
}
.why-card:hover::after {
    transform: scale(3);
    opacity: 0.4;
}
.why-card > * { position: relative; z-index: 1; }
.why-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
    transform: translateY(-6px);
}
.why-icon-wrap {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    margin-bottom: 18px;
    box-shadow: 0 8px 20px rgba(139,0,0,0.2);
}
.why-icon {
    font-size: 28px;
    line-height: 1;
}
.why-card h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 700;
}
.why-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================================
   首页 - 产品卡片品种数
   ============================================================ */
.product-count {
    display: inline-block;
    margin-top: 12px;
    padding: 3px 12px;
    background: var(--primary-bg);
    color: var(--primary);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s;
}
.product-card:hover .product-count {
    background: var(--primary);
    color: #fff;
}

/* ============================================================
   首页 - 监管信息介绍段落
   ============================================================ */
.regulation-intro {
    max-width: 900px;
    margin: 0 auto 32px;
    text-align: center;
}
.regulation-intro p {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-secondary);
}

/* ============================================================
   首页 - 新闻更多按钮
   ============================================================ */
.news-more {
    text-align: center;
    margin-top: 40px;
}

/* ============================================================
   首页 - FAQ 简化版（复用 contact 的样式，此处独立避免冲突）
   ============================================================ */
.faq-section .faq-list {
    max-width: 860px;
    margin: 0 auto;
}
.faq-section .faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s;
}
.faq-section .faq-item:hover { border-color: var(--primary); }
.faq-section .faq-item.open {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}
.faq-section .faq-question {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
}
.faq-section .faq-question:hover { background: var(--primary-bg); }
.faq-section .faq-q-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
}
.faq-section .faq-q-text {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.5;
}
.faq-section .faq-toggle {
    flex-shrink: 0;
    font-size: 22px;
    color: var(--primary);
    transition: transform 0.3s;
    line-height: 1;
    font-weight: 300;
}
.faq-section .faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-section .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 22px;
    display: flex;
    gap: 14px;
    background: var(--bg-gray);
}
.faq-section .faq-item.open .faq-answer {
    max-height: 400px;
    padding: 18px 22px;
}
.faq-section .faq-a-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: #fff;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
}
.faq-section .faq-answer p {
    flex: 1;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

/* ============================================================
   关于我们 - 核心价值卡片
   ============================================================ */
.core-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.core-value-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    transition: all 0.3s;
}
.core-value-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}
.core-icon {
    display: block;
    font-size: 32px;
    margin-bottom: 12px;
    line-height: 1;
}
.core-value-card h4 {
    font-size: 15px;
    color: var(--primary);
    margin-bottom: 6px;
    font-weight: 700;
}
.core-value-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================================
   关于我们 - 发展历程（改为卡片网格）
   ============================================================ */
.history-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.history-card {
    position: relative;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    border-top: 4px solid var(--primary);
    box-shadow: 0 4px 16px rgba(139, 0, 0, 0.08);
    transition: all 0.3s;
    overflow: hidden;
}
.history-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, transparent 50%, var(--primary-bg) 50%);
    border-radius: 0 0 0 60px;
    transition: all 0.3s;
    z-index: 0;
}
.history-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(139, 0, 0, 0.18);
}
.history-card:hover::before {
    width: 80px;
    height: 80px;
}
.history-card > * { position: relative; z-index: 1; }

.history-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.history-icon {
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
}
.history-year {
    display: inline-block;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.5px;
    font-family: 'DIN', 'Arial Black', sans-serif;
}
.history-card h3 {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-weight: 700;
}
.history-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin: 0;
}