/* ============================================
   变量定义 - 白天/黑夜主题
   ============================================ */
:root {
    /* 白天主题 */
    --bg-primary: #f8f9fa;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f3f5;
    --text-primary: #1a1a1a;
    --text-secondary: #6c757d;
    --text-light: #adb5bd;
    --accent-primary: #007bff;
    --accent-secondary: #0056b3;
    --accent-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --border-color: #dee2e6;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    --card-bg: #ffffff;
    --hero-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

[data-theme="dark"] {
    /* 黑夜主题 */
    --bg-primary: #0a0e27;
    --bg-secondary: #141b2d;
    --bg-tertiary: #1a2332;
    --text-primary: #ffffff;
    --text-secondary: #b0b8c4;
    --text-light: #6c757d;
    --accent-primary: #5b8def;
    --accent-secondary: #4a7be8;
    --accent-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --border-color: #2a3441;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --card-bg: #1a2332;
    --hero-gradient: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* ============================================
   导航栏
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-secondary);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-primary);
}

.logo-icon {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-controls .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
    text-decoration: none;
    white-space: nowrap;
}

.theme-toggle {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.theme-toggle:hover {
    background: var(--accent-primary);
    transform: rotate(180deg);
}

.lang-switch {
    display: flex;
    gap: 5px;
    background: var(--bg-tertiary);
    border-radius: 20px;
    padding: 4px;
}

.lang-btn {
    background: transparent;
    border: none;
    padding: 6px 15px;
    border-radius: 15px;
    cursor: pointer;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: var(--accent-primary);
    color: white;
}

/* ============================================
   Hero 区域
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 70px;
    padding: 80px 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hero-gradient);
    opacity: 0.1;
    z-index: 0;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.3) 0%, transparent 50%);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    margin-bottom: 60px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ============================================
   按钮样式
   ============================================ */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
}

.btn-outline:hover {
    background: var(--accent-primary);
    color: white;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* ============================================
   广告区域
   ============================================ */
.ad-section {
    padding: 60px 0;
    background: var(--bg-tertiary);
}

.ad-banner {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.ad-item {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-item.active {
    opacity: 1;
}

.ad-content {
    text-align: center;
    color: white;
    padding: 40px;
    max-width: 600px;
}

.ad-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.ad-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.ad-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--accent-primary);
    width: 30px;
    border-radius: 6px;
}

/* ============================================
   通用区块样式
   ============================================ */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* ============================================
   关于我们
   ============================================ */
.about-section {
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    margin-top: 30px;
}

.feature-list li {
    padding: 12px 0;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.about-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.visual-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.visual-card:hover {
    transform: translateY(-5px);
}

.visual-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.visual-card h4 {
    color: var(--text-primary);
    font-size: 1.2rem;
}

/* ============================================
   项目特色
   ============================================ */
.features-section {
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   升级模式
   ============================================ */
.upgrade-section {
    background: var(--bg-primary);
    padding: 80px 0;
}

.upgrade-intro {
    margin-bottom: 60px;
}

.upgrade-intro .intro-text {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.upgrade-intro h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.upgrade-intro p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.upgrade-intro ul {
    list-style: none;
    margin-top: 20px;
}

.upgrade-intro ul li {
    padding: 10px 0;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* 金字塔图 */
.pyramid-container {
    margin: 60px 0;
    text-align: center;
    padding: 40px 20px;
    background: var(--bg-secondary);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.pyramid-container::before {
    content: '';
    position: absolute;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: calc(100% - 240px);
    background: linear-gradient(180deg, transparent, var(--accent-primary), transparent);
    opacity: 0.2;
    z-index: 0;
}

.pyramid-title {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-weight: 800;
}

.pyramid-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

.pyramid-note {
    margin-top: 30px;
    padding: 20px;
    background: var(--bg-tertiary);
    border-radius: 10px;
    border-left: 4px solid var(--accent-primary);
}

.pyramid-note p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 金字塔包装器 - 使用flex布局，从下往上排列 */
.pyramid-wrapper {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 30px 20px;
    z-index: 1;
}

/* 金字塔每一行 */
.pyramid-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    flex-wrap: wrap;
    width: 100%;
    position: relative;
}

.pyramid-row.active {
    z-index: 10;
}

/* 三角形组合（三角形 + 信息） */
.triangle-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.triangle-group:hover {
    transform: translateY(-5px);
}

/* CSS三角形 */
.triangle-shape {
    width: 0 !important;
    height: 0 !important;
    border-style: solid !important;
    border-left: 40px solid transparent !important;
    border-right: 40px solid transparent !important;
    border-top: 0 solid transparent !important;
    border-bottom: 60px solid rgba(102, 126, 234, 0.6) !important;
    position: relative;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    margin: 0 auto;
    line-height: 0;
    font-size: 0;
    overflow: visible;
}

.triangle-shape.gold {
    border-left: 50px solid transparent !important;
    border-right: 50px solid transparent !important;
    border-bottom: 80px solid #ffd700 !important;
    filter: drop-shadow(0 6px 12px rgba(255, 215, 0, 0.6));
}

.triangle-shape.active {
    border-bottom-color: rgba(102, 126, 234, 0.9) !important;
    filter: drop-shadow(0 6px 12px rgba(102, 126, 234, 0.5));
}

.triangle-group:hover .triangle-shape {
    transform: scale(1.1);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
}

.triangle-group:hover .triangle-shape.gold {
    filter: drop-shadow(0 8px 16px rgba(255, 215, 0, 0.8));
}

.triangle-group:hover .triangle-shape.active {
    filter: drop-shadow(0 8px 16px rgba(102, 126, 234, 0.7));
}

/* VIP信息显示 */
.level-info {
    text-align: center;
    min-width: 120px;
    padding: 8px 12px;
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.triangle-group:hover .level-info {
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
    transform: scale(1.05);
}

.level-badge {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    display: block;
    white-space: nowrap;
}

.pyramid-row[data-level="9"] .level-badge {
    color: #000;
    font-weight: 800;
    font-size: 1.1rem;
}

.level-desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    display: block;
    white-space: nowrap;
}

.pyramid-row[data-level="9"] .level-desc {
    color: #000;
    font-weight: 600;
}

/* 不同层级的三角形颜色和大小 */
.pyramid-row[data-level="8"] .triangle-shape {
    border-left: 38px solid transparent !important;
    border-right: 38px solid transparent !important;
    border-bottom: 55px solid rgba(118, 75, 162, 0.6) !important;
}

.pyramid-row[data-level="7"] .triangle-shape {
    border-left: 36px solid transparent !important;
    border-right: 36px solid transparent !important;
    border-bottom: 52px solid rgba(102, 126, 234, 0.55) !important;
}

.pyramid-row[data-level="6"] .triangle-shape {
    border-left: 34px solid transparent !important;
    border-right: 34px solid transparent !important;
    border-bottom: 50px solid rgba(102, 126, 234, 0.5) !important;
}

.pyramid-row[data-level="5"] .triangle-shape {
    border-left: 32px solid transparent !important;
    border-right: 32px solid transparent !important;
    border-bottom: 48px solid rgba(102, 126, 234, 0.45) !important;
}

.pyramid-row[data-level="4"] .triangle-shape {
    border-left: 30px solid transparent !important;
    border-right: 30px solid transparent !important;
    border-bottom: 46px solid rgba(102, 126, 234, 0.4) !important;
}

.pyramid-row[data-level="3"] .triangle-shape {
    border-left: 28px solid transparent !important;
    border-right: 28px solid transparent !important;
    border-bottom: 44px solid rgba(102, 126, 234, 0.35) !important;
}

.pyramid-row[data-level="2"] .triangle-shape {
    border-left: 26px solid transparent !important;
    border-right: 26px solid transparent !important;
    border-bottom: 42px solid rgba(102, 126, 234, 0.3) !important;
}

.pyramid-row[data-level="1"] .triangle-shape {
    border-left: 24px solid transparent !important;
    border-right: 24px solid transparent !important;
    border-bottom: 40px solid rgba(102, 126, 234, 0.25) !important;
}

.pyramid-row[data-level="0"] .triangle-shape {
    border-left: 22px solid transparent !important;
    border-right: 22px solid transparent !important;
    border-bottom: 38px solid rgba(102, 126, 234, 0.7) !important;
}

/* 升级规则表格 */
.upgrade-rules {
    margin: 60px 0;
}

.rules-title {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-primary);
}

.rules-table-wrapper {
    overflow-x: auto;
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    padding: 20px;
}

.rules-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1000px;
}

.rules-table thead {
    background: var(--accent-gradient);
    color: white;
}

.rules-table th {
    padding: 15px;
    text-align: center;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.rules-table td {
    padding: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.rules-table tbody tr {
    transition: all 0.3s ease;
}

.rules-table tbody tr:hover {
    background: var(--bg-tertiary);
}

.rules-table tbody tr.final-level {
    background: var(--bg-tertiary);
    font-weight: 600;
}

.rules-table .highlight {
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 1.1rem;
}

/* 代理模式说明 */
.agent-mode {
    margin: 60px 0;
}

.agent-title {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
    color: var(--text-primary);
}

.agent-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.agent-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.agent-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.agent-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.agent-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.agent-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* 升级流程 */
.upgrade-flow {
    margin: 60px 0;
}

.flow-title {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
    color: var(--text-primary);
}

.flow-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.flow-step {
    flex: 1;
    min-width: 180px;
    max-width: 200px;
    background: var(--card-bg);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
}

.flow-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 15px;
}

.step-content h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.flow-arrow {
    font-size: 2rem;
    color: var(--accent-primary);
    font-weight: bold;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .pyramid-wrapper {
        gap: 10px;
        padding: 20px 10px;
    }
    
    .pyramid-row {
        gap: 5px;
    }
    
    .triangle-group {
        gap: 6px;
    }
    
    .triangle-shape {
        border-left: 25px solid transparent !important;
        border-right: 25px solid transparent !important;
        border-bottom: 35px solid rgba(102, 126, 234, 0.6) !important;
    }
    
    .triangle-shape.gold {
        border-left: 30px solid transparent !important;
        border-right: 30px solid transparent !important;
        border-bottom: 50px solid #ffd700 !important;
    }
    
    .pyramid-row[data-level="8"] .triangle-shape {
        border-left: 24px solid transparent !important;
        border-right: 24px solid transparent !important;
        border-bottom: 32px solid rgba(118, 75, 162, 0.6) !important;
    }
    
    .pyramid-row[data-level="7"] .triangle-shape {
        border-left: 23px solid transparent !important;
        border-right: 23px solid transparent !important;
        border-bottom: 30px solid rgba(102, 126, 234, 0.55) !important;
    }
    
    .pyramid-row[data-level="6"] .triangle-shape {
        border-left: 22px solid transparent !important;
        border-right: 22px solid transparent !important;
        border-bottom: 28px solid rgba(102, 126, 234, 0.5) !important;
    }
    
    .pyramid-row[data-level="5"] .triangle-shape {
        border-left: 21px solid transparent !important;
        border-right: 21px solid transparent !important;
        border-bottom: 26px solid rgba(102, 126, 234, 0.45) !important;
    }
    
    .pyramid-row[data-level="4"] .triangle-shape {
        border-left: 20px solid transparent !important;
        border-right: 20px solid transparent !important;
        border-bottom: 24px solid rgba(102, 126, 234, 0.4) !important;
    }
    
    .pyramid-row[data-level="3"] .triangle-shape {
        border-left: 19px solid transparent !important;
        border-right: 19px solid transparent !important;
        border-bottom: 22px solid rgba(102, 126, 234, 0.35) !important;
    }
    
    .pyramid-row[data-level="2"] .triangle-shape {
        border-left: 18px solid transparent !important;
        border-right: 18px solid transparent !important;
        border-bottom: 20px solid rgba(102, 126, 234, 0.3) !important;
    }
    
    .pyramid-row[data-level="1"] .triangle-shape {
        border-left: 17px solid transparent !important;
        border-right: 17px solid transparent !important;
        border-bottom: 18px solid rgba(102, 126, 234, 0.25) !important;
    }
    
    .pyramid-row[data-level="0"] .triangle-shape {
        border-left: 16px solid transparent !important;
        border-right: 16px solid transparent !important;
        border-bottom: 16px solid rgba(102, 126, 234, 0.7) !important;
    }
    
    .level-info {
        min-width: 90px;
        padding: 6px 8px;
    }
    
    .level-badge {
        font-size: 0.85rem;
    }
    
    .level-desc {
        font-size: 0.7rem;
    }
    
    .pyramid-note {
        padding: 15px;
    }
    
    .pyramid-note p {
        font-size: 0.85rem;
    }

    .rules-table-wrapper {
        padding: 10px;
    }

    .rules-table {
        font-size: 0.85rem;
    }

    .rules-table th,
    .rules-table td {
        padding: 10px 5px;
    }

    .flow-steps {
        flex-direction: column;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    .agent-content {
        grid-template-columns: 1fr;
    }

    .upgrade-intro .intro-text {
        padding: 25px;
    }
}

/* ============================================
   投资方案
   ============================================ */
.plans-section {
    background: var(--bg-secondary);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.plan-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    position: relative;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.plan-card.featured {
    border-color: var(--accent-primary);
    transform: scale(1.05);
}

.plan-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: var(--accent-gradient);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.plan-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.plan-header h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-label {
    color: var(--text-secondary);
    font-size: 1rem;
}

.plan-features {
    list-style: none;
    flex: 1;
    margin-bottom: 30px;
}

.plan-features li {
    padding: 12px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

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

.plan-btn {
    width: 100%;
    margin-top: auto;
}

/* ============================================
   联系我们
   ============================================ */
.contact-section {
    background: var(--bg-primary);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-item {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    display: flex;
    gap: 20px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2.5rem;
}

.contact-details h4 {
    margin-bottom: 10px;
    color: var(--text-primary);
}

.contact-details p {
    color: var(--text-secondary);
}

/* ============================================
   页脚
   ============================================ */
.footer {
    background: var(--bg-tertiary);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
}

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

.footer-section h4 {
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* ============================================
   响应式设计
   ============================================ */
@media (max-width: 768px) {
    .navbar .container {
        flex-wrap: wrap;
        padding: 10px 15px;
    }

    .nav-brand {
        font-size: 1.2rem;
        gap: 8px;
        flex: 1;
    }

    .logo-icon {
        font-size: 1.5rem;
    }

    .nav-controls {
        gap: 8px;
        flex-shrink: 0;
    }

    .theme-toggle {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .lang-switch {
        padding: 3px;
    }

    .lang-btn {
        padding: 5px 10px;
        font-size: 0.85rem;
    }

    .nav-menu {
        width: 100%;
        justify-content: flex-start;
        margin-top: 10px;
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 5px 0;
        order: 3;
    }

    .nav-menu::-webkit-scrollbar {
        display: none;
    }

    .nav-link {
        font-size: 0.9rem;
        white-space: nowrap;
        padding: 6px 12px;
    }

    .hero {
        margin-top: 80px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-visual {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .plans-grid {
        grid-template-columns: 1fr;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .ad-content {
        padding: 30px 20px;
    }

    .ad-content h3 {
        font-size: 1.5rem;
    }

    .ad-banner {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        padding: 8px 10px;
    }

    .nav-brand {
        font-size: 1rem;
    }

    .logo-icon {
        font-size: 1.3rem;
    }

    .nav-menu {
        gap: 5px;
        padding: 5px 0;
        margin-top: 8px;
    }

    .nav-link {
        font-size: 0.8rem;
        padding: 5px 8px;
    }

    .nav-controls {
        gap: 5px;
    }

    .theme-toggle {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .lang-btn {
        padding: 4px 8px;
        font-size: 0.75rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .hero {
        margin-top: 75px;
    }
}

/* ============================================
   动画效果
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.stat-item,
.feature-card,
.plan-card {
    animation: fadeIn 0.6s ease-out;
}

