/* ========================================
   赛博朋克风格主样式
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

/* 全局变量 */
:root {
    --primary: #00f0ff;
    --secondary: #7b2cbf;
    --accent: #ff006e;
    --dark: #0a0a0f;
    --dark-lighter: #1a1a2e;
    --dark-card: #12121a;
    --text: #ffffff;
    --text-muted: #a0a0b0;
    --gradient-1: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-2: linear-gradient(135deg, var(--secondary), var(--accent));
    --gradient-text: linear-gradient(90deg, var(--primary), var(--accent));
    --glow: 0 0 20px rgba(0, 240, 255, 0.5);
    --glow-purple: 0 0 20px rgba(123, 44, 191, 0.5);
    --glow-pink: 0 0 20px rgba(255, 0, 110, 0.5);
}

/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* 动态背景网格 - 简化版 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

/* 简化光晕背景 - 移除动画 */
body::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle at center, rgba(123, 44, 191, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ========================================
   头部导航
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
    transition: all 0.3s ease;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    position: relative;
}

.logo-icon {
    font-size: 32px;
    animation: logo-glow 3s ease-in-out infinite;
}

@keyframes logo-glow {
    0%, 100% { filter: drop-shadow(0 0 10px var(--primary)); }
    50% { filter: drop-shadow(0 0 20px var(--primary)) drop-shadow(0 0 30px var(--secondary)); }
}

.logo span {
    color: var(--primary);
    text-shadow: var(--glow);
}

.nav {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav a:hover,
.nav a.active {
    color: var(--primary);
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

/* ========================================
   Hero 区域
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 30px 80px;
    position: relative;
    z-index: 1;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: fade-in-up 1s ease-out;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-label {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--primary);
    border-radius: 30px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    box-shadow: var(--glow);
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--text);
}

.hero h1 span {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero-description {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-family: 'Rajdhani', sans-serif;
    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.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--text);
    border: none;
    box-shadow: var(--glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.7);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid rgba(0, 240, 255, 0.5);
}

.btn-secondary:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* Hero 图像 */
.hero-image {
    animation: fade-in-up 1s ease-out 0.3s backwards;
}

.browser-preview {
    background: rgba(18, 18, 26, 0.8);
    border: 2px solid rgba(0, 240, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(0, 240, 255, 0.1),
        inset 0 0 60px rgba(0, 240, 255, 0.05);
    backdrop-filter: blur(10px);
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotateX(5deg) rotateY(-5deg); }
    50% { transform: translateY(-20px) rotateX(5deg) rotateY(-5deg); }
}

.browser-toolbar {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

.browser-dots {
    display: flex;
    gap: 8px;
}

.browser-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-dot.red { background: #ff5f56; }
.browser-dot.yellow { background: #ffbd2e; }
.browser-dot.green { background: #27ca3f; }

.browser-address {
    flex: 1;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 8px;
    padding: 8px 15px;
    font-size: 13px;
    color: var(--text-muted);
    font-family: 'Rajdhani', sans-serif;
}

.browser-content {
    padding: 60px 40px;
    text-align: center;
}

.browser-logo {
    font-size: 80px;
    margin-bottom: 20px;
    animation: logo-glow 3s ease-in-out infinite;
}

.browser-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.browser-subtitle {
    color: var(--text-muted);
    font-size: 14px;
}

/* ========================================
   Section 通用样式
   ======================================== */

.features,
.platforms,
.faq {
    padding: 100px 30px;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--primary);
    border-radius: 30px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-description {
    color: var(--text-muted);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   特性网格
   ======================================== */

.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(18, 18, 26, 0.6);
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(0, 240, 255, 0.2);
}

.feature-card:hover::before {
    opacity: 0.05;
}

.feature-card:hover::after {
    left: 100%;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.feature-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.feature-text {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* ========================================
   平台网格
   ======================================== */

.platforms-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
}

.platform-card {
    display: block;
    background: rgba(18, 18, 26, 0.6);
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
    text-decoration: none;
    color: inherit;
}

.platform-card:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--primary);
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.3),
        0 0 25px rgba(0, 240, 255, 0.3);
}

.platform-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.platform-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

/* ========================================
   FAQ 区域
   ======================================== */

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(18, 18, 26, 0.6);
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(0, 240, 255, 0.3);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-toggle {
    font-size: 24px;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
}

/* ========================================
   页脚
   ======================================== */

.footer {
    background: rgba(10, 10, 15, 0.9);
    border-top: 1px solid rgba(0, 240, 255, 0.1);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 10px;
}

/* ========================================
   响应式设计
   ======================================== */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-description {
        margin: 0 auto 40px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image {
        margin-top: 40px;
    }

    .browser-preview {
        animation: none;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 15px 20px;
    }

    .nav {
        gap: 20px;
    }

    .nav a {
        font-size: 14px;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 18px;
    }

    .logo-icon {
        font-size: 24px;
    }

    .platforms-grid {
        grid-template-columns: 1fr;
    }
}
