/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #1d1d1f;
    background-color: #ffffff;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 48px;
}

.logo {
    font-size: 21px;
    font-weight: 600;
    color: #1d1d1f;
    text-decoration: none;
    letter-spacing: -0.022em;
}

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

.nav-links a {
    font-size: 14px;
    color: #1d1d1f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #0066cc;
}

/* 轮播区域 */
.hero-section {
    padding-top: 48px;
    background: #ffffff;
}

.carousel-container {
    position: relative;
    max-width: 100%;
    height: 85vh;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.carousel-slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.carousel-content {
    position: absolute;
    z-index: 10;
    text-align: center;
    color: #ffffff;
}

.carousel-content h1 {
    font-size: 56px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.carousel-content p {
    font-size: 28px;
    font-weight: 400;
    color: #ffffff;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.1);
    border: none;
    color: #fafafa;
    font-size: 48px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    transition: background 0.3s ease;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.497);
}

.prev { left: 20px; }
.next { right: 20px; }

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

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #ffffff;
    transform: scale(1.2);
}

/* 通用区块样式 */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

.section-title {
    font-size: 48px;
    font-weight: 600;
    text-align: center;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 24px;
    color: #86868b;
    text-align: center;
    margin-bottom: 48px;
}

/* 关于我们 */
.about-section {
    background: #ffffff;
    padding: 120px 0;
}

.about-section .section-title {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.about-section .section-subtitle {
    font-size: 21px;
    color: #86868b;
    max-width: 600px;
    margin: 0 auto 80px;
    line-height: 1.5;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-card {
    background: #ffffff;
    border-radius: 32px;
    padding: 56px 40px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-card:hover {
    transform: translateY(-16px);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.12);
}

.card-icon {
    font-size: 48px;
    font-weight: 800;
    color: #1d1d1f;
    background: linear-gradient(135deg, #0071e3 0%, #5ac8fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 32px;
}

.card-content h3 {
    font-size: 26px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.card-content p {
    font-size: 16px;
    color: #86868b;
    line-height: 1.7;
}

/* 服务内容 */
.services-section {
    background: #ffffff;
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 56px;
}

.service-card {
    text-align: center;
    padding: 48px 32px;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0071e3, #5ac8fa);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 28px;
    background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, #0071e3 0%, #5ac8fa 100%);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 15px;
    color: #86868b;
    line-height: 1.6;
}

/* 作品案例 */
.works-section {
    background: #fff;
    padding: 100px 0;
}

.works-section .section-title {
    color: #1d1d1f;
}

.works-section .section-subtitle {
    color: #86868b;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.work-card {
    background: #f5f5f7;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.work-card:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.work-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
}

.work-thumbnail video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-thumbnail::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.work-card:hover .work-thumbnail::after {
    opacity: 1;
}

.work-card:hover .work-thumbnail video {
    opacity: 0.7;
}

.work-info {
    padding: 20px 24px;
}

.work-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1d1d1f;
}

.work-info span {
    font-size: 13px;
    color: #86868b;
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    margin-bottom: 12px;
}

.work-info p {
    font-size: 14px;
    color: #86868b;
    line-height: 1.5;
}

/* 视频模态框 */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.video-modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-wrapper {
    width: 100%;
    position: relative;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-wrapper video {
    width: 100%;
    max-height: 80vh;
    display: block;
    border-radius: 12px;
}

.modal-content h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    margin-top: 24px;
    text-align: center;
}

.modal-content p {
    color: #a1a1a6;
    font-size: 15px;
    margin-top: 8px;
    text-align: center;
}

.modal-close {
    position: absolute;
    top: -60px;
    right: 0;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.modal-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
}

/* 联系我们 */
.contact-section {
    background: #fff;
    padding: 120px 0;
}

.contact-section .section-title {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.contact-section .section-subtitle {
    font-size: 21px;
    color: #86868b;
    margin-bottom: 64px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto 64px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 32px 36px;
    background: #f5f5f7;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    background: #f0f0f3;
    transform: translateY(-4px);
}

.info-icon {
    font-size: 32px;
    margin-top: 4px;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-content label {
    font-size: 13px;
    font-weight: 600;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.info-content value {
    font-size: 17px;
    color: #1d1d1f;
    font-weight: 500;
    line-height: 1.5;
}

.contact-tagline {
    font-size: 28px;
    font-weight: 600;
    color: #1d1d1f;
    text-align: center;
}

/* 底部 */
.footer {
    background: #f5f5f7;
    padding: 40px 0;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: #86868b;
}

.filing-number {
    margin-top: 8px;
}

.filing-number a {
    color: #86868b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.filing-number a:hover {
    color: #1d1d1f;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

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

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

    .carousel-content h1 {
        font-size: 36px;
    }

    .carousel-content p {
        font-size: 20px;
    }

    .section-title {
        font-size: 36px;
    }

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

    .works-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: column;
        gap: 16px;
    }

    .service-card {
        padding: 36px 28px;
    }

    .service-icon {
        width: 64px;
        height: 64px;
        font-size: 28px;
    }

    .about-section {
        padding: 80px 0;
    }

    .about-section .section-title {
        font-size: 40px;
    }

    .about-section .section-subtitle {
        font-size: 17px;
        margin-bottom: 48px;
    }

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

    .about-card {
        padding: 40px 32px;
    }

    .card-icon {
        font-size: 36px;
        margin-bottom: 24px;
    }

    .card-content h3 {
        font-size: 22px;
    }

    .contact-section {
        padding: 80px 0;
    }

    .contact-section .section-title {
        font-size: 40px;
    }

    .contact-section .section-subtitle {
        font-size: 17px;
        margin-bottom: 48px;
    }

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

    .contact-info-card {
        padding: 24px 28px;
    }

    .info-icon {
        font-size: 28px;
    }

    .info-content value {
        font-size: 15px;
    }

    .contact-tagline {
        font-size: 22px;
    }
}