:root {
    /* 暗黑科技色盘 */
    --bg-deep: #050507;
    --bg-surface: #0f1115;
    --bg-card: rgba(20, 23, 30, 0.6);

    --primary: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.5);

    --accent: #8b5cf6;
    --success: #10b981;
    --danger: #ef4444;

    --text-main: #ffffff;
    --text-muted: #9ca3af;

    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shine: rgba(255, 255, 255, 0.03);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* 背景环境光 */
.ambient-light {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    opacity: 0.4;
    pointer-events: none;
}

.light-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary), transparent 70%);
    top: -200px;
    left: -100px;
    animation: floatLight 10s infinite alternate;
}

.light-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent), transparent 70%);
    bottom: -100px;
    right: -100px;
    animation: floatLight 12s infinite alternate-reverse;
}

@keyframes floatLight {
    0% {
        transform: translate(0, 0);
        opacity: 0.3;
    }

    100% {
        transform: translate(50px, 50px);
        opacity: 0.5;
    }
}

/* 导航栏 - 毛玻璃效果 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 72px;
    background: rgba(5, 5, 7, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.5px;
}

.logo-symbol {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 800;
    box-shadow: 0 0 15px var(--primary-glow);
}

.highlight {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text-main);
}

.status-indicator {
    font-size: 12px;
    color: var(--success);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: 20px;
    padding: 4px 8px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-indicator .dot {
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--success);
    animation: pulse 2s infinite;
}

.nav-actions {
    display: flex;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
}

/* 按钮系统 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s var(--ease-out);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

/* Hero 区域 */
.hero {
    padding-top: 140px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--glass-shine);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.text-gradient {
    background: linear-gradient(to right, #fff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-data {
    display: flex;
    gap: 24px;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
}

.data-item .data-val {
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
}

.data-item .data-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.data-divider {
    width: 1px;
    height: 30px;
    background: var(--glass-border);
}

/* Hero Visual - 伪3D 界面 */
.hero-visual {
    position: relative;
    height: 500px;
    perspective: 1000px;
}

.interface-container {
    position: relative;
    width: 100%;
    height: 100%;
    transform: rotateY(-5deg) rotateX(5deg);
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.interface-container:hover {
    transform: rotateY(0) rotateX(0);
}

.glass-panel {
    background: rgba(20, 23, 30, 0.8);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    position: absolute;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.main-panel {
    width: 100%;
    height: 80%;
    top: 10%;
    left: 0;
    padding: 24px;
    z-index: 1;
    overflow: hidden;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    font-family: var(--font-mono);
}

.coin-pair {
    display: flex;
    align-items: center;
    gap: 8px;
}

.leverage {
    background: #333;
    font-size: 10px;
    padding: 2px 4px;
    border-radius: 4px;
    color: #aaa;
}

.price.up {
    color: var(--success);
    font-weight: bold;
}

/* 模拟图表 */
.chart-area {
    position: relative;
    height: 200px;
    width: 100%;
    border-bottom: 1px solid var(--glass-border);
    border-left: 1px solid var(--glass-border);
}

.candlestick {
    width: 10px;
    background: var(--danger);
    position: absolute;
    opacity: 0.8;
}

.candlestick.up {
    background: var(--success);
}

.cursor-line {
    position: absolute;
    left: 45%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.3);
    border-right: 1px dashed rgba(255, 255, 255, 0.3);
}

.signal-tag {
    position: absolute;
    left: 46%;
    top: 20%;
    background: var(--success);
    color: #000;
    font-size: 10px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

/* 悬浮卡片 */
.glass-card {
    background: rgba(30, 35, 45, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 16px 24px;
    border-radius: 12px;
    position: absolute;
    z-index: 2;
    min-width: 140px;
}

.card-1 {
    top: 0;
    right: -20px;
    animation: float 6s infinite ease-in-out;
}

.card-2 {
    bottom: 40px;
    right: -40px;
    animation: float 7s infinite ease-in-out 1s;
}

.card-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.card-val {
    font-weight: 700;
    font-family: var(--font-mono);
}

.text-green {
    color: var(--success);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* 信任背书条 */
.trust-section {
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 24px 0;
    background: rgba(0, 0, 0, 0.3);
}

.trust-section .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 14px;
}

.logos {
    display: flex;
    gap: 40px;
    font-weight: 700;
    opacity: 0.5;
    font-family: var(--font-mono);
}

/* Section 通用 */
.section {
    padding: 100px 0;
}

.dark-bg {
    background: #000;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 36px;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 18px;
    color: var(--text-muted);
}

/* Bento Grid 布局 */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    grid-auto-rows: minmax(180px, auto);
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 32px;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.bento-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.bento-card.large {
    grid-column: span 2;
    grid-row: span 2;
    display: flex;
}

.bento-card.wide {
    grid-column: span 3;
}

/* 卡片内容样式 */
.bento-card h3 {
    margin-bottom: 12px;
    font-size: 20px;
}

.bento-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.feature-tag-list {
    margin-top: 24px;
    display: flex;
    gap: 8px;
}

.feature-tag-list span {
    font-size: 12px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.card-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.visual-ai {
    flex: 1;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.2), transparent 70%);
    border-radius: 16px;
    margin-left: 20px;
    position: relative;
}

/* 模拟 UI 行 */
.row-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.ui-preview-mini {
    display: flex;
    gap: 12px;
}

.mini-trader {
    padding: 8px 16px;
    background: #222;
    border-radius: 8px;
    font-size: 12px;
    color: #666;
    border: 1px solid #333;
}

.mini-trader.active {
    background: #111;
    border-color: var(--success);
    color: var(--success);
}

/* Dashboard 可视化区 */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.feature-check-list {
    margin-top: 32px;
}

.feature-check-list li {
    margin-bottom: 24px;
    padding-left: 20px;
    border-left: 2px solid var(--glass-border);
    transition: border-color 0.3s;
}

.feature-check-list li:hover {
    border-left-color: var(--primary);
}

.feature-check-list strong {
    display: block;
    color: var(--text-main);
    margin-bottom: 4px;
}

.browser-mockup {
    background: #1a1d24;
    border-radius: 12px;
    border: 1px solid #333;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.browser-bar {
    height: 30px;
    background: #2a2d35;
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 6px;
}

.browser-bar .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.browser-screen {
    height: 300px;
    background: #0e1014;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.screen-placeholder {
    text-align: center;
    color: #333;
    border: 2px dashed #333;
    padding: 40px;
    border-radius: 12px;
}

/* 下载区 */
.cta-box {
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.1), transparent 40%), var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 80px;
    text-align: center;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    max-width: 800px;
    margin: 40px auto;
}

.dl-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s;
}

.dl-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
}

.os-icon {
    font-size: 24px;
}

.dl-info {
    flex: 1;
    text-align: left;
}

.os-name {
    display: block;
    font-weight: 700;
    font-size: 14px;
}

.dl-ver {
    font-size: 12px;
    color: var(--text-muted);
}

.dl-action {
    opacity: 0.5;
    font-weight: bold;
}

.cta-footer {
    margin-top: 30px;
    font-size: 13px;
    color: var(--text-muted);
}

/* 页脚 */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 40px;
    background: var(--bg-deep);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-brand .logo-text {
    font-weight: 800;
    font-size: 20px;
    color: var(--text-main);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 8px;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-links h4 {
    font-size: 14px;
    color: var(--text-main);
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #555;
}

/* 响应式 */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-desc {
        margin: 0 auto 40px;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-data {
        justify-content: center;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-card.large,
    .bento-card.wide {
        grid-column: span 1;
    }

    .split-layout {
        grid-template-columns: 1fr;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .footer-top {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 40px;
    }
}