/* switch.html page-only styles */
:root {
    --switch-primary: #1f3c88;
    --switch-primary-dark: #14274e;
    --switch-accent: #4a90e2;
    --switch-accent-soft: #eaf2ff;
    --switch-text-main: #1b2430;
    --switch-text-sub: #5b6574;
    --switch-line: #dfe7f3;
    --switch-bg-soft: #f6f8fc;
    --switch-radius: 22px;
}
.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;
}
.switch-list-area {
    padding: 108px 0 120px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.switch-list-area .container {
    max-width: 1320px;
}

.switch-intro {
    max-width: 760px;
    margin: 0 auto 58px;
    text-align: center;
}

.switch-intro .section-title {
    margin: 0;
    color: var(--switch-primary-dark);
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -0.6px;
}

.switch-intro .title-line {
    width: 56px;
    height: 4px;
    margin: 18px auto 22px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--switch-primary), var(--switch-accent));
}

.switch-intro p {
    margin: 0;
    color: var(--switch-text-sub);
    font-size: 16px;
    line-height: 1.8;
    word-break: keep-all;
}

.switch-category-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.switch-category-card {
    position: relative;
    min-height: 610px;
    padding: 36px 34px 34px;
    overflow: hidden;
    border: 1px solid #dbe5f1;
    border-radius: var(--switch-radius);
    background: #f8fafc;
    box-shadow: 0 10px 28px rgba(20, 39, 78, 0.06);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.switch-category-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    content: "";
}

.switch-category-brocade::before {
    background: linear-gradient(90deg, #d45e4c, #ee9a8d);
}

.switch-category-cisco::before {
    background: linear-gradient(90deg, #3468a3, #67a8ff);
}

.switch-category-card:hover {
    transform: translateY(-6px);
    border-color: #b8d2f3;
    box-shadow: 0 18px 38px rgba(20, 39, 78, 0.12);
}

.switch-brand-head {
    min-height: 205px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--switch-line);
}

.switch-brand-kicker {
    display: block;
    margin-bottom: 13px;
    color: var(--switch-text-sub);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.switch-category-title {
    margin: 0 0 16px;
    color: var(--switch-text-main);
    font-size: 27px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.5px;
}

.switch-category-desc {
    margin: 0;
    color: var(--switch-text-sub);
    font-size: 14px;
    line-height: 1.75;
    word-break: keep-all;
}

.switch-series {
    margin-top: 28px;
}

.switch-series-last {
    margin-top: 26px;
}

.switch-series h3 {
    margin: 0 0 16px;
    color: var(--switch-primary-dark);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.switch-product-list,
.switch-spec-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.switch-product-list li + li {
    margin-top: 9px;
}

.switch-product-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 12px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: inherit;
    text-decoration: none !important;
    transition: all 0.22s ease;
}

.switch-product-list a:hover,
.switch-product-list a:focus {
    border-color: rgba(74, 144, 226, 0.24);
    background: var(--switch-accent-soft);
    transform: translateX(4px);
}

.product-name {
    color: var(--switch-text-main);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
}

.product-desc {
    color: #7a7f8c;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

.product-arrow {
    margin-left: auto;
    color: var(--switch-accent);
    font-size: 18px;
    line-height: 1;
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.22s ease;
}

.switch-product-list a:hover .product-arrow,
.switch-product-list a:focus .product-arrow {
    opacity: 1;
    transform: translateX(0);
}

.switch-spec-list li {
    position: relative;
    padding: 0 0 13px 18px;
    color: var(--switch-text-sub);
    font-size: 14px;
    line-height: 1.65;
    word-break: keep-all;
}

.switch-spec-list li::before {
    position: absolute;
    top: 9px;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3468a3;
    content: "";
}

.cisco-model-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.cisco-model-card {
    min-height: 126px;
    padding: 17px 16px;
    border: 1px solid #d7e5f2;
    border-radius: 12px;
    background: #fff;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.cisco-model-card:hover {
    border-color: #8bb5df;
    box-shadow: 0 8px 18px rgba(52, 104, 163, 0.1);
    transform: translateY(-3px);
}

.cisco-model-card h4 {
    margin: 0 0 10px;
    color: #079cd5;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.2;
}

.cisco-model-card p {
    margin: 0;
    color: var(--switch-text-sub);
    font-size: 13px;
    line-height: 1.65;
    word-break: keep-all;
}

.switch-contact-note {
    margin-top: 20px;
    padding: 15px 17px;
    border-left: 3px solid #3468a3;
    background: #edf4fb;
    color: #45617f;
    font-size: 13px;
    line-height: 1.6;
    word-break: keep-all;
}

.switch-bottom-glow {
    position: absolute;
    bottom: 12px;
    left: 50%;
    width: 120px;
    height: 16px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(214, 222, 235, 0.9) 0%, rgba(214, 222, 235, 0) 72%);
    pointer-events: none;
}

@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;
        line-height: 1.45 !important;
    }

    .switch-list-area {
        padding: 82px 0 90px;
    }

    .switch-category-row {
        gap: 24px;
    }

    .switch-category-card {
        min-height: 620px;
        padding: 30px 26px;
    }
}

@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;
    }

    .switch-list-area {
        padding: 64px 0 72px;
    }

    .switch-intro {
        margin-bottom: 40px;
    }

    .switch-intro .section-title {
        font-size: 30px;
    }

    .switch-intro p {
        font-size: 15px;
    }

    .switch-category-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .switch-category-card {
        min-height: auto;
        padding: 26px 20px 32px;
        border-radius: 18px;
    }

    .switch-brand-head {
        min-height: auto;
    }

    .switch-category-title {
        font-size: 24px;
    }

    .switch-product-list a {
        padding: 10px 8px;
    }

    .product-name {
        font-size: 17px;
    }

    .product-desc {
        font-size: 12px;
    }

    .product-arrow {
        opacity: 1;
        transform: translateX(0);
    }

    .cisco-model-grid {
        grid-template-columns: 1fr;
    }

    .cisco-model-card {
        min-height: 0;
    }

    .switch-bottom-glow {
        display: none;
    }
}
