* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #e53935;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #e53935;
}

/* 首页Banner */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-desc {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-btn {
    padding: 18px 50px;
    font-size: 1.2rem;
    background: white;
    color: #e53935;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

/* 痛点区域 */
.pain-points {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #333;
    font-weight: 700;
}

.points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.point-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.point-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.point-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.point-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #e53935;
}

.point-card p {
    color: #666;
    line-height: 1.8;
}

/* 服务区域 */
.services {
    padding: 100px 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.service-card {
    padding: 50px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.service-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.95;
}

/* 优势区域 */
.advantage {
    padding: 100px 0;
    background: #f8f9fa;
}

.advantage-list {
    max-width: 900px;
    margin: 0 auto;
}

.advantage-item {
    display: flex;
    align-items: center;
    padding: 30px;
    margin-bottom: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.advantage-item:hover {
    transform: translateX(10px);
}

.advantage-number {
    font-size: 3rem;
    font-weight: bold;
    color: #e53935;
    margin-right: 40px;
    min-width: 80px;
}

.advantage-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.advantage-content p {
    color: #666;
    line-height: 1.8;
}

/* 流程区域 */
.process {
    padding: 100px 0;
    background: white;
}

.process-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.step {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 15px;
    color: white;
    flex: 1;
    min-width: 150px;
    max-width: 200px;
}

.step-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.step p {
    font-size: 0.95rem;
    opacity: 0.95;
}

.step-arrow {
    font-size: 2rem;
    color: #f5576c;
    font-weight: bold;
}

/* 关于我们 */
.about {
    padding: 100px 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 2;
    color: #555;
}

.about-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-stat {
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.about-stat:last-child {
    border-bottom: none;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #e53935;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
}

.about-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: white;
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
    cursor: zoom-in;
    padding: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.08);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover,
.gallery-item:focus-visible {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
    outline: none;
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
    opacity: 1;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
    transform: scale(1.04);
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: rgba(0, 0, 0, 0.82);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.image-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-image {
    display: block;
    max-width: min(100%, 1100px);
    max-height: 86vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    transform: scale(0.96);
    transition: transform 0.25s ease;
}

.image-lightbox.is-open .lightbox-image {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 22px;
    right: 24px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: white;
    cursor: pointer;
    font-size: 34px;
    line-height: 38px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
    background: rgba(255, 255, 255, 0.26);
    transform: scale(1.04);
    outline: none;
}

body.lightbox-open {
    overflow: hidden;
}

.contact-dialog {
    position: fixed;
    inset: 0;
    z-index: 1900;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(26, 26, 46, 0.62);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.contact-dialog.is-open {
    opacity: 1;
    pointer-events: auto;
}

.contact-dialog-panel {
    position: relative;
    width: min(100%, 420px);
    padding: 42px 34px 34px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 24px 70px rgba(26, 26, 46, 0.42);
    color: white;
    text-align: center;
    transform: translateY(14px) scale(0.96);
    transition: transform 0.25s ease;
}

.contact-dialog.is-open .contact-dialog-panel {
    transform: translateY(0) scale(1);
}

.contact-dialog-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.46);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    cursor: pointer;
    font-size: 26px;
    line-height: 28px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.contact-dialog-close:hover,
.contact-dialog-close:focus-visible {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
    outline: none;
}

.contact-dialog-label {
    margin-bottom: 12px;
    font-size: 1.15rem;
    font-weight: 600;
    opacity: 0.92;
}

.contact-dialog-phone {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0;
}

body.dialog-open {
    overflow: hidden;
}

/* 联系我们 */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.contact .section-title {
    color: white;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
    margin-bottom: 46px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 260px;
    padding: 28px 22px 24px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 34px rgba(26, 26, 46, 0.16);
    text-align: center;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.contact-item:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 18px 42px rgba(26, 26, 46, 0.22);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
    font-size: 1.9rem;
    line-height: 1;
}

.contact-details {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.contact-details h3 {
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0;
}

.contact-value {
    max-width: 100%;
    color: white;
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.65;
    opacity: 0.95;
    overflow-wrap: anywhere;
}

.contact-address {
    font-size: 1rem;
    line-height: 1.75;
}

.contact-phone {
    font-size: 1.35rem;
    letter-spacing: 0;
}

.wechat-code-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 128px;
    height: 128px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.18);
}

.wechat-code {
    display: block;
    width: 112px;
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: 12px;
    background: white;
    padding: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.contact-btn {
    text-align: center;
}

.submit-btn {
    padding: 18px 60px;
    font-size: 1.3rem;
    background: white;
    color: #764ba2;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.4);
}

/* 页脚 */
.footer {
    background: #1a1a2e;
    color: white;
    padding: 30px 0;
    text-align: center;
}

.footer-info p {
    margin-bottom: 10px;
    font-size: 1rem;
    opacity: 0.9;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-desc {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .contact-info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .contact-item {
        min-height: 230px;
    }

    .process-steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .advantage-item {
        flex-direction: column;
        text-align: center;
    }

    .advantage-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .cta-btn {
        padding: 15px 35px;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .points-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-gallery {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .contact-item {
        min-height: auto;
        padding: 26px 20px;
    }

    .image-lightbox {
        padding: 18px;
    }

    .lightbox-close {
        top: 14px;
        right: 14px;
    }
}
