/* ================================================================
   乐小云文化传媒 - 科技风格首屏 Hero v2
   网格背景 + 流光效果 + 数字动画 + 赛博朋克风格
   ================================================================ */

/* ================================================================
   Hero 主容器 - 65vh 高度 - 海报背景
   ================================================================ */
.hero-cyber {
    position: relative;
    width: 100%;
    height: 65vh;
    min-height: 520px;
    max-height: 680px;
    overflow: hidden;
    background: 
        linear-gradient(135deg, rgba(10,10,15,0.75) 0%, rgba(13,17,23,0.55) 50%, rgba(22,27,34,0.75) 100%),
        url('/assets/images/hero-banner.png');
    background-size: 100% 100%, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    display: flex;
    align-items: center;
}

/* ================================================================
   网格背景 - 科技感网格线
   ================================================================ */
.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 107, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 107, 0, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
}

/* ================================================================
   流光扫描线
   ================================================================ */
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 107, 0, 0.5) 50%, 
        transparent 100%);
    animation: scanDown 4s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes scanDown {
    0% { top: 0; opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { top: 100%; opacity: 0; }
}

/* ================================================================
   光晕装饰球
   ================================================================ */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: orbFloat 8s ease-in-out infinite;
}

.glow-orb--1 {
    width: 400px;
    height: 400px;
    background: rgba(255, 107, 0, 0.15);
    top: -100px;
    right: 10%;
    animation-delay: 0s;
}

.glow-orb--2 {
    width: 300px;
    height: 300px;
    background: rgba(14, 165, 233, 0.1);
    bottom: -50px;
    left: 5%;
    animation-delay: -3s;
}

.glow-orb--3 {
    width: 200px;
    height: 200px;
    background: rgba(168, 85, 247, 0.08);
    top: 30%;
    left: 30%;
    animation-delay: -5s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(10px, -20px) scale(1.05); }
    50% { transform: translate(-5px, 10px) scale(0.95); }
    75% { transform: translate(15px, 5px) scale(1.02); }
}

/* ================================================================
   装饰线条和角落
   ================================================================ */
.deco-lines {
    position: absolute;
    inset: 20px;
    pointer-events: none;
}

.deco-line {
    position: absolute;
    background: linear-gradient(90deg, rgba(255, 107, 0, 0.3), transparent);
}

.deco-line--1 {
    top: 0;
    left: 0;
    right: 60%;
    height: 1px;
}

.deco-line--2 {
    bottom: 0;
    right: 0;
    left: 40%;
    height: 1px;
    background: linear-gradient(270deg, rgba(255, 107, 0, 0.3), transparent);
}

.deco-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 107, 0, 0.25);
}

.deco-corner--tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.deco-corner--tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.deco-corner--bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.deco-corner--br { bottom: 0; right: 0; border-left: none; border-top: none; }

/* ================================================================
   容器布局
   ================================================================ */
.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* ================================================================
   左侧内容
   ================================================================ */
.hero-left {
    flex: 1;
    max-width: 580px;
}

/* 状态标签 */
.hero-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 107, 0, 0.08);
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: #FF9A3C;
    letter-spacing: 2px;
    margin-bottom: 20px;
    animation: statusPulse 2s ease-in-out infinite;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #FF6B00;
    border-radius: 50%;
    animation: dotBlink 1s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { border-color: rgba(255, 107, 0, 0.2); }
    50% { border-color: rgba(255, 107, 0, 0.4); }
}

@keyframes dotBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* 主标题 */
.hero-title {
    margin: 0 0 24px 0;
    line-height: 1.2;
}

.title-brand {
    display: block;
    font-size: 40px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #FF9A3C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    margin-bottom: 12px;
    line-height: 1.3;
    white-space: nowrap;
}

.title-sub {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
    line-height: 1.6;
}

/* 业务标签 */
.hero-services {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.service-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-tag:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 107, 0, 0.3);
    background: rgba(255, 107, 0, 0.05);
}

.service-tag--1:hover { border-color: rgba(255, 107, 0, 0.5); }
.service-tag--2:hover { border-color: rgba(14, 165, 233, 0.5); }
.service-tag--3:hover { border-color: rgba(16, 185, 129, 0.5); }

/* Hero 简介段落 */
.hero-desc {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 24px 0;
    letter-spacing: 1px;
}

.tag-icon {
    font-size: 10px;
    color: #FF6B00;
}

/* 数据统计 */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}

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

.stat-value {
    display: inline;
    font-size: 28px;
    font-weight: 800;
    color: #FF6B00;
    font-variant-numeric: tabular-nums;
}

.stat-unit {
    display: inline;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 107, 0, 0.7);
    margin-left: 2px;
}

.stat-label {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 2px;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, rgba(255, 107, 0, 0.3), transparent);
}

/* CTA按钮 */
.hero-cta {
    display: flex;
    gap: 16px;
}

.btn-cyber {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.btn-cyber--primary {
    background: linear-gradient(135deg, #FF6B00, #FF9A3C);
    color: #fff;
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.3);
}

.btn-cyber--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 0, 0.5);
}

.btn-cyber--primary .btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: btnGlow 3s ease-in-out infinite;
}

@keyframes btnGlow {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.btn-cyber--secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-cyber--secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* ================================================================
   右侧IP展示
   ================================================================ */
.hero-right {
    flex-shrink: 0;
    width: 320px;
    display: flex;
    justify-content: center;
}

.mascot-container {
    position: relative;
    width: 280px;
    height: 280px;
}

/* 旋转光环 */
.mascot-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(255, 107, 0, 0.2);
    animation: ringRotate 20s linear infinite;
}

.mascot-ring--1 {
    inset: 0;
    animation-duration: 25s;
}

.mascot-ring--2 {
    inset: 25px;
    animation-duration: 18s;
    animation-direction: reverse;
    border-color: rgba(14, 165, 233, 0.15);
}

.mascot-ring--3 {
    inset: 50px;
    animation-duration: 12s;
    border-color: rgba(168, 85, 247, 0.1);
}

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

/* IP形象 */
.mascot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mascot-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(255, 107, 0, 0.3));
}

/* 数据流 */
.data-streams {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.stream {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 10px;
    color: rgba(255, 107, 0, 0.5);
    animation: streamFloat 4s ease-in-out infinite;
}

.stream span:first-child {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
}

.stream--1 {
    top: 10%;
    right: -10px;
    animation-delay: 0s;
}

.stream--2 {
    bottom: 25%;
    right: -20px;
    animation-delay: -1.5s;
}

.stream--3 {
    bottom: 5%;
    left: -10px;
    animation-delay: -3s;
}

@keyframes streamFloat {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(-8px); opacity: 1; }
}

/* ================================================================
   底部滚动提示
   ================================================================ */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 3;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, rgba(255, 107, 0, 0.6), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

.scroll-indicator span {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 3px;
}

@keyframes scrollLine {
    0%, 100% { height: 20px; opacity: 0.3; }
    50% { height: 50px; opacity: 0.8; }
}

/* ================================================================
   响应式 - 平板
   ================================================================ */
@media (max-width: 1024px) {
    .hero-cyber {
        height: auto;
        min-height: 100vh;
        padding: 80px 0 40px;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding: 0 32px;
    }
    
    .hero-left {
        max-width: 100%;
    }
    
    .hero-status {
        margin: 0 auto 20px;
    }
    
    .hero-services {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-right {
        width: 100%;
        margin-top: 20px;
    }
    
    .mascot-container {
        width: 200px;
        height: 200px;
    }
    
    .mascot {
        width: 120px;
        height: 120px;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* ================================================================
   响应式 - 手机
   ================================================================ */
@media (max-width: 750px) {
    .hero-container {
        padding: 60px 20px 24px;
    }
    
    .title-brand {
        font-size: 36px;
    }
    
    .title-sub {
        font-size: 11px;
        letter-spacing: 3px;
    }
    
    .hero-services {
        gap: 8px;
    }
    
    .service-tag {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
        padding: 16px;
    }
    
    .stat-box {
        flex: 1;
        min-width: 80px;
    }
    
    .stat-value {
        font-size: 22px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-cyber {
        width: 100%;
    }
    
    .mascot-container {
        width: 160px;
        height: 160px;
    }
    
    .mascot {
        width: 100px;
        height: 100px;
    }
    
    .mascot-ring--3 {
        display: none;
    }
}
