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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #1a1a2e;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    background: #ffffff;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 1.8rem;
}

.logo-image {
    height: 40px;
    width: 40px;
    object-fit: contain;
    border-radius: 50%;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
}

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

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #dc143c;
}

.nav-links .cta {
    background: linear-gradient(135deg, #dc143c 0%, #b91335 100%);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    color: #fff !important;
}

.nav-links .cta:hover {
    background: linear-gradient(135deg, #b91335 0%, #dc143c 100%);
    color: #fff;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #dc143c;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
}

.hero-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.btn-primary,
.btn-secondary {
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #dc143c 0%, #b91335 100%);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.hero-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.hero-video {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(44, 24, 16, 0.9), transparent);
    z-index: 0;
}

.features {
    padding: 6rem 0;
    background: #fff;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a1a2e;
}

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

.feature-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1a1a2e;
}

.feature-card p {
    color: #666;
}

.services-preview {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.services-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a1a2e;
}

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

.service-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: -webkit-optimize-contrast;
}

.service-info {
    padding: 1.5rem;
}

.service-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1a1a2e;
}

.service-info p {
    color: #666;
}

.testimonials {
    padding: 6rem 0;
    background: #fff;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a1a2e;
}

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

.testimonial-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 2rem;
    border-radius: 15px;
    color: #fff;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-icon {
    font-size: 2.5rem;
}

.author-name {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.author-title {
    opacity: 0.7;
    font-size: 0.9rem;
}

.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    text-align: center;
    color: #fff;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background: #fff;
    color: #0099cc;
}

.cta-section .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

footer {
    background: #1a1a2e;
    color: #fff;
    padding: 4rem 0 2rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: #00d4ff;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #00d4ff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
}

.page-header {
    padding: 100px 0 40px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    opacity: 0.8;
}

.service-detail,
.insurance-detail,
.cases-detail,
.about-detail,
.contact-detail {
    padding: 4rem 0;
    background: #fff;
}

.service-grid,
.insurance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-item,
.insurance-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.service-item:hover,
.insurance-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-item img,
.insurance-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.service-item h3,
.insurance-item h3 {
    margin-bottom: 1rem;
    color: #1a1a2e;
}

.service-item p,
.insurance-item p {
    color: #666;
    margin-bottom: 1rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0099cc;
}

/* ============ 服务详情卡片样式 ============ */
.service-detail-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 2.5rem;
    transition: all 0.35s ease;
}

.service-detail-card:hover {
    box-shadow: 0 12px 40px rgba(220, 20, 60, 0.12);
    transform: translateY(-3px);
}

.service-detail-card.reverse {
    grid-template-columns: 1.2fr 1fr;
}

.service-detail-card.reverse .detail-card-image {
    order: 2;
}

.service-detail-card.reverse .detail-card-content {
    order: 1;
    padding-left: 3rem;
    padding-right: 2rem;
}

.detail-card-image {
    position: relative;
    min-height: 320px;
    overflow: hidden;
}

.detail-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-detail-card:hover .detail-card-image img {
    transform: scale(1.05);
}

.detail-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #dc143c 0%, #b91335 100%);
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

.detail-tag.best {
    background: linear-gradient(135deg, #ff8c00 0%, #e67e00 100%);
}

.detail-tag.value {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
}

.detail-card-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.detail-card-content h2 {
    font-size: 1.8rem;
    color: #1a1a2e;
    margin-bottom: 1rem;
    font-weight: 700;
}

.detail-desc {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.detail-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #dc143c;
    margin-bottom: 1.5rem;
}

.detail-price small {
    font-size: 0.9rem;
    font-weight: 500;
    color: #999;
}

.detail-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 1.8rem;
}

.feature-item {
    background: #f8f9fa;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #444;
    font-weight: 500;
}

.detail-packages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 1.8rem;
}

.package-item {
    background: #f8f9fa;
    padding: 1.2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.package-item.highlight {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.08), rgba(220, 20, 60, 0.02));
    border-color: #dc143c;
    transform: scale(1.02);
}

.package-item h4 {
    font-size: 1rem;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.package-item p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.package-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #dc143c;
}

.detail-cta {
    background: linear-gradient(135deg, #dc143c 0%, #b91335 100%);
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    display: inline-block;
    align-self: flex-start;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

.detail-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.4);
}

@media (max-width: 992px) {
    .service-detail-card {
        grid-template-columns: 1fr;
    }
    
    .service-detail-card.reverse {
        grid-template-columns: 1fr;
    }
    
    .service-detail-card.reverse .detail-card-image {
        order: 1;
    }
    
    .service-detail-card.reverse .detail-card-content {
        order: 2;
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .detail-card-image {
        min-height: 220px;
    }
    
    .detail-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .detail-packages {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .detail-card-content {
        padding: 1.5rem;
    }
    
    .detail-card-content h2 {
        font-size: 1.4rem;
    }
    
    .detail-features {
        grid-template-columns: 1fr;
    }
    
    .detail-packages {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .detail-cta {
        align-self: stretch;
    }
}

/* ============ 案例纯图片画廊 ============ */
.cases-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.cases-img {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.35s ease;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.cases-img:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.cases-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    image-rendering: -webkit-optimize-contrast;
}

.cases-img:hover img {
    transform: scale(1.06);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-bottom: 2rem;
    border-radius: 15px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.about-section {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.about-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1a1a2e;
}

.about-image {
    max-width: 600px;
    margin: 0 auto 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

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

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 15px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #0099cc;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #00d4ff;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}

.form-success {
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 16px;
    text-align: center;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.form-success h3 {
    color: #155724;
    font-size: 1.8rem;
    margin: 0;
}

.form-success p {
    color: #155724;
    margin: 0;
    line-height: 1.6;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-box {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
}

.contact-box .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-box h4 {
    margin-bottom: 0.5rem;
    color: #1a1a2e;
}

.contact-box p {
    color: #666;
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        display: none;
    }

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

    .nav-links a {
        color: #fff;
        font-size: 1.1rem;
        padding: 0.8rem 1rem;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #dc143c;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

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

    .service-card {
        max-width: 100%;
    }

    .features-grid,
    .testimonials-grid,
    .service-grid,
    .insurance-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}