/* =========================================================
   XTREME SERVICES
   NETWORKING PAGE
   CLEAN PREMIUM CSS
========================================================= */

:root {
    --black: #07090c;
    --black-2: #0d1116;
    --black-3: #151a20;

    --white: #ffffff;
    --light: #f6f7f9;
    --light-2: #eef1f4;

    --text: #11151a;
    --muted: #69727d;

    --red: #d62027;
    --red-light: #ff4f55;
    --red-dark: #b91820;

    --border: #e2e6ea;
    --dark-border: rgba(255,255,255,.10);

    --shadow: 0 20px 60px rgba(0,0,0,.10);

    --radius: 22px;
    --container: 1240px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Plus Jakarta Sans", Arial, sans-serif;
    background: var(--light);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    text-decoration: none;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin: auto;
}


/* =========================================================
   HERO
========================================================= */

.hero-section {
    position: relative;
    min-height: 760px;
    display: flex;
    align-items: center;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(214,32,39,.18),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #07090c,
            #11161c
        );

    color: white;
    padding: 100px 0 80px;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,.04) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.04) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent
        );
}

.hero-container {
    width: min(1240px, calc(100% - 48px));
    margin: auto;

    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 70px;
    align-items: center;
}

.hero-title {
    font-size: clamp(48px, 6vw, 78px);
    line-height: .98;
    letter-spacing: -4px;
    font-weight: 800;
    max-width: 700px;
}

.hero-subtitle {
    margin-top: 25px;
    color: #b5bdc7;
    font-size: 18px;
    line-height: 1.8;
    max-width: 600px;
}

.btn-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-top: 30px;

    padding: 15px 25px;

    border-radius: 100px;

    background: var(--red);
    color: white;

    font-size: 14px;
    font-weight: 800;

    transition:
        transform .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}

.btn-learn-more::after {
    content: "→";
    font-size: 18px;
}

.btn-learn-more:hover {
    background: var(--red-dark);
    transform: translateY(-4px);
    box-shadow:
        0 15px 35px rgba(214,32,39,.3);
}


/* HERO IMAGE */

.hero-banner-image {
    position: relative;

    height: 560px;

    overflow: hidden;

    border-radius: 28px;

    border: 1px solid rgba(255,255,255,.15);

    box-shadow:
        0 40px 100px rgba(0,0,0,.45);
}

.hero-banner-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .8s ease;
}

.hero-banner-image:hover img {
    transform: scale(1.06);
}

.hero-banner-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.75),
            transparent 55%
        );
}

.brand-watermark {
    position: absolute;

    left: 30px;
    bottom: 25px;

    z-index: 2;

    font-size: 40px;
    font-weight: 900;

    color: white;

    letter-spacing: 2px;
}


/* =========================================================
   INTRO
========================================================= */

.explore-section {
    padding: 110px 20px;
    background: white;
    text-align: center;
}

.explore-section .container {
    max-width: 950px;
}

.section-heading {
    font-size: clamp(38px, 5vw, 60px);
    line-height: 1;
    letter-spacing: -2px;
    font-weight: 900;

    color: #10151b;

    margin-bottom: 28px;
}

.overview-text {
    color: #303943;
    font-size: 18px;
    line-height: 1.9;
}

.overview-text strong {
    color: var(--red);
}

.overview-subtext {
    margin-top: 18px;

    color: #737c86;
    font-size: 16px;
    line-height: 1.8;
}


/* =========================================================
   BUSINESS SECTION
========================================================= */

.business-section {
    padding: 110px 0;

    background:
        radial-gradient(
            circle at 85% 30%,
            rgba(214,32,39,.16),
            transparent 30%
        ),
        #080a0d;

    color: white;
}

.business-container {
    max-width: 1240px;
    margin: auto;

    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 70px;

    align-items: center;
}

.business-info h2,
.soho-content h2 {
    font-size: clamp(42px, 5vw, 65px);
    line-height: 1;
    letter-spacing: -3px;
    font-weight: 900;
    color:white;
}

.business-info p {
    color: #aeb6c0;
    font-size: 17px;
    line-height: 1.8;
    margin: 25px 0;
}

.btn-red {
    border: none;

    padding: 15px 26px;

    background: var(--red);
    color: white;

    border-radius: 100px;

    font-weight: 800;
    font-size: 14px;

    transition:
        transform .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}

.btn-red:hover {
    transform: translateY(-4px);

    background: var(--red-dark);

    box-shadow:
        0 15px 35px rgba(214,32,39,.3);
}


/* BUSINESS CARDS */

.carousel-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.c-card {
    position: relative;

    height: 430px;

    overflow: hidden;

    border-radius: 22px;

    background-size: cover;
    background-position: center;

    transition:
        transform .5s ease,
        box-shadow .5s ease;
}

.c-card::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.85),
            transparent 60%
        );
}

.c-card:hover {
    transform: translateY(-10px);

    box-shadow:
        0 30px 70px rgba(0,0,0,.4);
}

.c-card-overlay {
    position: absolute;

    left: 22px;
    right: 22px;
    bottom: 22px;

    z-index: 2;

    font-size: 18px;
    font-weight: 800;
}


/* =========================================================
   HARDWARE GRID
========================================================= */

.grid-section {
    padding: 110px 0;

    background:
        radial-gradient(
            circle at 20% 10%,
            rgba(214,32,39,.08),
            transparent 30%
        ),
        #07090b;
}

.hardware-grid {
    max-width: 1240px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.grid-card {
    position: relative;

    min-height: 300px;

    overflow: hidden;

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            #171c22,
            #0d1116
        );

    border: 1px solid rgba(255,255,255,.08);

    cursor: pointer;

    transition:
        transform .4s ease,
        border-color .4s ease,
        box-shadow .4s ease;
}

.grid-card:hover {
    transform: translateY(-10px);

    border-color:
        rgba(214,32,39,.6);

    box-shadow:
        0 30px 70px rgba(0,0,0,.45);
}

.card-large {
    grid-column: span 2;
}

.card-wide {
    grid-column: span 2;
}

.card-text {
    position: relative;
    z-index: 3;

    padding: 32px;

    max-width: 60%;
}

.card-text h3 {
    color: white;

    font-size: 30px;
    font-weight: 900;

    letter-spacing: -1px;
}

.card-text p {
    margin-top: 10px;

    color: #a0a9b3;

    font-size: 14px;
}

.card-img {
    position: absolute;

    right: 0;
    bottom: 0;

    width: 60%;
    height: 80%;
}

.card-img::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            #101419,
            transparent 50%
        );
}

.card-img img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: .65;

    transition:
        transform .7s ease,
        opacity .7s ease;
}

.grid-card:hover .card-img img {
    transform: scale(1.08);
    opacity: .85;
}


/* =========================================================
   SOHO HERO
========================================================= */

.soho-section {
    min-height: 600px;

    position: relative;

    display: flex;
    align-items: center;

    padding: 80px;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.9),
            rgba(0,0,0,.35)
        ),
        url(
            'https://images.unsplash.com/photo-1513694203232-719a280e022f?auto=format&fit=crop&w=1800&q=85'
        )
        center / cover fixed;
}

.soho-content {
    max-width: 650px;

    padding: 45px;

    border-radius: 25px;

    background:
        rgba(5,7,9,.72);

    border: 1px solid rgba(255,255,255,.13);

    backdrop-filter: blur(14px);
}

.soho-content p {
    color: #c1c8d0;

    font-size: 18px;

    margin: 20px 0 28px;
}


/* =========================================================
   PRODUCT / SOHO CARDS
========================================================= */

.section-light {
    padding: 110px 0;

    background: #f6f7f9;
}

.soho-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;
}

.soho-card {
    overflow: hidden;

    min-height: 300px;

    background: white;

    border-radius: 22px;

    box-shadow:
        0 15px 45px rgba(15,23,42,.07);

    cursor: pointer;

    transition:
        transform .4s ease,
        box-shadow .4s ease;
}

.soho-card:hover {
    transform: translateY(-10px);

    box-shadow:
        0 30px 70px rgba(15,23,42,.13);
}

.soho-card.card-tall {
    grid-row: span 2;
}

.card-img-box {
    height: 250px;

    overflow: hidden;

    background: #eef1f4;
}

.soho-card.card-tall .card-img-box {
    height: 520px;
}

.card-img-box img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .7s ease;
}

.soho-card:hover img {
    transform: scale(1.07);
}

.card-title {
    padding: 20px;

    color: #10151b;

    font-size: 18px;
    font-weight: 900;
}


/* =========================================================
   PRODUCT CATALOG
========================================================= */

.catalog-layout {
    display: grid;

    grid-template-columns: 280px 1fr;

    gap: 35px;

    align-items: start;
}

.filter-sidebar {
    position: sticky;
    top: 100px;

    padding: 28px;

    background: white;

    border-radius: 22px;

    box-shadow:
        0 15px 45px rgba(15,23,42,.08);
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 22px;
}

.filter-header h3 {
    font-size: 21px;
    font-weight: 900;
}

.reset-btn {
    border: none;
    background: transparent;

    color: var(--red);

    font-size: 12px;
    font-weight: 800;
}

.search-input-box {
    position: relative;

    margin-bottom: 28px;
}

.search-input-box i {
    position: absolute;

    left: 14px;
    top: 50%;

    transform: translateY(-50%);

    color: #9ba3ad;
}

.search-input-box input {
    width: 100%;

    height: 50px;

    padding: 0 15px 0 42px;

    border: 1px solid #dfe3e8;

    border-radius: 12px;

    outline: none;

    font-size: 13px;
}

.search-input-box input:focus {
    border-color: var(--red);

    box-shadow:
        0 0 0 4px rgba(214,32,39,.08);
}

.filter-group-title {
    margin-bottom: 15px;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 1.2px;

    text-transform: uppercase;
}

.custom-radio {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 13px;

    color: #68727c;

    font-size: 13px;

    cursor: pointer;
}

.custom-radio input {
    accent-color: var(--red);
}


/* PRODUCT CARDS */

.product-cards-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}

.p-card {
    position: relative;

    overflow: hidden;

    background: white;

    border-radius: 20px;

    border: 1px solid #e5e8ec;

    cursor: pointer;

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.p-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 25px 60px rgba(15,23,42,.12);
}

.badge-new {
    position: absolute;

    top: 14px;
    left: 14px;

    z-index: 2;

    padding: 5px 9px;

    background: #fff0f1;

    color: var(--red);

    border-radius: 50px;

    font-size: 9px;
    font-weight: 900;
}

.p-img {
    height: 190px;

    overflow: hidden;

    background: #eef1f4;
}

.p-img img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .6s ease;
}

.p-card:hover .p-img img {
    transform: scale(1.07);
}

.p-model {
    padding: 18px 18px 0;

    color: #10151b;

    font-size: 14px;

    font-weight: 900;
}

.p-desc {
    padding: 6px 18px 18px;

    color: #7a838e;

    font-size: 12px;
}

.compare-checkbox {
    display: none;
}


/* =========================================================
   DOWNLOADS
========================================================= */

.downloads-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.download-card {
    display: flex;
    align-items: center;

    gap: 18px;

    padding: 25px;

    background: white;

    border-radius: 20px;

    box-shadow:
        0 15px 45px rgba(15,23,42,.07);

    transition:
        transform .3s ease;
}

.download-card:hover {
    transform: translateY(-6px);
}

.dl-icon {
    font-size: 35px;

    color: var(--red);
}

.dl-info {
    flex: 1;
}

.dl-tag {
    color: #929aa4;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: 1.5px;
}

.download-card h4 {
    margin-top: 5px;

    color: #10151b;

    font-size: 15px;

    font-weight: 900;
}


/* =========================================================
   SALES
========================================================= */

.talk-sales-box {
    margin-top: 60px;

    padding: 50px;

    border-radius: 25px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #10151b,
            #202832
        );

    color: white;
}

.talk-sales-box h3 {
    font-size: 32px;

    font-weight: 900;

    margin-bottom: 22px;
}

.btn-xtreme-blue {
    border: none;

    padding: 14px 28px;

    border-radius: 100px;

    background: var(--red);

    color: white;

    font-size: 14px;

    font-weight: 800;

    transition: .3s ease;
}

.btn-xtreme-blue:hover {
    transform: translateY(-3px);

    background: var(--red-dark);
}


/* =========================================================
   RELATED LINKS
========================================================= */

.related-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;
}

.related-card {
    overflow: hidden;

    background: white;

    border-radius: 22px;

    box-shadow:
        0 15px 45px rgba(15,23,42,.07);

    transition:
        transform .4s ease;
}

.related-card:hover {
    transform: translateY(-8px);
}

.related-card img {
    width: 100%;

    height: 230px;

    object-fit: cover;

    transition:
        transform .6s ease;
}

.related-card:hover img {
    transform: scale(1.06);
}

.related-content {
    padding: 25px;
}

.related-content h4 {
    font-size: 20px;

    font-weight: 900;
}

.related-content p {
    margin-top: 8px;

    color: #6f7882;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   MODAL
========================================================= */

.modal-overlay {
    display: none;

    position: fixed;

    inset: 0;

    z-index: 9999;

    background:
        rgba(0,0,0,.78);

    backdrop-filter:
        blur(10px);

    align-items: center;
    justify-content: center;

    padding: 20px;
}

.modal-overlay.show {
    display: flex;
}

.modal-card {
    position: relative;

    width: min(560px, 100%);

    padding: 40px;

    background: #12161b;

    color: white;

    border-radius: 25px;

    border:
        1px solid rgba(255,255,255,.12);

    box-shadow:
        0 40px 100px rgba(0,0,0,.55);

    animation:
        modalIn .35s ease;
}

@keyframes modalIn {

    from {
        opacity: 0;
        transform:
            translateY(25px)
            scale(.96);
    }

    to {
        opacity: 1;
        transform:
            translateY(0)
            scale(1);
    }
}

.close-btn {
    position: absolute;

    right: 20px;
    top: 18px;

    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: #b9c0c8;

    background:
        rgba(255,255,255,.06);

    cursor: pointer;

    font-size: 24px;
}

.modal-img-wrapper {
    height: 190px;

    margin-bottom: 20px;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;

    border-radius: 15px;

    background: #1a2026;
}

.modal-img-wrapper img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.modal-header h3 {
    font-size: 30px;

    font-weight: 900;
}

.modal-body p {
    margin-top: 15px;

    color: #aab3bd;

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   ANIMATION
========================================================= */

.reveal {
    opacity: 0;

    transform:
        translateY(35px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}

.reveal.visible {
    opacity: 1;

    transform:
        translateY(0);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .hero-container,
    .business-container {
        grid-template-columns: 1fr;
    }

    .hero-banner-image {
        height: 450px;
    }

    .hardware-grid {
        grid-template-columns: 1fr 1fr;
    }

    .card-large,
    .card-wide {
        grid-column: span 2;
    }

    .catalog-layout {
        grid-template-columns: 1fr;
    }

    .filter-sidebar {
        position: static;
    }

    .product-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 700px) {

    .container,
    .hero-container {
        width: min(100% - 30px, 1240px);
    }

    .hero-section {
        padding: 70px 0;
    }

    .hero-title {
        font-size: 48px;

        letter-spacing: -2.5px;
    }

    .hero-banner-image {
        height: 350px;
    }

    .business-container {
        gap: 45px;
    }

    .carousel-cards {
        grid-template-columns: 1fr;

        display: grid;
    }

    .c-card {
        height: 280px;
    }

    .hardware-grid {
        grid-template-columns: 1fr;
    }

    .card-large,
    .card-wide {
        grid-column: span 1;
    }

    .card-text {
        max-width: 80%;
    }

    .soho-section {
        padding: 40px 20px;
    }

    .soho-content {
        padding: 30px;
    }

    .soho-grid {
        grid-template-columns: 1fr;
    }

    .soho-card.card-tall {
        grid-row: span 1;
    }

    .card-img-box,
    .soho-card.card-tall .card-img-box {
        height: 280px;
    }

    .product-cards-grid,
    .downloads-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .talk-sales-box {
        padding: 35px 20px;
    }

    .modal-card {
        padding: 30px 22px;
    }

}