* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 更新全局样式 */
:root {
    --primary-color: #2962ff;
    --secondary-color: #0039cb;
    --accent-color: #768fff;
    --dark-bg: #1a1a1a;
    --light-bg: #f5f5f5;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    background: var(--light-bg);
    color: #333;
    padding-top: 70px;
}

header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 70px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
}

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

.nav-links li a {
    color: #333;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
    position: relative;
    overflow: hidden;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.hero {
    position: relative;
    height: calc(100vh - 70px);
    overflow: hidden;
    background: none;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease, visibility 1.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1.1);
    transition: transform 8s ease, filter 1.2s ease;
    filter: brightness(0.8);
}

.slide.active .slide-bg {
    transform: scale(1);
    filter: brightness(1);
}

.slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.75) 100%
    );
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.3s;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.5s;
}

.slide-content .hero-buttons {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.7s;
}

.slide.active .slide-content h1,
.slide.active .slide-content p,
.slide.active .slide-content .hero-buttons {
    opacity: 1;
    transform: translateY(0);
}

.slider-controls {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    display: flex;
    align-items: center;
    gap: 2rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem 2rem;
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

.prev-slide,
.next-slide {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-slide:hover,
.next-slide:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.slide-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active {
    background: white;
    transform: scale(1.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .slide-content h1 {
        font-size: 2.5rem;
    }

    .slide-content p {
        font-size: 1.1rem;
    }

    .slider-controls {
        bottom: 2rem;
        padding: 0.8rem 1.5rem;
    }

    .prev-slide,
    .next-slide {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .dot {
        width: 10px;
        height: 10px;
    }
}

.products, .features, .contact {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.products {
    padding: 6rem 2rem;
    background: linear-gradient(to bottom, white, var(--light-bg));
}

.products-description {
    text-align: center;
    color: #666;
    font-size: 1.2rem;
    margin: 1rem auto 3rem;
    max-width: 800px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.product-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.product-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background: rgba(41, 98, 255, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.product-card:hover .product-icon {
    transform: rotateY(180deg);
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.product-card > p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
}

.product-features li {
    padding: 0.5rem 0;
    color: #555;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.product-features li::before {
    content: '✓';
    color: var(--primary-color);
    margin-right: 0.8rem;
    font-weight: bold;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.product-tag {
    background: rgba(41, 98, 255, 0.1);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 12;
}

.btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(41, 98, 255, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    margin-left: 1rem;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

input, textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* 动画关键帧 */
@keyframes backgroundShift {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* 合并移动端响应式样式 */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    
    header {
        height: 60px;
    }
    
    .hero {
        min-height: calc(100vh - 60px);
        padding: 3rem 1rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .btn-outline {
        margin-left: 0;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }

    /* 底部响应式样式 */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section {
        padding: 1rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .qr-code {
        margin: 0 auto;
    }
}

/* 底部样式 */
.footer {
    background: var(--dark-bg);
    color: #fff;
    padding: 0;
    margin-top: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section p {
    margin-bottom: 0.8rem;
    color: #aaa;
}

.footer-section i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.qr-code {
    text-align: center;
}

.qr-code img {
    width: 150px;
    height: 150px;
    margin-bottom: 0.5rem;
    border: 4px solid #fff;
    border-radius: 8px;
}

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

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

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #aaa;
    font-size: 0.9rem;
}

.icp {
    color: #666;
}

/* 公司说明部分样式 */
.about {
    background: var(--light-bg);
    padding: 6rem 2rem;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.about-description {
    max-width: 800px;
    margin: 1.5rem auto 3rem;
    color: #666;
    font-size: 1.1rem;
}

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

.about-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.about-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-card h3 {
    margin-bottom: 1rem;
    color: #333;
}

.about-card p {
    color: #666;
    line-height: 1.6;
}

/* 合作伙伴部分样式 */
.partners {
    padding: 6rem 2rem;
    background: white;
    text-align: center;
}

.partners-description {
    max-width: 800px;
    margin: 1.5rem auto 3rem;
    color: #666;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.partner-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.partner-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    padding: 1.5rem;
    background: white;
    transition: transform 0.3s ease;
}

.partner-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    background: rgba(41, 98, 255, 0.9);
    color: white;
    padding: 1rem;
    transition: bottom 0.3s ease;
}

.partner-card:hover .partner-overlay {
    bottom: 0;
}

.partner-card:hover img {
    transform: scale(1.1);
}

.partner-overlay h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.partner-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
}

/* 导航栏容器 */
.nav-container {
    display: flex;
    align-items: center;
}

/* 导航认证按钮样式 */
.nav-auth {
    display: flex;
    align-items: center;
}

.btn-login {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-login:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 2px 10px rgba(41, 98, 255, 0.2);
}

.btn-register {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

.btn-register:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* 更新移动端响应式样式 */
@media (max-width: 768px) {
    .nav-container {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        display: none;
    }

    .nav-container.active {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links li a {
        display: block;
        padding: 0.8rem;
    }

    .nav-auth {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }

    .nav-auth .btn {
        width: 100%;
        text-align: center;
    }

    /* 添加汉堡菜单按钮 */
    .menu-toggle {
        display: block;
        font-size: 1.5rem;
        color: var(--primary-color);
        cursor: pointer;
    }

    .logo img {
        height: 32px;
    }
    
    .logo-text {
        font-size: 1rem;
    }

    .nav-container {
        justify-content: flex-end;
    }

    .btn-login {
        padding: 0.4rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* 调整 logo 样式 */
.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    white-space: nowrap;
}

/* 移动端响应式调整 */
@media (max-width: 768px) {
    .logo img {
        height: 32px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
}

/* 数据统计部分样式 */
.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 4rem auto 0;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 1.1rem;
}

/* 优化合作伙伴卡片样式 */
.partner-card {
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.partner-overlay {
    background: linear-gradient(to top, rgba(41, 98, 255, 0.95), rgba(41, 98, 255, 0.8));
}

/* 响应式调整 */
@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: 1fr;
    }
}

/* 关于我们部分样式 */
.about-us {
    padding: 6rem 2rem;
    background: white;
    overflow: hidden;
}

.about-us-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-us-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-bg);
}

.about-us-text .subtitle {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 500;
}

.about-us-description {
    margin-bottom: 3rem;
}

.about-us-description p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.8;
}

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

.value-item {
    text-align: center;
}

.value-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-item h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.value-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

.about-us-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.about-us-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.about-us-image:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: white;
    padding: 1.5rem;
    border-radius: 50%;
    text-align: center;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(41, 98, 255, 0.3);
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .about-us-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-us-image {
        order: -1;
    }

    .company-values {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .about-us {
        padding: 4rem 1.5rem;
    }

    .about-us-text h2 {
        font-size: 2rem;
    }

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

    .experience-badge {
        width: 100px;
        height: 100px;
        bottom: 20px;
        right: 20px;
    }

    .experience-badge .years {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .company-values {
        grid-template-columns: 1fr;
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .products {
        padding: 4rem 1.5rem;
    }

    .product-grid {
        gap: 1.5rem;
    }

    .product-card {
        padding: 2rem 1.5rem;
    }
} 