/* ============================================================
   World视界首页 - 高级优雅风格
   少即是多 · 大量留白 · 单排文字
   ============================================================ */

:root {
    --neon-blue: #00d4ff;
    --neon-purple: #a855f7;
    --neon-cyan: #22d3ee;
    --dark-bg: #0a0a1a;
    --dark-bg-2: #111128;
    --card-bg: rgba(20, 20, 40, 0.4);
    --text-primary: #e0e0ff;
    --text-secondary: #8888aa;
    --text-muted: #555577;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 粒子画布 */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* ============================================================
   Hero 区域 - 第一印象高级优雅
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    z-index: auto;
    padding: 0 20px;
    background: transparent !important;
}

.hero-bg-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at center, rgba(20,20,60,0.05) 0%, rgba(10,10,26,0.3) 70%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-tagline {
    font-size: 0.9rem;
    color: var(--neon-cyan);
    letter-spacing: 0.4em;
    text-transform: uppercase;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-title {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 200;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 400;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 0.15em;
    margin-bottom: 60px;
    white-space: nowrap;
}

.hero-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 滚动指示器 */
.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    display: block;
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--neon-cyan));
    margin: 0 auto;
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================================
   按钮样式 - 简洁优雅
   ============================================================ */
.btn-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 48px;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-home-primary {
    background: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-purple) 100%);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-home-primary::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.6s ease;
}

.btn-home-primary:hover::before {
    left: 100%;
}

.btn-home-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.5);
}

.btn-home-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(168, 85, 247, 0.4);
}

.btn-home-outline:hover {
    border-color: var(--neon-purple);
    background: rgba(168, 85, 247, 0.08);
}

/* ============================================================
   核心亮点区域 - 极简数字排版 + 科幻发光卡片
   ============================================================ */
.highlights-section {
    position: relative;
    z-index: 1;
    padding: 140px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.highlight-item {
    position: relative;
    text-align: center;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 16px;
    padding: 56px 32px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.highlight-item:hover {
    transform: translateY(-8px);
    border-color: var(--neon-blue);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.15),
                0 0 30px rgba(168, 85, 247, 0.2);
}

.highlight-item .card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.highlight-item:hover .card-glow {
    opacity: 1;
}

.highlight-number {
    font-size: 3.5rem;
    font-weight: 100;
    color: transparent;
    -webkit-text-stroke: 1px var(--neon-purple);
    margin-bottom: 32px;
    letter-spacing: 0.05em;
    filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.3));
}

.highlight-item:hover .highlight-number {
    -webkit-text-stroke: 1px var(--neon-blue);
    filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.5));
}

.highlight-title {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.highlight-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 300;
    max-width: 280px;
    margin: 0 auto;
}

/* ============================================================
   CTA 区域
   ============================================================ */
.cta-section {
    position: relative;
    z-index: 1;
    padding: 120px 20px;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 200;
    color: var(--text-primary);
    margin-bottom: 50px;
    letter-spacing: 0.05em;
}

.cta-buttons {
    display: flex;
    justify-content: center;
}

/* ============================================================
   滚动动画
   ============================================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 768px) {
    .hero-subtitle {
        white-space: normal;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .highlights-section {
        padding: 80px 20px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .btn-home {
        width: 100%;
    }
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(168, 85, 247, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(168, 85, 247, 0.6);
}
