/*
Theme Name: LINKSEA - 出海通商业化情报网络
Theme URI: https://linksea.com
Author: LINKSEA Team
Author URI: https://linksea.com
Description: 一个专业的商业化情报网络官网WordPress主题，具有深色主题、数据可视化、雷达扫描动效等特性。
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: linksea
Domain Path: /languages
Tags: business, intelligence, dark-theme, data-visualization, responsive
*/

/* ========================================
   LINKSEA - 商业化情报网络
   专业级情报监控平台 - 全面优化版
   ======================================== */

:root {
    /* 深色背景系统 - 更丰富的层次 */
    --bg-darkest: #020408;
    --bg-darker: #0a0f1a;
    --bg-dark: #111827;
    --bg-card: rgba(31, 41, 55, 0.6);
    --bg-glass: rgba(17, 24, 39, 0.7);
    --bg-hover: rgba(55, 65, 81, 0.8);
    
    /* 强调色系统 */
    --accent-purple: #a855f7;
    --accent-pink: #ec4899;
    --accent-cyan: #06b6d4;
    --accent-blue: #3b82f6;
    --accent-green: #10b981;
    --accent-orange: #f59e0b;
    --accent-red: #ef4444;
    --accent-yellow: #eab308;
    
    /* 渐变 */
    --gradient-primary: linear-gradient(135deg, #a855f7 0%, #ec4899 50%, #f59e0b 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    --gradient-warning: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --gradient-glass: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    
    /* 文字 */
    --text-primary: #fafafa;
    --text-secondary: #e4e4e7;
    --text-tertiary: #a1a1aa;
    --text-muted: #71717a;
    
    /* 边框 */
    --border-subtle: rgba(255, 255, 255, 0.05);
    --border-light: rgba(255, 255, 255, 0.1);
    --border-medium: rgba(255, 255, 255, 0.15);
    --border-focus: rgba(168, 85, 247, 0.5);
    
    /* 阴影 */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -4px rgba(0, 0, 0, 0.4);
    --shadow-glow-purple: 0 0 30px rgba(168, 85, 247, 0.3);
    --shadow-glow-cyan: 0 0 30px rgba(6, 182, 212, 0.3);
    --shadow-glow-green: 0 0 30px rgba(16, 185, 129, 0.3);
    
    /* 字体 */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* 间距 */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--bg-darkest);
    color: var(--text-secondary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--border-medium);
}

/* ========================================
   顶部状态栏 - 优化
   ======================================== */
.status-bar {
    background: linear-gradient(90deg, var(--bg-darker) 0%, rgba(168, 85, 247, 0.1) 50%, var(--bg-darker) 100%);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.6rem 0;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    position: relative;
    overflow: hidden;
}

.status-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.1), transparent);
    animation: shimmer 3s infinite;
}

.status-bar .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.status-left, .status-right {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 10px var(--accent-green);
    animation: pulse 2s infinite;
}

.status-text {
    color: var(--accent-green);
    font-weight: 500;
}

.divider {
    color: var(--border-medium);
}

.update-time {
    color: var(--text-muted);
}

.metric {
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.metric::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--accent-cyan);
    border-radius: 50%;
}

/* ========================================
   导航栏 - 玻璃态优化
   ======================================== */
.navbar {
    background: rgba(10, 15, 26, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 15, 26, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-md) var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.3rem;
    box-shadow: var(--shadow-glow-purple);
    position: relative;
    overflow: hidden;
}

.logo-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.logo:hover .logo-icon::before {
    transform: translateX(100%);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-xl);
}

.nav-link {
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: var(--space-sm) 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: var(--space-md);
}

/* ========================================
   按钮 - 优化
   ======================================== */
.btn {
    padding: 0.7rem 1.4rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.5);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    padding: calc(0.7rem - 1px) calc(1.4rem - 1px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-medium);
    color: var(--text-primary);
}

.btn-ghost {
    background: transparent;
    color: var(--text-tertiary);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

.btn-large {
    padding: 0.9rem 1.8rem;
    font-size: 1rem;
}

.btn-icon {
    width: 18px;
    height: 18px;
}

/* ========================================
   搜索栏
   ======================================== */
.search-bar {
    position: relative;
    max-width: 400px;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 0.7rem 1rem 0.7rem 2.5rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-icon {
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    width: 18px;
    height: 18px;
}

/* ========================================
   通知组件
   ======================================== */
.notification-bell {
    position: relative;
    padding: var(--space-sm);
    background: transparent;
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    transition: color 0.3s ease;
}

.notification-bell:hover {
    color: var(--text-primary);
}

.notification-bell svg {
    width: 20px;
    height: 20px;
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    width: 18px;
    height: 18px;
    background: var(--accent-red);
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

/* ========================================
   英雄区域 - 全面优化
   ======================================== */
.hero {
    position: relative;
    padding: var(--space-3xl) 0;
    overflow: hidden;
    background: var(--bg-darkest);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.grid-bg {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(168, 85, 247, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: float 10s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
    top: -150px;
    right: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    bottom: -100px;
    left: 5%;
    opacity: 0.3;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-red));
    top: 40%;
    right: 20%;
    opacity: 0.2;
    animation-delay: -3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

/* 雷达扫描效果 */
.radar-scan {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1400px;
    height: 1400px;
    pointer-events: none;
    z-index: 0;
}

.radar-scan .radar-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(168, 85, 247, 0.12);
}

.radar-scan .radar-ring:nth-child(1) {
    width: 400px;
    height: 400px;
    animation: radar-ring-pulse 3s ease-in-out infinite;
}

.radar-scan .radar-ring:nth-child(2) {
    width: 800px;
    height: 800px;
    animation: radar-ring-pulse 3s ease-in-out infinite 0.5s;
}

.radar-scan .radar-ring:nth-child(3) {
    width: 1200px;
    height: 1200px;
    animation: radar-ring-pulse 3s ease-in-out infinite 1s;
}

@keyframes radar-ring-pulse {
    0%, 100% {
        border-color: rgba(168, 85, 247, 0.08);
        box-shadow: 0 0 20px rgba(168, 85, 247, 0.05);
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        border-color: rgba(236, 72, 153, 0.2);
        box-shadow: 0 0 40px rgba(236, 72, 153, 0.1);
        transform: translate(-50%, -50%) scale(1.02);
    }
}

.radar-scan .radar-sweep {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(168, 85, 247, 0.5) 40%, rgba(236, 72, 153, 0.8) 100%);
    transform-origin: left center;
    animation: radar-sweep-rotate 4s linear infinite;
    filter: blur(1px);
}

@keyframes radar-sweep-rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.radar-scan .radar-grid {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1200px;
    height: 1200px;
    border-radius: 50%;
    background: 
        radial-gradient(circle, transparent 0%, transparent 24%, rgba(168, 85, 247, 0.04) 25%, transparent 26%),
        radial-gradient(circle, transparent 0%, transparent 49%, rgba(236, 72, 153, 0.03) 50%, transparent 51%),
        radial-gradient(circle, transparent 0%, transparent 74%, rgba(168, 85, 247, 0.02) 75%, transparent 76%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(236, 72, 153, 0.1));
    border: 1px solid rgba(168, 85, 247, 0.3);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: #d8b4fe;
    margin-bottom: var(--space-xl);
    backdrop-filter: blur(10px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-purple);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px var(--accent-purple);
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.1); }
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-tertiary);
    max-width: 650px;
    margin: 0 auto var(--space-xl);
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.stat-box {
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(236, 72, 153, 0.05) 100%);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    width: 180px;
    height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-box:hover {
    border-color: rgba(168, 85, 247, 0.4);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.2), 0 0 60px rgba(168, 85, 247, 0.1);
}

.stat-box:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-md);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.15));
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d8b4fe;
    transition: all 0.3s ease;
}

.stat-box:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(236, 72, 153, 0.25));
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

.stat-icon svg {
    width: 24px;
    height: 24px;
}

.stat-number {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: var(--space-xs);
}

.stat-value {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-mono);
    line-height: 1;
    background: linear-gradient(180deg, #fff 0%, #d8b4fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-pink);
    font-family: var(--font-mono);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* ========================================
   仪表板预览 - Dashboard Preview
   ======================================== */
.dashboard-preview-section {
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, var(--bg-darkest) 0%, var(--bg-darker) 100%);
    position: relative;
}

.dashboard-preview-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.dashboard-preview {
    padding: 0 var(--space-lg);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.dashboard-container {
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.95) 0%, rgba(10, 15, 26, 0.98) 100%);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 100px rgba(168, 85, 247, 0.1);
}

/* 顶部工具栏 */
.dashboard-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) var(--space-lg);
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-subtle);
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.toolbar-brand {
    font-weight: 700;
    font-size: 0.9rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.toolbar-divider {
    width: 1px;
    height: 16px;
    background: var(--border-light);
}

.toolbar-item {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.toolbar-item:hover,
.toolbar-item.active {
    color: var(--text-primary);
    background: rgba(168, 85, 247, 0.15);
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.toolbar-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.toolbar-badge {
    font-size: 0.7rem;
    padding: 2px 8px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-sm);
    color: var(--accent-green);
}

/* 主内容区 */
.dashboard-main {
    display: grid;
    grid-template-columns: 180px 1fr 200px;
    min-height: 400px;
}

/* 左侧边栏 */
.dashboard-sidebar {
    padding: var(--space-md);
    border-right: 1px solid var(--border-subtle);
    background: rgba(0, 0, 0, 0.2);
}

.sidebar-section {
    margin-bottom: var(--space-lg);
}

.sidebar-title {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: var(--space-sm);
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.8rem;
    color: var(--text-tertiary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-item:hover,
.sidebar-item.active {
    background: rgba(168, 85, 247, 0.1);
    color: var(--text-secondary);
}

.sidebar-item .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 6px var(--accent-green);
}

.sidebar-item .dot.yellow {
    background: var(--accent-yellow);
    box-shadow: 0 0 6px var(--accent-yellow);
}

.sidebar-item .dot.red {
    background: var(--accent-red);
    box-shadow: 0 0 6px var(--accent-red);
}

.sidebar-item .dot.orange {
    background: var(--accent-orange);
    box-shadow: 0 0 6px var(--accent-orange);
}

.sidebar-item .count {
    margin-left: auto;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.sidebar-layers {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.layer-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.layer-checkbox {
    width: 14px;
    height: 14px;
    border: 1px solid var(--border-light);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.layer-checkbox.checked {
    background: var(--accent-green);
    border-color: var(--accent-green);
}

.layer-checkbox.checked::after {
    content: '✓';
    font-size: 0.6rem;
    color: white;
}

/* 地图区域 */
.dashboard-map {
    position: relative;
    background: linear-gradient(135deg, rgba(10, 15, 26, 0.8) 0%, rgba(5, 8, 15, 0.9) 100%);
}

.map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    border-bottom: 1px solid var(--border-subtle);
}

.map-controls {
    display: flex;
    gap: var(--space-xs);
}

.map-btn {
    padding: 4px 10px;
    background: transparent;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-tertiary);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.map-btn:hover,
.map-btn.active {
    background: rgba(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.3);
    color: var(--text-secondary);
}

.map-btn .track-count {
    color: var(--accent-cyan);
    margin-left: 4px;
}

.map-actions {
    display: flex;
    gap: var(--space-xs);
}

.map-icon-btn {
    width: 28px;
    height: 28px;
    background: transparent;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.map-icon-btn:hover {
    background: rgba(168, 85, 247, 0.1);
    color: var(--text-secondary);
}

.map-icon-btn svg {
    width: 14px;
    height: 14px;
}

.map-canvas {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.world-map {
    position: absolute;
    inset: 0;
}

.map-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.continent {
    fill: rgba(168, 85, 247, 0.15);
    stroke: rgba(168, 85, 247, 0.2);
    stroke-width: 1;
}

.routes {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.route-line {
    fill: none;
    stroke: rgba(6, 182, 212, 0.4);
    stroke-width: 1.5;
    stroke-dasharray: 5, 5;
    animation: dash 20s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: -100;
    }
}

.map-marker {
    position: absolute;
    transform: translate(-50%, -50%);
}

.marker-dot {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.marker-dot.red {
    background: var(--accent-red);
    box-shadow: 0 0 10px var(--accent-red);
}

.marker-dot.yellow {
    background: var(--accent-yellow);
    box-shadow: 0 0 10px var(--accent-yellow);
}

.marker-dot.orange {
    background: var(--accent-orange);
    box-shadow: 0 0 10px var(--accent-orange);
}

.marker-dot.cyan {
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
}

.marker-dot.purple {
    background: var(--accent-purple);
    box-shadow: 0 0 10px var(--accent-purple);
}

.marker-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: inherit;
    opacity: 0.3;
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

.map-overlay {
    position: absolute;
    bottom: var(--space-sm);
    left: var(--space-md);
}

.coord-display {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}

/* 雷达区域 */
.dashboard-radar {
    padding: var(--space-md);
    border-left: 1px solid var(--border-subtle);
    background: rgba(0, 0, 0, 0.2);
}

.radar-header {
    margin-bottom: var(--space-md);
}

.radar-title {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: var(--space-xs);
    display: block;
}

.radar-tabs {
    display: flex;
    gap: var(--space-xs);
}

.radar-tab {
    font-size: 0.7rem;
    color: var(--text-muted);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.radar-tab.active {
    background: rgba(168, 85, 247, 0.2);
    color: var(--text-secondary);
}

.radar-display {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.radar-circle {
    width: 140px;
    height: 140px;
    position: relative;
    border-radius: 50%;
    border: 1px solid rgba(6, 182, 212, 0.3);
    background: radial-gradient(circle, rgba(6, 182, 212, 0.05) 0%, transparent 70%);
}

.radar-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(6, 182, 212, 0.15);
}

.radar-ring:nth-child(1) {
    width: 33%;
    height: 33%;
}

.radar-ring:nth-child(2) {
    width: 66%;
    height: 66%;
}

.radar-ring:nth-child(3) {
    width: 100%;
    height: 100%;
}

.radar-sweep {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.8));
    transform-origin: left center;
    animation: radar-sweep 4s linear infinite;
}

@keyframes radar-sweep {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.radar-blip {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-green);
    animation: blip 2s ease-in-out infinite;
}

@keyframes blip {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

.radar-legend {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.7rem;
    color: var(--text-tertiary);
}

.legend-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.legend-dot.green {
    background: var(--accent-green);
}

.legend-dot.yellow {
    background: var(--accent-yellow);
}

.legend-dot.red {
    background: var(--accent-red);
}

/* 底部信息流 */
.dashboard-feeds {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 1px;
    background: var(--border-subtle);
    border-top: 1px solid var(--border-subtle);
}

.feed-panel {
    background: rgba(10, 15, 26, 0.8);
    padding: var(--space-md);
    min-height: 200px;
}

.feed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border-subtle);
}

.feed-title {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.feed-count {
    color: var(--accent-cyan);
    margin-left: 4px;
}

.feed-tabs {
    display: flex;
    gap: var(--space-xs);
}

.feed-tab {
    font-size: 0.65rem;
    color: var(--text-muted);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.feed-tab.active {
    background: rgba(168, 85, 247, 0.2);
    color: var(--text-secondary);
}

.feed-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.feed-item {
    padding: var(--space-sm);
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-sm);
    border-left: 2px solid var(--border-subtle);
}

.feed-item.social {
    display: flex;
    gap: var(--space-sm);
    border-left: none;
}

.feed-time {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    margin-bottom: 2px;
}

.feed-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: var(--space-xs);
}

.feed-tags {
    display: flex;
    gap: var(--space-xs);
    flex-wrap: wrap;
}

.feed-tag {
    font-size: 0.6rem;
    padding: 1px 6px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 3px;
    color: var(--text-tertiary);
}

.feed-tag.red {
    background: rgba(239, 68, 68, 0.1);
    color: var(--accent-red);
}

.feed-avatar {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.feed-body {
    flex: 1;
}

.feed-author {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 2px;
}

.feed-handle {
    color: var(--text-muted);
    font-weight: 400;
}

/* 预测市场 */
.prediction-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.prediction-item {
    padding: var(--space-sm);
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-sm);
}

.prediction-item.highlighted {
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.prediction-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
}

.prediction-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-bottom: var(--space-xs);
    overflow: hidden;
}

.prediction-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-green), #34d399);
    border-radius: 2px;
}

.prediction-fill.orange {
    background: linear-gradient(90deg, var(--accent-orange), #fbbf24);
}

.prediction-fill.red {
    background: linear-gradient(90deg, var(--accent-red), #f87171);
}

.prediction-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    font-family: var(--font-mono);
}

.prediction-yes {
    color: var(--accent-green);
}

.prediction-mid {
    color: var(--accent-orange);
}

.prediction-low {
    color: var(--accent-red);
}

.prediction-no {
    color: var(--text-muted);
}

.prediction-chart {
    margin-top: var(--space-xs);
    height: 20px;
}

.prediction-chart svg {
    width: 100%;
    height: 100%;
}

/* ========================================
   图表区域
   ======================================== */
.charts-section {
    padding: var(--space-xl) 0;
    background: var(--bg-darker);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.chart-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    backdrop-filter: blur(10px);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.chart-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.chart-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.chart-value.up {
    color: var(--accent-green);
}

.chart-value.down {
    color: var(--accent-red);
}

.chart-change {
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
}

.chart-change.up {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
}

.chart-change.down {
    background: rgba(239, 68, 68, 0.1);
    color: var(--accent-red);
}

.chart-container {
    height: 150px;
    position: relative;
    overflow: hidden;
}

.chart-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 4px;
    gap: 4px;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, var(--accent-purple), transparent);
    border-radius: 2px 2px 0 0;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.chart-bar:hover {
    opacity: 1;
    background: linear-gradient(to top, var(--accent-pink), transparent);
}

/* ========================================
   筛选栏
   ======================================== */
.filter-section {
    padding: var(--space-lg) 0;
    background: var(--bg-darker);
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 65px;
    z-index: 50;
}

.filter-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.filter-tabs {
    display: flex;
    gap: var(--space-xs);
    background: var(--bg-glass);
    padding: 4px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}

.tab {
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-tertiary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab:hover {
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
}

.tab.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 2px 10px rgba(168, 85, 247, 0.3);
}

.filter-actions {
    display: flex;
    gap: var(--space-sm);
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-tertiary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.filter-btn:hover {
    border-color: var(--border-light);
    color: var(--text-secondary);
}

/* ========================================
   情报网格 - 玻璃态卡片
   ======================================== */
.intelligence-grid {
    padding: var(--space-xl) 0;
    background: var(--bg-darkest);
    min-height: 60vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--space-xl);
}

.section-header.center {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(236, 72, 153, 0.1));
    border: 1px solid rgba(168, 85, 247, 0.3);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: #d8b4fe;
    margin-bottom: var(--space-sm);
    font-weight: 500;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.section-desc {
    color: var(--text-tertiary);
    margin-top: var(--space-sm);
    font-size: 1rem;
}

/* 数据卡片网格 */
.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.data-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.data-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.data-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px) scale(1.01);
    box-shadow: var(--shadow-lg);
}

.data-card:hover::before {
    transform: scaleX(1);
}

.data-card.market:hover {
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow: var(--shadow-glow-cyan);
}

.data-card.market:hover::before {
    background: var(--gradient-secondary);
}

.data-card.policy:hover {
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: var(--shadow-glow-purple);
}

.data-card.competitor:hover {
    border-color: rgba(236, 72, 153, 0.5);
}

.data-card.competitor:hover::before {
    background: linear-gradient(90deg, var(--accent-pink), var(--accent-orange));
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-md);
}

.card-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(236, 72, 153, 0.1));
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d8b4fe;
    transition: all 0.3s ease;
}

.data-card:hover .card-icon {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.2));
    border-color: rgba(168, 85, 247, 0.4);
    transform: scale(1.1);
}

.card-icon svg {
    width: 22px;
    height: 22px;
}

.card-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--space-xs);
}

.update-badge {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 3px 8px;
    background: var(--bg-hover);
    border-radius: 4px;
    color: var(--text-muted);
    font-weight: 500;
}

.update-badge.new {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 182, 212, 0.2));
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.3);
    animation: pulse 2s infinite;
}

.update-badge.hot {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(239, 68, 68, 0.2));
    color: var(--accent-orange);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.card-body {
    position: relative;
    z-index: 1;
}

.card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    line-height: 1.4;
}

.card-metric {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.metric-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.metric-value.up {
    color: var(--accent-green);
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.metric-value.down {
    color: var(--accent-red);
    text-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

.metric-value.alert {
    color: var(--accent-orange);
    animation: pulse 2s infinite;
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.tag {
    font-size: 0.7rem;
    padding: 3px 10px;
    background: var(--bg-hover);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    color: var(--text-tertiary);
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.3);
    color: #d8b4fe;
}

.load-more {
    text-align: center;
    margin-top: var(--space-2xl);
}

/* ========================================
   数据合规声明
   ======================================== */
.data-compliance {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-2xl);
    padding: var(--space-lg);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(6, 182, 212, 0.05) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.compliance-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 182, 212, 0.15));
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
    flex-shrink: 0;
}

.compliance-icon svg {
    width: 24px;
    height: 24px;
}

.compliance-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.compliance-text strong {
    color: var(--accent-green);
    font-weight: 600;
}

/* ========================================
   功能特性 - 玻璃态卡片
   ======================================== */
.features {
    padding: var(--space-3xl) 0;
    background: var(--bg-darker);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.feature-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: var(--gradient-glass);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow-purple);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(236, 72, 153, 0.1));
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    color: #d8b4fe;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(236, 72, 153, 0.2));
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 1;
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* ========================================
   情报来源展示 - Marquee滚动效果
   ======================================== */
.sources-section {
    padding: var(--space-3xl) 0;
    background: var(--bg-darker);
    position: relative;
    overflow: hidden;
}

.sources-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.sources-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.sources-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(6, 182, 212, 0.1));
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--accent-green);
    margin-bottom: var(--space-md);
    font-weight: 500;
}

.sources-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.sources-count {
    background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sources-desc {
    font-size: 1rem;
    color: var(--text-tertiary);
    max-width: 600px;
    margin: 0 auto;
}

/* Marquee滚动容器 */
.marquee-container {
    width: 100%;
    overflow: hidden;
    margin-bottom: var(--space-md);
    position: relative;
}

.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-darker), transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg-darker), transparent);
}

.marquee-row {
    display: flex;
    width: fit-content;
}

.marquee-content {
    display: flex;
    gap: var(--space-md);
    padding: 0 var(--space-md);
}

/* 向左滚动 */
.marquee-left .marquee-content {
    animation: scroll-left 30s linear infinite;
}

/* 向右滚动 */
.marquee-right .marquee-content {
    animation: scroll-right 35s linear infinite;
}

/* 慢速向左 */
.marquee-left-slow .marquee-content {
    animation: scroll-left 40s linear infinite;
}

/* 慢速向右 */
.marquee-right-slow .marquee-content {
    animation: scroll-right 45s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* 卡片样式 */
.source-card {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    white-space: nowrap;
    transition: all 0.3s ease;
}

.source-card:hover {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.3);
}

.source-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.source-dot.yellow {
    background: var(--accent-yellow);
    box-shadow: 0 0 8px var(--accent-yellow);
}

.source-dot.red {
    background: var(--accent-red);
    box-shadow: 0 0 8px var(--accent-red);
}

.source-dot.cyan {
    background: var(--accent-cyan);
    box-shadow: 0 0 8px var(--accent-cyan);
}

.source-dot.orange {
    background: var(--accent-orange);
    box-shadow: 0 0 8px var(--accent-orange);
}

.source-dot.green {
    background: var(--accent-green);
    box-shadow: 0 0 8px var(--accent-green);
}

.source-dot.purple {
    background: var(--accent-purple);
    box-shadow: 0 0 8px var(--accent-purple);
}

.source-dot.blue {
    background: var(--accent-blue);
    box-shadow: 0 0 8px var(--accent-blue);
}

.source-name {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.source-badge {
    font-size: 0.7rem;
    padding: 2px 8px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-sm);
    color: var(--accent-orange);
    font-weight: 500;
    font-family: var(--font-mono);
}

/* 悬停时暂停动画 */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

/* ========================================
   CTA区域 - 优化
   ======================================== */
.cta-section {
    position: relative;
    padding: var(--space-3xl) 0;
    background: var(--bg-darkest);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

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

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.cta-subtitle {
    color: var(--text-tertiary);
    margin-bottom: var(--space-xl);
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.cta-feature svg {
    width: 18px;
    height: 18px;
    color: var(--accent-green);
}

/* ========================================
   页脚 - 优化
   ======================================== */
.footer {
    background: var(--bg-darkest);
    border-top: 1px solid var(--border-subtle);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-brand .logo {
    margin-bottom: var(--space-md);
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.2));
    border-color: rgba(168, 85, 247, 0.4);
    color: #d8b4fe;
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-links h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

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

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #d8b4fe;
    transform: translateX(4px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-subtle);
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ========================================
   弹窗 - 详情面板
   ======================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: var(--space-xs);
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: var(--space-lg);
}

.modal-footer {
    padding: var(--space-lg);
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: flex-end;
    gap: var(--space-sm);
}

/* ========================================
   通知列表
   ======================================== */
.notification-panel {
    position: fixed;
    top: 80px;
    right: var(--space-lg);
    width: 360px;
    max-height: 500px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 1500;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.notification-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notification-header {
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.notification-list {
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    gap: var(--space-md);
    cursor: pointer;
    transition: background 0.3s ease;
}

.notification-item:hover {
    background: var(--bg-hover);
}

.notification-item.unread {
    background: rgba(168, 85, 247, 0.05);
}

.notification-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-icon.alert {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-orange);
}

.notification-icon.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
}

.notification-icon.info {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
}

.notification-content {
    flex: 1;
}

.notification-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
}

.notification-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ========================================
   动画
   ======================================== */
@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ========================================
   响应式 - 全面优化
   ======================================== */
@media (max-width: 1200px) {
    .data-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 1024px) {
    .hero-stats {
        flex-wrap: wrap;
        gap: var(--space-md);
    }
    
    .stat-box {
        flex: 1;
        min-width: 140px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .charts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .search-bar {
        display: none;
    }
    
    .status-bar .container {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }
    
    .filter-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
        padding: 0 var(--space-md);
    }
    
    .stat-box {
        width: 100%;
        height: auto;
        min-height: 180px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    .data-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-features {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .notification-panel {
        right: var(--space-sm);
        left: var(--space-sm);
        width: auto;
    }
    
    .sources-title {
        font-size: 1.8rem;
    }
    
    .source-card {
        padding: var(--space-xs) var(--space-sm);
    }
    
    .source-name {
        font-size: 0.8rem;
    }
    
    /* 雷达扫描移动端 */
    .radar-scan {
        width: 600px;
        height: 600px;
    }
    
    .radar-scan .radar-ring:nth-child(1) {
        width: 200px;
        height: 200px;
    }
    
    .radar-scan .radar-ring:nth-child(2) {
        width: 400px;
        height: 400px;
    }
    
    .radar-scan .radar-ring:nth-child(3) {
        width: 550px;
        height: 550px;
    }
    
    .radar-scan .radar-grid {
        width: 500px;
        height: 500px;
    }
    
    /* 仪表板预览移动端 */
    .dashboard-preview {
        padding: 0 var(--space-sm);
        margin-top: var(--space-xl);
    }
    
    .dashboard-main {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .dashboard-sidebar {
        display: none;
    }
    
    .dashboard-radar {
        display: none;
    }
    
    .map-canvas {
        height: 250px;
    }
    
    .dashboard-feeds {
        grid-template-columns: 1fr;
    }
    
    .feed-panel.wide {
        display: none;
    }
    
    .toolbar-item {
        display: none;
    }
    
    .toolbar-item.active {
        display: block;
    }
    
    /* 数据合规声明移动端 */
    .data-compliance {
        flex-direction: column;
        text-align: center;
        padding: var(--space-md);
    }
    
    .compliance-icon {
        width: 40px;
        height: 40px;
    }
    
    .compliance-text {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    :root {
        --space-lg: 1rem;
        --space-xl: 1.5rem;
        --space-2xl: 2rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
}
