/* 音创云图公司官网 - 科技感样式 */
/* Tech-Style CSS for Yuyun Company Website */

/* ========== 科技感配色变量 ========== */
:root {
    --tech-primary: #00d4ff;
    --tech-secondary: #7c3aed;
    --tech-accent: #00ff88;
    --tech-dark: #0a0e27;
    --tech-darker: #050816;
    --tech-light: #1a1f3a;
    --tech-gray: #8892b0;
    --tech-white: #e6f1ff;
    --tech-glow: rgba(0, 212, 255, 0.5);
    --tech-gradient: linear-gradient(135deg, #00d4ff 0%, #7c3aed 50%, #00ff88 100%);
    --tech-gradient-dark: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
}

/* ========== 全局科技感背景 ========== */
.tech-bg {
    background: var(--tech-darker);
    position: relative;
    overflow: hidden;
}

.tech-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 80%, rgba(0, 255, 136, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* ========== 网格背景动画 ========== */
.tech-grid-bg {
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

/* ========== 粒子效果 ========== */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--tech-primary);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 15s infinite;
    box-shadow: 0 0 10px var(--tech-glow);
}

@keyframes float {
    0%, 100% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

/* ========== 霓虹发光效果 ========== */
.neon-text {
    color: var(--tech-white);
    text-shadow: 
        0 0 5px var(--tech-primary),
        0 0 10px var(--tech-primary),
        0 0 20px var(--tech-primary),
        0 0 40px var(--tech-primary);
}

.neon-border {
    border: 2px solid var(--tech-primary);
    box-shadow: 
        0 0 5px var(--tech-primary),
        0 0 10px var(--tech-primary),
        inset 0 0 5px rgba(0, 212, 255, 0.1);
}

/* ========== 科技感卡片 ========== */
.tech-card {
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.9) 0%, rgba(10, 14, 39, 0.9) 100%);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.tech-card:hover::before {
    left: 100%;
}

.tech-card:hover {
    border-color: var(--tech-primary);
    box-shadow: 
        0 0 20px rgba(0, 212, 255, 0.3),
        0 20px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(-8px);
}

/* 卡片角落装饰 */
.tech-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, transparent 50%, rgba(0, 212, 255, 0.1) 50%);
    border-radius: 0 16px 0 0;
}

/* ========== 科技感按钮 ========== */
.tech-btn {
    background: transparent;
    color: var(--tech-primary);
    padding: 12px 32px;
    border: 2px solid var(--tech-primary);
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tech-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--tech-primary);
    transition: left 0.3s ease;
    z-index: -1;
}

.tech-btn:hover::before {
    left: 0;
}

.tech-btn:hover {
    color: var(--tech-dark);
    box-shadow: 0 0 20px var(--tech-glow);
}

/* 填充按钮 */
.tech-btn-filled {
    background: var(--tech-gradient);
    border: none;
    color: var(--tech-dark);
}

.tech-btn-filled:hover {
    box-shadow: 0 0 30px var(--tech-glow);
    transform: translateY(-3px);
}

/* ========== 科技感标题 ========== */
.tech-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--tech-white);
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.tech-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--tech-gradient);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--tech-glow);
}

.tech-subtitle {
    color: var(--tech-gray);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}

/* ========== 科技感分隔线 ========== */
.tech-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--tech-primary), transparent);
    margin: 40px 0;
    position: relative;
}

.tech-divider::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--tech-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--tech-glow);
}

/* ========== 科技感标签 ========== */
.tech-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--tech-primary);
    color: var(--tech-primary);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== 数据展示效果 ========== */
.tech-stat {
    text-align: center;
    padding: 20px;
}

.tech-stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--tech-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.tech-stat-label {
    color: var(--tech-gray);
    font-size: 0.875rem;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ========== 扫描线动画 ========== */
.scan-line {
    position: relative;
    overflow: hidden;
}

.scan-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--tech-primary), transparent);
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% { top: 0; opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* ========== 打字机效果 ========== */
.typewriter {
    overflow: hidden;
    border-right: 2px solid var(--tech-primary);
    white-space: nowrap;
    animation: typing 3s steps(30) 1s forwards, blink 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

/* ========== 六边形装饰 ========== */
.hex-pattern {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%2300d4ff' fill-opacity='0.05'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ========== 电路板图案 ========== */
.circuit-pattern {
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
}

/* ========== 加载动画 ========== */
.tech-loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 212, 255, 0.1);
    border-top-color: var(--tech-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========== 脉冲动画 ========== */
.pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ========== 悬浮动画 ========== */
.hover-float {
    animation: hoverFloat 3s ease-in-out infinite;
}

@keyframes hoverFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ========== 渐入动画 ========== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ========== 响应式调整 ========== */
@media (max-width: 768px) {
    .tech-title {
        font-size: 1.75rem;
    }
    
    .tech-stat-number {
        font-size: 2rem;
    }
    
    .tech-card {
        padding: 16px;
    }
}
