* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
}

body {
    font-family: 'Roboto', 'Noto Sans SC', sans-serif;
    background: linear-gradient(135deg, #1a1612 0%, #2a2318 100%);
    color: #f5f2e8;
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* 添加全局背景动画效果 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 193, 7, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 235, 59, 0.05) 0%, transparent 50%);
    animation: backgroundShift 20s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes backgroundShift {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1) rotate(180deg);
        opacity: 0.6;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-image: url('../img/bg_index.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(45deg, rgba(26, 22, 16, 0.85), rgba(42, 35, 24, 0.75)),
        radial-gradient(ellipse at center, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    z-index: 0;
}

/* 添加动态粒子背景 */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(255, 215, 0, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 193, 7, 0.3), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 235, 59, 0.4), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 215, 0, 0.3), transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: particleMove 20s linear infinite;
    z-index: 0;
    opacity: 0.6;
}

@keyframes particleMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-200px, -200px); }
}

/* 登录注册按钮样式 */
.auth-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.auth-button {
    padding: 6px 16px;
    border-radius: 18px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.login-button {
    background: transparent;
    border: 1px solid rgba(255, 215, 0, 0.5);
    color: #ffd700;
}

.login-button:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.auth-button:hover i {
    transform: scale(1.2) rotate(10deg);
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

.register-button {
    background: linear-gradient(45deg, #ffd700, #ffb300);
    border: none;
    color: #fff;
}

.register-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

@media (max-width: 768px) {
    .auth-buttons {
        display: none;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ffd700, #ffb300, #ff8f00);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 2s ease-in-out infinite alternate, gradientShift 4s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    font-weight: 700;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.6rem;
    margin-bottom: 40px;
    color: #b8b8b8;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
    max-width: 600px;
}

.cta-button {
    padding: 20px 45px;
    background: linear-gradient(45deg, #ffd700, #ffb300, #ff8f00);
    background-size: 300% 300%;
    border: none;
    border-radius: 50px;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 10px 30px rgba(255, 215, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: gradientShift 4s ease-in-out infinite;
}

.cta-button::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;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.cta-button:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow:
        0 20px 40px rgba(255, 215, 0, 0.5),
        0 0 0 2px rgba(255, 255, 255, 0.2);
    animation: gradientShift 1.5s ease-in-out infinite;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover::after {
    width: 300px;
    height: 300px;
}

.cta-button:active {
    transform: scale(1.05) translateY(-3px);
}

.cta-button i {
    margin-right: 10px;
    transition: all 0.3s ease;
}

.cta-button:hover i {
    transform: scale(1.2) rotate(10deg);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    animation: rocketLaunch 0.6s ease-in-out;
}

@keyframes rocketLaunch {
    0% { transform: scale(1) rotate(0deg) translateY(0); }
    50% { transform: scale(1.3) rotate(15deg) translateY(-5px); }
    100% { transform: scale(1.2) rotate(10deg) translateY(0); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    animation: float 10s infinite;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
    100% {
        transform: translateY(0) rotate(360deg);
    }
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px #ffd700, 0 0 20px #ffd700, 0 0 30px #ffd700;
    }
    to {
        text-shadow: 0 0 20px #ffb300, 0 0 30px #ffb300, 0 0 40px #ffb300;
    }
}

.features {
    padding: 120px 0;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a2e 100%);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 193, 7, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.features .container {
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    padding: 45px;
    border-radius: 25px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.2);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.15), rgba(255, 193, 7, 0.15));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ffd700, #ffb300, #ff8f00, #ffd700);
    background-size: 400% 400%;
    border-radius: inherit;
    z-index: -2;
    opacity: 0;
    animation: borderGlow 3s ease-in-out infinite;
    transition: opacity 0.5s ease;
}

.feature-card:hover {
    transform: translateY(-20px) scale(1.03);
    box-shadow:
        0 25px 50px rgba(255, 215, 0, 0.3),
        0 0 0 1px rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.4);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card h3 {
    color: #ffd700;
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 600;
}

.feature-card p {
    color: #b8b8b8;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* 新增样式 */
.ai-demo {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.ai-demo::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.ai-demo-content {
    position: relative;
    z-index: 1;
}

.quantum-interface {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
    border-radius: 30px;
    padding: 60px;
    margin-top: 50px;
    backdrop-filter: blur(25px);
    border: 2px solid rgba(255, 215, 0, 0.4);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.quantum-interface::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 193, 7, 0.1) 0%, transparent 50%);
    animation: quantumGlow 4s ease-in-out infinite;
    z-index: -1;
}

@keyframes quantumGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

.quantum-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.quantum-controls {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
    width: 100%;
    max-width: 600px;
}

.quantum-gate {
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.08));
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 18px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.quantum-gate::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;
}

.quantum-gate::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    transition: all 0.5s ease;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.quantum-gate:hover {
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.4), rgba(255, 215, 0, 0.15));
    transform: translateY(-8px) scale(1.08);
    box-shadow:
        0 15px 35px rgba(255, 215, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 215, 0, 0.7);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

.quantum-gate:hover::before {
    left: 100%;
}

.quantum-gate:hover::after {
    width: 200px;
    height: 200px;
}

.quantum-gate.active {
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.5), rgba(255, 215, 0, 0.25));
    box-shadow:
        0 0 30px rgba(255, 215, 0, 0.6),
        0 15px 35px rgba(255, 215, 0, 0.4);
    transform: scale(1.12);
    border-color: rgba(255, 215, 0, 0.9);
    animation: quantumPulse 2s ease-in-out infinite;
}

.quantum-gate i {
    margin-right: 8px;
    transition: all 0.3s ease;
    display: inline-block;
}

.quantum-gate:hover i {
    transform: scale(1.2) rotate(10deg);
    color: #ffb300;
    text-shadow: 0 0 15px rgba(255, 179, 0, 0.8);
    animation: quantumIconSpin 0.6s ease-in-out;
}

@keyframes quantumIconSpin {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.3) rotate(180deg); }
    100% { transform: scale(1.2) rotate(360deg); }
}

@keyframes quantumPulse {
    0%, 100% {
        box-shadow:
            0 0 30px rgba(255, 215, 0, 0.6),
            0 15px 35px rgba(255, 215, 0, 0.4);
    }
    50% {
        box-shadow:
            0 0 40px rgba(255, 215, 0, 0.8),
            0 20px 45px rgba(255, 215, 0, 0.6);
    }
}

.quantum-circuit {
    width: 100%;
    max-width: 800px;
    height: 200px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.circuit-line {
    position: absolute;
    height: 2px;
    background: rgba(255, 215, 0, 0.5);
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
}

.circuit-gate {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.5);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffd700;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.circuit-gate:hover {
    background: rgba(255, 215, 0, 0.3);
    transform: scale(1.1);
}

.quantum-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
    width: 100%;
    max-width: 800px;
}

.info-panel {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
}

.info-panel h3 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.info-content {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.6;
}

.quantum-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ffb300);
    width: 0%;
    transition: width 0.3s ease;
}

.quantum-core {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.quantum-sphere {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255,215,0,0.2) 0%, rgba(255,215,0,0.1) 50%, transparent 100%);
    border-radius: 50%;
    position: relative;
    animation: pulse 2s ease-in-out infinite;
}

.quantum-rings {
    position: absolute;
    width: 100%;
    height: 100%;
}

.ring {
    position: absolute;
    border: 2px solid rgba(255,215,0,0.3);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
}

.ring:nth-child(1) {
    width: 200px;
    height: 200px;
    animation-duration: 15s;
}

.ring:nth-child(2) {
    width: 250px;
    height: 250px;
    animation-duration: 20s;
    animation-direction: reverse;
}

.ring:nth-child(3) {
    width: 300px;
    height: 300px;
    animation-duration: 25s;
}

.quantum-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.quantum-stats {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    min-width: 120px;
}

.stat-value {
    color: #ffd700;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    color: #888;
    font-size: 0.9rem;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 0.5; }
}

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

.data-visualization {
    padding: 120px 0;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
}

.data-visualization::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 25% 25%, rgba(255, 215, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 193, 7, 0.08) 0%, transparent 50%);
    z-index: 0;
}

.data-visualization .container {
    position: relative;
    z-index: 1;
}

.visualization-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.visualization-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
    border-radius: 30px;
    padding: 45px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.visualization-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.08), rgba(255, 193, 7, 0.08));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.visualization-card::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, #ffd700, #ffb300, #ff8f00, #ffd700);
    background-size: 400% 400%;
    border-radius: inherit;
    z-index: -2;
    opacity: 0;
    animation: borderGlow 4s ease-in-out infinite;
    transition: opacity 0.5s ease;
}

.visualization-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow:
        0 25px 50px rgba(255, 215, 0, 0.3),
        0 0 0 1px rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.5);
}

.visualization-card:hover::before {
    opacity: 1;
}

.visualization-card:hover::after {
    opacity: 1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: relative;
}

.status-indicator.online {
    background: #ffd700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.status-indicator.online::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #ffd700;
    animation: pulse 2s infinite;
}

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

.counter {
    transition: all 0.5s ease;
}

/* 数字计数动画 */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chart-container {
    height: 300px;
    margin-top: 20px;
    position: relative;
}

.data-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.stat-box {
    background: rgba(255, 215, 0, 0.1);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

.trend-indicator {
    display: inline-block;
    margin-left: 10px;
    font-size: 0.8rem;
}

.trend-up {
    color: #ffd700;
}

.trend-down {
    color: #ff4444;
}

.future-tech {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.tech-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border-radius: 25px;
    padding: 35px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.2);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.1), rgba(255, 193, 7, 0.1));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.tech-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow:
        0 20px 40px rgba(255, 215, 0, 0.3),
        0 0 0 1px rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.4);
}

.tech-card:hover::before {
    opacity: 1;
}

.tech-icon {
    font-size: 4rem;
    margin-bottom: 25px;
    background: linear-gradient(45deg, #ffd700, #ffb300, #ff8f00);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.tech-card:hover .tech-icon {
    transform: scale(1.2) rotate(10deg);
}

/* Font Awesome图标在tech-icon中的特殊处理 */
.tech-icon i {
    background: linear-gradient(45deg, #ffd700, #ffb300, #ff8f00);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
    transition: all 0.3s ease;
    display: inline-block;
}

.tech-card:hover .tech-icon i {
    transform: scale(1.1) rotate(5deg);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    animation: techIconPulse 0.6s ease-in-out;
}

@keyframes techIconPulse {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(10deg); }
    100% { transform: scale(1.1) rotate(5deg); }
}

.tech-progress {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin: 20px 0 10px;
    overflow: hidden;
    position: relative;
}

.tech-progress .progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ffb300);
    border-radius: 3px;
    transition: width 2s ease;
    position: relative;
}

.tech-progress .progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.tech-status {
    font-size: 0.9rem;
    color: #888;
    font-weight: 500;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes drawLine {
    from { width: 0; }
    to { width: 100%; }
}

@media (max-width: 768px) {
    .visualization-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }
}

/* 新增全息投影样式 */
.hologram-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.hologram-container {
    position: relative;
    height: 500px;
    margin: 40px 0;
    perspective: 1000px;
}

.hologram {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: hologramRotate 20s infinite linear;
}

.hologram-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    animation: hologramPulse 4s infinite;
}

.hologram-layer:nth-child(1) { transform: rotateX(60deg) translateZ(50px); }
.hologram-layer:nth-child(2) { transform: rotateX(60deg) translateZ(100px); }
.hologram-layer:nth-child(3) { transform: rotateX(60deg) translateZ(150px); }

.hologram-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.hologram-text {
    font-size: 2rem;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    margin-bottom: 20px;
    opacity: 0;
    animation: textFade 4s infinite;
}

.hologram-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.hologram-button {
    padding: 10px 20px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    color: #ffd700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hologram-button:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: scale(1.05);
}

.hologram-button i {
    margin-right: 8px;
    transition: all 0.3s ease;
}

.hologram-button:hover i {
    transform: scale(1.1) rotate(10deg);
    color: #ffb300;
    text-shadow: 0 0 10px rgba(255, 179, 0, 0.8);
}

.particle {
    position: absolute;
    background: rgba(0, 255, 136, 0.5);
    border-radius: 50%;
    pointer-events: none;
}

.scan-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ff88, transparent);
    animation: scan 2s linear infinite;
}

@keyframes scan {
    0% { top: 0; }
    100% { top: 100%; }
}

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

.hologram-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
}

.info-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #00ff88;
    transition: all 0.3s ease;
}

.info-icon i {
    color: #ffd700;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    animation: infoIconFloat 3s ease-in-out infinite;
}

.info-card:hover .info-icon i {
    transform: scale(1.2) rotate(10deg);
    color: #ffb300;
    text-shadow: 0 0 15px rgba(255, 179, 0, 0.8);
}

@keyframes infoIconFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(5deg); }
}

/* 特性图标样式 */
.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-icon i {
    background: linear-gradient(45deg, #ffd700, #ffb300, #ff8f00);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
    transition: all 0.3s ease;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.feature-card:hover .feature-icon i {
    transform: scale(1.2) rotate(10deg);
    animation: featureIconBounce 0.6s ease-in-out;
}

@keyframes featureIconBounce {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.3) rotate(15deg); }
    100% { transform: scale(1.2) rotate(10deg); }
}

/* Hero部分图标样式 */
.hero-content p i {
    color: #ffd700;
    margin-right: 5px;
    margin-left: 5px;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    animation: heroIconTwinkle 4s ease-in-out infinite;
}

.hero-content p i:hover {
    transform: scale(1.2) rotate(10deg);
    color: #ffb300;
    text-shadow: 0 0 15px rgba(255, 179, 0, 0.8);
}

@keyframes heroIconTwinkle {
    0%, 100% {
        opacity: 0.8;
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    }
    50% {
        opacity: 1;
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    }
}

#hologramCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* 智能城市样式 */
.smart-city {
    padding: 100px 0;
    background: #0f0f0f;
}

.city-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.city-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.city-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.1));
    animation: cityPulse 3s infinite;
}

/* 神经网络可视化样式 */
.neural-network {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

.network-container {
    height: 400px;
    position: relative;
    margin: 40px 0;
}

.network-node {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #ffd700;
    border-radius: 50%;
    animation: nodePulse 2s infinite;
}

.network-connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, #ffd700, #ffb300);
    transform-origin: left center;
    animation: connectionFlow 3s infinite;
}

/* 智能助手升级样式 */
.ai-assistant {
    padding: 100px 0;
    background: #0f0f0f;
}

.assistant-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.assistant-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.assistant-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: assistantGlow 4s infinite;
}

/* 新增动画 */
@keyframes hologramRotate {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

@keyframes hologramPulse {
    0% { opacity: 0.3; }
    50% { opacity: 0.7; }
    100% { opacity: 0.3; }
}

@keyframes cityPulse {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes nodePulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 0.5; }
}

@keyframes connectionFlow {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

@keyframes assistantGlow {
    0% { opacity: 0.3; }
    50% { opacity: 0.7; }
    100% { opacity: 0.3; }
}

@media (max-width: 768px) {
    .city-grid,
    .assistant-grid {
        grid-template-columns: 1fr;
    }
}

/* 导航栏样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(26, 22, 16, 0.95), rgba(42, 35, 24, 0.9));
    backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        rgba(255, 215, 0, 0.08) 0%,
        rgba(255, 193, 7, 0.08) 50%,
        rgba(255, 235, 59, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #ffd700, #ffb300, #ff8f00);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.header:hover::before {
    opacity: 1;
}

.header:hover::after {
    opacity: 1;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ffd700, #ffb300, #ff8f00);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    animation: logoGlow 3s ease-in-out infinite;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #ffd700, #ffb300);
    transition: width 0.4s ease;
    border-radius: 1px;
}

.logo:hover {
    transform: scale(1.08) translateY(-2px);
    filter: brightness(1.2);
    animation: logoGlow 1.5s ease-in-out infinite;
}

.logo:hover::after {
    width: 100%;
}

@keyframes logoGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
        background-position: 0% 50%;
    }
    50% {
        text-shadow: 0 0 20px rgba(255, 179, 0, 0.7);
        background-position: 100% 50%;
    }
}

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
}

.nav-links a {
    color: #f0f0f0;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 12px 0;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 193, 7, 0.15));
    transform: translateX(-50%);
    transition: width 0.3s ease;
    border-radius: 10px;
    z-index: -1;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(45deg, #ffd700, #ffb300, #ff8f00);
    border-radius: 2px;
    transition: width 0.4s ease;
}

.nav-links a:hover {
    color: #ffd700;
    transform: translateY(-3px);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.nav-links a:hover::before {
    width: 120%;
}

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

/* 关于我们样式 */
.about-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text {
    color: #888;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    color: #ffd700;
    margin-bottom: 10px;
}

/* 采购/合作样式 */
.contact-section {
    padding: 100px 0;
    background: #0f0f0f;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.2);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.1), rgba(255, 193, 7, 0.1));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.contact-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(255, 215, 0, 0.3),
        0 0 0 1px rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.4);
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: #ffd700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    animation: iconFloat 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.contact-icon i {
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon i {
    transform: scale(1.2) rotate(10deg);
    color: #ffb300;
    text-shadow: 0 0 20px rgba(255, 179, 0, 0.8);
}

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

.contact-btn {
    background: linear-gradient(45deg, #ffd700, #ffb300);
    border: none;
    border-radius: 25px;
    padding: 12px 25px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.contact-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
    background: linear-gradient(45deg, #ffb300, #ff8f00);
}

.contact-btn:hover::before {
    left: 100%;
}

.contact-btn i {
    margin-right: 8px;
    transition: all 0.3s ease;
}

.contact-btn:hover i {
    transform: scale(1.1) rotate(5deg);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* 图标样式增强 */
.nav-links a i,
.auth-button i,
.footer-links a i,
.footer-section h3 i,
.social-links a i {
    margin-right: 8px;
    transition: all 0.3s ease;
    display: inline-block;
    opacity: 0;
    animation: iconFadeIn 0.6s ease-in-out forwards;
}

/* 图标淡入动画 */
@keyframes iconFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.8) rotate(-10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* 为不同类型的图标添加延迟 */
.nav-links a:nth-child(1) i { animation-delay: 0.1s; }
.nav-links a:nth-child(2) i { animation-delay: 0.2s; }
.nav-links a:nth-child(3) i { animation-delay: 0.3s; }
.nav-links a:nth-child(4) i { animation-delay: 0.4s; }
.nav-links a:nth-child(5) i { animation-delay: 0.5s; }
.nav-links a:nth-child(6) i { animation-delay: 0.6s; }

.footer-links a:nth-child(odd) i { animation-delay: 0.1s; }
.footer-links a:nth-child(even) i { animation-delay: 0.2s; }

.social-links a:nth-child(1) i { animation-delay: 0.1s; }
.social-links a:nth-child(2) i { animation-delay: 0.15s; }
.social-links a:nth-child(3) i { animation-delay: 0.2s; }
.social-links a:nth-child(4) i { animation-delay: 0.25s; }
.social-links a:nth-child(5) i { animation-delay: 0.3s; }

/* 其他图标的延迟动画 */
.feature-icon i { animation-delay: 0.2s; }
.tech-icon i { animation-delay: 0.3s; }
.contact-icon i { animation-delay: 0.4s; }
.info-icon i { animation-delay: 0.5s; }
.quantum-gate i { animation-delay: 0.1s; }
.hero-content p i:nth-child(1) { animation-delay: 0.1s; }
.hero-content p i:nth-child(2) { animation-delay: 0.2s; }
.hero-content p i:nth-child(3) { animation-delay: 0.3s; }
.hero-content p i:nth-child(4) { animation-delay: 0.4s; }
.hero-content p i:nth-child(5) { animation-delay: 0.5s; }

.nav-links a:hover i {
    transform: scale(1.2) rotate(5deg);
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
    animation: iconPulse 0.6s ease-in-out;
}

/* 图标脉冲动画 */
@keyframes iconPulse {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.3) rotate(10deg); }
    100% { transform: scale(1.2) rotate(5deg); }
}

.footer-links a:hover i {
    transform: scale(1.1) rotate(10deg);
    color: #ffd700;
}

.social-links a:hover i {
    transform: scale(1.3) rotate(15deg);
    color: #ffd700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

/* 特定社交媒体图标颜色 */
.social-links a[href*="weixin"]:hover i { color: #07c160; }
.social-links a[href*="weibo"]:hover i { color: #e6162d; }
.social-links a[href*="github"]:hover i { color: #333; }
.social-links a[href*="youtube"]:hover i { color: #ff0000; }
.social-links a[href*="instagram"]:hover i { color: #e4405f; }
.social-links a[href*="tiktok"]:hover i { color: #000; }
.social-links a[href*="linkedin"]:hover i { color: #0077b5; }
.social-links a[href*="pinterest"]:hover i { color: #bd081c; }
.social-links a[href*="reddit"]:hover i { color: #ff4500; }

.footer-section h3 i {
    color: #ffb300;
    margin-right: 10px;
    animation: headerIconFloat 3s ease-in-out infinite;
}

/* 页脚标题图标浮动动画 */
@keyframes headerIconFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-3px) rotate(5deg); }
}

/* 页脚样式 */
.footer {
    background-color: #121212;
    padding: 25px 0 15px; /* 进一步减少上下内边距 */
    color: #b8b8b8;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 193, 7, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px; /* 进一步减少间距 */
    margin-bottom: 20px; /* 进一步减少底部边距 */
}

.footer-section h3 {
    color: #ffd700;
    margin-bottom: 10px; /* 进一步减少标题下方间距 */
    font-size: 0.95rem; /* 进一步减小字体大小 */
    font-weight: 600;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(45deg, #ffd700, #ffb300);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 4px; /* 进一步减少列表项间距 */
    display: ruby;
}

.footer-links a {
    color: #b8b8b8;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 2px 0; /* 减少内边距 */
    display: inline-block;
    font-size: 0.8rem; /* 进一步减小字体 */
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #ffd700, #ffb300);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #ffd700;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    width: 100%;
}

.footer-bottom {
    padding-top: 10px; /* 进一步减少顶部内边距 */
    border-top: 1px solid rgba(0, 255, 136, 0.1); /* 添加分隔线 */
    font-size: 0.75rem; /* 进一步减小版权信息字体 */
    text-align: center;
}

.footer-bottom a {
    color: #b8b8b8;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-bottom a:hover {
    color: #ffd700;
}

.social-links {
    display: ruby;
    justify-content: center;
    gap: 15px; /* 减少间距 */
    margin-top: 15px; /* 减少顶部边距 */
}

.social-links a {
    color: #b8b8b8;
    font-size: 0.8rem; /* 减小字体 */
    transition: all 0.3s ease;
    padding: 6px; /* 减少内边距 */
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; /* 减小尺寸 */
    height: 36px; /* 减小尺寸 */
}

.social-links a:hover {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* 添加滚动动画效果 */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* 页面加载完成后的样式 */
body.loaded .scroll-reveal {
    transition-delay: 0.1s;
}

body.loaded .scroll-reveal:nth-child(2) {
    transition-delay: 0.2s;
}

body.loaded .scroll-reveal:nth-child(3) {
    transition-delay: 0.3s;
}

/* 键盘导航样式 */
body.keyboard-navigation *:focus {
    outline: 2px solid #ffd700;
    outline-offset: 2px;
}

/* 触摸设备优化 */
body.touch-device .magnetic-button:hover::before,
body.touch-device .floating-card:hover {
    transform: none;
}

/* 页面隐藏时的优化 */
body.page-hidden * {
    animation-play-state: paused;
}

/* 添加加载动画 */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    border-top-color: #ffd700;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 改进的响应式设计 */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .quantum-interface {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    /* 移动端图标优化 */
    .contact-icon {
        font-size: 2rem;
    }

    .footer-links a i,
    .social-links a i {
        margin-right: 6px;
    }

    .quantum-gate i {
        margin-right: 6px;
    }

    .hero h1 {
        font-size: 2.8rem;
        text-align: center;
    }

    .hero p {
        font-size: 1.3rem;
        text-align: center;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 1.1rem;
    }

    .features-grid,
    .tech-grid,
    .city-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .visualization-grid,
    .assistant-grid {
        grid-template-columns: 1fr;
    }

    .quantum-controls {
        grid-template-columns: repeat(2, 1fr);
    }

    .quantum-interface {
        padding: 25px;
    }

    .about-content,
    .contact-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .hologram-info {
        grid-template-columns: 1fr;
    }

    .nav-container {
        padding: 20px;
    }

    .logo {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .container {
        padding: 0 20px;
    }

    .feature-card,
    .visualization-card,
    .tech-card {
        padding: 25px;
    }

    .quantum-interface {
        padding: 20px;
    }

    .quantum-controls {
        grid-template-columns: 1fr;
    }
}

/* 添加平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 选择文本样式 */
::selection {
    background: rgba(255, 215, 0, 0.3);
    color: #fff;
}

::-moz-selection {
    background: rgba(255, 215, 0, 0.3);
    color: #fff;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #ffd700, #ffb300);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #ffb300, #ff8f00);
}

/* 页面加载状态 */
body:not(.loaded) .hero-content {
    opacity: 0;
    transform: translateY(30px);
}

body.loaded .hero-content {
    opacity: 1;
    transform: translateY(0);
    transition: all 1s ease 0.3s;
}

/* 键盘导航支持 */
.keyboard-navigation *:focus {
    outline: 2px solid #ffd700;
    outline-offset: 2px;
}

/* 页面隐藏时暂停动画 */
.page-hidden * {
    animation-play-state: paused !important;
}

/* 自定义光标在移动设备上隐藏 */
@media (hover: none) and (pointer: coarse) {
    .custom-cursor {
        display: none !important;
    }
}

/* 增强的焦点样式 */
button:focus,
a:focus,
.quantum-gate:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.5);
}

/* 减少动画效果（用户偏好） */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .scroll-reveal {
        opacity: 1;
        transform: none;
    }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    body {
        background: #000;
        color: #fff;
    }

    .feature-card,
    .visualization-card,
    .tech-card {
        border: 2px solid #fff;
        background: #000;
    }
}

/* 暗色主题偏好 */
@media (prefers-color-scheme: dark) {
    /* 已经是暗色主题，保持现有样式 */
}

/* 打印样式 */
@media print {
    body {
        background: white !important;
        color: black !important;
    }

    .header,
    .floating-elements,
    .custom-cursor {
        display: none !important;
    }

    .hero {
        background: none !important;
        height: auto !important;
    }

    .hero::before,
    .hero::after {
        display: none !important;
    }
}

/* 增强的错误状态 */
.error-state {
    color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
}

/* 成功状态 */
.success-state {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
}

/* 加载状态 */
.loading-state {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #888;
}

/* 工具提示样式 */
.tooltip {
    position: relative;
    cursor: help;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.tooltip:hover::after {
    opacity: 1;
}

/* 新增美化效果 */
/* 磁性按钮效果 */
.magnetic-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.magnetic-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.magnetic-button:hover::before {
    width: 300px;
    height: 300px;
}

/* 霓虹灯文字效果 */
.neon-text {
    color: #00ff88;
    text-shadow:
        0 0 5px #00ff88,
        0 0 10px #00ff88,
        0 0 15px #00ff88,
        0 0 20px #00ff88;
    animation: neonFlicker 2s infinite alternate;
}

.neon-text i {
    color: #00ff88;
    text-shadow:
        0 0 5px #00ff88,
        0 0 10px #00ff88,
        0 0 15px #00ff88,
        0 0 20px #00ff88;
    margin-right: 8px;
    transition: all 0.3s ease;
    animation: neonIconGlow 3s ease-in-out infinite;
}

@keyframes neonIconGlow {
    0%, 100% {
        text-shadow:
            0 0 5px #00ff88,
            0 0 10px #00ff88,
            0 0 15px #00ff88,
            0 0 20px #00ff88;
    }
    50% {
        text-shadow:
            0 0 10px #00ff88,
            0 0 20px #00ff88,
            0 0 30px #00ff88,
            0 0 40px #00ff88;
    }
}

@keyframes neonFlicker {
    0%, 100% {
        text-shadow:
            0 0 5px #00ff88,
            0 0 10px #00ff88,
            0 0 15px #00ff88,
            0 0 20px #00ff88;
    }
    50% {
        text-shadow:
            0 0 2px #00ff88,
            0 0 5px #00ff88,
            0 0 8px #00ff88,
            0 0 12px #00ff88;
    }
}

/* 玻璃态效果增强 */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* 悬浮卡片效果 */
.floating-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.floating-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 255, 136, 0.1), rgba(0, 161, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
    z-index: -1;
}

.floating-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(0, 255, 136, 0.2),
        0 0 0 1px rgba(0, 255, 136, 0.1);
}

.floating-card:hover::before {
    opacity: 1;
}

/* 脉冲动画效果 */
.pulse-effect {
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(0, 255, 136, 0.5);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.8);
        transform: scale(1.05);
    }
}

/* 渐变边框动画 */
.animated-border {
    position: relative;
    background: linear-gradient(45deg, #0a0a0a, #1a1a1a);
}

.animated-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00ff88, #00a1ff, #ff0080, #00ff88);
    background-size: 400% 400%;
    border-radius: inherit;
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* 文字打字机效果 */
.typewriter {
    overflow: hidden;
    border-right: 2px solid #00ff88;
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #00ff88; }
}

/* 鼠标跟随光标效果 */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
}

.custom-cursor.hover {
    transform: scale(2);
    background: radial-gradient(circle, rgba(0, 161, 255, 0.8) 0%, transparent 70%);
}

/* 页面加载动画 */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a14 0%, #121220 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-size: 3rem;
    background: linear-gradient(45deg, #00ff88, #00a1ff, #ff0080);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: logoGlow 2s ease-in-out infinite;
    margin-bottom: 30px;
}

.loader-progress {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-bar {
    height: 100%;
    background: linear-gradient(90deg, #00ff88, #00a1ff);
    width: 0%;
    animation: loadProgress 3s ease-in-out;
}

@keyframes loadProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* 视差滚动效果 */
.parallax-element {
    transform: translateZ(0);
    will-change: transform;
}

/* 增强的悬停效果 */
.enhanced-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.enhanced-hover:hover {
    transform: translateY(-5px) scale(1.02);
    filter: brightness(1.1);
}

/* 文字渐现效果 */
.fade-in-text {
    opacity: 0;
    animation: fadeInText 1s ease-in-out forwards;
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 数字滚动效果 */
.counter-animation {
    font-variant-numeric: tabular-nums;
}

/* 响应式增强 */
@media (max-width: 768px) {
    .neon-text {
        animation: none;
        text-shadow: 0 0 10px #00ff88;
    }

    .floating-card:hover {
        transform: translateY(-5px) scale(1.01);
    }

    .magnetic-button:hover::before {
        width: 200px;
        height: 200px;
    }
}

/* 深色模式优化 */
@media (prefers-color-scheme: dark) {
    .glass-effect {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* 高性能动画 */
.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* 无障碍增强 */
@media (prefers-reduced-motion: reduce) {
    .neon-text,
    .pulse-effect,
    .floating-card,
    .magnetic-button {
        animation: none !important;
        transition: none !important;
    }
}

/* 背景粒子效果 */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    animation: particleFloat 20s linear infinite;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.particle:nth-child(2) {
    left: 20%;
    animation-delay: 2s;
    animation-duration: 30s;
}

.particle:nth-child(3) {
    left: 30%;
    animation-delay: 4s;
    animation-duration: 22s;
}

.particle:nth-child(4) {
    left: 40%;
    animation-delay: 6s;
    animation-duration: 28s;
}

.particle:nth-child(5) {
    left: 50%;
    animation-delay: 8s;
    animation-duration: 26s;
}

.particle:nth-child(6) {
    left: 60%;
    animation-delay: 10s;
    animation-duration: 24s;
}

.particle:nth-child(7) {
    left: 70%;
    animation-delay: 12s;
    animation-duration: 32s;
}

.particle:nth-child(8) {
    left: 80%;
    animation-delay: 14s;
    animation-duration: 27s;
}

.particle:nth-child(9) {
    left: 90%;
    animation-delay: 16s;
    animation-duration: 29s;
}

.particle:nth-child(10) {
    left: 95%;
    animation-delay: 18s;
    animation-duration: 31s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* 动态背景网格 */
.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
    opacity: 0.1;
}

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

.grid-line.horizontal {
    width: 100%;
    height: 1px;
    animation: gridPulse 4s ease-in-out infinite;
}

.grid-line.horizontal:nth-child(1) {
    top: 20%;
    animation-delay: 0s;
}

.grid-line.horizontal:nth-child(2) {
    top: 50%;
    animation-delay: 1.3s;
}

.grid-line.horizontal:nth-child(3) {
    top: 80%;
    animation-delay: 2.6s;
}

.grid-line.vertical {
    height: 100%;
    width: 1px;
    background: linear-gradient(0deg, transparent, rgba(0, 255, 136, 0.3), transparent);
    animation: gridPulse 4s ease-in-out infinite;
}

.grid-line.vertical:nth-child(4) {
    left: 25%;
    animation-delay: 0.5s;
}

.grid-line.vertical:nth-child(5) {
    left: 50%;
    animation-delay: 1.8s;
}

.grid-line.vertical:nth-child(6) {
    left: 75%;
    animation-delay: 3.1s;
}

@keyframes gridPulse {
    0%, 100% {
        opacity: 0.1;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.02);
    }
}
