.hardware-page {
    background: #f5f8fc;
}

.hardware-page .header {
    background: rgba(4, 17, 38, 0.28);
    backdrop-filter: blur(10px);
}

.hardware-main {
    overflow: hidden;
}

.hardware-page .wrap {
    box-sizing: border-box;
    max-width: 1200px;
    width: calc(100% - 64px);
}

.hardware-hero {
    box-sizing: border-box;
    min-height: 620px;
    background-position: center;
    background-size: cover;
    color: #fff;
    position: relative;
}

.hardware-hero::before {
    background: linear-gradient(90deg, rgba(4, 14, 32, 0.96) 0%, rgba(7, 33, 72, 0.88) 46%, rgba(12, 91, 126, 0.62) 100%);
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.hardware-hero__inner {
    align-items: center;
    box-sizing: border-box;
    display: grid;
    gap: 70px;
    grid-template-columns: minmax(0, 1fr) 500px;
    min-height: 620px;
    padding-top: 96px;
    position: relative;
    z-index: 1;
}

.hardware-eyebrow,
.hardware-section-head span,
.hardware-category__head > span,
.hardware-card__body span,
.hardware-cta span {
    color: #19c2a0;
    display: inline-block;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.hardware-hero__copy h1 {
    color: #fff;
    font-size: 48px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 22px;
}

.hardware-hero__copy p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    line-height: 1.9;
    max-width: 660px;
}

.hardware-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 34px;
}

.hardware-btn {
    align-items: center;
    border-radius: 6px;
    box-sizing: border-box;
    display: inline-flex;
    font-size: 15px;
    font-weight: bold;
    height: 48px;
    justify-content: center;
    min-width: 146px;
    padding: 0 24px;
}

.hardware-btn--primary {
    background: #19c2a0;
    color: #04233d;
}

.hardware-btn--ghost {
    border: 1px solid rgba(255, 255, 255, 0.34);
    color: #fff;
}

.hardware-stats {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 48px;
    max-width: 620px;
}

.hardware-stats li {
    border-left: 1px solid rgba(255, 255, 255, 0.28);
    box-sizing: border-box;
    padding-left: 18px;
}

.hardware-stats strong {
    color: #fff;
    display: block;
    font-size: 34px;
    line-height: 1.1;
}

.hardware-stats span {
    color: rgba(255, 255, 255, 0.68);
    display: block;
    font-size: 13px;
    line-height: 1.6;
    margin-top: 7px;
}

.hardware-hero__panel {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hardware-device {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
    min-height: 186px;
    overflow: hidden;
    padding: 24px;
    position: relative;
}

.hardware-device--large {
    grid-row: auto;
    min-height: 186px;
}

.hardware-device img {
    display: block;
    height: 112px;
    margin: 8px auto 18px;
    max-width: 100%;
    object-fit: contain;
}

.hardware-device--large img {
    height: 112px;
}

.hardware-device span {
    bottom: 20px;
    color: #fff;
    display: block;
    font-size: 15px;
    font-weight: bold;
    left: 24px;
    line-height: 1.5;
    position: absolute;
    right: 24px;
}

.hardware-overview {
    background: #fff;
    border-bottom: 1px solid #e7edf5;
    padding: 44px 0 42px;
}

.hardware-section-head {
    max-width: 760px;
}

.hardware-section-head h2 {
    color: #12213a;
    font-size: 34px;
    font-weight: bold;
    line-height: 1.35;
}

.hardware-section-head p {
    color: #65758b;
    font-size: 15px;
    line-height: 1.9;
    margin-top: 12px;
}

.hardware-category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.hardware-category-nav a {
    background: #eef5f9;
    border: 1px solid #dce8f0;
    border-radius: 6px;
    color: #23425f;
    display: block;
    font-size: 14px;
    font-weight: bold;
    line-height: 42px;
    padding: 0 18px;
}

.hardware-category-nav a:hover {
    background: #003b70;
    border-color: #003b70;
    color: #fff;
}

.hardware-catalog {
    padding: 34px 0 86px;
}

.hardware-category {
    scroll-margin-top: 120px;
    padding-top: 48px;
}

.hardware-category__head {
    align-items: flex-end;
    display: grid;
    gap: 24px;
    grid-template-columns: 74px minmax(0, 1fr) auto;
    margin-bottom: 24px;
}

.hardware-category__head > span {
    align-items: center;
    background: #e9f8f5;
    border-radius: 8px;
    color: #0b8f78;
    display: flex;
    font-size: 24px;
    height: 64px;
    justify-content: center;
    margin: 0;
    width: 64px;
}

.hardware-category__head h2 {
    color: #12213a;
    font-size: 28px;
    font-weight: bold;
    line-height: 1.3;
}

.hardware-category__head p {
    color: #65758b;
    font-size: 14px;
    line-height: 1.8;
    margin-top: 8px;
}

.hardware-category__head a {
    border: 1px solid #cfdce9;
    border-radius: 6px;
    color: #003b70;
    font-size: 14px;
    font-weight: bold;
    line-height: 40px;
    padding: 0 18px;
    white-space: nowrap;
}

.hardware-category__head a:hover {
    background: #003b70;
    border-color: #003b70;
    color: #fff;
}

.hardware-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hardware-card {
    background: #fff;
    border: 1px solid #e1e9f1;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(21, 48, 79, 0.07);
    min-width: 0;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hardware-card:hover {
    border-color: #b8d7ed;
    box-shadow: 0 22px 48px rgba(21, 48, 79, 0.14);
    transform: translateY(-4px);
}

.hardware-card__image {
    align-items: center;
    background: linear-gradient(180deg, #f7fbff 0%, #edf5f8 100%);
    display: flex;
    height: 176px;
    justify-content: center;
    padding: 24px;
}

.hardware-card__image img {
    display: block;
    max-height: 128px;
    max-width: 100%;
    object-fit: contain;
}

.hardware-card__body {
    padding: 22px 22px 24px;
}

.hardware-card__body span {
    color: #0b8f78;
    font-size: 12px;
    margin-bottom: 8px;
}

.hardware-card__body h3 {
    color: #12213a;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.45;
}

.hardware-card__body p {
    color: #65758b;
    font-size: 13px;
    line-height: 1.8;
    margin-top: 10px;
}

.hardware-cta {
    background: #11243b;
    color: #fff;
    padding: 58px 0;
}

.hardware-cta__inner {
    align-items: center;
    display: grid;
    gap: 30px;
    grid-template-columns: minmax(0, 1fr) auto;
}

.hardware-cta h2 {
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    line-height: 1.4;
}

.hardware-cta p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.9;
    margin-top: 10px;
}

.hardware-cta a {
    background: #19c2a0;
    border-radius: 6px;
    color: #06253c;
    display: block;
    font-size: 18px;
    font-weight: bold;
    line-height: 54px;
    padding: 0 28px;
    white-space: nowrap;
}

@media (max-width: 1280px) {
    .hardware-hero__inner {
        gap: 44px;
        grid-template-columns: minmax(0, 1fr) 440px;
    }

    .hardware-hero__copy h1 {
        font-size: 42px;
    }

    .hardware-grid {
        gap: 16px;
    }
}

@media (max-width: 1024px) {
    .hardware-hero,
    .hardware-hero__inner {
        min-height: auto;
    }

    .hardware-hero__inner {
        grid-template-columns: 1fr;
        padding-bottom: 70px;
        padding-top: 150px;
    }

    .hardware-hero__panel {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .hardware-device,
    .hardware-device--large {
        grid-row: auto;
        min-height: 180px;
    }

    .hardware-device img,
    .hardware-device--large img {
        height: 110px;
    }

    .hardware-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .hardware-page .layout {
        width: 100%;
    }

    .hardware-page .wrap {
        width: 100%;
    }

    .hardware-hero__inner {
        padding: 80px 30px 44px;
    }

    .hardware-hero__copy h1 {
        font-size: 32px;
    }

    .hardware-hero__copy p {
        font-size: 15px;
    }

    .hardware-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hardware-hero__panel {
        display: none;
    }

    .hardware-overview,
    .hardware-catalog,
    .hardware-cta {
        padding-left: 30px;
        padding-right: 30px;
    }

    .hardware-section-head h2,
    .hardware-cta h2 {
        font-size: 26px;
    }

    .hardware-category__head {
        align-items: flex-start;
        grid-template-columns: 1fr;
    }

    .hardware-category__head a {
        justify-self: start;
    }

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

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

    .hardware-cta a {
        justify-self: start;
    }
}

@media (max-width: 520px) {
    .hardware-hero {
        min-height: 680px;
    }

    .hardware-hero__inner {
        min-height: 680px;
        padding-top: 68px;
    }

    .hardware-hero__copy h1 {
        font-size: 26px;
        line-height: 1.28;
    }

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

    .hardware-btn {
        width: 100%;
    }

    .hardware-stats {
        gap: 8px;
    }

    .hardware-stats li {
        padding-left: 10px;
    }

    .hardware-stats strong {
        font-size: 28px;
    }

    .hardware-stats span {
        font-size: 12px;
    }

    .hardware-category-nav a {
        width: calc(50% - 8px);
        box-sizing: border-box;
        padding: 0 10px;
        text-align: center;
    }
}
