/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 页面切换过渡效果 */
.page-transition {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.page-transition.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Section 进入动画 */
.section-animate {
    opacity: 0;
    transform: translateY(50px) scale(0.95) rotateX(10deg);
    filter: blur(5px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-animate.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0deg);
    filter: blur(0px);
}

/* 不同section的进入动画变体 */
.section-animate:nth-child(odd) {
    transform: translateX(-50px) translateY(30px) scale(0.9);
}

.section-animate:nth-child(even) {
    transform: translateX(50px) translateY(30px) scale(0.9);
}

.section-animate.animate-in:nth-child(odd),
.section-animate.animate-in:nth-child(even) {
    transform: translateX(0) translateY(0) scale(1);
}

/* 特殊动画效果 */
.section-animate.hero {
    transform: translateY(30px) scale(0.95);
    filter: blur(2px) brightness(0.8);
}

.section-animate.hero.animate-in {
    transform: translateY(0) scale(1);
    filter: blur(0px) brightness(1);
}

/* 卡片动画 */
.feature-card, .example-card, .download-card {
    opacity: 0;
    transform: translateY(30px) rotateY(15deg);
    transition: all 0.6s ease-out;
}

.animate-in .feature-card,
.animate-in .example-card,
.animate-in .download-card {
    opacity: 1;
    transform: translateY(0) rotateY(0deg);
}

/* 延迟动画 */
.feature-card:nth-child(1) { transition-delay: 0.1s; }
.feature-card:nth-child(2) { transition-delay: 0.2s; }
.feature-card:nth-child(3) { transition-delay: 0.3s; }
.feature-card:nth-child(4) { transition-delay: 0.4s; }
.feature-card:nth-child(5) { transition-delay: 0.5s; }
.feature-card:nth-child(6) { transition-delay: 0.6s; }

/* 视差滚动效果 */
.parallax-element {
    transition: transform 0.1s ease-out;
}

/* 跳转加载动画 */
.jump-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(0, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 0, 255, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, rgba(0, 255, 255, 0.05), rgba(255, 0, 255, 0.05));
    backdrop-filter: blur(15px) saturate(1.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.jump-loading.active {
    opacity: 1;
    pointer-events: all;
    animation: pulse 1s ease-in-out infinite;
}

.jump-loading::before {
    content: '';
    width: 80px;
    height: 80px;
    border: 4px solid transparent;
    border-top: 4px solid #00ffff;
    border-right: 4px solid #ff00ff;
    border-radius: 50%;
    animation: spin 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    box-shadow: 
        0 0 20px rgba(0, 255, 255, 0.5),
        inset 0 0 20px rgba(255, 0, 255, 0.3);
}

.jump-loading::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 50%;
    animation: spin 2s linear infinite reverse;
}

.jump-text {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 0 15px rgba(0, 255, 255, 1);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    border: 2px solid #00ffff;
    animation: textGlow 1.2s ease-in-out infinite alternate;
    z-index: 10;
    white-space: nowrap;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { 
        background-size: 100% 100%;
        filter: brightness(1);
    }
    50% { 
        background-size: 110% 110%;
        filter: brightness(1.2);
    }
}

@keyframes textGlow {
    0% { 
        text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
        color: #00ffff;
    }
    100% { 
        text-shadow: 0 0 20px rgba(0, 255, 255, 1), 0 0 30px rgba(0, 255, 255, 0.5);
        color: #66ffff;
    }
}

body {
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
    line-height: 1.6;
    color: #00d4ff;
    background: #000;
    overflow-x: hidden;
    position: relative;
}

/* 粒子背景 */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: radial-gradient(ellipse at center, #001122 0%, #000000 100%);
}

/* 基础样式 */
:root {
    --primary-color: #00d4ff;
    --secondary-color: #0099cc;
    --accent-color: #ff0080;
    --text-primary: #00d4ff;
    --text-secondary: #0099cc;
    --text-light: #0066aa;
    --bg-primary: #000000;
    --bg-secondary: #001122;
    --bg-dark: #000000;
    --bg-darker: #000000;
    --border-color: #00d4ff;
    --shadow-light: 0 0 10px rgba(0, 212, 255, 0.3);
    --shadow-medium: 0 0 20px rgba(0, 212, 255, 0.5);
    --shadow-heavy: 0 0 30px rgba(0, 212, 255, 0.7);
    --border-radius: 8px;
    --border-radius-large: 20px;
    --border-radius-small: 4px;
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
    --transition-slow: all 0.4s ease;
    --transition-cubic: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transform-hover: translateY(-2px);
    --transform-scale: scale(1.05);
    --box-shadow-glow: 0 0 20px rgba(0, 255, 65, 0.3);
    --box-shadow-hover: 0 0 30px rgba(0, 255, 65, 0.5);
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 20, 40, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: var(--shadow-medium);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    text-shadow: 0 0 10px var(--primary-color);
    animation: pulse 2s infinite;
    transition: var(--transition);
    border-radius: var(--border-radius);
    padding: 8px 12px;
    position: relative;
    overflow: hidden;
}

.nav-logo:hover {
    transform: var(--transform-hover);
    text-shadow: 0 0 20px var(--primary-color);
    background: rgba(0, 255, 136, 0.1);
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.nav-logo:active {
    transform: translateY(0) scale(0.98);
}

.nav-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.4), transparent);
    transition: left 0.5s ease;
}

.nav-logo:hover::before {
    left: 100%;
}

.logo-icon {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chestnut-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    filter: drop-shadow(0 0 10px rgba(255, 165, 0, 0.6));
    animation: chestnut-glow 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

.chestnut-icon:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(255, 165, 0, 0.8));
}

@keyframes chestnut-glow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(255, 165, 0, 0.6));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(255, 165, 0, 0.9));
    }
}

.chestnut {
    color: #007bff;
    text-shadow: 0 0 10px rgba(0, 123, 255, 0.8);
    font-weight: 900;
    font-family: 'Courier New', monospace;
}



@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.logo-img {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 10px var(--primary-color));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
    display: inline-block;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 255, 65, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -2;
}

.nav-link:active::before {
    width: 200px;
    height: 200px;
}

/* 滑动光效 */
.nav-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 65, 0.3), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.nav-link:hover::after {
    left: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.4), 0 0 30px rgba(0, 255, 65, 0.2);
    text-shadow: 0 0 8px var(--primary-color);
    transform: translateY(-1px);
    background: rgba(0, 255, 65, 0.1);
}

.nav-link:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.6);
}

.nav-link:focus {
    outline: none;
}

/* 代理加盟链接特殊样式 */
.agent-link {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.2), rgba(255, 69, 0, 0.2));
    border-color: rgba(255, 165, 0, 0.5) !important;
    color: #ffa500 !important;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 165, 0, 0.6);
    box-shadow: 0 0 15px rgba(255, 165, 0, 0.3);
    animation: agent-glow 2s ease-in-out infinite;
    position: relative;
}

.agent-link::before {
    background: rgba(255, 165, 0, 0.3) !important;
}

.agent-link::after {
    background: linear-gradient(90deg, transparent, rgba(255, 165, 0, 0.5), transparent) !important;
}

.agent-link:hover {
    color: #ffffff !important;
    border-color: #ffa500 !important;
    box-shadow: 0 0 25px rgba(255, 165, 0, 0.6), 0 0 40px rgba(255, 165, 0, 0.4);
    text-shadow: 0 0 12px #ffa500;
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.3), rgba(255, 69, 0, 0.3));
    transform: translateY(-2px) scale(1.05);
}

.agent-link:active {
    transform: translateY(0) scale(1.02);
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.8);
}

@keyframes agent-glow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(255, 165, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(255, 165, 0, 0.5), 0 0 35px rgba(255, 165, 0, 0.3);
    }
}

/* 底部线条效果已被滑动光效替代 */

/* 点击波纹效果已集成到上面的nav-link样式中 */

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
    box-shadow: 0 0 5px var(--primary-color);
}

/* 主要内容 */
main {
    margin-top: 70px;
}

/* 英雄区域 */
.hero {
    background: transparent;
    color: #00ff41;
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(0, 255, 65, 0.03) 50%, transparent 70%),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 98px,
            rgba(0, 255, 65, 0.1) 100px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 98px,
            rgba(0, 255, 65, 0.1) 100px
        );
    animation: matrix-rain 20s linear infinite;
}

@keyframes matrix-rain {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.system-status {
    font-family: 'Courier New', monospace;
    color: #00ff41;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px #00ff41;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 0 20px #00ff41;
    animation: glow 2s ease-in-out infinite alternate;
    position: relative;
    z-index: 1;
}

.title-line, .title-main, .title-sub {
    display: block;
    white-space: nowrap;
    width: 100%;
    position: relative;
    z-index: 2;
}

.title-line {
    font-size: 2rem;
    margin-bottom: 0.3rem;
    opacity: 0;
    overflow: hidden;
    border-right: 2px solid #00ff41;
    white-space: nowrap;
    width: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards, 
               typewriter 1.5s steps(12) 0.2s forwards,
               blink-cursor 1s infinite 0.2s,
               hide-cursor 0.1s ease-out 1.7s forwards;
}

.title-main {
    font-size: 4rem;
    margin-bottom: 0.3rem;
    opacity: 0;
    overflow: hidden;
    border-right: 2px solid #00ff41;
    white-space: nowrap;
    width: 0;
    animation: fadeInUp 0.8s ease-out 0.5s forwards, 
               typewriter 2s steps(15) 1.2s forwards,
               blink-cursor 1s infinite 1.2s,
               hide-cursor 0.1s ease-out 3.2s forwards;
}

.title-sub {
    font-size: 3rem;
    opacity: 0;
    overflow: hidden;
    border-right: 2px solid #00ff41;
    white-space: nowrap;
    width: 0;
    animation: fadeInUp 0.8s ease-out 0.8s forwards, 
               typewriter 2.5s steps(18) 2.5s forwards,
               blink-cursor 1s infinite 2.5s,
               hide-cursor 0.1s ease-out 5s forwards;
}

@keyframes glow {
    0% { 
        text-shadow: 
            0 0 5px #00ff41, 
            0 0 10px #00ff41, 
            0 0 15px #00ff41, 
            0 0 20px #00ff41;
    }
    50% { 
        text-shadow: 
            0 0 10px #00ff41, 
            0 0 20px #00ff41, 
            0 0 30px #00ff41, 
            0 0 40px #00ff41,
            0 0 50px #00ff41;
    }
    100% { 
        text-shadow: 
            0 0 5px #00ff41, 
            0 0 10px #00ff41, 
            0 0 15px #00ff41, 
            0 0 20px #00ff41;
    }
}

@keyframes typewriter {
    0% { width: 0; opacity: 1; }
    1% { width: 0; opacity: 1; }
    100% { width: 100%; opacity: 1; }
}

@keyframes blink-cursor {
    0%, 50% { border-color: #00ff41; }
    51%, 100% { border-color: transparent; }
}

@keyframes hide-cursor {
    0% { border-color: #00ff41; }
    100% { border-color: transparent; }
}

.highlight {
    color: var(--primary-color);
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color), var(--primary-color));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    position: relative;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
}

.terminal-window {
    background: rgba(0, 20, 40, 0.8);
    border: 1px solid #00ff41;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    font-family: 'Courier New', monospace;
    text-align: left;
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.3);
}

.terminal-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #00ff41;
    position: relative;
}

.terminal-title {
    color: #00ff41;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    font-weight: bold;
    text-shadow: 0 0 10px #00ff41;
}

.terminal-content {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.terminal-line {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.prompt {
    color: #00ff41;
    margin-right: 0.5rem;
    font-weight: bold;
}

.command {
    color: #ffffff;
    margin-left: 0.5rem;
}

.output {
    color: #00d4ff;
    margin-left: 1.5rem;
}

.output.status-header {
    color: #ffff00;
    font-weight: bold;
    text-align: center;
    width: 100%;
    margin: 0.5rem 0;
    text-shadow: 0 0 10px #ffff00;
}

.output.success {
    color: #00ff41;
    text-shadow: 0 0 5px #00ff41;
}

.output.success::before {
    content: '✓ ';
    color: #00ff41;
    font-weight: bold;
    text-shadow: 0 0 8px #00ff41;
}

.terminal-controls {
    position: absolute;
    left: 0;
    display: flex;
    gap: 0.5rem;
}

.terminal-dots {
    display: flex;
    gap: 0.5rem;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid #00ff41;
    cursor: pointer;
    font-size: 1rem;
    font-family: 'Courier New', monospace;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 65, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    color: #00ff41;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

.btn-primary:hover {
    background: rgba(0, 255, 65, 0.1);
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.5);
    text-shadow: 0 0 10px #00ff41;
    transform: translateY(-2px);
}

.btn-secondary {
    color: #00ff41;
    border-color: #00cc33;
}

.btn-secondary:hover {
    background: rgba(0, 204, 51, 0.1);
    box-shadow: 0 0 20px rgba(0, 204, 51, 0.5);
    text-shadow: 0 0 10px #00cc33;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* 统计数据 */
.stats {
    background: transparent;
    color: #00ff41;
    padding: 4rem 0;
    text-align: center;
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(0, 255, 65, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 204, 51, 0.1) 0%, transparent 50%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(0, 20, 40, 0.8);
    border: 1px solid #00ff41;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 65, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.5);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 0 20px #00ff41;
    font-family: 'Courier New', monospace;
    animation: counter-glow 2s ease-in-out infinite alternate;
}

@keyframes counter-glow {
    from { text-shadow: 0 0 20px #00ff41; }
    to { text-shadow: 0 0 30px #00ff41, 0 0 40px #00ff41; }
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    color: #00cc33;
    font-family: 'Courier New', monospace;
}

/* 代码预览 */
.hero-visual {
    position: relative;
}

.code-preview {
    background: rgba(0, 20, 40, 0.9);
    border: 1px solid #00ff41;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.3);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
    position: relative;
}

.code-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 65, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.code-preview:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    box-shadow: 0 0 50px rgba(0, 255, 65, 0.5);
}

.code-preview:hover::before {
    opacity: 1;
}

.code-header {
    background: var(--bg-darker);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.code-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27ca3f; }

.code-title {
    color: #8b949e;
    font-size: 0.9rem;
}

.code-content {
    padding: 20px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #e6edf3;
}

.keyword { color: #ff7b72; }
.function { color: #d2a8ff; }
.string { color: #a5d6ff; }
.comment { color: #8b949e; }
.decorator { color: #ffa657; }
.number { color: #79c0ff; }
.class { color: #7ee787; }

/* 区域样式 */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* 功能特性 */
.features {
    background: transparent;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 50px,
            rgba(0, 255, 65, 0.02) 52px
        );
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
    perspective: 1000px;
}

.feature-card {
    background: linear-gradient(135deg, rgba(0, 30, 60, 0.95), rgba(0, 20, 40, 0.9));
    padding: 45px 35px;
    border-radius: 20px;
    border: 2px solid #00ff41;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 8px 32px rgba(0, 255, 65, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: border-glow 4s ease-in-out infinite;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        transparent, 
        rgba(0, 255, 65, 0.1), 
        transparent,
        rgba(0, 255, 65, 0.05),
        transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00ff41, #00cc33, #00ff41);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover::after {
    opacity: 0.3;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 
        0 20px 60px rgba(0, 255, 65, 0.3),
        0 10px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: #00ff41;
    background: linear-gradient(135deg, rgba(0, 40, 80, 0.98), rgba(0, 30, 60, 0.95));
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    display: block;
    color: #00ff41;
    text-shadow: 
        0 0 20px #00ff41,
        0 0 40px #00ff41,
        0 0 60px #00ff41;
    animation: icon-pulse 3s ease-in-out infinite;
    filter: drop-shadow(0 0 10px #00ff41);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotateY(360deg);
    text-shadow: 
        0 0 30px #00ff41,
        0 0 60px #00ff41,
        0 0 90px #00ff41;
}

@keyframes icon-pulse {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 10px #00ff41);
    }
    50% { 
        transform: scale(1.15);
        filter: drop-shadow(0 0 20px #00ff41);
    }
}

@keyframes border-glow {
    0%, 100% {
        border-color: #00ff41;
        box-shadow: 
            0 8px 32px rgba(0, 255, 65, 0.15),
            0 4px 16px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    25% {
        border-color: #00cc33;
        box-shadow: 
            0 8px 32px rgba(0, 204, 51, 0.2),
            0 4px 16px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    50% {
        border-color: #00ff66;
        box-shadow: 
            0 8px 32px rgba(0, 255, 102, 0.25),
            0 4px 16px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    75% {
        border-color: #33ff77;
        box-shadow: 
            0 8px 32px rgba(51, 255, 119, 0.2),
            0 4px 16px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
}

.feature-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #00ff41;
    text-shadow: 
        0 0 15px #00ff41,
        0 0 30px #00ff41;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-title {
    color: #ffffff;
    text-shadow: 
        0 0 20px #00ff41,
        0 0 40px #00ff41,
        0 0 60px #00ff41;
    transform: scale(1.05);
}

.feature-description {
    color: #00cc33;
    line-height: 1.8;
    font-size: 1.1rem;
    font-weight: 400;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-description {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

/* 示例区域 */
.examples {
    background: var(--bg-primary);
}

.examples-content {
    max-width: 800px;
    margin: 0 auto;
}

.example-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.tab-button {
    padding: 12px 24px;
    border: none;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.tab-button.active,
.tab-button:hover {
    background: var(--primary-color);
    color: #000000;
    font-weight: 700;
    text-shadow: none;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.6);
    transform: translateY(-2px);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.code-block {
    background: var(--bg-dark);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.code-block .code-header {
    background: var(--bg-darker);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copy-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: var(--transition);
}

.copy-btn:hover {
    background: var(--secondary-color);
}

.example-image {
    margin-top: 20px;
    text-align: center;
    padding: 20px;
    background: var(--bg-darker);
    border-radius: var(--border-radius);
}

.example-screenshot {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
    transition: var(--transition);
}

.example-screenshot:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.5);
}

/* 下载区域 */
.download {
    background: var(--bg-secondary);
}

.download-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.download-card {
    background: rgba(0, 20, 40, 0.8);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 255, 65, 0.3);
    backdrop-filter: blur(10px);
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
    background: rgba(0, 30, 60, 0.9);
}

.download-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.download-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.download-description {
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.download-command {
    background: var(--bg-dark);
    color: #e6edf3;
    padding: 15px;
    border-radius: var(--border-radius);
    font-family: monospace;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.download-buttons {
    display: flex !important;
    flex-direction: row !important;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* 文档数据库区域 */
.docs {
    background: var(--bg-primary);
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.docs-card {
    background: rgba(0, 20, 40, 0.8);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 212, 255, 0.3);
    backdrop-filter: blur(10px);
}

.docs-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
    background: rgba(0, 30, 60, 0.9);
}

.docs-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.docs-icon-img {
    width: 48px;
    height: 48px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(0, 255, 65, 0.3));
}

.docs-card:hover .docs-icon-img {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(0, 255, 65, 0.6));
}

.docs-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.docs-description {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.docs-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.docs-link:hover {
    color: var(--secondary-color);
}

/* 社区区域 */
.community {
    background: var(--bg-primary);
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.community-card {
    background: rgba(0, 20, 40, 0.8);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 255, 65, 0.3);
    backdrop-filter: blur(10px);
}

.community-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
    background: rgba(0, 30, 60, 0.9);
}

.community-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.1), rgba(0, 255, 65, 0.05));
    border: 2px solid rgba(0, 255, 65, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.community-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(0, 255, 65, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.community-card:hover .community-icon {
    transform: translateY(-5px) scale(1.05);
    border-color: rgba(0, 255, 65, 0.4);
    box-shadow: 0 10px 25px rgba(0, 255, 65, 0.2);
}

.community-card:hover .community-icon::before {
    opacity: 1;
}

.community-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.community-description {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.community-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.community-link:hover {
    color: var(--secondary-color);
}

/* 代理加盟弹窗样式 */
.agent-content-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.agent-intro-box {
    flex: 2;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid #00ff41;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.agent-intro-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #00ff41, #00cc33);
    border-radius: 15px;
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0.3;
    pointer-events: none;
}

.intro-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.intro-icon {
    font-size: 2rem;
    margin-right: 12px;
    filter: drop-shadow(0 0 10px rgba(0, 255, 65, 0.5));
}

.intro-header h3 {
    color: #00ff41;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.intro-content p {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.intro-benefits {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.intro-benefits li {
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.8;
    padding: 5px 0;
    position: relative;
    padding-left: 30px;
}

.intro-requirements {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 255, 65, 0.3);
}

.intro-requirements h4 {
    color: #00ff41;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.intro-requirements p {
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.price-plans {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.price-item {
    flex: 1;
    background: linear-gradient(135deg, #2a2a3e 0%, #1e1e32 100%);
    border: 1px solid rgba(0, 255, 65, 0.3);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.price-item:hover {
    border-color: #00ff41;
    box-shadow: 0 5px 15px rgba(0, 255, 65, 0.2);
    transform: translateY(-2px);
}

.price-item h5 {
    color: #00ff41;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.price-item .price {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: bold;
    margin: 10px 0;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

.price-item .benefits {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
    text-align: left;
}

.price-item .benefits li {
    color: #cccccc;
    font-size: 0.85rem;
    line-height: 1.6;
    padding: 3px 0;
    margin: 0;
}

.agent-join-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.agents-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 100%;
}

.agent-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 250px;
}

.agent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #ff006e, #8338ec, #3a86ff);
    border-radius: 15px;
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.agent-card:hover::before {
    opacity: 1;
}

.agent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 65, 0.2);
}

.agent-avatar {
    width: 60px;
    height: 60px;
    margin: 0 auto 12px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #00ff41;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agent-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.agent-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.join-icon {
    font-size: 2rem;
    color: #00ff41;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: rgba(0, 255, 65, 0.1);
    border-radius: 50%;
}

.agent-name {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 12px 0 8px;
}

.agent-badge {
    display: inline-block;
    background: linear-gradient(45deg, #00ff41, #00cc33);
    color: #000;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.join-badge {
    background: linear-gradient(45deg, #ff006e, #8338ec);
    color: #ffffff;
}

.agent-stats {
    display: flex;
    justify-content: space-around;
    margin: 15px 0;
    padding: 10px 0;
    border-top: 1px solid rgba(0, 255, 65, 0.2);
    border-bottom: 1px solid rgba(0, 255, 65, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    color: #00ff41;
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1.2;
}

.stat-label {
    display: block;
    color: #cccccc;
    font-size: 0.75rem;
    margin-top: 2px;
}

.join-description {
    margin: 15px 0;
    padding: 10px 0;
}

.join-description p {
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.agent-actions {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-join, .btn-existing, .btn-consult {
    border: none;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    width: 100%;
}

.btn-join {
    background: linear-gradient(45deg, #ff006e, #8338ec);
}

.btn-join:hover {
    background: linear-gradient(45deg, #ff1a7a, #9146ff);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 110, 0.4);
}

.btn-existing {
    background: linear-gradient(45deg, #00ff88, #00cc6a);
    color: #1a1a2e;
}

.btn-existing:hover {
    background: linear-gradient(45deg, #1aff94, #1ad176);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.4);
}

.btn-consult {
    background: linear-gradient(45deg, #3a86ff, #06ffa5);
}

.btn-consult:hover {
    background: linear-gradient(45deg, #4d94ff, #1affb1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(58, 134, 255, 0.4);
}

/* 代理加盟弹窗响应式设计 */
@media (max-width: 900px) {
    .agent-content-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    .agent-intro-box {
        padding: 18px;
        flex: none;
    }
    
    .agent-join-section {
        flex: none;
    }
    
    .intro-header h3 {
        font-size: 1.2rem;
    }
    
    .price-plans {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 600px) {
    .agent-card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .agents-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .agent-intro-box {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .intro-header {
        flex-direction: column;
        text-align: center;
    }
    
    .intro-icon {
        margin-right: 0;
        margin-bottom: 8px;
    }
    
    .intro-benefits li {
        font-size: 0.9rem;
        padding-left: 25px;
    }
}

@media (max-width: 480px) {
    .agent-card {
        padding: 15px;
    }
    
    .agent-avatar {
        width: 50px;
        height: 50px;
    }
    
    .agent-name {
        font-size: 1rem;
    }
    
    .agent-badge {
        font-size: 0.8rem;
        padding: 3px 10px;
    }
    
    .stat-number {
        font-size: 1rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
}

/* 页脚 */
.footer {
    background: rgba(0, 10, 20, 0.95);
    color: #00ff41;
    padding: 60px 0 30px;
    border-top: 1px solid #00ff41;
    backdrop-filter: blur(10px);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-description {
    color: #00cc33;
    line-height: 1.6;
    font-family: 'Courier New', monospace;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #00ff41;
    text-shadow: 0 0 10px #00ff41;
    font-family: 'Courier New', monospace;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #00cc33;
    text-decoration: none;
    transition: var(--transition);
    font-family: 'Courier New', monospace;
    position: relative;
}

.footer-links a::before {
    content: '> ';
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-links a:hover {
    color: #00ff41;
    text-shadow: 0 0 10px #00ff41;
    padding-left: 1rem;
}

.footer-bottom {
    border-top: 1px solid #00ff41;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    color: #00cc33;
    font-family: 'Courier New', monospace;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.social-link {
    color: #00cc33;
    text-decoration: none;
    transition: var(--transition);
    font-family: 'Courier New', monospace;
}

.social-link:hover {
    color: #00ff41;
    text-shadow: 0 0 10px #00ff41;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-medium);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .download-options {
        grid-template-columns: 1fr;
    }

    .community-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .download-command {
        flex-direction: column;
        gap: 10px;
    }

    .download-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* 自定义信息框样式 */
.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10002;
    animation: fadeIn 0.3s ease;
}

.custom-alert-overlay.show {
    display: flex;
}

.custom-alert-box {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid #00ff41;
    border-radius: 15px;
    padding: 0;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 255, 65, 0.3);
    animation: slideIn 0.3s ease;
    overflow: hidden;
}

.custom-alert-header {
    background: linear-gradient(45deg, #00ff41, #00cc33);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.custom-alert-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
}

.custom-alert-icon svg {
    width: 20px;
    height: 20px;
}

.custom-alert-title {
    color: #000;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.custom-alert-content {
    padding: 25px 20px;
    text-align: center;
}

.custom-alert-message {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.custom-alert-submessage {
    color: #00ff41;
    font-size: 0.95rem;
    margin: 0;
    opacity: 0.9;
}

.custom-alert-actions {
    padding: 0 20px 20px 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.custom-alert-btn {
    background: linear-gradient(45deg, #00ff41, #00cc33);
    border: none;
    color: #000;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.custom-alert-btn:hover {
    background: linear-gradient(45deg, #00cc33, #009926);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 65, 0.4);
}

.custom-alert-btn-secondary {
    background: linear-gradient(45deg, #333, #555);
    border: 2px solid #00ff41;
    color: #00ff41;
}

.custom-alert-btn-secondary:hover {
    background: linear-gradient(45deg, #00ff41, #00cc33);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 65, 0.4);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .feature-card,
    .download-card,
    .community-card {
        padding: 30px 20px;
    }
    
    .community-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .download-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 8px;
    }
    
    .download-buttons .btn {
        flex: 1;
        min-width: 70px;
        padding: 10px 8px;
        font-size: 0.9rem;
    }
    
    .custom-alert-box {
        margin: 20px;
        width: calc(100% - 40px);
    }
    
    .custom-alert-header {
        padding: 15px;
    }
    
    .custom-alert-content {
        padding: 20px 15px;
    }
}

/* 更小屏幕适配 */
@media (max-width: 360px) {
    .community-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .community-icon {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
    
    .community-title {
        font-size: 1.1rem;
    }
    
    .community-description {
        font-size: 0.8rem;
    }
}

/* 价格弹窗样式 */
.price-modal-content {
    max-width: 600px;
    margin: 5% auto;
}

.price-content {
    padding: 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.price-item {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid #00ff41;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 0;
    transition: all 0.3s ease;
    flex: 0 1 calc(50% - 7.5px);
    min-width: 200px;
    text-align: center;
}

.price-item:hover {
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
    transform: translateY(-2px);
}

.price-item-title {
    color: #00ff41;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-item-title::before {
    content: "💰";
    font-size: 1.1rem;
}

.price-item-price {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.price-item-description {
    color: #cccccc;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.price-highlight {
    background: linear-gradient(135deg, #00ff41 0%, #00cc33 100%);
    color: #000000 !important;
    border: 2px solid #00ff41;
}

.price-highlight .price-item-title {
    color: #000000 !important;
}

.price-highlight .price-item-price {
    color: #000000 !important;
}

.price-highlight .price-item-description {
    color: #333333 !important;
}

/* 价格弹窗响应式设计 */
@media (max-width: 768px) {
    .price-modal-content {
        margin: 10px;
        max-width: calc(100% - 20px);
    }
    
    .price-content {
        flex-direction: column;
        align-items: center;
    }
    
    .price-item {
        padding: 15px;
        flex: none;
        width: 100%;
        max-width: 300px;
    }
    
    .price-item-title {
        font-size: 1.1rem;
    }
    
    .price-item-price {
        font-size: 1.3rem;
    }
}

@media (min-width: 769px) {
    .price-item {
        max-width: 250px;
    }
}
    
    .custom-alert-actions {
        padding: 0 15px 15px 15px;
    }
}

/* ==================== 网站保护提示框样式 ==================== */

.protection-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.protection-alert-box {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid #ff4757;
    border-radius: 20px;
    padding: 0;
    max-width: 450px;
    width: 90%;
    box-shadow: 
        0 20px 60px rgba(255, 71, 87, 0.3),
        0 0 0 1px rgba(255, 71, 87, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: scale(1) translateY(0);
    animation-fill-mode: forwards;
}

.protection-alert-header {
    background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
    color: white;
    padding: 20px 25px;
    border-radius: 18px 18px 0 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.protection-alert-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

.protection-alert-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.protection-alert-content {
    padding: 25px;
    text-align: center;
    color: var(--text-primary);
}

.protection-alert-content p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.protection-alert-footer {
    padding: 0 25px 25px 25px;
    text-align: center;
}

.protection-alert-btn {
    background: linear-gradient(135deg, #ff4757 0%, #ff3742 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
    position: relative;
    overflow: hidden;
}

.protection-alert-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.protection-alert-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.6);
    background: linear-gradient(135deg, #ff3742 0%, #ff2233 100%);
}

.protection-alert-btn:hover::before {
    left: 100%;
}

.protection-alert-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(255, 71, 87, 0.4);
}

/* 闪烁动画 */
@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* 响应式适配 */
@media (max-width: 480px) {
    .protection-alert-box {
        margin: 20px;
        width: calc(100% - 40px);
    }
    
    .protection-alert-header {
        padding: 15px 20px;
    }
    
    .protection-alert-header h3 {
        font-size: 1.2rem;
    }
    
    .protection-alert-content {
        padding: 20px;
    }
    
    .protection-alert-content p {
        font-size: 1rem;
    }
    
    .protection-alert-footer {
        padding: 0 20px 20px 20px;
    }
    
    .protection-alert-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* 禁用文本选择样式 */
* {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

/* 允许输入框文本选择 */
input, textarea, [contenteditable="true"] {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}


    100% {
        transform: scale(0) rotate(360deg);
        opacity: 0;
    }
}

/* 增强界面展示的图片效果 */
.example-screenshot {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 255, 65, 0.2);
}

.example-screenshot:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 255, 65, 0.3);
}

/* 标签按钮增强效果 */
.tab-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 65, 0.3), transparent);
    transition: left 0.5s ease;
}

.tab-button:hover::before {
    left: 100%;
}

.tab-button.active {
    background: linear-gradient(135deg, var(--primary-color), #00d4ff);
    color: #000000;
    font-weight: 700;
    text-shadow: none;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.6), 0 0 40px rgba(0, 255, 65, 0.3);
    transform: translateY(-2px);
}



/* 动画效果 */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    1% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.6s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s ease-out;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Hero侧边栏样式 */
.hero-sidebar {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-metrics {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    background: rgba(0, 20, 40, 0.8);
    border: 1px solid #00ff41;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.3);
}

.metric-card {
    text-align: center;
    padding: 15px;
    background: rgba(0, 30, 60, 0.6);
    border: 1px solid rgba(0, 255, 65, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.metric-card:hover {
    border-color: #00ff41;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.4);
    transform: translateY(-2px);
}

/* 版本容器样式 */
.version-container {
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.version-container .metric-label {
    margin-top: 0.8rem;
}

.version-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
}

.version-item {
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 6px;
    padding: 0.4rem 0.3rem;
    text-align: center;
    transition: all 0.3s ease;
}

.version-item:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.4);
    transform: scale(1.02);
}

.version-number {
    color: #00ff88;
    font-size: 0.9rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    margin-bottom: 0.2rem;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.version-label {
    color: #a0a0a0;
    font-size: 0.65rem;
    font-family: 'Courier New', monospace;
    line-height: 1.2;
}

/* 动画效果 */
@keyframes slideInFromTop {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* 算法状态框动画 */
.terminal-window {
    animation: slideInFromTop 0.8s ease-out;
}

/* 右侧统计框动画 */
.hero-sidebar .metric-card:nth-child(1) {
    animation: slideInFromLeft 0.6s ease-out 0.2s both;
}

.hero-sidebar .metric-card:nth-child(2) {
    animation: slideInFromLeft 0.6s ease-out 0.4s both;
}

.hero-sidebar .metric-card:nth-child(3) {
    animation: slideInFromLeft 0.6s ease-out 0.6s both;
}

.metric-value {
    font-size: 2rem;
    font-weight: bold;
    color: #00ff41;
    text-shadow: 0 0 10px #00ff41;
    margin-bottom: 8px;
}

.metric-label {
    font-size: 0.9rem;
    color: #ffffff;
    margin-bottom: 10px;
    font-family: 'Courier New', monospace;
}

.metric-bar {
    width: 100%;
    height: 4px;
    background: rgba(0, 255, 65, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.metric-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ff41, #00cc33);
    border-radius: 2px;
    animation: pulse-bar 2s ease-in-out infinite;
}

@keyframes pulse-bar {
    0%, 100% {
        box-shadow: 0 0 5px #00ff41;
    }
    50% {
        box-shadow: 0 0 15px #00ff41, 0 0 25px #00ff41;
    }
}

/* 购买弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    transition: opacity 0.4s ease-in-out, backdrop-filter 0.4s ease-in-out;
}

/* 购买弹窗特定样式 - 更高优先级 */
#purchaseModal {
    z-index: 10001 !important;
}

.modal-content {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    margin: 3% auto;
    padding: 0;
    border: 1px solid #00ff41;
    border-radius: 12px;
    width: 90%;
    max-width: 1000px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 0 40px rgba(0, 255, 65, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes modalSlideOut {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    30% {
        opacity: 0.8;
        transform: translateY(-15px) scale(0.98);
    }
    70% {
        opacity: 0.3;
        transform: translateY(-35px) scale(0.94);
    }
    100% {
        opacity: 0;
        transform: translateY(-60px) scale(0.88);
    }
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(5px);
    }
}

@keyframes modalFadeOut {
    0% {
        opacity: 1;
        backdrop-filter: blur(5px);
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        backdrop-filter: blur(2px);
        transform: scale(0.98);
    }
    100% {
        opacity: 0;
        backdrop-filter: blur(0px);
        transform: scale(0.95);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0, 255, 65, 0.3);
}

.modal-header h2 {
    color: #00ff41;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.close {
    color: #aaa;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.close:hover,
.close:focus {
    color: #00ff41;
    text-decoration: none;
}

.modal-body {
    padding: 20px;
}

.dealers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    max-width: 100%;
}

.dealer-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dealer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #ff006e, #8338ec, #3a86ff);
    border-radius: 15px;
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.dealer-card:hover::before {
    opacity: 1;
}

.dealer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 65, 0.2);
}

.dealer-avatar {
    width: 60px;
    height: 60px;
    margin: 0 auto 12px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #00ff41;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dealer-avatar img,
.dealer-avatar svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dealer-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.dealer-name {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 12px 0 8px;
}

.dealer-badge {
    display: inline-block;
    background: linear-gradient(45deg, #00ff41, #00cc33);
    color: #000;
    padding: 6px 16px;
    border-radius: 18px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.dealer-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-contact {
    background: rgba(0, 255, 65, 0.1);
    border: 2px solid #00ff41;
    color: #00ff41;
    padding: 10px 16px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-contact:hover {
    background: #00ff41;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 65, 0.4);
}

.btn-purchase {
    background: linear-gradient(45deg, #ff006e, #8338ec);
    border: none;
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-purchase:hover {
    background: linear-gradient(45deg, #ff1a7a, #9146ff);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 110, 0.4);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .modal-content {
        max-width: 900px;
        width: 95%;
    }
    
    .dealers-grid {
        gap: 18px;
    }
    
    .dealer-card {
        padding: 16px;
    }
}

@media (max-width: 900px) {
    .modal-content {
        max-width: 700px;
        width: 95%;
    }
    
    .dealers-grid {
        gap: 15px;
    }
    
    .dealer-card {
        padding: 14px;
    }
    
    .dealer-avatar {
        width: 55px;
        height: 55px;
    }
    
    .dealer-name {
        font-size: 1.1rem;
    }
    
    .btn-contact,
    .btn-purchase {
        padding: 9px 14px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 90vh;
        max-width: 600px;
    }
    
    .dealers-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 12px;
    }
    
    .modal-header {
        padding: 12px 15px;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .dealer-card {
        padding: 15px;
    }
    
    .dealer-avatar {
        width: 50px;
        height: 50px;
        margin: 0 auto 10px;
    }
    
    .dealer-name {
        font-size: 1.1rem;
        margin: 10px 0 6px;
    }
    
    .dealer-badge {
        font-size: 0.75rem;
        padding: 3px 10px;
        margin-bottom: 12px;
    }
    
    .btn-contact,
    .btn-purchase {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 98%;
        margin: 2% auto;
        border-radius: 8px;
    }
    
    .dealers-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 1fr);
        gap: 8px;
    }
    
    .modal-header {
        padding: 10px 12px;
    }
    
    .modal-header h2 {
        font-size: 1.2rem;
    }
    
    .close {
        font-size: 20px;
    }
    
    .modal-body {
        padding: 12px;
    }
    
    .dealer-card {
        padding: 12px;
    }
    
    .dealer-avatar {
        width: 45px;
        height: 45px;
        margin: 0 auto 8px;
    }
    
    .dealer-name {
        font-size: 1rem;
        margin: 8px 0 5px;
    }
    
    .dealer-badge {
        font-size: 0.7rem;
        padding: 2px 8px;
        margin-bottom: 10px;
    }
    
    .dealer-actions {
        gap: 6px;
    }
    
    .btn-contact,
    .btn-purchase {
        padding: 6px 10px;
        font-size: 0.8rem;
        border-radius: 15px;
    }
}

/* 响应式设计 - 自定义信息框 */
@media (max-width: 480px) {
    .custom-alert-box {
        margin: 20px;
        width: calc(100% - 40px);
    }
    
    .custom-alert-header {
        padding: 15px;
    }
    
    .custom-alert-content {
        padding: 20px 15px;
    }
    
    .custom-alert-actions {
        padding: 0 15px 15px 15px;
    }
}

/* 国庆活动弹窗样式 */
.activity-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.activity-modal.show {
    opacity: 1;
    visibility: visible;
}

.activity-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.activity-modal-content {
    position: relative;
    background: linear-gradient(135deg, 
        rgba(0, 20, 40, 0.95) 0%, 
        rgba(0, 40, 80, 0.95) 50%, 
        rgba(0, 20, 40, 0.95) 100%);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    max-width: 420px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 
        0 20px 60px rgba(0, 212, 255, 0.2),
        0 0 100px rgba(255, 0, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: scale(0.8) translateY(50px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.activity-modal.show .activity-modal-content {
    transform: scale(1) translateY(0);
}

.activity-modal-header {
    position: relative;
    padding: 1.5rem 1.5rem 0.8rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.activity-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.activity-title {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(45deg, #00d4ff, #ff00ff, #00d4ff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
    margin: 0;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.activity-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.activity-close:hover {
    background: rgba(255, 0, 0, 0.2);
    color: #ff4444;
    transform: rotate(90deg);
}

.activity-modal-body {
    padding: 1rem 1.5rem 1.5rem;
}

.activity-banner {
    text-align: center;
    margin-bottom: 1.5rem;
}

.banner-text h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 0.4rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.banner-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

.discount-badge {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b6b, #ff8e53);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.discount-text {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.discount-sub {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.activity-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 1.5rem;
}

.feature-text {
    color: #fff;
    font-size: 0.95rem;
}

.countdown-section {
    text-align: center;
    margin-bottom: 1.5rem;
}

.countdown-section h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(255, 0, 255, 0.2));
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 10px;
    padding: 0.8rem 0.6rem;
    min-width: 65px;
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.1);
}

.countdown-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    font-family: 'Courier New', monospace;
}

.countdown-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.3rem;
}

.activity-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.activity-btn {
    min-width: 150px;
    padding: 0.8rem 1.5rem;
}

/* 活动弹窗移动端适配 */
@media (max-width: 768px) {
    .activity-modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .activity-modal-header,
    .activity-modal-body {
        padding: 1.5rem 1rem;
    }
    
    .activity-title {
        font-size: 1.5rem;
    }
    
    .activity-features {
        grid-template-columns: 1fr;
    }
    
    .countdown-timer {
        gap: 0.5rem;
    }
    
    .countdown-item {
        min-width: 60px;
        padding: 0.8rem 0.5rem;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .activity-actions {
        flex-direction: column;
    }
    
    .activity-btn {
        width: 100%;
    }
}