@import url('/cbt/css/root-3e507b4799b69634f24b146cc3cac5c0.css');

/* ============================================
   Desktop Products / Distribution Page
   ============================================ */

/* === Hero Section === */
.products-hero {
    padding: 120px 0 80px;
    overflow: hidden;
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.products-hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-green), #2E7D32);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.products-hero-title {
    font-family: var(--default-font);
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.15;
}

.products-hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.5;
}

.products-hero-description {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.7;
    max-width: 500px;
}

.products-hero-ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.products-hero-cta-primary {
    background: linear-gradient(135deg, var(--primary-green), #2E7D32);
    color: #fff !important;
    border: none;
    padding: 14px 36px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(61, 134, 68, 0.4);
}

.products-hero-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(61, 134, 68, 0.5);
    background: linear-gradient(135deg, #2E7D32, var(--primary-green));
    color: #fff !important;
}

.products-hero-cta-secondary {
    background: transparent;
    color: var(--primary-green) !important;
    border: 2px solid var(--primary-green) !important;
    padding: 14px 36px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.products-hero-cta-secondary:hover {
    border-color: var(--dark-green) !important;
    color: #fff !important;
    background: var(--primary-green);
}

.products-hero-platforms {
    display: flex;
    align-items: center;
    gap: 12px;
}

.products-hero-platforms img {
    width: 28px;
    height: 28px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.products-hero-platforms img:hover {
    opacity: 1;
}

.products-hero-platforms span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.products-hero-image-wrapper {
    position: relative;
    text-align: center;
}

.products-hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 50px var(--shadow-color), 0 0 30px rgba(61, 134, 68, 0.1);
    transition: transform 0.4s ease;
}

.products-hero-image:hover {
    transform: scale(1.02);
}

/* === Section Shared Styles === */
.products-section-title {
    font-family: var(--default-font);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    text-align: center;
}

.products-section-description {
    font-size: 1.05rem;
    color: var(--text-light);
    text-align: center;
    max-width: 650px;
    margin: 0 auto 48px;
    line-height: 1.6;
}

/* === Download Section === */
.products-downloads-section {
    padding: 80px 0;
    background-color: var(--white);
}

.products-platform-card {
    background: var(--white);
    border: 2px solid var(--border-gray);
    border-radius: 16px;
    padding: 40px 28px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.products-platform-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.products-platform-card-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 20px;
}

.products-platform-card h3 {
    font-family: var(--default-font);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.products-platform-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.5;
    flex-grow: 1;
}

.products-platform-downloads {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.products-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-green), #2E7D32);
    color: #fff !important;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none !important;
    width: 100%;
}

.products-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(61, 134, 68, 0.35);
    color: #fff !important;
}

.products-download-btn-alt {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: var(--primary-green) !important;
    border: 2px solid var(--primary-green);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none !important;
    width: 100%;
}

.products-download-btn-alt:hover {
    background: rgba(61, 134, 68, 0.06);
    transform: translateY(-1px);
    color: var(--primary-green) !important;
}

.products-download-btn-disabled {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--section-gray);
    color: var(--text-light) !important;
    border: 2px solid var(--border-gray);
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: default;
    width: 100%;
    pointer-events: none;
}

.products-coming-soon-note {
    text-align: center;
    padding: 24px;
    background: linear-gradient(135deg, rgba(61, 134, 68, 0.04), rgba(26, 84, 186, 0.04));
    border-radius: 12px;
    border: 1px dashed var(--border-gray);
    margin-top: 16px;
}

.products-coming-soon-note p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* === Features Section === */
.products-features-section {
    padding: 80px 0;
    background-color: var(--section-gray);
}

.products-feature-card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-gray);
}

.products-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-green);
}

.products-feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
}

.products-feature-icon-green {
    background: rgba(61, 134, 68, 0.1);
    color: var(--primary-green);
}

.products-feature-icon-blue {
    background: rgba(26, 84, 186, 0.1);
    color: var(--secondary-colour);
}

.products-feature-card h4 {
    font-family: var(--default-font);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.products-feature-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.55;
    margin: 0;
}

/* === Gallery Section === */
.products-gallery-section {
    padding: 80px 0;
    background-color: var(--white);
}

.products-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.products-gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16 / 10;
    border: 1px solid var(--border-gray);
    transition: all 0.3s ease;
}

.products-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-green);
}

.products-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.products-gallery-item:hover img {
    transform: scale(1.05);
}

.products-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.products-gallery-item:hover .products-gallery-overlay {
    opacity: 1;
}

.products-gallery-overlay span {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
}

.products-gallery-overlay i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.6rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.products-gallery-item:hover .products-gallery-overlay i {
    opacity: 1;
}

/* Gallery Modal */
.products-gallery-modal .modal-content {
    background: transparent;
    border: none;
}

.products-gallery-modal .modal-body {
    padding: 0;
    text-align: center;
}

.products-gallery-modal .modal-body img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.products-gallery-modal .btn-close {
    position: absolute;
    top: -40px;
    right: 0;
    filter: invert(1);
    opacity: 0.8;
    z-index: 10;
}

.products-gallery-modal .btn-close:hover {
    opacity: 1;
}

.products-gallery-modal .modal-dialog {
    max-width: 90vw !important;
}

/* === Video Section === */
.products-video-section {
    padding: 80px 0;
    background-color: var(--section-gray);
}

.products-video-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-gray);
}

.products-video-wrapper video {
    width: 100%;
    display: block;
    background: #000;
}

/* === System Requirements Section === */
.products-sysreq-section {
    padding: 60px 0;
    background-color: var(--white);
}

.products-sysreq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.products-sysreq-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    background: var(--section-gray);
    border-radius: 12px;
    border: 1px solid var(--border-gray);
}

.products-sysreq-item i {
    color: var(--primary-green);
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.products-sysreq-item-text {
    flex: 1;
}

.products-sysreq-item-label {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.products-sysreq-item-value {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* === Admin Snapshot Section === */
.products-admin-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.products-admin-banner {
    text-align: center;
    margin-bottom: 40px;
}

.products-admin-badge {
    display: inline-block;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.products-admin-banner h2 {
    font-family: var(--default-font);
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.products-admin-banner p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto 16px;
    line-height: 1.5;
}

.products-admin-warning {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 8px;
}

.products-admin-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.products-admin-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.products-admin-card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    opacity: 0.9;
}

.products-admin-card h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.products-admin-download-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.products-admin-download-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.products-admin-download-link:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff !important;
    transform: translateY(-1px);
}

/* === Responsive === */
@media (max-width: 991px) {
    .products-hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .products-hero > .container > .products-hero-badge {
        display: inline-block;
        margin-bottom: 20px;
    }

    .products-hero-title {
        font-size: 2.4rem;
    }

    .products-hero-subtitle {
        font-size: 1.1rem;
    }

    .products-hero-image-wrapper {
        margin-top: 0;
        margin-bottom: 32px;
    }
}

@media (max-width: 767px) {
    .products-hero {
        padding: 90px 0 50px;
    }

    .products-hero-title {
        font-size: 2rem;
    }

    .products-hero-description {
        font-size: 0.95rem;
        max-width: 100%;
    }

    .products-hero-ctas {
        flex-direction: column;
        gap: 12px;
    }

    .products-hero-cta-primary,
    .products-hero-cta-secondary {
        width: 100%;
        text-align: center;
    }

    .products-hero-platforms {
        justify-content: center;
        flex-wrap: wrap;
    }

    .products-section-title {
        font-size: 1.7rem;
    }

    .products-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 12px;
    }

    .products-sysreq-grid {
        grid-template-columns: 1fr;
    }

    .products-downloads-section,
    .products-features-section,
    .products-gallery-section,
    .products-video-section {
        padding: 60px 0;
    }
}

/* === Dark Mode === */
[data-theme="dark"] .products-downloads-section {
    background-color: var(--bg-primary);
}

[data-theme="dark"] .products-platform-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .products-platform-card:hover {
    border-color: var(--primary-green);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .products-platform-card h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .products-platform-card p {
    color: var(--text-secondary);
}

[data-theme="dark"] .products-download-btn-alt {
    border-color: var(--primary-green);
    color: var(--primary-green) !important;
}

[data-theme="dark"] .products-download-btn-alt:hover {
    background: rgba(61, 134, 68, 0.15);
}

[data-theme="dark"] .products-download-btn-disabled {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .products-coming-soon-note {
    background: rgba(61, 134, 68, 0.06);
    border-color: var(--border-color);
}

[data-theme="dark"] .products-features-section {
    background-color: var(--bg-secondary);
}

[data-theme="dark"] .products-feature-card {
    background: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .products-feature-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-green);
}

[data-theme="dark"] .products-feature-card h4 {
    color: var(--text-primary);
}

[data-theme="dark"] .products-feature-card p {
    color: var(--text-secondary);
}

[data-theme="dark"] .products-gallery-section {
    background-color: var(--bg-primary);
}

[data-theme="dark"] .products-gallery-item {
    border-color: var(--border-color);
}

[data-theme="dark"] .products-gallery-item:hover {
    border-color: var(--primary-green);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .products-video-section {
    background-color: var(--bg-secondary);
}

[data-theme="dark"] .products-video-wrapper {
    border-color: var(--border-color);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .products-sysreq-section {
    background-color: var(--bg-primary);
}

[data-theme="dark"] .products-sysreq-item {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

[data-theme="dark"] .products-sysreq-item-label {
    color: var(--text-primary);
}

[data-theme="dark"] .products-sysreq-item-value {
    color: var(--text-secondary);
}

[data-theme="dark"] .products-section-title {
    color: var(--text-primary);
}

[data-theme="dark"] .products-section-description {
    color: var(--text-secondary);
}
