* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: sans-serif;
    background-color: #000009;
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    object-fit: cover;
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 1200px;
    z-index: 10;
    color: #ffffff;
}

.text-content {
    flex: 0 0 50%;
    padding-right: 40px;
}

.image-content {
    flex-basis: 400px;
    position: relative;
    height: 400px;
}

.slider-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 24px;
}

.slider-arrows {
    display: flex;
    margin-bottom: 16px;
    gap: 16px;
}

.nav-arrow {
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.nav-arrow svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.5;
}

.nav-arrow:hover {
    background-color: transparent;
    opacity: 1;
}


.slider-indicators {
    display: flex;
}

.indicator {
    width: 40px;
    height: 2px;
    background-color: #ffffff40;
    margin: 0 4px;
    border-radius: 0;
    transition: background-color 0.4s ease;
    cursor: pointer;
}

.indicator.active {
    background-color: #3d8bff;
}

.product-info-container {
    position: relative;
    height: 280px;
}

.product-info {
    position: absolute;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    transform: translateY(10px);
}

.product-info.active {
    opacity: 1;
    transform: translateY(0);
}

.new-badge {
    color: #3d8bff;
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
}

.product-info h1 {
    font-size: 48px;
    margin-bottom: 16px;
}

.product-info p {
    font-size: 16px;
    line-height: 1.6;
    max-width: 500px;
    margin-bottom: 32px;
}

.cta-button {
    background-color: #ffffff;
    color: #005cb9;
    padding: 14px 80px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #cccccc;
}

.product-image-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    transform: scale(0.95);
}

.product-image-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 15;
}

.product-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.hexagon-container {
    position: absolute;
    width: 60px;
    height: 69.28px;
    cursor: pointer;
    z-index: 20;
}

.hexagon-button {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.hexagon-inner-fill {
    fill: #FFFFFF;
    stroke: none;
    transition: fill 0.3s ease;
}

.hexagon-middle-border {
    fill: none;
    stroke: #61a8c6;
    stroke-width: 3;
}

.hexagon-outer-glow {
    fill: none;
    stroke: #ffffff;
    stroke-width: 3;
    filter: url(#glow);
    opacity: 0;
    transform: scale(0.95);
    transform-origin: 50% 50%;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hexagon-container:hover .hexagon-button {
    transform: scale(1.1);
}

.hexagon-container:hover .hexagon-inner-fill,
.hexagon-container.active .hexagon-inner-fill {
    fill: url(#active-gradient);
}

.hexagon-container:hover .hexagon-outer-glow,
.hexagon-container.active .hexagon-outer-glow {
    opacity: 1;
    transform: scale(1.15);
}

.info-box {
    position: absolute;
    top: 120%;
    right: 20%;
    transform: translateY(-50%);
    background-color: rgba(15, 23, 42, 0.217);
    border: 1px solid rgba(255, 255, 255, 0.47);
    backdrop-filter: blur(5px);
    color: white;
    padding: 15px;
    border-radius: 4px;
    width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.hexagon-container.active .info-box {
    opacity: 1;
    visibility: visible;
}

.hexagon-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: screen;
    pointer-events: none;
}

.hexagon-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('images/hex-01.png');
    background-repeat: no-repeat;
    background-size: 100%;
}

.base-hex {
    opacity: 0.05;
}

.interactive-hex {
    opacity: 0.4;
    transition: opacity 0.4s ease-in-out;

    mask: radial-gradient(
    circle 250px at var(--mouse-x, -999px) var(--mouse-y, -999px),
    #000 10%,
    transparent 80%
    );

    -webkit-mask: radial-gradient(
    circle 250px at var(--mouse-x, -999px) var(--mouse-y, -999px),
    #000 10%,
    transparent 80%
);
}

/* Mobile layout adjustments */
@media (max-width: 768px) {
        .hero-content {
            flex-direction: column !important;
            align-items: stretch !important;
            justify-content: flex-start !important;
            width: 100% !important;
            max-width: 100% !important;
            padding: 0 20px !important;
        }
        /* let the hero expand vertically so image doesn't overlap the text */
        .hero-section {
            height: auto;
            min-height: 60vh;
            padding-bottom: 20px;
        }
        .text-content {
            order: 2 !important;
            flex: 0 0 auto !important;
            padding: 0 !important;
            width: 100% !important;
            margin-top: 0px !important;
        }
        .image-content {
            order: 1 !important;
            width: 80% !important;
            max-width: 80% !important;
            height: auto !important;
            margin-top: 50px !important;
            margin-bottom: 0 !important;
            flex-basis: auto !important;
        }
        .slider-nav {
            flex-direction: row !important;
            align-items: center !important;
            justify-content: flex-start !important; /* left align */
            margin-bottom: 16px !important;
            width: 100% !important;
            padding-left: 6px !important; /* align with text padding */
        }
        .slider-arrows {
            margin-bottom: 0;
            gap: 8px;
            justify-content: flex-start;
            width: auto;
        }
        /* larger arrow hit area and icon on mobile */
        .slider-arrows .nav-arrow {
            padding: 8px !important;
            border-radius: 6px;
            background: rgba(255,255,255,0.04);
        }
        .slider-arrows .nav-arrow svg {
            width: 36px !important;
            height: 36px !important;
        }
        .slider-indicators {
                margin-left: 12px;
                justify-content: flex-start;
                gap: 10px;
                align-items: center;
            }
        .slider-indicators .indicator {
            width: 48px !important;
            height: 3px !important;
            margin: 0 !important;
            background-color: rgba(255,255,255,0.25) !important;
        }
        .slider-indicators .indicator.active {
            background-color: #3d8bff !important;
        }
            /* place nav below the image and above the copy */
            .slider-nav {
                position: static !important;
                top: auto !important;
                left: auto !important;
                transform: none !important;
                z-index: 10 !important;
                width: 100% !important;
                pointer-events: auto !important;
                background: transparent !important;
                padding: 8px 6px !important;
                display: flex !important;
                align-items: center !important;
                justify-content: flex-start !important;
                margin-top: 10px !important;
                margin-bottom: 6px !important;
        }
        .product-info-container {
            position: static;
            height: auto;
            margin-top: 16px;
            width: 100%;
        }
            /* show only the active image slide on mobile so the slider still works */
            .product-image-slide {
                position: static !important;
                top: auto !important;
                left: auto !important;
                width: 100% !important;
                height: auto !important;
                opacity: 0 !important;
                transform: none !important;
                margin-bottom: 6px !important;
                display: none !important;
            }
            .product-image-slide.active {
                display: block !important;
                opacity: 1 !important;
                transform: none !important;
                z-index: 15 !important;
            }
                .product-image {
                    display: block !important;
                    width: 100% !important;
                    height: auto !important;
                    object-fit: contain !important;
                    object-position: top center !important;
                    max-height: 50vh !important; /* prevent very tall images from covering content */
                    margin: 0 auto 6px !important;
                }
            /* hide decorative hex elements on small screens to avoid overlap */
            .hexagon-container,
            .hexagon-wrapper,
            .hexagon-overlay {
                display: none !important;
            }
        /* show only active product info block on mobile */
        .product-info {
            position: static !important;
            display: none !important;
            opacity: 0 !important;
            transform: none !important;
            width: 100% !important;
            margin-bottom: 24px !important;
        }
        .product-info.active {
            display: block !important;
            opacity: 1 !important;
        }
        .product-info h1 {
            font-size: 28px;
        }
        .product-info p {
            font-size: 15px;
            margin-bottom: 16px;
        }
        .cta-button {
            padding: 12px 32px;
            font-size: 16px;
            width: 100%;
            box-sizing: border-box;
            text-align: center;
            display: block;
            white-space: normal;
            word-break: break-word;
        }
    }