/* 主视觉区 */
.hero {
    height: 80vh;
    background: url('../images/banner.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    margin-top: 6.5rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.45));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 100%;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: #3b82f6;
    color: #fff;
    text-decoration: none;
    border-radius: 1.5rem;
    font-size: 1rem;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
}

.cta-button:hover {
    background: #1e3a8a;
    transform: translateY(-0.25rem);
    box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.25);
}

/* 公司简介 */
.about {
    padding: 6rem 3rem;
    display: flex;
    align-items: center;
    background: #fff;
    gap: 4rem;
    position: relative;
    max-width: 100%;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.about img {
    width: 40%;
    height: 335px;
    border-radius: 0.75rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
}

.about-content {
    width: 60%;
    position: relative;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1e3a8a;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #4b5563;
}

/* 核心优势 - 六边形网格 */
.advantages {
    padding: 6rem 3rem;
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.advantages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
}

.advantages h2 {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    color: #1e3a8a;
}

.hex-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: calc(100% - 6rem);
    margin: 0 auto;
}

.hex-item {
    position: relative;
    width: 12rem;
    height: 13.8rem;
    margin: 0 auto;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s, box-shadow 0.5s;
    overflow: visible;
}

.hex-item:hover {
    transform: rotate(15deg) scale(1.05);
    box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.15);
}

.hex-item i {
    font-size: 3rem;
    color: #3b82f6;
    margin-bottom: 1rem;
}

.hex-item h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.hex-item p {
    font-size: 0.9rem;
    color: #6b7280;
    padding: 0 1rem;
    text-overflow: ellipsis;
}

/* 痛点 - 时间轴 */
.pain-points {
    padding: 6rem 3rem;
    background: #fff;
    text-align: left;
    max-width: 100%;
}

.pain-points h2 {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    color: #1e3a8a;
    text-align: center;
}

.timeline {
    max-width: calc(100% - 6rem);
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 3rem;
    top: 0;
    bottom: 0;
    width: 0.25rem;
    background: #e5e7eb;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.timeline-icon {
    width: 6rem;
    text-align: center;
}

.timeline-icon i {
    font-size: 2.5rem;
    color: #dc2626;
    background: #fff;
    border-radius: 50%;
    padding: 0.75rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
}

.timeline-content {
    flex: 1;
    padding-left: 1.5rem;
}

.timeline-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.timeline-content p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.8;
}

/* 适用客户类型 - 圆形气泡 */
.client-types {
    padding: 6rem 3rem;
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    text-align: center;
    max-width: 100%;
}

.client-types h2 {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    color: #1e3a8a;
}

.bubble-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: calc(100% - 6rem);
    margin: 0 auto;
}

.bubble-item {
    width: 13rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.5s;
}

.bubble-item:hover {
    transform: translateY(-0.3rem);
}

.bubble-icon {
    width: 7rem;
    height: 7rem;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;
}

.bubble-icon i {
    font-size: 3rem;
    color: #3b82f6;
}

.bubble-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.bubble-item p {
    font-size: 0.9rem;
    color: #6b7280;
}

/* 案例展示 */
.cases {
    padding: 6rem 3rem;
    background: #fff;
    text-align: center;
    max-width: 100%;
}

.cases h2 {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    color: #1e3a8a;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: calc(100% - 6rem);
    margin: 0 auto;
}

.case-card {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
}

.case-card img {
    width: 100%;
    height: 14rem;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.5s;
}

.case-card:hover .case-overlay {
    transform: translateY(0);
}

.case-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}
.case-overlay h3 a{text-decoration: none; color: #fff;}


/* 响应式 */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.7rem 1.8rem;
        font-size: 0.9rem;
    }

    .about {
        flex-direction: column;
        padding: 2rem 1.2rem;
    }
    .about{gap: 1rem;}
    .about-content h2{margin-bottom: 0.8rem;}

    .about img,
    .about-content {
        width: 100%;
    }

    .about-content h2 {
        font-size: 1.3rem;
    }

    .about-content p {
        font-size: 0.9rem;
    }

    .advantages {
        padding: 3.5rem 0.5rem;
    }

    .advantages h2 {
        font-size: 2rem;
    }

    .hex-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, auto);
        gap: 0.9rem;
        max-width: calc(100% - 2rem);
    }

    .hex-item {
        width: 10rem;
        height: 11.5rem;
        min-height: 11.5rem;
        aspect-ratio: 1 / 1.15;
    }

    .hex-item i {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }

    .hex-item h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .hex-item p {
        font-size: 0.75rem;
        padding: 0 0.8rem;
    }

    .pain-points {
        padding: 4rem 1.2rem;
    }

    .pain-points h2 {
        font-size: 2rem;
    }

    .timeline {
        max-width: calc(100% - 2.4rem);
    }

    .timeline::before {
        left: 1.8rem;
    }

    .timeline-icon {
        width: 3.5rem;
    }

    .timeline-icon i {
        font-size: 2rem;
        padding: 0.5rem;
    }

    .timeline-content {
        padding-left: 1rem;
    }

    .timeline-content h3 {
        font-size: 1.2rem;
    }

    .timeline-content p {
        font-size: 0.9rem;
    }

    .client-types {
        padding: 4rem 1.2rem;
    }

    .client-types h2 {
        font-size: 2rem;
    }

    .bubble-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, auto);
        gap: 0.9rem;
        max-width: calc(100% - 2rem);
    }

    .bubble-item {
        width: 9rem;
        margin: 0 auto;
    }

    .bubble-icon {
        width: 6rem;
        height: 6rem;
    }

    .bubble-icon i {
        font-size: 2.5rem;
    }

    .bubble-item h3 {
        font-size: 1rem;
    }

    .bubble-item p {
        font-size: 0.75rem;
    }

    .cases {
        padding: 4rem 1.2rem;
    }

    .cases h2 {
        font-size: 2rem;
    }

    .case-grid {
        grid-template-columns: 1fr;
        gap: 0.9rem;
        max-width: calc(100% - 2rem);
    }

    .case-card img {
        height: 12rem;
    }

    .case-overlay h3 {
        font-size: 1.1rem;
    }
}

/* 中型屏幕优化 */
@media (max-width: 480px) {

    .hex-grid,
    .bubble-grid,
    .case-grid,
    .footer-content {
        max-width: calc(100% - 1.5rem);
    }

    .hex-item {
        width: 9rem;
        height: 10.4rem;
    }

    .bubble-item {
        width: 8rem;
    }

    .bubble-icon {
        width: 5rem;
        height: 5rem;
    }

    .bubble-icon i {
        font-size: 2rem;
    }
}