/* 基础样式 */
body {
    font-family: "微软雅黑", Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f8fb;
    color: #222;
    padding-top: 50px;
}

/* 头部样式 */
header.hero {
    background: linear-gradient(90deg, #6a5af9 0%, #0099ff 100%);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    margin-top: -20px;  /* 与轮播图产生一点重叠效果 */
    clip-path: polygon(0 0, 100% 20px, 100% 100%, 0 100%);  /* 创建斜角效果 */
}

.hero-title {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero-desc {
    font-size: 1.3rem;
    margin-bottom: 35px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    opacity: 0.9;
}

.hero-btn {
    background: #fff;
    color: #005fa3;
    border: none;
    border-radius: 30px;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.hero-btn:hover {
    background: #ffd700;
    color: #222;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* 导航样式 */
nav {
    background: #003d66;
    padding: 15px 0;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 30px;
    font-size: 18px;
    transition: color 0.2s;
    position: relative;
}

nav a:hover {
    color: #ffd700;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ffd700;
    transform: scaleX(0);
    transition: transform 0.3s;
}

nav a:hover::after {
    transform: scaleX(1);
}

/* 主容器样式 */
.container {
    max-width: 1200px;
    margin: 30px auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 40px 30px;
}

/* 轮播图样式 */
.carousel-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
}

.carousel {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    padding: 40px;
    text-align: center;
}

.carousel-caption h3 {
    margin: 0;
    font-size: 32px;
    font-weight: bold;
}

.carousel-caption p {
    margin: 10px 0 0;
    font-size: 18px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.5);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 2;
}

.carousel-btn:hover {
    background: rgba(0,0,0,0.8);
}

.carousel-btn.prev {
    left: 30px;
}

.carousel-btn.next {
    right: 30px;
}

.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 2;
}

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

.dot.active {
    background: #fff;
}

/* 服务卡片样式 */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    z-index: 0;
}

.service:nth-child(1)::before {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
}

.service:nth-child(2)::before {
    background: linear-gradient(135deg, #4ecdc4 0%, #45b7af 100%);
}

.service:nth-child(3)::before {
    background: linear-gradient(135deg, #45b7d1 0%, #3da5c0 100%);
}

.service:nth-child(4)::before {
    background: linear-gradient(135deg, #96e6a1 0%, #84d58e 100%);
}

.service:nth-child(5)::before {
    background: linear-gradient(135deg, #a18cd1 0%, #8e7bc0 100%);
}

.service:nth-child(6)::before {
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
}

.service:hover::before {
    opacity: 0.15;
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.service:nth-child(1) .service-icon {
    color: #ff6b6b;
}

.service:nth-child(2) .service-icon {
    color: #4ecdc4;
}

.service:nth-child(3) .service-icon {
    color: #45b7d1;
}

.service:nth-child(4) .service-icon {
    color: #96e6a1;
}

.service:nth-child(5) .service-icon {
    color: #a18cd1;
}

.service:nth-child(6) .service-icon {
    color: #ff9a9e;
}

.service:hover .service-icon {
    transform: translateY(-5px) rotate(10deg);
}

.service h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.service p {
    color: #4a5568;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* 页脚样式 */
footer {
    background: #003d66;
    color: #fff;
    text-align: center;
    padding: 18px 0;
    margin-top: 40px;
}

/* 数据统计样式 */
.stats {
    display: flex;
    justify-content: space-around;
    background: linear-gradient(90deg, #6a5af9 0%, #0099ff 100%);
    color: #fff;
    border-radius: 12px;
    margin: 40px 0;
    padding: 40px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.stat {
    text-align: center;
    padding: 0 20px;
}

.stat .num {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    background: linear-gradient(120deg, #fff, #e0e0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.stat .desc {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 公司简介样式 */
.about {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
    margin: 40px 0;
    border-radius: 20px;
}

.about h2 {
    color: #005fa3;
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 40px;
    position: relative;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #6a5af9, #0099ff);
    border-radius: 3px;
}

.about-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    text-align: center;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
}

.feature h3 {
    color: #005fa3;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

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

.about-achievements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.achievement {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #fff 0%, #f8f9ff 100%);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.achievement:hover {
    transform: translateY(-3px);
}

.achievement-icon {
    font-size: 2rem;
    margin-right: 15px;
    background: linear-gradient(135deg, #6a5af9 0%, #0099ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.achievement-text h4 {
    color: #005fa3;
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

.achievement-text p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .carousel {
        height: 400px;
    }
    .carousel-caption h3 {
        font-size: 24px;
    }
    .carousel-caption p {
        font-size: 16px;
    }
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    .carousel-btn.prev {
        left: 15px;
    }
    .carousel-btn.next {
        right: 15px;
    }
    .stats {
        flex-direction: column;
        gap: 30px;
        padding: 30px 20px;
    }
    
    .stat {
        padding: 0;
    }
    
    .stat .num {
        font-size: 2rem;
        margin-bottom: 5px;
    }
    
    .stat .desc {
        font-size: 1rem;
    }

    header.hero {
        padding: 60px 20px;
        clip-path: polygon(0 0, 100% 10px, 100% 100%, 0 100%);
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }

    .hero-desc {
        font-size: 1.1rem;
        margin-bottom: 30px;
        padding: 0 20px;
    }

    .hero-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .about {
        padding: 40px 0;
        margin: 30px 0;
    }

    .about h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .about-intro {
        font-size: 1rem;
        margin-bottom: 40px;
        padding: 0 20px;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature {
        padding: 25px;
    }

    .about-achievements {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .services {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service {
        padding: 25px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .carousel {
        height: 300px;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-desc {
        font-size: 1.1rem;
    }
}

/* APP介绍部分样式 */
.app-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
    margin: 40px 0;
    border-radius: 20px;
}

.app-header {
    text-align: center;
    margin-bottom: 60px;
}

.app-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 20px;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-10deg);
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: rotate(10deg);
}

.app-header h2 {
    color: #005fa3;
    font-size: 2.4rem;
    margin: 20px 0 15px;
}

.app-slogan {
    color: #666;
    font-size: 1.2rem;
    margin: 0;
}

.app-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px;
    margin-bottom: 60px;
}

.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    z-index: 0;
}

.feature-card:nth-child(1)::before {
    background: linear-gradient(135deg, #4CAF50 0%, #8BC34A 100%);
}

.feature-card:nth-child(2)::before {
    background: linear-gradient(135deg, #FF5722 0%, #FF9800 100%);
}

.feature-card:nth-child(3)::before {
    background: linear-gradient(135deg, #2196F3 0%, #03A9F4 100%);
}

.feature-card:nth-child(4)::before {
    background: linear-gradient(135deg, #9C27B0 0%, #E91E63 100%);
}

.feature-card:nth-child(5)::before {
    background: linear-gradient(135deg, #F44336 0%, #FF5722 100%);
}

.feature-card:nth-child(6)::before {
    background: linear-gradient(135deg, #00BCD4 0%, #009688 100%);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.feature-card h3 {
    color: #005fa3;
    font-size: 1.3rem;
    margin: 0 0 15px;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

.app-highlights {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 20px;
    padding: 40px;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f3ff 100%);
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.app-highlights::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(106, 90, 249, 0.05) 0%, rgba(0, 153, 255, 0.05) 100%);
    z-index: 0;
}

.highlight-content {
    flex: 1;
    padding-right: 40px;
    position: relative;
    z-index: 1;
}

.highlight-content h3 {
    color: #005fa3;
    font-size: 1.8rem;
    margin: 0 0 25px;
}

.highlight-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlight-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #444;
    font-size: 1.1rem;
}

.highlight-list li span {
    margin-right: 10px;
    font-size: 1.2rem;
}

.app-qrcode {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: relative;
    z-index: 1;
}

.app-qrcode img {
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
}

.app-qrcode p {
    color: #666;
    margin: 0;
}

.app-download {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0 60px 0;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    width: 180px;
}

.download-btn.android {
    background: linear-gradient(135deg, #3DDC84 0%, #2BB673 100%);
}

.download-btn.ios {
    background: linear-gradient(135deg, #007AFF 0%, #0055B3 100%);
}

.download-btn.android:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    background: linear-gradient(135deg, #2BB673 0%, #3DDC84 100%);
}

.download-btn.ios:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    background: linear-gradient(135deg, #0055B3 0%, #007AFF 100%);
}

.download-btn img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

@media (max-width: 768px) {
    .app-section {
        padding: 60px 0;
    }

    .app-header h2 {
        font-size: 2rem;
    }

    .app-features {
        grid-template-columns: 1fr;
    }

    .app-highlights {
        flex-direction: column;
        padding: 30px;
    }

    .highlight-content {
        padding-right: 0;
        padding-bottom: 30px;
    }

    .highlight-content h3 {
        font-size: 1.5rem;
    }

    .highlight-list li {
        font-size: 1rem;
    }

    .app-download {
        flex-direction: column;
        align-items: center;
    }

    .download-btn {
        width: 80%;
        justify-content: center;
    }
}

/* 联系我们的新样式 */
.contact {
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #e3e8ff 100%);
    color: #2c3e50;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0 0 L100 100 M100 0 L0 100" stroke="rgba(106, 90, 249, 0.05)" stroke-width="1"/></svg>');
    opacity: 0.1;
}

.contact-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.contact-header h2 {
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
    text-shadow: none;
}

.contact-header .subtitle {
    font-size: 1.2rem;
    color: #4a5568;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.contact-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(106, 90, 249, 0.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(106, 90, 249, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #6a5af9;
    transition: all 0.3s ease;
    position: relative;
}

.contact-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(106, 90, 249, 0.2);
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    background: #6a5af9;
    color: #fff;
    transform: rotateY(180deg);
}

.contact-card:hover .contact-icon::before {
    transform: scale(1.2);
    border-color: rgba(106, 90, 249, 0.4);
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.contact-card p {
    color: #4a5568;
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 250px;
}

.contact-info li {
    margin-bottom: 12px;
    color: #4a5568;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    line-height: 1.5;
    justify-content: center;
}

.contact-info li i {
    color: #6a5af9;
    font-size: 18px;
    width: 24px;
    text-align: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.contact-info li span {
    text-align: center;
    flex: 1;
}

.contact-card:hover .contact-info li i {
    transform: scale(1.1);
    color: #6a5af9;
}

.contact-card:hover .contact-info li {
    color: #2c3e50;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 30px 0;
    }

    .contact-header h2 {
        font-size: 2.2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .contact-header h2 {
        font-size: 1.8rem;
    }

    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}

#services h2 {
    color: #2c3e50;
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 40px;
    position: relative;
}

#services h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #6a5af9, #0099ff);
    border-radius: 3px;
}

.services-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    text-align: center;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
} 