/*
 * V2 共享 Ecosystem 板块
 * 用于 demokit / tag / anchor，结构见 chunk/v2_eco_full_rtls.tpl
 * 视觉基准：v2_demokit eco（Figma Full RTLS 三卡）
 */

.v2-eco-section {
    padding: 0 0 6.25rem;
    background-color: #F5F5F7;
}
.v2-eco-title {
    font-size: 2.75rem;
    font-family: "Gotham-Bold", sans-serif;
    color: #323232;
    line-height: 3.3125rem;
}
.v2-eco-subtitle {
    font-size: 1.375rem;
    color: #323232;
    line-height: 1.625rem;
    margin-top: 0.75rem;
    max-width: 60.375rem;
}
.v2-eco-grid {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.375rem;
}
.v2-eco-card {
    flex: 1;
    min-width: 0;
    height: 34.75rem;
    background-color: #fff;
    border-radius: 0.875rem;
    box-shadow: 0 0 0.625rem 0 rgba(34, 50, 72, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all ease 0.6s;
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
}
.v2-eco-card:hover {
    transform: scale(1.01);
    color: inherit;
    text-decoration: none;
}
.v2-eco-card-img {
    width: 100%;
    height: 20rem;
    flex-shrink: 0;
    object-fit: contain;
    object-position: center;
    display: block;
    background-color: #fff;
}
.v2-eco-card-body {
    padding: 2.25rem 2.5rem 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.v2-eco-card-title {
    font-size: 1.625rem;
    font-family: "Gotham-Bold", sans-serif;
    color: #323232;
    line-height: 1.9375rem;
    margin: 0 0 0.75rem;
}
.v2-eco-card-desc {
    font-size: 1.125rem;
    color: #323232;
    line-height: 1.375rem;
    margin: 0 0 1.5rem;
    flex: 1;
}
.v2-eco-card-link {
    display: inline-flex;
    align-items: center;
    font-size: 1.125rem;
    font-family: "Gotham-Medium", sans-serif;
    color: #6d7b8b;
    text-decoration: none;
    transition: color 0.3s ease;
}
.v2-eco-card:hover .v2-eco-card-link {
    color: #009cff;
}
.v2-eco-card-link-arrow {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 0.375rem;
    height: 1.5rem;
    color: inherit;
    width: 0.5rem;
    flex-shrink: 0;
}
.v2-eco-card-link-arrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 0.125rem;
    background: currentColor;
    width: 0;
    opacity: 0;
    transition: width 0.6s ease, opacity 0.6s ease;
}
.v2-eco-card-link-arrow::after {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    border-top: 0.1275rem solid currentColor;
    border-right: 0.1275rem solid currentColor;
    transform: rotate(45deg);
    display: inline-block;
    transition: transform 0.6s ease;
}
.v2-eco-card:hover .v2-eco-card-link-arrow::after {
    transform: translateX(0.5rem) rotate(45deg);
}
.v2-eco-card:hover .v2-eco-card-link-arrow::before {
    width: 0.75rem;
    opacity: 1;
    left: 0.3rem;
}

@media (max-width: 768px) {
    .v2-eco-title {
        font-size: 1.75rem;
        line-height: 2.125rem;
    }
    .v2-eco-subtitle {
        font-size: 1rem;
    }
    .v2-eco-card {
        height: auto;
        min-height: 34.75rem;
    }
    .v2-eco-grid {
        flex-direction: column;
        gap: 1.5rem;
    }
}
