/* ========== LINKORO 官方深色科技风主题 ========== */
/* 参考设计：深蓝黑背景 + 蓝橙色粒子网格 */

:root {
    --bg-dark: #0a0a12;
    --bg-gradient: linear-gradient(180deg, #0a0a12 0%, #0d1020 50%, #0a0a12 100%);
    --primary: #3498ff;
    --primary-light: #5fb4ff;
    --accent: #f5a623;
    --accent-light: #ffc565;
    --text-primary: #ffffff;
    --text-secondary: #8b95a5;
    --text-muted: #5a6474;
    --card-bg: rgba(15, 20, 35, 0.85);
    --border-color: rgba(52, 152, 255, 0.15);
    --glow-blue: rgba(52, 152, 255, 0.4);
    --glow-orange: rgba(245, 166, 35, 0.4);
}

/* ========== 基础样式 ========== */
body {
    background: var(--bg-dark);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ========== 粒子网格背景 ========== */
.hero {
    background: var(--bg-dark);
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* 网格动画背景 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, transparent 49.5%, rgba(52, 152, 255, 0.03) 49.5%, rgba(52, 152, 255, 0.03) 50.5%, transparent 50.5%),
        linear-gradient(0deg, transparent 49.5%, rgba(52, 152, 255, 0.03) 49.5%, rgba(52, 152, 255, 0.03) 50.5%, transparent 50.5%);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
}

@keyframes gridMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(60px); }
}

/* 蓝色光晕效果 */
.hero::after {
    content: '';
    position: absolute;
    width: 800px;
    height: 600px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -60%);
    background: 
        radial-gradient(ellipse at 30% 50%, var(--glow-blue) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 60%, var(--glow-orange) 0%, transparent 50%);
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.6;
}

/* 波浪粒子线条层 */
.particles-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: 
        linear-gradient(135deg, 
            transparent 0%, 
            rgba(52, 152, 255, 0.05) 25%, 
            transparent 50%,
            rgba(245, 166, 35, 0.05) 75%,
            transparent 100%
        );
    pointer-events: none;
}

/* 底部波浪线 */
.wave-lines {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    overflow: hidden;
}

.wave-lines svg {
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 300%;
    height: 100%;
    animation: waveFlow 15s linear infinite;
}

@keyframes waveFlow {
    0% { transform: translateX(0); }
    100% { transform: translateX(33.33%); }
}

/* ========== 导航栏 ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 18, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 0 40px;
    height: 70px;
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    height: 36px;
    width: auto;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-login {
    color: var(--text-secondary);
    font-size: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.btn-login:hover {
    color: var(--text-primary);
}

/* ========== 按钮样式 ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px var(--glow-blue);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px var(--glow-blue);
}

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

.btn-secondary:hover {
    background: rgba(52, 152, 255, 0.1);
    border-color: var(--primary);
}

.btn-large {
    padding: 16px 40px;
    font-size: 17px;
    border-radius: 30px;
}

/* ========== Hero 内容 ========== */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.hero-logo {
    width: 180px;
    height: 180px;
    margin: 0 auto 40px;
    animation: float 3s ease-in-out infinite;
}

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

.hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 40px var(--glow-blue)) drop-shadow(0 0 80px var(--glow-orange));
}

.hero-title {
    font-size: 72px;
    font-weight: 700;
    margin: 0 0 20px;
    letter-spacing: 8px;
    color: var(--text-primary);
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
}

.hero-title-zh {
    font-size: 36px;
    font-weight: 500;
    margin-left: 20px;
    letter-spacing: 4px;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--text-secondary);
    margin: 0 0 50px;
    font-weight: 300;
    letter-spacing: 2px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

/* ========== 统计数据 ========== */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 80px;
}

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

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 20px var(--glow-blue);
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* ========== 功能区域 ========== */
.features-preview,
.how-it-works {
    background: var(--bg-dark);
    padding: 100px 20px;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 15px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    margin: 0 0 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 35px;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(52, 152, 255, 0.15);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 12px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ========== 步骤区域 ========== */
.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.step {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    flex: 1;
    min-width: 250px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 auto 20px;
    box-shadow: 0 0 30px var(--glow-blue);
}

.step h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin: 0 0 10px;
}

.step p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.step-arrow {
    font-size: 28px;
    color: var(--primary);
}

/* ========== CTA 区域 ========== */
.cta-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0d1525 100%);
    padding: 100px 20px;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, var(--glow-blue) 0%, transparent 70%);
    filter: blur(60px);
    opacity: 0.4;
    pointer-events: none;
}

.cta-section h2 {
    font-size: 36px;
    color: var(--text-primary);
    margin: 0 0 15px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 18px;
    color: var(--text-secondary);
    margin: 0 0 40px;
    position: relative;
    z-index: 1;
}

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

/* ========== 页脚 ========== */
.footer {
    background: #050508;
    padding: 60px 20px 30px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand .logo-text {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 10px;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column h4 {
    color: var(--text-primary);
    font-size: 16px;
    margin: 0 0 20px;
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 14px;
}

/* ========== 响应式 ========== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 48px;
        letter-spacing: 4px;
    }
    
    .hero-title-zh {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .hero-stats {
        gap: 40px;
    }
    
    .stat-number {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 20px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 18, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: 15px 0;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
        text-align: center;
    }
    
    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
    }
    
    .menu-toggle span {
        display: block;
        width: 25px;
        height: 2px;
        background: var(--text-primary);
        transition: all 0.3s ease;
    }
    
    .hero-title {
        font-size: 36px;
        letter-spacing: 2px;
    }
    
    .hero-title-zh {
        font-size: 22px;
        margin-left: 10px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .footer-links {
        gap: 40px;
    }
}

@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }
}
