/* 合并的CSS文件 - 移除QQ样式，保留动态效果 */

/* 通用主题色 */
:root {
    --primary: #0066CC; /* 科技蓝 */
    --primary-dark: #0052A3;
    --primary-light: #3399FF;
    --secondary: #222222;
    --secondary-light: #444444;
    --accent: #00A8FF;
    --bg: #FFFFFF;
    --bg-light: #F5F7FA;
    --bg-dark: #1A1A1A;
    --text: #333333;
    --text-light: #666666;
    --text-white: #FFFFFF;
    --border: #E6E6E6;
    --success: #34C759;
    --warning: #FF9500;
    --error: #FF3B30;
    --shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 102, 204, 0.15);
    --radius: 12px;
    --radius-sm: 6px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 通用风格重置 */
html, body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans SC', Roboto, sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* 背景对齐浏览器优化 */
body {
    background: linear-gradient(135deg, #F0F7FF 0%, #E6F2FF 100%);
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    animation: backgroundShift 20s ease infinite;
    min-height: 100vh;
}

/* 第一页容器 */
.first-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* 页面容器 */
.page-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 页脚 */
.footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 4rem 0 2rem;
    width: 100%;
    min-height: 300px;
    margin-top: auto;
}

/* 背景动画效果 */
@keyframes backgroundShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* 响应式背景优化 */
@media (max-width: 768px) {
    body {
        background-attachment: scroll;
        background-size: cover;
    }
}

/* 高分辨率屏幕优化 */
@media (min-resolution: 192dpi), (min-resolution: 2dppx) {
    body {
        background-size: cover;
    }
}

/* 横屏模式优化 */
@media (orientation: landscape) {
    body {
        background-size: cover;
    }
}

/* 竖屏模式优化 */
@media (orientation: portrait) {
    body {
        background-size: cover;
    }
}

/* 背景动态效果容器 */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -9999;
    pointer-events: none;
    overflow: hidden;
}

/* 1. 全局流动粒子背景 */
.global-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.global-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.15;
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.2;
    }
    90% {
        opacity: 0.2;
    }
    100% {
        transform: translateY(-100px) translateX(var(--move-x, 0));
        opacity: 0;
    }
}

/* 2. 动态波浪背景 */
.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20vh;
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(transparent, rgba(0, 102, 204, 0.1));
    border-radius: 50% 50% 0 0;
    animation: waveMove 25s linear infinite;
}

.wave:nth-child(2) {
    animation-delay: -5s;
    opacity: 0.2;
    height: 80%;
}

@keyframes waveMove {
    0% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(-25%) translateY(5px);
    }
    100% {
        transform: translateX(-50%) translateY(0);
    }
}

/* 暗色模式优化 */
@media (prefers-color-scheme: dark) {
    .global-particle {
        background: var(--primary-light);
    }
    
    .wave {
        background: linear-gradient(transparent, rgba(0, 102, 204, 0.1));
    }
}

/* 移动端优化 */
@media (max-width: 768px) {
    .background-effects {
        opacity: 0.7;
    }
    
    .global-particle {
        width: 2px;
        height: 2px;
    }
    
    .wave {
        height: 15vh;
    }
    
    /* 服务卡片优化 */
    .services-grid {
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    /* 技术栈优化 */
    .tech-grid {
        gap: 1.5rem;
    }
    
    .tech-item {
        padding: 1.5rem;
    }
    
    .tech-item h4 {
        font-size: 1rem;
    }
    
    /* 团队特点优化 */
    .team-features {
        gap: 1.5rem;
    }
    
    .team-item {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    /* 页脚优化 */
    .footer-content {
        gap: 2rem;
    }
    
    .footer-about {
        padding-right: 0;
    }
}

/* 动画性能优化 */
.global-particle,
.wave {
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
}

/* 英雄区域 */
.hero {
    padding: 4rem 0 3rem;
    background: linear-gradient(135deg, #F0F7FF 0%, #E6F2FF 100%);
    position: relative;
    overflow: hidden;
    margin-top: 0;
    padding-top: 4rem;
    flex: 1;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%230066CC" opacity="0.05" d="M0,0 L100,0 L100,100 Z"/></svg>');
    background-size: cover;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--text-white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-primary::after {
    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.7s ease;
}

.btn-primary:hover::after {
    left: 100%;
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--text-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 102, 204, 0.1);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: var(--bg-light);
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--accent), var(--primary));
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--text);
}

.feature-text p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* 部分标题 */
.section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* 服务网格 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid transparent;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--text-white);
    font-size: 2rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 添加登录要求徽章样式 */
.login-required-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 59, 48, 0.1);
    color: var(--error);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 4px;
    animation: pulse 2s infinite;
    z-index: 1;
}

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

/* 技术栈 */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.tech-item {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid transparent;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.tech-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.tech-item:hover .tech-icon {
    transform: scale(1.1);
    background: rgba(0, 102, 204, 0.2);
}

.tech-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.tech-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* 关于我们 */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-placeholder {
    height: 400px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 5rem;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.about-text p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    line-height: 1;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: block;
}

.team-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--text-white);
}

.team-item:hover .team-icon {
    background: var(--text-white);
    color: var(--primary);
}

.team-item:hover .team-content h4,
.team-item:hover .team-content p {
    color: var(--text-white);
}

.team-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--text-white);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.team-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text);
    transition: var(--transition);
}

.team-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    transition: var(--transition);
}

/* 页脚 */
.footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-about {
    padding-right: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-white);
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--text-white);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    position: relative;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    margin-left: 2rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-legal a:hover {
    color: var(--text-white);
}

/* 功能按钮区域 */
.features-section {
    background: var(--bg-light);
    padding: 3rem 0;
    margin-top: 1rem;
}

.features-section .hero-features {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--text-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: var(--shadow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* 触控设备特定样式 */
.touch-device .service-card,
.touch-device .tech-item,
.touch-device .team-item {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.touch-device .service-card:active,
.touch-device .tech-item:active,
.touch-device .team-item:active {
    transform: translateY(-5px) !important;
    box-shadow: var(--shadow-lg) !important;
}

/* Logo样式优化 */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: transparent;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.25rem;
    transition: var(--transition);
    overflow: hidden;
}

.logo:hover .logo-icon img {
    transform: scale(1.05);
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 用户相关样式 */
.user-menu {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.auth-buttons {
    display: flex;
    gap: 0.75rem;
    animation: fadeIn 0.5s ease;
}

.btn-login, .btn-register {
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid transparent;
    font-family: 'Noto Sans SC', sans-serif;
}

.btn-login {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-login:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-register {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
}

.btn-register:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.user-profile {
    position: relative;
    animation: fadeIn 0.5s ease;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.user-avatar:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: var(--shadow-lg);
}

.dropdown-menu {
    position: absolute;
    top: 60px;
    right: 0;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    display: none;
    overflow: hidden;
    z-index: 1001;
    animation: dropdownFadeIn 0.3s ease;
    border: 1px solid var(--border);
}

.dropdown-menu.show {
    display: block;
}

.dropdown-header {
    padding: 1.25rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

.dropdown-item:hover {
    background: var(--bg-light);
    color: var(--primary);
    padding-left: 1.5rem;
}

.dropdown-item:last-child {
    border-bottom: none;
    color: var(--error);
}

.dropdown-item:last-child:hover {
    background: rgba(255, 59, 48, 0.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 暗色模式支持 */
@media (prefers-color-scheme: dark) {
    .dropdown-menu {
        background: var(--bg-dark);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .dropdown-item {
        color: var(--text-white);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.1);
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-legal a {
        margin: 0 1rem;
    }
    
    /* 响应式字体大小调整 */
    .hero-title {
        font-size: clamp(1.5rem, 5vw, 2.5rem) !important;
    }
    
    .title {
        font-size: clamp(1.25rem, 4vw, 2rem) !important;
    }
    
    /* 用户菜单响应式 */
    .user-menu {
        top: 15px;
        right: 15px;
    }
    
    .auth-buttons {
        gap: 0.5rem;
    }
    
    .btn-login, .btn-register {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .user-avatar {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
    
    /* 横屏模式优化 */
    @media (orientation: landscape) and (max-height: 600px) {
        .hero {
            padding-top: 4rem !important;
            padding-bottom: 2rem !important;
        }
        
        .hero-title {
            font-size: 1.75rem !important;
        }
        
        .hero-buttons {
            flex-direction: row !important;
        }
        
        .hero-buttons .btn {
            width: auto !important;
        }
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .subtitle {
        font-size: clamp(0.9rem, 3vw, 1.1rem) !important;
    }
    
    .hero-subtitle {
        font-size: clamp(0.9rem, 3vw, 1.1rem) !important;
    }
    
    /* 用户菜单响应式 */
    .user-menu {
        top: 10px;
        right: 10px;
    }
    
    .auth-buttons {
        flex-direction: column;
        gap: 0.4rem;
    }
    
    .btn-login, .btn-register {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        justify-content: center;
    }
    
    .user-avatar {
        width: 40px;
        height: 40px;
    }
    
    .dropdown-menu {
        min-width: 180px;
        top: 55px;
    }
    
    /* 小屏幕手机特别优化 */
    .device-mobile .container {
        padding: 0 10px;
    }
    
    .device-mobile .hero-title {
        font-size: 1.4rem;
        line-height: 1.35;
    }
    
    .device-mobile .title {
        font-size: 1.5rem;
    }
    
    .device-mobile .hero-buttons .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .device-mobile .service-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
    
    .device-mobile .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .device-mobile .stat-item {
        padding: 1.25rem 1rem;
    }
    
    .device-mobile .stat-number {
        font-size: 1.75rem;
    }
}

/* 平板优化 */
@media (min-width: 768px) and (max-width: 1024px) {
    .device-mobile .hero-title {
        font-size: 2.25rem;
    }
    
    .device-mobile .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .device-mobile .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 通用容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

/* 基础元素样式 */
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    font-weight: 700;
    line-height: 1.2;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 1.6;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    margin-top: 0;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

/* 动画关键帧 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 服务卡片动画延迟 */
.service-card,
.tech-item,
.team-item {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

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

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 102, 204, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* 加载动画 */
.loading-spinner {
    padding: 2rem;
    text-align: center;
}

.fallback-data {
    display: none;
}

.fallback-data.active {
    display: block;
}

/* 动画 */
.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* 减少动画设置优化 */
@media (prefers-reduced-motion: reduce) {
    .global-particle,
    .wave {
        animation: none !important;
    }
    
    .animate-in {
        animation: none !important;
        opacity: 1;
        transform: none;
    }
    
    .btn-primary::after {
        display: none;
    }
    
    .login-required-badge {
        animation: none !important;
    }
}