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

:root {
    /* 高贵配色方案 */
    --primary-color: #00ffaa;
    --secondary-color: #0088ff;
    --accent-color: #ff3366;
    --gold-color: #ffd700;
    --platinum-color: #e5e4e2;
    
    /* 深邃背景 */
    --bg-primary: #000008;
    --bg-secondary: #0a0a12;
    --bg-tertiary: #111122;
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-card: rgba(255, 255, 255, 0.05);
    
    /* 精致文字 */
    --text-primary: #ffffff;
    --text-secondary: #e0e6ed;
    --text-muted: #9ca3af;
    --text-luxury: #f8fafc;
    
    /* 边框与分割线 */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 255, 170, 0.2);
    --divider: rgba(255, 255, 255, 0.06);
    
    /* 发光效果 */
    --glow-primary: rgba(0, 255, 170, 0.4);
    --glow-secondary: rgba(0, 136, 255, 0.4);
    --glow-accent: rgba(255, 51, 102, 0.4);
    --glow-gold: rgba(255, 215, 0, 0.3);
    
    /* 高级渐变 */
    --gradient-primary: linear-gradient(135deg, #00ffaa 0%, #0088ff 50%, #ff3366 100%);
    --gradient-luxury: linear-gradient(135deg, #ffd700 0%, #e5e4e2 50%, #00ffaa 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    --gradient-bg: radial-gradient(ellipse at top, #0a0a12 0%, #000008 100%);
    
    /* 精致阴影 */
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 80px rgba(0, 0, 0, 0.6);
    --shadow-luxury: 0 25px 100px rgba(0, 255, 170, 0.15);
    --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    
    /* 流畅动画 */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* 炫酷粒子背景 */
#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--gradient-bg);
    overflow: hidden;
}

#particles-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        radial-gradient(3px 3px at 40px 60px, var(--glow-primary), transparent),
        radial-gradient(2px 2px at 80px 120px, var(--glow-secondary), transparent),
        radial-gradient(1px 1px at 120px 40px, var(--glow-accent), transparent),
        radial-gradient(2px 2px at 160px 180px, var(--glow-gold), transparent),
        radial-gradient(1px 1px at 200px 80px, var(--glow-primary), transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: particleFlow 60s linear infinite;
    opacity: 0.6;
}

#particles-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 10% 20%, var(--glow-primary) 0%, transparent 40%),
        radial-gradient(ellipse at 90% 80%, var(--glow-secondary) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, var(--glow-accent) 0%, transparent 30%);
    animation: ambientGlow 15s ease-in-out infinite alternate;
    opacity: 0.3;
}

@keyframes particleFlow {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-200px, -200px) rotate(360deg); }
}

@keyframes ambientGlow {
    0% { 
        transform: scale(1) rotate(0deg);
        opacity: 0.2;
    }
    50% { 
        transform: scale(1.1) rotate(180deg);
        opacity: 0.4;
    }
    100% { 
        transform: scale(0.9) rotate(360deg);
        opacity: 0.3;
    }
}

/* 通用容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(0, 0, 8, 0.95) 0%, rgba(10, 10, 18, 0.9) 100%);
    backdrop-filter: blur(30px) saturate(180%);
    border-bottom: 1px solid var(--border-glow);
    box-shadow: 
        0 1px 0 rgba(255, 255, 255, 0.1) inset,
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(0, 255, 170, 0.1);
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: linear-gradient(135deg, rgba(0, 0, 8, 0.98) 0%, rgba(10, 10, 18, 0.95) 100%);
    box-shadow: 
        0 1px 0 rgba(255, 255, 255, 0.15) inset,
        var(--shadow-luxury),
        0 0 0 1px rgba(0, 255, 170, 0.2);
    border-bottom-color: rgba(0, 255, 170, 0.3);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-image {
    width: 45px;
    height: 45px;
    object-fit: contain;
    border-radius: 12px;
    filter: 
        drop-shadow(0 0 20px var(--glow-primary))
        drop-shadow(0 0 40px rgba(0, 255, 170, 0.2))
        brightness(1.1)
        contrast(1.1);
    transition: all var(--transition-bounce);
    position: relative;
}

.logo-image:hover {
    filter: 
        drop-shadow(0 0 30px var(--glow-primary))
        drop-shadow(0 0 60px rgba(0, 255, 170, 0.4))
        brightness(1.2)
        contrast(1.2);
    transform: scale(1.1) rotate(5deg);
}

.logo-image::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: var(--gradient-luxury);
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    filter: blur(15px);
    transition: opacity var(--transition-normal);
}

.nav-logo:hover .logo-image::before {
    opacity: 0.3;
}

.logo-icon {
    width: 40px;
    height: 40px;
    position: relative;
}

.logo-cube {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 8px;
    position: relative;
    animation: logoRotate 4s ease-in-out infinite;
}

.logo-cube::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 10px;
    z-index: -1;
    filter: blur(8px);
    opacity: 0.7;
}

@keyframes logoRotate {
    0%, 100% { transform: rotateY(0deg) rotateX(0deg); }
    25% { transform: rotateY(90deg) rotateX(0deg); }
    50% { transform: rotateY(90deg) rotateX(90deg); }
    75% { transform: rotateY(0deg) rotateX(90deg); }
}

.logo-text {
    font-size: 28px;
    font-weight: 900;
    background: var(--gradient-luxury);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    text-shadow: 
        0 0 30px rgba(255, 215, 0, 0.3),
        0 0 60px rgba(0, 255, 170, 0.2);
    transition: all var(--transition-normal);
    position: relative;
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-luxury);
    transition: width var(--transition-normal);
    border-radius: 1px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.nav-logo:hover .logo-text::after {
    width: 100%;
}

.nav-logo:hover .logo-text {
    transform: translateY(-1px);
    text-shadow: 
        0 0 40px rgba(255, 215, 0, 0.5),
        0 0 80px rgba(0, 255, 170, 0.3);
}

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

.nav-link {
    position: relative;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all var(--transition-normal);
    padding: 8px 0;
}

.nav-link::before {
    content: attr(data-text);
    position: absolute;
    top: 8px;
    left: 0;
    color: var(--primary-color);
    overflow: hidden;
    width: 0;
    transition: width var(--transition-normal);
    white-space: nowrap;
}

.nav-link:hover::before {
    width: 100%;
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-login {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-size: 14px;
}

.btn-login:hover {
    border-color: var(--primary-color);
    background: rgba(0, 255, 136, 0.1);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

.btn-download {
    padding: 10px 20px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 8px;
    color: var(--bg-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn-download::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 ease;
}

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

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

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

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

/* 英雄区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

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

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 136, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 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); }
}

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

.floating-element {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 50%;
    left: var(--x);
    top: var(--y);
    animation: float 6s ease-in-out infinite;
    animation-delay: var(--delay);
}

.floating-element::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(0, 153, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: float 4s ease-in-out infinite reverse;
}

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

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 20px;
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.title-line {
    display: block;
}

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

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 500px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
    margin-bottom: 4px;
}

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

.hero-actions {
    display: flex;
    gap: 20px;
    animation: fadeInUp 0.8s ease 1s both;
}

.btn {
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px var(--glow-primary);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

/* 仪表板模拟器 */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease 0.5s both;
}

.dashboard-mockup {
    width: 500px;
    height: 600px;
    background: var(--bg-secondary);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.dashboard-mockup::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 22px;
    z-index: -1;
    filter: blur(20px);
    opacity: 0.3;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.3);
}

.header-controls {
    display: flex;
    gap: 8px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red { background: #ff5f57; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #28ca42; }

.header-title {
    font-weight: 600;
    color: var(--text-primary);
}

.header-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.dashboard-content {
    padding: 24px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.metric-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: all var(--transition-normal);
}

.metric-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
}

.metric-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.metric-title {
    font-size: 14px;
    color: var(--text-secondary);
}

.metric-header i {
    color: var(--primary-color);
}

.metric-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.metric-chart {
    display: flex;
    align-items: end;
    gap: 4px;
    height: 40px;
}

.chart-bar {
    flex: 1;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: chartGrow 1.5s ease-out;
}

@keyframes chartGrow {
    from { height: 0; }
    to { height: var(--height, 100%); }
}

.metric-trend {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: var(--primary-color);
}

.data-visualization {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
}

.viz-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.viz-header span {
    font-size: 14px;
    color: var(--text-secondary);
}

.viz-controls {
    display: flex;
    gap: 8px;
}

.control-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.control-dot.active {
    background: var(--primary-color);
}

.data-stream {
    height: 60px;
    position: relative;
    overflow: hidden;
}

.stream-line {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    animation: streamFlow 3s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes streamFlow {
    0% { left: -100%; opacity: 0; }
    50% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

/* 解决方案区域 */
.solutions {
    padding: 120px 0;
    position: relative;
}

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

.bg-pattern {
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(0, 255, 136, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 153, 255, 0.05) 0%, transparent 50%);
}

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

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 20px;
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.solution-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 32px;
    transition: all var(--transition-normal);
    cursor: pointer;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: -1;
}

.solution-card:hover::before {
    opacity: 0.05;
}

.solution-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(0, 255, 136, 0.2);
}

.card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 22px;
    z-index: -2;
    filter: blur(20px);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.solution-card:hover .card-glow {
    opacity: 0.3;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--bg-primary);
    margin-bottom: 24px;
    box-shadow: var(--shadow-glow);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.card-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    padding: 4px 12px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 12px;
    font-size: 12px;
    color: var(--primary-color);
}

/* 技术栈区域 */
.technology {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.tech-showcase {
    max-width: 800px;
    margin: 0 auto;
}

.tech-categories {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 8px;
}

.tech-category {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-normal);
    color: var(--text-secondary);
    font-weight: 500;
}

.tech-category.active {
    background: var(--gradient-primary);
    color: var(--bg-primary);
}

.tech-category:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.tech-content {
    position: relative;
    min-height: 300px;
}

.tech-grid {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    animation: fadeIn 0.5s ease;
}

.tech-grid.active {
    display: grid;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.tech-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    transition: all var(--transition-normal);
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
}

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

.tech-progress {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    width: var(--width);
    border-radius: 4px;
    animation: progressGrow 1.5s ease-out;
}

@keyframes progressGrow {
    from { width: 0; }
    to { width: var(--width); }
}

/* 下载区域 */
.download {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

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

.bg-gradient {
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(0, 153, 255, 0.1) 0%, transparent 50%);
}

.bg-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 100px 50px, rgba(0, 255, 136, 0.3), transparent),
        radial-gradient(2px 2px at 200px 150px, rgba(0, 153, 255, 0.3), transparent),
        radial-gradient(1px 1px at 300px 100px, rgba(255, 0, 128, 0.3), transparent);
    background-size: 400px 200px;
    animation: particleFloat 15s ease-in-out infinite;
}

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

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

.download-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
}

.download-features {
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.feature-item i {
    color: var(--primary-color);
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    color: var(--text-primary);
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
}

.download-btn.primary {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    border-color: transparent;
}

.download-btn.primary:hover {
    background: var(--gradient-primary);
    box-shadow: var(--shadow-glow);
}

.btn-icon {
    font-size: 2rem;
}

.btn-content {
    flex: 1;
}

.btn-title {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
}

.btn-subtitle {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
}

.btn-arrow {
    font-size: 1.2rem;
    transition: transform var(--transition-normal);
}

.download-btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* 手机模拟器 */
.download-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.phone-mockup {
    position: relative;
}

.phone-frame {
    width: 320px;
    height: 640px;
    background: var(--bg-secondary);
    border-radius: 40px;
    padding: 15px;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: var(--gradient-primary);
    border-radius: 44px;
    z-index: -1;
    filter: blur(20px);
    opacity: 0.3;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    border-radius: 30px;
    overflow: hidden;
}

/* APP截图展示样式 */
.app-screenshots {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.app-screenshots::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.screenshot-container {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.app-screenshot {
    max-width: 100%;
    max-height: none;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.qr-section {
    text-align: center;
}

.qr-code {
    width: 120px;
    height: 120px;
    background: var(--text-primary);
    border-radius: 12px;
    position: relative;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-pattern {
    position: relative;
    width: 80%;
    height: 80%;
}

.qr-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid var(--bg-primary);
}

.qr-corner:nth-child(1) { top: 0; left: 0; border-right: none; border-bottom: none; }
.qr-corner:nth-child(2) { top: 0; right: 0; border-left: none; border-bottom: none; }
.qr-corner:nth-child(3) { bottom: 0; left: 0; border-right: none; border-top: none; }
.qr-corner:nth-child(4) { bottom: 0; right: 0; border-left: none; border-top: none; }

.qr-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    color: var(--bg-primary);
}

.qr-text {
    color: var(--text-secondary);
    font-size: 14px;
}

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

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

.footer-pattern {
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 255, 136, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 153, 255, 0.03) 0%, transparent 50%);
}

.footer-content {
    padding: 80px 0 40px;
}

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

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.social-link:hover {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    border-color: transparent;
    transform: translateY(-2px);
}

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

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

.link-group ul {
    list-style: none;
}

.link-group li {
    margin-bottom: 8px;
}

.link-group a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.link-group a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
}

.footer-copyright {
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition-normal);
}

.footer-legal a:hover {
    color: var(--text-secondary);
}

/* 模态框 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: var(--shadow-lg);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

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

.modal-header h3 {
    color: var(--text-primary);
    font-weight: 600;
}

.modal-close {
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 6px;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.modal-body {
    padding: 32px;
}

.download-progress {
    text-align: center;
}

.progress-container {
    margin-bottom: 24px;
}

.progress-container .progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-percentage {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.progress-text {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.download-info {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-row span:first-child {
    color: var(--text-secondary);
}

.info-row span:last-child {
    color: var(--text-primary);
    font-weight: 500;
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-content,
    .download-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .dashboard-mockup {
        width: 400px;
        height: 500px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 0;
        transition: left var(--transition-normal);
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        padding: 16px 24px;
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
    }
    
    .nav-actions {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: 90vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .download-title {
        font-size: 2rem;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-categories {
        flex-direction: column;
        gap: 4px;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-mockup {
        width: 300px;
        height: 400px;
    }
    
    .phone-frame {
        width: 240px;
        height: 480px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .download-title {
        font-size: 1.8rem;
    }
    
    .solution-card {
        padding: 24px 20px;
    }
    
    .dashboard-mockup {
        width: 280px;
        height: 360px;
    }
    
    .phone-frame {
        width: 220px;
        height: 440px;
        padding: 16px;
    }
    
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .modal-header,
    .modal-body {
        padding: 20px;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-secondary);
}

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

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

/* 焦点样式 */
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* 禁用状态 */
button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 加载状态 */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* 打印样式 */
@media print {
    .navbar,
    .nav-toggle,
    .floating-elements,
    .modal {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .hero,
    .solutions,
    .technology,
    .download {
        page-break-inside: avoid;
    }
}