﻿:root {
    --primary-color: #2d5af7;
    --secondary-color: #17b978;
    --text-color: #333;
    --bg-color: #ffffff;
    --header-height: 80px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

.login-btn, .register-btn {
    padding: 8px 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.login-btn {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.register-btn {
    background-color: var(--primary-color);
    color: white;
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 30px;
    height: 2px;
    background-color: var(--text-color);
    transition: var(--transition);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }
}

.footer {
    background-color: #f8f9fa;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--text-color);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--text-color);
    font-size: 24px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Hero Section */
.hero {
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d5af7 100%);
    z-index: 1;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 20px;
}

.company-name {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    animation: fadeInDown 1s ease;
}

.company-slogan {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 50px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease 0.3s;
    animation-fill-mode: both;
}

.auth-container {
    animation: fadeIn 1s ease 0.6s;
    animation-fill-mode: both;
}

.auth-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    max-width: 500px;
    margin: 0 auto;
}

.auth-box h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.auth-box p {
    color: #666;
    margin-bottom: 30px;
}

.auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.login-btn, .register-btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    transition: all 0.3s ease;
}

.login-btn {
    background-color: #fff;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.login-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.register-btn {
    background-color: var(--primary-color);
    color: #fff;
}

.register-btn:hover {
    background-color: #1e45d4;
    transform: translateY(-2px);
}

.auth-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.feature {
    text-align: center;
}

.feature i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.feature span {
    font-size: 0.9rem;
    color: #666;
}

/* 动态背景形状 */
.moving-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: floatAnimation 20s infinite linear;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
}

.shape-2 {
    width: 500px;
    height: 500px;
    top: 50%;
    right: -250px;
    animation-delay: -5s;
}

.shape-3 {
    width: 400px;
    height: 400px;
    bottom: -200px;
    left: 50%;
    animation-delay: -10s;
}

/* 动画关键帧 */
@keyframes floatAnimation {
    0% {
        transform: rotate(0deg) translate(0, 0);
    }
    50% {
        transform: rotate(180deg) translate(100px, 100px);
    }
    100% {
        transform: rotate(360deg) translate(0, 0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .company-name {
        font-size: 3rem;
    }
    
    .company-slogan {
        font-size: 1.4rem;
    }
    
    .auth-box {
        padding: 30px;
        margin: 0 20px;
    }
    
    .auth-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 通用部分 */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-color);
}

/* 关���我们 */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-label {
    color: #666;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 业务范围 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 30px;
    background: var(--bg-color);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--text-color);
}

/* 新闻动态 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--bg-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 20px;
}

.news-date {
    color: #666;
    font-size: 0.9rem;
}

.news-content h3 {
    margin: 10px 0;
    color: var(--text-color);
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-right: 0;
        margin-bottom: 40px;
    }

    .about-content {
        flex-direction: column;
    }

    .about-stats {
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* 修改和添加动态背景相关样式 */
.animated-background {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: linear-gradient(45deg, #1a1a1a, #4b0092);
}

.cube {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    animation: cubeAnimation 10s linear infinite;
    transform-origin: center;
}

.cube:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.cube:nth-child(2) {
    top: 70%;
    left: 30%;
    animation-delay: -2s;
}

.cube:nth-child(3) {
    top: 30%;
    left: 60%;
    animation-delay: -4s;
}

.cube:nth-child(4) {
    top: 80%;
    left: 70%;
    animation-delay: -6s;
}

.cube:nth-child(5) {
    top: 20%;
    left: 80%;
    animation-delay: -8s;
}

@keyframes cubeAnimation {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 0;
    }
    50% {
        transform: rotate(180deg) scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: rotate(360deg) scale(1);
        opacity: 0;
    }
}

/* 平台推荐样式 */
.platform-recommendations {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.platform-recommendations h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.platform-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.platform-item:hover {
    transform: translateY(-3px);
    background: rgba(45, 90, 247, 0.1);
    color: var(--primary-color);
}

.platform-item i {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.platform-item span {
    font-size: 0.9rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 修改登录注册按钮样式 */
.login-btn, .register-btn {
    font-weight: 600;
    letter-spacing: 1px;
}

.login-btn i, .register-btn i {
    font-size: 1.2rem;
}

.auth-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
}

/* 主要按钮样式 */
.main-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeIn 1s ease 0.6s;
    animation-fill-mode: both;
}

.main-btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
    min-width: 180px;
    white-space: nowrap;
}

.main-btn i {
    font-size: 1.3rem;
}

.login-btn {
    background-color: #fff;
    color: var(--primary-color);
    border: 2px solid #fff;
}

.login-btn:hover {
    background-color: transparent;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

.register-btn {
    background-color: var(--primary-color);
    color: #fff;
    border: 2px solid var(--primary-color);
}

.register-btn:hover {
    background-color: transparent;
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

.platform-btn {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid #fff;
}

.platform-btn:hover {
    background-color: #fff;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .company-name {
        font-size: 3rem;
    }
    
    .company-slogan {
        font-size: 1.4rem;
    }
    
    .main-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .main-btn {
        width: 100%;
        max-width: 300px;
    }
}

/* 示例图片链接 */
.about-image img {
    content: url('../image/600.jpg');
}

.news-card:nth-child(1) .news-image img {
    content: url('../image/400-1.jpg');
}

.news-card:nth-child(2) .news-image img {
    content: url('../image/400-2.jpg');
}

.news-card:nth-child(3) .news-image img {
    content: url('../image/400-3.jpg');
}

/* 更新背景动画效果 */
.animated-background {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: linear-gradient(
        45deg, 
        #a52a2a, 
        #4b0092,
        #ff00ff,
        #87ceeb
    );
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* 优化立方体动画效果 */
.cube {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: cubeAnimation 10s linear infinite;
    transform-origin: center;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .main-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .main-btn {
        width: 90%;
        max-width: 250px;
        padding: 12px 20px;
        font-size: 1rem;
    }
}

/* 添加悬浮发光效果 */
.main-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(45, 90, 247, 0.3),
                0 0 20px rgba(45, 90, 247, 0.2),
                0 0 40px rgba(45, 90, 247, 0.1);
} 