/* ===== SUPPORT CENTER ===== */

.support-hero {
    background: linear-gradient(rgba(10, 14, 26, 0.6), rgba(10, 14, 26, 0.6)), url('../images/support-hero.webp'), linear-gradient(135deg, #000000 0%, #0a0a0a 100%);
    background-size: cover, cover, cover;
    background-position: center, center, center;
    background-repeat: no-repeat, no-repeat, no-repeat;
    color: white;
    padding: 160px 48px 100px;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.support-hero-content {
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

.support-hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    letter-spacing: -1px;
}

.support-hero-subtitle {
    font-size: 19px;
    line-height: 1.7;
    color: #d8e4ea;
}

.support-grid-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 40px;
}

/* Systems / Sensors sections on the hub page */
.support-grid-section + .support-grid-section {
    margin-top: 80px;
}

/* Product selector grid (hub page) */
.support-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.support-product-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    background: var(--neutral-light);
    border: none;
    border-radius: 4px;
    padding: 48px 24px 36px;
    cursor: pointer;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
}

.support-product-btn:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.support-product-thumb {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.support-product-thumb img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.support-product-thumb i {
    font-size: 52px;
    color: var(--text-dark);
}

.support-product-btn span {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    line-height: 1.3;
}

/* Product detail page */
.support-subpage-bg {
    background: var(--neutral-light);
}

.support-product-hero {
    position: relative;
    height: 450px;
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background: linear-gradient(rgba(10, 14, 26, 0.68), rgba(10, 14, 26, 0.68)), var(--hero-image);
    background-size: cover;
    background-position: center;
}

.support-product-hero-title {
    font-size: 48px;
    font-weight: 700;
    color: white;
    letter-spacing: -1px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.support-breadcrumb-bar {
    padding: 24px 48px 0;
    max-width: 1100px;
    margin: 0 auto;
}

.support-breadcrumb {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.support-breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.support-breadcrumb a:hover {
    text-decoration: underline;
}

.support-breadcrumb i {
    font-size: 11px;
    margin: 0 8px;
    color: var(--text-light);
}

.support-resource-section {
    padding: 8px 48px 120px;
}

/* Resource cards (documentation + video) */
.support-resource-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.support-resource-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 40px 20px;
    cursor: pointer;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
}

.support-resource-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.support-resource-icon {
    font-size: 40px;
    color: var(--text-dark);
}

.support-resource-card.video-card-trigger .support-resource-icon {
    color: var(--primary);
}

.support-resource-card span {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    line-height: 1.3;
}

.support-resource-empty {
    grid-column: 1 / -1;
    font-size: 15px;
    color: var(--text-light);
    font-style: italic;
    text-align: center;
    padding: 24px 0;
}

.support-resource-card.is-hidden {
    display: none;
}

@media (max-width: 1024px) {
    .support-product-grid,
    .support-resource-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .support-hero-title {
        font-size: 38px;
    }

    .support-grid-title {
        font-size: 26px;
    }

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

    .support-product-hero {
        height: 320px;
        padding: 0 24px;
    }

    .support-product-hero-title {
        font-size: 32px;
    }

    .support-breadcrumb-bar {
        padding: 20px 24px 0;
    }

    .support-resource-section {
        padding: 8px 24px 80px;
    }
}

@media (max-width: 480px) {
    .support-product-grid,
    .support-resource-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .support-product-btn {
        padding: 32px 12px 24px;
    }

    .support-product-thumb {
        height: 80px;
    }

    .support-product-btn span {
        font-size: 15px;
    }

    .support-resource-card {
        padding: 28px 12px;
    }
}
