/**
 * Hero区域专用样式
 */

/* ============================================
   Hero V2 - 动态科技感版本
============================================ */
.hero-v2 {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg-extra {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.hero-glow-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.35) 0%, transparent 70%);
    top: -100px;
    right: 10%;
    animation: heroGlow1 6s ease-in-out infinite;
}

.hero-glow-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, transparent 70%);
    bottom: 10%;
    left: 5%;
    animation: heroGlow2 8s ease-in-out infinite;
}

.hero-glow-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 200, 255, 0.2) 0%, transparent 70%);
    top: 50%;
    left: 40%;
    animation: heroGlow3 7s ease-in-out infinite;
}

@keyframes heroGlow1 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
    50% { transform: translate(-30px, 30px) scale(1.2); opacity: 0.6; }
}

@keyframes heroGlow2 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    50% { transform: translate(20px, -20px) scale(1.1); opacity: 0.5; }
}

@keyframes heroGlow3 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.25; }
    50% { transform: translate(-15px, 15px) scale(1.15); opacity: 0.4; }
}

.hero-v2-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-v2-text {
    flex: 1;
    max-width: 600px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-100);
    margin-bottom: var(--space-lg);
    backdrop-filter: blur(10px);
}

.hero-tag-dot {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    animation: tagDotPulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

@keyframes tagDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.8); }
}

.hero-v2-title {
    margin-bottom: var(--space-lg);
}

.title-line {
    display: block;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.2;
    color: white;
}

.title-highlight {
    /* 使用纯色+多重发光效果，确保可见性 */
    color: #00D4FF;
    -webkit-text-fill-color: #00D4FF;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    display: block;
    
    /* 多层发光效果 - 替代渐变 */
    text-shadow: 
        0 0 5px rgba(0, 212, 255, 0.8),
        0 0 10px rgba(0, 212, 255, 0.6),
        0 0 15px rgba(0, 102, 255, 0.4),
        0 0 20px rgba(0, 102, 255, 0.2);
    
    /* 轻微的脉冲动画 */
    animation: glowPulse 3s ease-in-out infinite;
    
    /* 悬浮效果 */
    transition: all 0.3s ease;
}

/* 悬浮时的效果 */
.title-highlight:hover {
    transform: scale(1.02);
    text-shadow: 
        0 0 8px rgba(0, 212, 255, 1),
        0 0 15px rgba(0, 212, 255, 0.8),
        0 0 22px rgba(0, 102, 255, 0.6),
        0 0 30px rgba(0, 102, 255, 0.4);
}
}

/* 简单的脉冲动画 */
@keyframes pulse {
    from {
        text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    }
    to {
        text-shadow: 0 0 20px rgba(0, 212, 255, 0.8), 0 0 30px rgba(0, 102, 255, 0.3);
    }
}



.hero-v2-desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.hero-v2-buttons {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.hero-v2-stats {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.hero-v2-stat {
    text-align: left;
}

.hero-v2-stat .stat-value {
    font-size: 36px;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 4px;
}

.hero-v2-stat .stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.hero-v2-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   3D场景
============================================ */
.hero-v2-visual {
    flex: 1;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-3d-scene {
    position: relative;
    width: 400px;
    height: 400px;
}

.scene-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-inner {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(0, 102, 255, 0.5);
    animation: coreFloat 3s ease-in-out infinite;
}

@keyframes coreFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.05); }
}

.core-inner svg {
    width: 32px;
    height: 32px;
    color: white;
}

.core-pulse {
    position: absolute;
    inset: -20px;
    border: 2px solid rgba(0, 102, 255, 0.3);
    border-radius: 50%;
    animation: corePulse 2s ease-out infinite;
}

.core-pulse-2 {
    animation-delay: 1s;
}

@keyframes corePulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

/* 轨道环 */
.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 50%;
}

.orbit-ring-1 {
    width: 180px;
    height: 180px;
    margin: -90px 0 0 -90px;
    animation: orbitRotate 15s linear infinite;
}

.orbit-ring-2 {
    width: 260px;
    height: 260px;
    margin: -130px 0 0 -130px;
    animation: orbitRotate 20s linear infinite reverse;
}

.orbit-ring-3 {
    width: 340px;
    height: 340px;
    margin: -170px 0 0 -170px;
    animation: orbitRotate 25s linear infinite;
}

@keyframes orbitRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.orbit-node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary-500);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.6);
    top: 0;
    left: 50%;
    margin-left: -6px;
    margin-top: -6px;
}

.orbit-ring-2 .orbit-node:nth-child(2) {
    top: 50%;
    left: 100%;
}

.orbit-ring-3 .orbit-node:nth-child(2) {
    top: 100%;
    left: 50%;
}

.orbit-ring-3 .orbit-node:nth-child(3) {
    top: 50%;
    left: 0;
}

/* 浮动标签 */
.floating-tag {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: white;
    animation: tagFloat 4s ease-in-out infinite;
}

.floating-tag svg {
    width: 16px;
    height: 16px;
    color: var(--primary-500);
}

.floating-tag-1 {
    top: 15%;
    right: 0;
    animation-delay: 0s;
}

.floating-tag-2 {
    bottom: 30%;
    left: -10%;
    animation-delay: 1.3s;
}

.floating-tag-3 {
    bottom: 10%;
    right: 10%;
    animation-delay: 2.6s;
}

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

/* ============================================
   滚动提示
============================================ */
.hero-scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: scrollHintFade 2s ease-in-out infinite;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-500);
    border-radius: 2px;
    animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(6px); opacity: 0.5; }
}

.hero-scroll-hint span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.1em;
}

@keyframes scrollHintFade {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ============================================
   响应式
============================================ */
@media (max-width: 1024px) {
    .hero-v2-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-v2-text {
        max-width: 100%;
    }
    
    .hero-v2-buttons {
        justify-content: center;
    }
    
    .hero-v2-stats {
        justify-content: center;
    }
    
    .hero-v2-stat {
        text-align: center;
    }
    
    .hero-3d-scene {
        width: 300px;
        height: 300px;
    }
    
    .orbit-ring-3 {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-v2 {
        padding: 120px 0 60px;
    }
    
    .hero-v2-visual {
        display: none;
    }
    
    .hero-v2-buttons {
        flex-direction: column;
    }
    
    .hero-v2-buttons .btn {
        width: 100%;
    }
    
    .hero-v2-stats {
        flex-wrap: wrap;
        gap: var(--space-md);
    }
    
    .hero-v2-stat-divider {
        display: none;
    }
}

/* 发光脉冲动画 */
@keyframes glowPulse {
    0%, 100% {
        text-shadow: 
            0 0 5px rgba(0, 212, 255, 0.8),
            0 0 10px rgba(0, 212, 255, 0.6),
            0 0 15px rgba(0, 102, 255, 0.4),
            0 0 20px rgba(0, 102, 255, 0.2);
    }
    50% {
        text-shadow: 
            0 0 8px rgba(0, 212, 255, 1),
            0 0 16px rgba(0, 212, 255, 0.8),
            0 0 24px rgba(0, 102, 255, 0.6),
            0 0 32px rgba(0, 102, 255, 0.4);
    }
}
