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

:root {
    /* 暗色主题变量 */
    --primary-bg: #0a0a0a;
    --secondary-bg: #111111;
    --card-bg: #1a1a1a;
    --border-color: #333333;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --accent-primary: #00d4ff;
    --accent-secondary: #ff6b6b;
    --accent-tertiary: #4ecdc4;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #00d4ff 0%, #5b86e5 100%);
    --gradient-tertiary: linear-gradient(135deg, #ff6b6b 0%, #ffa726 100%);
    --shadow-primary: 0 10px 40px rgba(0, 212, 255, 0.3);
    --shadow-secondary: 0 5px 20px rgba(0, 0, 0, 0.5);
    --glow-primary: 0 0 20px rgba(0, 212, 255, 0.5);
    --glow-secondary: 0 0 20px rgba(255, 107, 107, 0.5);
}

/* 亮色主题变量 */
[data-theme="light"] {
    --primary-bg: #ffffff;
    --secondary-bg: #f8fafc;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --accent-primary: #3182ce;
    --accent-secondary: #e53e3e;
    --accent-tertiary: #38b2ac;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #3182ce 0%, #63b3ed 100%);
    --gradient-tertiary: linear-gradient(135deg, #e53e3e 0%, #fc8181 100%);
    --shadow-primary: 0 10px 40px rgba(49, 130, 206, 0.3);
    --shadow-secondary: 0 5px 20px rgba(0, 0, 0, 0.1);
    --glow-primary: 0 0 20px rgba(49, 130, 206, 0.3);
    --glow-secondary: 0 0 20px rgba(229, 62, 62, 0.3);
}

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

body.loaded {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* 背景粒子效果 */
.particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--primary-bg);
}

.particles-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(78, 205, 196, 0.1) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
}

/* 亮色主题下的粒子背景 */
[data-theme="light"] .particles-bg::before {
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(49, 130, 206, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(229, 62, 62, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(56, 178, 172, 0.08) 0%, transparent 50%);
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

/* 渐变文字效果 */
.gradient-text {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(30deg); }
}

/* 头部导航 */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

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

.logo-icon {
    font-size: 2rem;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(5deg); }
}

.logo-text h1 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: -2px;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtitle {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
}

.nav-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-primary);
    background: rgba(0, 212, 255, 0.1);
    box-shadow: var(--glow-primary);
}

.nav-link:hover .nav-icon {
    transform: scale(1.2);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    background: var(--gradient-secondary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* 导航操作区域 */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 主题切换按钮 */
.theme-toggle {
    position: relative;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.theme-toggle:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--glow-primary);
    transform: scale(1.05);
}

.theme-icon {
    position: absolute;
    font-size: 1.5rem;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 默认暗色主题显示月亮图标 */
.theme-icon.dark-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-icon.light-icon {
    opacity: 0;
    transform: rotate(180deg) scale(0.5);
}

/* 亮色主题显示太阳图标 */
[data-theme="light"] .theme-icon.dark-icon {
    opacity: 0;
    transform: rotate(-180deg) scale(0.5);
}

[data-theme="light"] .theme-icon.light-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* 主题切换动画 */
.theme-toggle.switching {
    animation: themeSwitch 0.6s ease-in-out;
}

@keyframes themeSwitch {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
    100% { transform: scale(1) rotate(360deg); }
}

/* 英雄区域 */
.hero {
    padding: 140px 0 100px;
    background: var(--secondary-bg);
    color: var(--text-primary);
    overflow: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

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

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: orbFloat 8s ease-in-out infinite;
}

.glow-orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3) 0%, transparent 70%);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.glow-orb-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.3) 0%, transparent 70%);
    top: 60%;
    right: 20%;
    animation-delay: 3s;
}

.glow-orb-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(78, 205, 196, 0.3) 0%, transparent 70%);
    bottom: 20%;
    left: 60%;
    animation-delay: 6s;
}

/* 亮色主题下的发光球体 */
[data-theme="light"] .glow-orb-1 {
    background: radial-gradient(circle, rgba(49, 130, 206, 0.2) 0%, transparent 70%);
}

[data-theme="light"] .glow-orb-2 {
    background: radial-gradient(circle, rgba(229, 62, 62, 0.2) 0%, transparent 70%);
}

[data-theme="light"] .glow-orb-3 {
    background: radial-gradient(circle, rgba(56, 178, 172, 0.2) 0%, transparent 70%);
}

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

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50px;
    color: var(--accent-primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 30px;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(0, 212, 255, 0); }
}

.badge-icon {
    font-size: 1.2rem;
    animation: iconSpin 3s linear infinite;
}

@keyframes iconSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 1.1;
}

.title-line {
    display: block;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.hero-stats .stat-item {
    text-align: center;
}

.hero-stats .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-primary);
    margin-bottom: 5px;
    font-family: 'JetBrains Mono', monospace;
}

.hero-stats .stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.btn {
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.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;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-secondary);
    color: var(--text-primary);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background: var(--card-bg);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-secondary);
}

.btn-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: translateX(5px);
}

.hero-visual {
    position: relative;
    height: 500px;
}

.ai-visualization {
    position: relative;
    width: 100%;
    height: 100%;
}

.neural-network {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
}

.node {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    box-shadow: var(--glow-primary);
    animation: nodePulse 2s ease-in-out infinite;
}

.node-1 { top: 20%; left: 20%; animation-delay: 0s; }
.node-2 { top: 20%; right: 20%; animation-delay: 0.4s; }
.node-3 { top: 50%; left: 50%; transform: translateX(-50%); animation-delay: 0.8s; }
.node-4 { bottom: 20%; left: 20%; animation-delay: 1.2s; }
.node-5 { bottom: 20%; right: 20%; animation-delay: 1.6s; }

@keyframes nodePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.7; }
}

.connection {
    position: absolute;
    height: 2px;
    background: var(--gradient-secondary);
    opacity: 0.6;
    animation: connectionFlow 3s ease-in-out infinite;
}

.con-1 {
    top: 25%;
    left: 25%;
    width: 50%;
    transform: rotate(0deg);
    animation-delay: 0s;
}

.con-2 {
    top: 25%;
    right: 25%;
    width: 30%;
    transform: rotate(60deg);
    animation-delay: 0.5s;
}

.con-3 {
    bottom: 25%;
    left: 25%;
    width: 50%;
    transform: rotate(0deg);
    animation-delay: 1s;
}

.con-4 {
    bottom: 25%;
    right: 25%;
    width: 30%;
    transform: rotate(-60deg);
    animation-delay: 1.5s;
}

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

.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-icon {
    position: absolute;
    font-size: 2.5rem;
    animation: iconFloat 6s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 20%;
    right: 10%;
    animation-delay: 1.5s;
}

.floating-icon:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 3s;
}

.floating-icon:nth-child(4) {
    bottom: 10%;
    right: 20%;
    animation-delay: 4.5s;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.7; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
}

/* 通用区块样式 */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50px;
    color: var(--accent-primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
}

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

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* 产品展示 */
.products {
    padding: 100px 0;
    background: var(--primary-bg);
    position: relative;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 107, 107, 0.05) 0%, transparent 50%);
    z-index: 0;
}

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

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

.product-card {
    background: var(--card-bg);
    padding: 35px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

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

.product-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

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

.product-card:hover::after {
    opacity: 1;
}

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

.product-card.featured {
    border: 2px solid var(--accent-primary);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, var(--card-bg) 100%);
    box-shadow: var(--glow-primary);
}

.product-card.featured::before {
    transform: scaleX(1);
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.product-icon {
    font-size: 3.5rem;
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.product-status {
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-status.developing {
    background: var(--gradient-tertiary);
    color: white;
    animation: statusPulse 2s ease-in-out infinite;
}

.product-status.online {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.5);
    animation: onlinePulse 2s ease-in-out infinite;
}

@keyframes onlinePulse {
    0%, 100% { box-shadow: 0 0 20px rgba(34, 197, 94, 0.5); }
    50% { box-shadow: 0 0 30px rgba(34, 197, 94, 0.8); }
}

.product-status.planning {
    background: rgba(78, 205, 196, 0.2);
    color: var(--accent-tertiary);
    border: 1px solid var(--accent-tertiary);
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.product-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.product-desc {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 1rem;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.feature-tag {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-tag.ai {
    background: rgba(0, 212, 255, 0.2);
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    animation: aiGlow 2s ease-in-out infinite;
}

@keyframes aiGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.4); }
    50% { box-shadow: 0 0 0 5px rgba(0, 212, 255, 0); }
}

.feature-tag:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-primary);
    border-color: var(--accent-primary);
}

.product-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.tech-tag {
    padding: 4px 10px;
    background: rgba(255, 107, 107, 0.1);
    color: var(--accent-secondary);
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    font-family: 'JetBrains Mono', monospace;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.product-actions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.product-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.product-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
}

.product-btn .btn-icon {
    transition: transform 0.3s ease;
}

.product-btn:hover .btn-icon {
    transform: translateX(3px);
}

/* 关于我们 */
.about {
    padding: 100px 0;
    background: var(--secondary-bg);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(78, 205, 196, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.1) 0%, transparent 50%);
    z-index: 0;
}

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

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

.about-text h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 30px;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: 1.1rem;
}

.about-features {
    margin-top: 40px;
    display: grid;
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(0, 212, 255, 0.05);
    border-color: var(--accent-primary);
    transform: translateX(10px);
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-item h4 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

.tech-stack {
    margin-top: 40px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.tech-stack h4 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.about-visual {
    position: relative;
}

.ai-brain {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto 50px;
}

.brain-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    box-shadow: var(--glow-primary);
    animation: brainPulse 3s ease-in-out infinite;
}

@keyframes brainPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
}

.brain-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    animation: ringRotate 10s linear infinite;
}

.ring-1 {
    width: 120px;
    height: 120px;
    animation-duration: 8s;
}

.ring-2 {
    width: 180px;
    height: 180px;
    animation-duration: 12s;
    animation-direction: reverse;
}

.ring-3 {
    width: 240px;
    height: 240px;
    animation-duration: 15s;
}

@keyframes ringRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.brain-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: particleFloat 4s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 30%;
    right: 20%;
    animation-delay: 0.8s;
}

.particle:nth-child(3) {
    bottom: 30%;
    left: 30%;
    animation-delay: 1.6s;
}

.particle:nth-child(4) {
    bottom: 20%;
    right: 30%;
    animation-delay: 2.4s;
}

.particle:nth-child(5) {
    top: 50%;
    left: 10%;
    animation-delay: 3.2s;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0px); opacity: 0.7; }
    50% { transform: translateY(-20px); opacity: 1; }
}

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

.about .stat-item {
    text-align: center;
    padding: 25px 20px;
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about .stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.about .stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-secondary);
    border-color: var(--accent-primary);
}

.about .stat-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.about .stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--accent-primary);
    font-family: 'JetBrains Mono', monospace;
}

.about .stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 联系我们 */
.contact {
    padding: 100px 0;
    background: var(--primary-bg);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(255, 107, 107, 0.1) 0%, transparent 50%);
    z-index: 0;
}

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

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

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 35px;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.contact-item:hover::before {
    transform: scaleX(1);
}

.contact-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-primary);
    border-color: var(--accent-primary);
}

.contact-icon {
    flex-shrink: 0;
}

.icon-bg {
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: var(--glow-primary);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.contact-details h4 {
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 1.2rem;
    font-weight: 600;
}

.contact-details p {
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: 1rem;
}

.contact-note {
    color: var(--accent-primary);
    font-size: 0.85rem;
    font-weight: 500;
}

.contact-cta {
    background: var(--card-bg);
    border-radius: 25px;
    padding: 50px;
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.05) 0%, transparent 70%);
    animation: ctaGlow 4s ease-in-out infinite;
}

@keyframes ctaGlow {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

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

/* 页脚 */
.footer {
    background: var(--secondary-bg);
    color: var(--text-primary);
    padding: 60px 0 30px;
    position: relative;
    border-top: 1px solid var(--border-color);
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.footer-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo .logo-icon {
    font-size: 2rem;
    animation: logoFloat 3s ease-in-out infinite;
}

.footer-logo .logo-text h3 {
    color: var(--text-primary);
    margin-bottom: 5px;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo .logo-text p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

.footer-desc p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    background: rgba(0, 212, 255, 0.1);
}

.social-icon {
    font-size: 1.2rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.link-group h4 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 600;
}

.link-group a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.link-group a:hover {
    color: var(--accent-primary);
    transform: translateX(5px);
}

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

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-bottom p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.9rem;
}

.icp-info {
    margin-top: 4px;
}

.icp-info a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.icp-info a:hover {
    color: var(--accent-primary);
}

.icp-info .divider {
    color: var(--text-muted);
    margin: 0 8px;
    font-size: 0.85rem;
}

.icp-info .admin-link {
    color: var(--text-muted);
    position: relative;
}

.icp-info .admin-link:hover {
    color: var(--accent-secondary);
}

.footer-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-badges .badge {
    padding: 6px 12px;
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-primary);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-actions {
        order: -1;
        margin-right: 15px;
    }
    
    .theme-toggle {
        width: 45px;
        height: 45px;
    }
    
    .theme-icon {
        font-size: 1.3rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-secondary);
        padding: 30px 0;
        border-top: 1px solid var(--border-color);
    }
    
    /* 亮色主题下的移动端菜单 */
    [data-theme="light"] .nav-menu {
        background: rgba(255, 255, 255, 0.98);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

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

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-visual {
        height: 350px;
    }

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

    .ai-brain {
        width: 250px;
        height: 250px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

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

    .contact-info {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .about-text h2 {
        font-size: 2.2rem;
    }

    .cta-content h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 120px 0 80px;
        min-height: 90vh;
    }

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

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

    .hero-stats {
        gap: 20px;
    }

    .hero-stats .stat-number {
        font-size: 1.5rem;
    }

    .products, .about, .contact {
        padding: 80px 0;
    }

    .product-card {
        padding: 25px;
    }

    .contact-item {
        padding: 25px;
    }

    .contact-cta {
        padding: 35px 25px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .about-text h2 {
        font-size: 1.8rem;
    }

    .ai-brain {
        width: 200px;
        height: 200px;
    }

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

    .nav-logo {
        gap: 10px;
    }

    .logo-text h1 {
        font-size: 20px;
    }

    .btn {
        padding: 14px 24px;
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* 主题过渡动画 */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 选择文本样式 */
::selection {
    background: var(--accent-primary);
    color: var(--primary-bg);
}

::-moz-selection {
    background: var(--accent-primary);
    color: var(--primary-bg);
}

/* 亮色主题下的特殊调整 */
[data-theme="light"] .grid-overlay {
    background-image: 
        linear-gradient(rgba(49, 130, 206, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(49, 130, 206, 0.08) 1px, transparent 1px);
}

[data-theme="light"] .footer-grid {
    background-image: 
        linear-gradient(rgba(49, 130, 206, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(49, 130, 206, 0.05) 1px, transparent 1px);
}

/* 亮色主题下的产品卡片调整 */
[data-theme="light"] .product-card {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .product-card:hover {
    box-shadow: 0 20px 40px rgba(49, 130, 206, 0.15);
}

/* 亮色主题下的联系卡片调整 */
[data-theme="light"] .contact-item {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .contact-item:hover {
    box-shadow: 0 20px 40px rgba(49, 130, 206, 0.15);
}