/* ============================================
   XM Global Trading Platform - Main Stylesheet
   ============================================ */

:root {
    --primary: #e2001a;
    --primary-dark: #b8001a;
    --primary-light: #ff1a3a;
    --primary-glow: rgba(226, 0, 26, 0.15);
    --secondary: #0f1629;
    --secondary-light: #1a2340;
    --accent: #f4a000;
    --accent-light: #fbbf24;
    --success: #22c55e;
    --danger: #ef4444;
    --text: #1a1a2a;
    --text-light: #5a5a6e;
    --text-muted: #8e8e9e;
    --bg: #ffffff;
    --bg-secondary: #f0f4f8;
    --bg-dark: #0f1629;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-xs: 0 1px 3px rgba(0,0,0,0.04);
    --shadow: 0 4px 16px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.1);
    --shadow-xl: 0 24px 64px rgba(0,0,0,0.14);
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 72px;
    --topbar-height: 38px;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI',
        'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
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 24px;
}

.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition-fast);
}
.btn:hover::after { opacity: 1; }
.btn-sm { padding: 8px 18px; font-size: 12px; border-radius: 6px; }
.btn-lg { padding: 16px 40px; font-size: 15px; border-radius: 10px; }
.btn-block { display: block; width: 100%; }
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border-color: var(--primary);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-color: var(--primary-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(226, 0, 26, 0.35);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(226, 0, 26, 0.25);
}
.btn-outline-light {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-color: rgba(255,255,255,0.6);
    backdrop-filter: blur(4px);
}
.btn-outline-light:hover {
    background: #fff;
    color: var(--secondary);
    border-color: #fff;
    transform: translateY(-2px);
}
.btn-outline-dark {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}
.btn-outline-dark:hover {
    background: var(--text);
    color: #fff;
    border-color: var(--text);
    transform: translateY(-2px);
}

/* ============================================
   Top Bar
   ============================================ */
.top-bar {
    background: linear-gradient(90deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: rgba(255,255,255,0.75);
    font-size: 12px;
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar-left { display: flex; gap: 24px; }
.top-bar-left span { display: flex; align-items: center; gap: 6px; }
.top-bar-left span i { color: var(--accent-light); }
.top-bar-right { display: flex; align-items: center; gap: 16px; }
.top-link { color: rgba(255,255,255,0.75); font-weight: 500; }
.top-link:hover { color: #fff; }
.lang-selector { display: flex; align-items: center; gap: 4px; }
.lang-selector i { color: var(--accent-light); }
.lang-selector select {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.85);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
}

/* ============================================
   Header / Navigation
   ============================================ */
.header {
    position: sticky;
    top: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    height: var(--header-height);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: var(--transition);
}
.header.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.95);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}
.logo {
    display: flex;
    align-items: baseline;
    gap: 4px;
    transition: var(--transition);
}
.logo:hover { transform: scale(1.03); }
.logo-text {
    font-size: 34px;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -1px;
    text-shadow: 0 2px 4px rgba(226,0,26,0.1);
}
.logo-sub {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.nav-list { display: flex; gap: 2px; }
.nav-item { position: relative; }
.nav-item > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 16px;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition-fast);
}
.nav-item > a:hover,
.nav-item > a.active {
    color: var(--primary);
    background: var(--primary-glow);
}
.nav-item > a i { font-size: 9px; transition: var(--transition-fast); }
.nav-item:hover > a i { transform: rotate(180deg); }

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 8px;
    min-width: 230px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
    border: 1px solid var(--border-light);
}
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #fff;
    border-top: 1px solid var(--border-light);
    border-left: 1px solid var(--border-light);
}
.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    color: var(--text);
    font-size: 14px;
    border-radius: var(--radius);
    transition: var(--transition-fast);
}
.dropdown-menu a:hover {
    background: var(--primary-glow);
    color: var(--primary);
    transform: translateX(3px);
}
.dropdown-menu a i {
    width: 20px;
    text-align: center;
    color: var(--primary);
    font-size: 15px;
}

.header-actions { display: flex; align-items: center; gap: 10px; }

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */
.hero { position: relative; overflow: hidden; }

/* Hero Video Background */
.hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-video-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,15,30,0.75) 0%, rgba(15,20,40,0.6) 50%, rgba(10,15,30,0.8) 100%);
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(226,0,26,0.08) 0%, transparent 70%);
    z-index: 2;
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 40px;
    animation: gridMove 20s linear infinite;
    z-index: 1;
    pointer-events: none;
}
@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 40px); }
}
.hero .banner-particles { z-index: 2; }
.hero-slider { position: relative; height: 580px; z-index: 3; }
.hero-static-content {
    position: relative;
    height: 580px;
    display: flex;
    align-items: center;
    z-index: 3;
}
.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}
.hero-text { flex: 1; color: #fff; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    padding: 8px 18px;
    border-radius: 24px;
    font-size: 13px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.15);
    letter-spacing: 0.02em;
}
.hero-text h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.85) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-text p {
    font-size: 18px;
    opacity: 0.85;
    margin-bottom: 36px;
    font-weight: 300;
    line-height: 1.7;
    max-width: 520px;
}
.hero-buttons { display: flex; gap: 16px; margin-bottom: 52px; }
.hero-stats {
    display: inline-flex;
    gap: 44px;
    padding: 24px 32px;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.1);
}
.hero-stats .stat-item { text-align: center; }
.hero-stats .stat-num {
    display: block;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.hero-stats .stat-label {
    font-size: 12px;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}
.hero-image {
    flex: 0 0 44%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.1);
    transform: perspective(1000px) rotateY(-3deg);
    transition: var(--transition-slow);
}
.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}
.hero-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.hero-dots .dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}
.hero-dots .dot.active {
    background: #fff;
    transform: scale(1.4);
    border-color: rgba(255,255,255,0.5);
    box-shadow: 0 0 12px rgba(255,255,255,0.4);
}

/* ============================================
   Ticker Bar
   ============================================ */
.ticker-bar {
    background: linear-gradient(90deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    padding: 14px 0;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ticker-wrapper { overflow: hidden; }
.ticker-content {
    display: flex;
    gap: 48px;
    animation: ticker 35s linear infinite;
    white-space: nowrap;
}
@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.ticker-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.9);
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 6px;
    background: rgba(255,255,255,0.03);
}
.ticker-name { font-weight: 700; font-size: 12px; letter-spacing: 0.02em; }
.ticker-price { font-family: 'SF Mono', 'Consolas', monospace; font-weight: 600; }
.ticker-item.up .ticker-change { color: var(--success); font-weight: 600; }
.ticker-item.down .ticker-change { color: var(--danger); font-weight: 600; }

/* ============================================
   Section Styles
   ============================================ */
.section { padding: 90px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    color: var(--text);
}
.section-title p { font-size: 16px; color: var(--text-light); max-width: 560px; margin: 0 auto; line-height: 1.7; }
.section-title.light h2 { color: #fff; }
.section-title.light p { color: rgba(255,255,255,0.7); }

/* ============================================
   Features / Why Us
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.feature-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}
.feature-icon {
    width: 76px; height: 76px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-glow) 0%, rgba(226,0,26,0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: var(--transition);
}
.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    transform: scale(1.08);
}
.feature-card:hover .feature-icon i { color: #fff; }
.feature-icon i { font-size: 28px; color: var(--primary); transition: var(--transition); }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.feature-card p { font-size: 14px; color: var(--text-light); line-height: 1.8; }

/* ============================================
   Products / Tabs
   ============================================ */
.tab-buttons { display: flex; justify-content: center; gap: 8px; margin-bottom: 36px; }
.tab-btn {
    padding: 11px 26px;
    border: 2px solid var(--border);
    background: #fff;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.tab-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-glow); }
.tab-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(226,0,26,0.25);
}
.tab-content { display: none; animation: fadeIn 0.4s ease; }
.tab-content.active { display: block; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.product-table { overflow-x: auto; margin-bottom: 24px; }
.product-table table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.product-table th, .product-table td {
    padding: 16px 24px;
    text-align: left;
    font-size: 14px;
}
.product-table th {
    background: var(--bg-secondary);
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.05em;
}
.product-table tr { border-bottom: 1px solid var(--border-light); }
.product-table tr:last-child { border-bottom: none; }
.product-table tr:hover { background: rgba(226,0,26,0.02); }
.product-table .up { color: var(--success); font-weight: 700; }
.product-table .down { color: var(--danger); font-weight: 700; }
.product-info { text-align: center; padding-top: 8px; }
.product-info p { color: var(--text-light); margin-bottom: 16px; }

/* ============================================
   Account Types
   ============================================ */
.accounts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.account-card {
    background: #fff;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}
.account-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
    border-color: transparent;
}
.account-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
}
.account-card.featured:hover {
    transform: scale(1.03) translateY(-8px);
}
.account-card.featured::before {
    content: '推荐';
    position: absolute;
    top: 16px; right: -32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 6px 40px;
    font-size: 11px;
    font-weight: 700;
    transform: rotate(45deg);
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(226,0,26,0.3);
}
.account-header {
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
    background: linear-gradient(180deg, var(--bg-secondary) 0%, #fff 100%);
}
.account-header h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.account-badge {
    display: inline-block;
    background: var(--primary-glow);
    color: var(--primary);
    padding: 5px 14px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.account-body { padding: 28px 30px; }
.account-feature {
    display: flex;
    justify-content: space-between;
    padding: 13px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 14px;
}
.account-feature:last-child { border-bottom: none; }
.account-feature span { color: var(--text-light); }
.account-feature strong { color: var(--text); font-weight: 700; }
.account-footer { padding: 4px 30px 30px; }

/* ============================================
   Platforms Section
   ============================================ */
.platforms-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.platform-showcase {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.platform-list { display: flex; flex-direction: column; gap: 16px; }
.platform-item {
    display: flex;
    gap: 18px;
    padding: 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}
.platform-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}
.platform-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: var(--primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.platform-icon i { font-size: 22px; color: var(--primary); }
.platform-info h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.platform-info p { font-size: 13px; color: var(--text-light); margin-bottom: 8px; line-height: 1.6; }
.platform-info a { font-size: 13px; font-weight: 600; }

/* ============================================
   Promotions
   ============================================ */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.promo-card {
    background: #fff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.2);
}
.promo-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}
.promo-image { height: 190px; overflow: hidden; position: relative; }
.promo-image::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}
.promo-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.promo-card:hover .promo-image img { transform: scale(1.08); }
.promo-content { padding: 26px; }
.promo-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #fff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}
.promo-content h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.promo-content p { font-size: 14px; color: var(--text-light); margin-bottom: 18px; line-height: 1.7; }

/* ============================================
   Education Section
   ============================================ */
.edu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}
.edu-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 36px 20px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.edu-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: var(--transition);
}
.edu-card:hover::after { transform: scaleX(1); }
.edu-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}
.edu-icon {
    width: 60px; height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-glow) 0%, rgba(226,0,26,0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    transition: var(--transition);
}
.edu-card:hover .edu-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}
.edu-card:hover .edu-icon i { color: #fff; }
.edu-icon i { font-size: 22px; color: var(--primary); transition: var(--transition); }
.edu-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.edu-card p { font-size: 13px; color: var(--text-light); margin-bottom: 14px; line-height: 1.6; }
.edu-card a { font-size: 13px; font-weight: 700; }

/* ============================================
   Stats Section
   ============================================ */
.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 36px;
    padding: 20px 0;
}
.stats-item { text-align: center; padding: 24px 16px; }
.stats-number {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}
.stats-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ============================================
   Regulation Section
   ============================================ */
.regulation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.regulation-text h2 { font-size: 30px; font-weight: 800; margin-bottom: 18px; letter-spacing: -0.02em; }
.regulation-text p { color: var(--text-light); margin-bottom: 24px; line-height: 1.8; font-size: 15px; }
.regulation-list { margin-bottom: 28px; }
.regulation-list li {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 0; font-size: 15px;
}
.regulation-list li i { color: #22c55e; font-size: 18px; }
.regulation-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.reg-badge {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    text-align: center;
    transition: var(--transition);
}
.reg-badge:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.reg-badge i { font-size: 40px; color: var(--primary); margin-bottom: 12px; display: block; }
.reg-badge span { font-size: 16px; font-weight: 700; color: var(--text); }

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, #fff 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { font-size: 36px; font-weight: 800; margin-bottom: 48px; letter-spacing: -0.02em; }
.steps-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-bottom: 52px;
}
.step-item {
    text-align: center;
    background: #fff;
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    min-width: 200px;
}
.step-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step-num {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 6px 16px rgba(226,0,26,0.25);
}
.step-item h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step-item p { font-size: 14px; color: var(--text-light); max-width: 170px; margin: 0 auto; line-height: 1.6; }
.step-arrow { color: var(--border); font-size: 22px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; }

/* ============================================
   Footer
   ============================================ */
.footer {
    background: linear-gradient(180deg, var(--secondary) 0%, #0a0f1e 100%);
    color: rgba(255,255,255,0.7);
    padding-top: 80px;
}
.footer-top {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 36px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: rgba(255,255,255,0.55); font-size: 13px; transition: var(--transition); }
.footer-col ul li a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.footer-contact li i { color: var(--primary); width: 16px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.footer-bottom { padding: 24px 0; }
.footer-disclaimer {
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 18px;
}
.footer-disclaimer p { font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.8; }
.footer-disclaimer a { color: var(--primary-light); }
.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-legal p { font-size: 12px; color: rgba(255,255,255,0.4); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: rgba(255,255,255,0.4); font-size: 12px; }
.footer-links a:hover { color: #fff; }

/* ============================================
   Live Chat & Back to Top
   ============================================ */
.live-chat {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
}
.chat-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 14px 26px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(226,0,26,0.4);
    transition: var(--transition);
    animation: pulse-glow 2s ease-in-out infinite;
}
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 6px 24px rgba(226,0,26,0.4); }
    50% { box-shadow: 0 8px 32px rgba(226,0,26,0.6); }
}
.chat-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 36px rgba(226,0,26,0.5);
}
.chat-btn i { font-size: 18px; }

.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 180px;
    width: 46px; height: 46px;
    border-radius: 14px;
    background: var(--secondary);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}
.back-to-top.visible { display: flex; }
.back-to-top:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(226,0,26,0.3);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .features-grid, .accounts-grid, .promo-grid { grid-template-columns: repeat(2, 1fr); }
    .edu-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: repeat(3, 1fr); }
    .platforms-content { grid-template-columns: 1fr; }
    .regulation-content { grid-template-columns: 1fr; }
    .hero-image { display: none; }
    .hero-text { max-width: 100%; }
    .hero-stats { justify-content: flex-start; }
    .account-card.featured { transform: none; }
    .account-card.featured:hover { transform: translateY(-8px); }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .main-nav { display: none; }
    .mobile-toggle { display: flex; }
    .main-nav.active {
        display: block;
        position: absolute;
        top: var(--header-height);
        left: 0; right: 0;
        background: #fff;
        box-shadow: var(--shadow-lg);
        padding: 20px;
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }
    .main-nav.active .nav-list { flex-direction: column; }
    .main-nav.active .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        min-width: unset;
        border: none;
    }
    .main-nav.active .dropdown-menu::before { display: none; }
    .hero-slider { height: 460px; }
    .hero-static-content { height: 460px; }
    .hero-text h1 { font-size: 32px; }
    .hero-stats { flex-wrap: wrap; gap: 20px; padding: 18px 20px; }
    .hero-stats .stat-num { font-size: 24px; }
    .hero-buttons { flex-direction: column; gap: 12px; }
    .features-grid, .accounts-grid, .promo-grid, .edu-grid {
        grid-template-columns: 1fr;
    }
    .section { padding: 60px 0; }
    .section-title h2 { font-size: 28px; }
    .section-title { margin-bottom: 40px; }
    .steps-row { flex-direction: column; gap: 16px; }
    .step-item { min-width: unset; width: 100%; }
    .step-arrow { transform: rotate(90deg); }
    .footer-top { grid-template-columns: repeat(2, 1fr); }
    .footer-legal { flex-direction: column; gap: 10px; text-align: center; }
    .tab-buttons { flex-wrap: wrap; gap: 6px; }
    .header-actions .btn { display: none; }
    .regulation-badges { grid-template-columns: repeat(2, 1fr); }
    .stats-number { font-size: 32px; }
}

@media (max-width: 480px) {
    .footer-top { grid-template-columns: 1fr; }
    .stats-grid { flex-direction: column; }
}

/* ============================================
   Mobile-First Deep Optimization
   ============================================ */
@media (max-width: 768px) {
    /* Global */
    .container { padding: 0 16px; }
    .section { padding: 50px 0; }
    .section-title { margin-bottom: 32px; }
    .section-title h2 { font-size: 24px; }
    .section-title p { font-size: 14px; }
    .btn { padding: 11px 22px; font-size: 13px; }
    .btn-lg { padding: 13px 28px; font-size: 14px; }

    /* Header */
    .header { height: 60px; }
    .header-inner { height: 60px; }
    .logo-text { font-size: 28px; }
    .logo-sub { font-size: 8px; letter-spacing: 2px; }

    /* Hero */
    .hero-static-content { height: 420px; }
    .hero-text h1 { font-size: 26px; line-height: 1.2; }
    .hero-text p { font-size: 14px; margin-bottom: 24px; }
    .hero-badge { font-size: 11px; padding: 6px 14px; }
    .hero-buttons { flex-direction: column; gap: 10px; margin-bottom: 30px; }
    .hero-buttons .btn { width: 100%; text-align: center; }
    .hero-stats { gap: 16px; padding: 16px; flex-wrap: wrap; justify-content: center; }
    .hero-stats .stat-item { min-width: 80px; }
    .hero-stats .stat-num { font-size: 20px; }
    .hero-stats .stat-label { font-size: 10px; }

    /* Ticker */
    .ticker-bar { padding: 10px 0; }
    .ticker-item { font-size: 12px; gap: 8px; padding: 3px 8px; }

    /* Platform banner */
    .platform-banner-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; padding: 10px 0; }
    .platform-banner-image { display: none; }
    .platform-badges-row { justify-content: center; }
    .p-badge { padding: 8px 14px; font-size: 12px; }

    /* Product tables */
    .tab-buttons { gap: 4px; }
    .tab-btn { padding: 8px 14px; font-size: 12px; }
    .product-table th, .product-table td { padding: 10px 12px; font-size: 12px; }
    .product-table .btn-sm { padding: 5px 10px; font-size: 11px; }

    /* Account cards */
    .account-card.featured { transform: none; }
    .account-card.featured:hover { transform: translateY(-4px); }
    .account-header { padding: 20px; }
    .account-body { padding: 16px 20px; }
    .account-footer { padding: 4px 20px 20px; }
    .account-feature { font-size: 13px; padding: 10px 0; }

    /* Promo section */
    .promo-card { border-radius: var(--radius-lg); }
    .promo-image { height: 160px; }
    .promo-content { padding: 18px; }
    .promo-content h3 { font-size: 16px; }

    /* Education */
    .edu-card { padding: 24px 16px; }
    .edu-card h3 { font-size: 14px; }

    /* Stats */
    .stats-grid { gap: 20px; padding: 10px 0; }
    .stats-item { padding: 16px 10px; }
    .stats-number { font-size: 28px; }
    .stats-label { font-size: 12px; }

    /* Testimonials */
    .testimonial-card { padding: 24px; }
    .testimonial-text { font-size: 13px; }
    .testimonial-card::before { font-size: 40px; top: 14px; right: 16px; }

    /* News */
    .news-preview-img { height: 160px; }
    .news-preview-body { padding: 16px; }
    .news-preview-body h4 { font-size: 14px; }

    /* Payment */
    .payment-methods { gap: 10px; }
    .payment-icon { width: 52px; height: 40px; font-size: 20px; border-radius: 8px; }

    /* Regulation */
    .regulation-content { gap: 30px; }
    .regulation-text h2 { font-size: 24px; }
    .regulation-text p { font-size: 14px; }
    .regulation-list li { font-size: 13px; padding: 6px 0; }
    .reg-badge { padding: 24px 16px; }
    .reg-badge i { font-size: 28px; }

    /* CTA */
    .cta-content h2 { font-size: 24px; margin-bottom: 32px; }
    .step-item { padding: 24px 20px; }
    .step-num { width: 48px; height: 48px; font-size: 20px; }
    .step-item h4 { font-size: 15px; }
    .cta-buttons { flex-direction: column; gap: 12px; }
    .cta-buttons .btn { width: 100%; }

    /* Footer */
    .footer { padding-top: 50px; }
    .footer-top { gap: 24px; padding-bottom: 30px; }
    .footer-col h4 { font-size: 13px; margin-bottom: 12px; }
    .footer-col ul li { margin-bottom: 8px; }
    .footer-social { margin-top: 12px; }
    .footer-social a { width: 34px; height: 34px; }

    /* Live chat */
    .live-chat { bottom: 16px; right: 16px; }
    .chat-btn { padding: 10px 18px; font-size: 13px; }
    .chat-btn span { display: none; }
    .chat-btn i { font-size: 20px; }

    /* Back to top */
    .back-to-top { bottom: 16px; right: 70px; width: 40px; height: 40px; }
}

@media (max-width: 380px) {
    .hero-static-content { height: 380px; }
    .hero-text h1 { font-size: 22px; }
    .hero-stats { gap: 12px; padding: 12px; }
    .hero-stats .stat-num { font-size: 18px; }
    .tab-btn { padding: 6px 10px; font-size: 11px; }
    .section { padding: 40px 0; }
}

/* ============================================
   WeChat Work Customer Service Panel
   ============================================ */
.wx-kf-modal {
    position: fixed;
    bottom: 90px;
    right: 28px;
    z-index: 9998;
    display: none;
}
.wx-kf-modal.active { display: block; animation: fadeInUp 0.3s ease; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.wx-kf-panel {
    width: 380px;
    max-height: 520px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-light);
}

.wx-kf-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    background: linear-gradient(135deg, #07c160 0%, #06ad56 100%);
    color: #fff;
}
.wx-kf-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.wx-kf-header-info > i { font-size: 28px; }
.wx-kf-header-info h4 { font-size: 15px; font-weight: 600; }
.wx-kf-status { font-size: 11px; opacity: 0.9; display: flex; align-items: center; gap: 4px; }
.wx-kf-status i { font-size: 6px; color: #a0f0c0; }
.wx-kf-close {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.wx-kf-close:hover { background: rgba(255,255,255,0.3); }

.wx-kf-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    min-height: 280px;
    max-height: 320px;
    background: #f5f5f5;
}
.wx-kf-welcome {
    text-align: center;
    padding: 20px 10px;
}
.wx-kf-avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #07c160, #06ad56);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    color: #fff;
    font-size: 22px;
}
.wx-kf-welcome p { font-size: 13px; color: var(--text-light); margin-bottom: 6px; line-height: 1.6; }

/* Chat messages */
.wx-kf-msg {
    margin-bottom: 14px;
    display: flex;
    gap: 10px;
}
.wx-kf-msg.user { flex-direction: row-reverse; }
.wx-kf-msg .msg-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 12px;
    color: var(--text-muted);
}
.wx-kf-msg.user .msg-avatar { background: var(--primary-glow); color: var(--primary); }
.wx-kf-msg .msg-bubble {
    max-width: 240px;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.6;
    background: #fff;
    color: var(--text);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.wx-kf-msg.user .msg-bubble {
    background: #07c160;
    color: #fff;
    border-bottom-right-radius: 4px;
}
.wx-kf-msg:not(.user) .msg-bubble { border-bottom-left-radius: 4px; }

.wx-kf-footer {
    padding: 14px 18px 16px;
    border-top: 1px solid var(--border-light);
    background: #fff;
}
.wx-kf-input-wrap {
    display: flex;
    gap: 10px;
    align-items: center;
}
.wx-kf-input-wrap input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 13px;
    outline: none;
    transition: all 0.2s;
}
.wx-kf-input-wrap input:focus { border-color: #07c160; box-shadow: 0 0 0 3px rgba(7,193,96,0.1); }
.wx-kf-send {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: #07c160;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}
.wx-kf-send:hover { background: #06ad56; transform: scale(1.05); }
.wx-kf-tip {
    text-align: center;
    margin-top: 10px;
}
.wx-kf-tip span { font-size: 11px; color: var(--text-muted); }

@media (max-width: 480px) {
    .wx-kf-modal { right: 10px; bottom: 80px; left: 10px; }
    .wx-kf-panel { width: 100%; }
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.testimonial-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px; right: 24px;
    font-size: 60px;
    color: var(--primary-glow);
    font-family: Georgia, serif;
    line-height: 1;
}
.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: transparent;
}
.testimonial-stars { margin-bottom: 16px; color: #f59e0b; font-size: 14px; }
.testimonial-stars i { margin-right: 2px; }
.testimonial-text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}
.testimonial-author .author-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
}
.testimonial-author strong { display: block; font-size: 14px; }
.testimonial-author span { font-size: 12px; color: var(--text-muted); }

/* ============================================
   News Preview Section
   ============================================ */
.news-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.news-preview-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: block;
    color: var(--text);
}
.news-preview-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    color: var(--text);
}
.news-preview-img {
    position: relative;
    height: 180px;
    overflow: hidden;
}
.news-preview-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.news-preview-card:hover .news-preview-img img { transform: scale(1.06); }
.news-category {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}
.news-preview-body { padding: 22px; }
.news-date-tag { font-size: 12px; color: var(--text-muted); display: block; margin-bottom: 8px; }
.news-preview-body h4 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-preview-body p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   Payment Methods / Partners
   ============================================ */
.payment-methods {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}
.payment-icon {
    width: 80px; height: 56px;
    border-radius: 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--text-muted);
    transition: var(--transition);
}
.payment-icon:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.partners-note {
    text-align: center;
}
.partners-note p {
    font-size: 13px;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-secondary);
    padding: 10px 20px;
    border-radius: 8px;
}
.partners-note p i { color: var(--success); }

/* ============================================
   Page Transition
   ============================================ */
.page-transition {
    position: fixed;
    inset: 0;
    background: var(--secondary);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.page-transition.active {
    opacity: 1;
    pointer-events: all;
}
.page-transition .loader {
    width: 40px; height: 40px;
    border: 3px solid rgba(255,255,255,0.15);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   Responsive additions
   ============================================ */
@media (max-width: 1024px) {
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .news-preview-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .testimonials-grid { grid-template-columns: 1fr; }
    .news-preview-grid { grid-template-columns: 1fr; }
    .payment-methods { gap: 12px; }
    .payment-icon { width: 60px; height: 44px; font-size: 22px; }
}

/* ============================================
   Quick Links Section
   ============================================ */
.quick-links-section {
    padding: 0;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    border: 1px solid var(--border-light);
}
.quick-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 12px;
    border-radius: var(--radius-lg);
    color: var(--text);
    transition: var(--transition);
    text-align: center;
}
.quick-link-item:hover {
    background: var(--primary-glow);
    color: var(--primary);
    transform: translateY(-3px);
}
.quick-link-item.highlight {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
}
.quick-link-item.highlight:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(226,0,26,0.3);
    color: #fff;
}
.quick-link-item.highlight .ql-icon {
    background: rgba(255,255,255,0.2);
    color: #fff;
}
.ql-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    transition: var(--transition);
}
.quick-link-item:hover .ql-icon {
    background: var(--primary);
    color: #fff;
}
.quick-link-item span {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

/* ============================================
   Platform Banner Section (图文并排)
   ============================================ */
.platform-banner-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 60px;
    align-items: center;
    padding: 20px 0;
}
.platform-banner-text { position: relative; z-index: 2; }
.platform-badges-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.p-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    font-weight: 500;
    backdrop-filter: blur(4px);
}
.p-badge i { color: var(--accent-light); }
.platform-banner-image {
    position: relative;
    text-align: center;
}
.platform-banner-image::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(226,0,26,0.15) 0%, transparent 70%);
}

/* ============================================
   Responsive additions for new sections
   ============================================ */
@media (max-width: 1024px) {
    .quick-links-grid { grid-template-columns: repeat(4, 1fr); }
    .platform-banner-grid { grid-template-columns: 1fr; text-align: center; }
    .platform-banner-image { margin-top: 30px; }
    .platform-badges-row { justify-content: center; }
}
@media (max-width: 768px) {
    .quick-links-section { margin-top: -30px; }
    .quick-links-grid { grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 6px; }
    .quick-link-item { padding: 16px 8px; }
    .ql-icon { width: 40px; height: 40px; font-size: 16px; border-radius: 10px; }
    .quick-link-item span { font-size: 11px; }
}
@media (max-width: 480px) {
    .quick-links-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================
   Source Code Protection
   ============================================ */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
/* Allow selection in form inputs */
input, textarea, select {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}
