/* product.html page-only styles */

/* Banner */
.banner_area {
    position: relative;
}

.banner_area .banner_inner {
    background: linear-gradient(135deg, rgba(20, 39, 78, 0.88), rgba(31, 60, 136, 0.78));
}

.banner_area .banner_inner .banner_content {
    margin-top: 85px;
}

.banner_area .section-head-square {
    width: 200px;
    padding: 3rem 0 3rem 3rem;
}

.banner_area .section-head-square > .head-title,
.banner_area .banner_inner .banner_content h2,
.banner_area .head-title {
    width: 640px;
    font-size: 28px !important;
    line-height: 1.45 !important;
    font-weight: 700;
    letter-spacing: -0.2px;
    margin-bottom: 0;
}

/* Page Intro */
.product-page {
    color: #1b2430;
    background: #f7f9fc;
}

.product-intro-area {
    padding: 100px 0 60px;
    background: #f7f9fc;
}

.product-intro {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.product-intro h1 {
    margin: 0;
    color: #14274e;
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -0.6px;
}

.product-title-line {
    width: 56px;
    height: 4px;
    margin: 18px auto 22px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #27486b, #4a90e2);
}

.product-intro p {
    margin: 0;
    color: #5b6574;
    font-size: 16px;
    line-height: 1.8;
    word-break: keep-all;
}

/* Product Groups */
.product-group {
    padding: 0 0 34px;
    background: #f7f9fc;
}

.product-group:last-child {
    padding-bottom: 110px;
}

.product-section-panel {
    padding: 42px;
    border: 1px solid #dbe5f1;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(20, 39, 78, 0.06);
}

.product-group-heading {
    margin-bottom: 32px;
}

.product-group-heading > span {
    display: block;
    margin-bottom: 8px;
    color: #4a90e2;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.product-group-heading h2 {
    margin: 0 0 10px;
    color: #14274e;
    font-size: 28px;
    font-weight: 800;
}

.product-group-heading p {
    margin: 0;
    color: #687789;
    font-size: 15px;
    line-height: 1.7;
    word-break: keep-all;
}

/* Shared Card Grid */
.infra-card-grid,
.solution-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* Infrastructure Cards */
.infra-card {
    position: relative;
    display: flex;
    min-height: 280px;
    flex-direction: column;
    padding: 32px 28px 28px;
    overflow: hidden;
    border: 1px solid #dbe5f1;
    border-radius: 12px;
    background: #fff;
    color: inherit;
    text-decoration: none !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.infra-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1d63e8, #67a8ff);
    content: "";
}

.infra-card:hover,
.infra-card:focus {
    transform: translateY(-6px);
    border-color: #b8d2f3;
    box-shadow: 0 18px 38px rgba(20, 39, 78, 0.12);
}

.business-icon {
    display: flex;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    margin-bottom: 23px;
    border-radius: 50%;
    background: #27486b;
}

.business-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.infra-card h3 {
    margin: 0 0 12px;
    color: #14274e;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.infra-card p {
    margin: 0;
    color: #5b6574;
    font-size: 15px;
    line-height: 1.75;
    word-break: keep-all;
}

.card-link {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 24px;
    color: #1f5abf;
    font-size: 14px;
    font-weight: 800;
}

.card-link b {
    font-size: 18px;
    font-weight: 400;
    transition: transform 0.2s ease;
}

.infra-card:hover .card-link b,
.infra-card:focus .card-link b {
    transform: translateX(4px);
}

/* Solution Cards */
.solution-card {
    display: flex;
    min-height: 216px;
    flex-direction: column;
    padding: 29px 28px;
    border: 1px solid #dbe5f1;
    border-radius: 12px;
    background: #fbfcfe;
    color: inherit;
    text-decoration: none !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.solution-card:hover,
.solution-card:focus {
    transform: translateY(-6px);
    border-color: #b8d2f3;
    box-shadow: 0 18px 38px rgba(20, 39, 78, 0.12);
}

.solution-card h3 {
    margin: 0 0 13px;
    color: #16314f;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.solution-card p {
    margin: 0;
    color: #5b6574;
    font-size: 14px;
    line-height: 1.75;
    word-break: keep-all;
}

.solution-card-link {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 23px;
    color: #27486b;
    font-size: 14px;
    font-weight: 800;
}

.solution-card-link b {
    font-size: 18px;
    font-weight: 400;
    transition: transform 0.2s ease;
}

.solution-card:hover .solution-card-link b,
.solution-card:focus .solution-card-link b {
    transform: translateX(4px);
}

/* Tablet */
@media (max-width: 991px) {
    .banner_area .section-head-square > .head-title,
    .banner_area .banner_inner .banner_content h2,
    .banner_area .head-title {
        width: 100%;
        font-size: 24px !important;
    }

    .product-intro-area {
        padding: 82px 0 48px;
    }

    .product-group {
        padding-bottom: 28px;
    }

    .product-group:last-child {
        padding-bottom: 82px;
    }

    .product-section-panel {
        padding: 32px 28px;
    }

    .infra-card-grid,
    .solution-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 767px) {
    .banner_area .section-head-square {
        width: 160px;
        padding: 2rem 0 2rem 2rem;
        margin: 0 auto;
    }

    .banner_area .section-head-square > .head-title,
    .banner_area .banner_inner .banner_content h2,
    .banner_area .head-title {
        width: 100%;
        font-size: 20px !important;
        line-height: 1.5 !important;
    }

    .product-intro-area {
        padding: 64px 0 40px;
    }

    .product-intro h1 {
        font-size: 30px;
    }

    .product-intro p,
    .product-group-heading p {
        font-size: 15px;
    }

    .product-group {
        padding-bottom: 20px;
    }

    .product-group:last-child {
        padding-bottom: 64px;
    }

    .product-section-panel {
        padding: 28px 20px;
        border-radius: 18px;
    }

    .product-group-heading {
        margin-bottom: 24px;
    }

    .product-group-heading h2 {
        font-size: 24px;
    }

    .infra-card-grid,
    .solution-card-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .infra-card {
        min-height: 238px;
        padding: 27px 22px 23px;
    }

    .solution-card {
        min-height: 0;
        padding: 24px 22px;
    }
}
