@charset "UTF-8";

/* ===================== 园区直通车页面样式 ===================== */

/* 基础容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================== Banner区域 ===================== */
.about-banner {
    position: relative;
    height: 540px;
    /* margin-top: 106px; */
    overflow: hidden;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 540px;
    /* animation: slowZoom 20s ease-in-out infinite alternate; */
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.2); */
}

.banner-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Banner标题 */
.banner-titles {
    text-align: center;
    color: #ffffff;
}

.banner-titles h2 {
    font-size: 60px;
    font-weight: 700;
    line-height: 1.23;
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

.banner-titles .subtitle {
    font-size: 40px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 14%;
    margin: 0;
    text-transform: uppercase;
}

/* ===================== 园区直通车内容区域 ===================== */
.express-content {
    background: url("../images/join/backgroud.png") no-repeat center center;
    background-size: cover;
    padding: 80px 0;
}

/* ===================== 功能卡片网格区域 ===================== */
.function-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 380px 380px 380px;
    grid-template-rows: 280px 280px;
    gap: 20px;
    justify-content: center;
    align-items: start;
}

/* 企业入驻大卡片 */
.large-card {
    grid-row: 1 / 3;
    grid-column: 1 / 2;
    width: 380px;
    height: 590px;
}

/* 小卡片布局 */
.small-card:nth-child(2) {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
    width: 380px;
    height: 280px;
}

.small-card:nth-child(3) {
    grid-row: 1 / 2;
    grid-column: 3 / 4;
    width: 380px;
    height: 280px;
}

.small-card:nth-child(4) {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
    width: 380px;
    height: 280px;
}

.small-card:nth-child(5) {
    grid-row: 2 / 3;
    grid-column: 3 / 4;
    width: 380px;
    height: 280px;
    animation-delay: 0.4s;
}

/* 小卡片通用样式 */
.small-card {
    width: 380px;
    height: 280px;
}

/* 通用卡片样式 */
.function-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: flex-end;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(0);
}

.function-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.function-card:active {
    transform: translateY(-5px) scale(0.98);
    transition: all 0.15s ease;
}

/* 卡片背景动画 */
.card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: transform 0.6s ease;
}

.function-card:hover .card-background {
    transform: scale(1.05);
}

.card-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s ease;
}

.function-card:hover .card-background img {
    filter: brightness(1.1) contrast(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4));
    transition: all 0.4s ease;
}

.function-card:hover .card-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3));
}

/* 卡片内容动画 */
.card-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 15px;
    width: 100%;
    height: 100%;
    transition: all 0.4s ease;
}

.function-card:hover .card-content {
    transform: translateY(-5px);
}

/* 图标动画效果 */
.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-icon::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: scale(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.function-card:hover .card-icon::before {
    transform: scale(1);
    animation: pulse-ring 2s infinite;
}

.card-icon img,
.card-icon svg {
    width: 68px;
    height: 68px;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.function-card:hover .card-icon img,
.function-card:hover .card-icon svg {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.4)) brightness(1.1);
}

/* 文字动画效果 */
.card-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
    transition: all 0.4s ease;
}

.function-card:hover .card-text {
    transform: translateY(-3px);
}

.card-title {
    font-family: 'Source Han Sans CN', 'Microsoft YaHei', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: white;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

.function-card:hover .card-title::after {
    width: 100%;
}

.function-card:hover .card-title {
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.6);
    transform: scale(1.05);
}

.card-subtitle {
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.function-card:hover .card-subtitle {
    color: rgba(255, 255, 255, 1);
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* 动画关键帧 */
@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* 卡片点击涟漪效果 */
.function-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    pointer-events: none;
    z-index: 3;
}

.function-card.clicked::after {
    width: 300px;
    height: 300px;
    opacity: 0;
}

/* 光泽效果 */
.function-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.8s;
    z-index: 2;
}

.function-card:hover::before {
    left: 100%;
}

/* 大卡片特殊动画 */
.large-card .card-icon {
    animation: float 3s ease-in-out infinite;
}

/* 小卡片错开动画延迟 */
.small-card:nth-child(2) {
    animation-delay: 0.1s;
}

.small-card:nth-child(3) {
    animation-delay: 0.2s;
}

.small-card:nth-child(4) {
    animation-delay: 0.3s;
}

/* 消息提示样式 */
.message-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 15px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 300px;
    transform: translateX(100%);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.message-toast.info {
    border-left: 4px solid #3498db;
    color: #2c3e50;
}

.message-toast.warning {
    border-left: 4px solid #f39c12;
    color: #2c3e50;
}

.message-toast.success {
    border-left: 4px solid #27ae60;
    color: #2c3e50;
}

.message-toast.show {
    transform: translateX(0);
}

.message-toast .icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.8;
}

/* 闪烁效果 */
.card-icon.sparkle {
    animation: sparkle 1s ease-in-out;
}

@keyframes sparkle {
    0%, 100% {
        filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    }
    25% {
        filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.8)) brightness(1.3);
    }
    50% {
        filter: drop-shadow(0 4px 15px rgba(255, 255, 255, 1)) brightness(1.5) saturate(1.5);
    }
    75% {
        filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.8)) brightness(1.3);
    }
}

/* Banner区域慢速缩放动画 */
@keyframes slowZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}

/* ===================== 响应式设计 ===================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .express-content {
        padding: 60px 0;
    }
    
    .function-grid {
        grid-template-columns: 340px 340px;
        grid-template-rows: 260px 260px 260px;
        gap: 15px;
    }
    
    .large-card {
        grid-row: 1 / 2;
        grid-column: 1 / 3;
        width: 700px;
        height: 260px;
    }
    
    .small-card:nth-child(2) {
        grid-row: 2 / 3;
        grid-column: 1 / 2;
        width: 340px;
        height: 260px;
    }
    
    .small-card:nth-child(3) {
        grid-row: 2 / 3;
        grid-column: 2 / 3;
        width: 340px;
        height: 260px;
    }
    
    .small-card:nth-child(4) {
        grid-row: 3 / 4;
        grid-column: 1 / 2;
        width: 340px;
        height: 260px;
    }
    
    .small-card:nth-child(5) {
        grid-row: 3 / 4;
        grid-column: 2 / 3;
        width: 340px;
        height: 260px;
    }
    
    .small-card {
        width: 340px;
        height: 260px;
    }
    
    .card-content {
        padding: 25px;
    }
    
    .card-icon img,
    .card-icon svg {
        width: 60px;
        height: 60px;
    }
    
    .card-title {
        font-size: 24px;
    }
    
    .card-subtitle {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .banner-titles h2 {
        font-size: 36px;
    }
    
    .banner-titles .subtitle {
        font-size: 20px;
        letter-spacing: 2px;
    }
    
    .express-content {
        padding: 40px 0;
    }
    
    .function-grid {
        grid-template-columns: 300px;
        grid-template-rows: repeat(5, 200px);
        gap: 15px;
    }
    
    .large-card {
        grid-row: 1 / 2;
        grid-column: 1 / 2;
        width: 300px;
        height: 200px;
    }
    
    .small-card:nth-child(2) {
        grid-row: 2 / 3;
        grid-column: 1 / 2;
        width: 300px;
        height: 200px;
    }
    
    .small-card:nth-child(3) {
        grid-row: 3 / 4;
        grid-column: 1 / 2;
        width: 300px;
        height: 200px;
    }
    
    .small-card:nth-child(4) {
        grid-row: 4 / 5;
        grid-column: 1 / 2;
        width: 300px;
        height: 200px;
    }
    
    .small-card:nth-child(5) {
        grid-row: 5 / 6;
        grid-column: 1 / 2;
        width: 300px;
        height: 200px;
    }
    
    .small-card {
        width: 300px;
        height: 200px;
    }
    
    .card-content {
        padding: 20px;
        gap: 10px;
    }
    
    .card-icon img,
    .card-icon svg {
        width: 50px;
        height: 50px;
    }
    
    .card-title {
        font-size: 20px;
    }
    
    .card-subtitle {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .about-banner {
        height: 400px;
    }
    
    .banner-titles h2 {
        font-size: 28px;
    }
    
    .banner-titles .subtitle {
        font-size: 16px;
    }
    
    .express-content {
        padding: 30px 0;
    }
    
    .function-grid {
        grid-template-columns: 280px;
        grid-template-rows: repeat(5, 180px);
        gap: 12px;
    }
    
    .large-card {
        width: 280px;
        height: 180px;
    }
    
    .small-card:nth-child(2),
    .small-card:nth-child(3),
    .small-card:nth-child(4),
    .small-card:nth-child(5) {
        width: 280px;
        height: 180px;
    }
    
    .small-card {
        width: 280px;
        height: 180px;
    }
    
    .card-content {
        padding: 15px;
        gap: 8px;
    }
    
    .card-icon img,
    .card-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .card-title {
        font-size: 18px;
    }
    
    .card-subtitle {
        font-size: 10px;
    }
}


/* 为有链接的卡片添加指针样式 */
.function-card[data-url] {
    cursor: pointer;
}

