/* a-plus.css */

/* Generic Section Wrapper */
.aplus-wrapper {
    width: 90%;
    margin: 40px auto;
    background: #000;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.aplus-section {
    position: relative;
    width: 100%;
    background: #000;
    overflow: hidden;
    color: #fff;
}

/* 1. Header Image / Video */
.aplus-media-item {
    width: 100%;
    display: block;
}

.aplus-media-item video {
    width: 100%;
    height: auto;
    display: block;
}

/* 2. Top-Tabs Feature Switcher */
.feature-switcher-tabs {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    transition: background-image 0.5s ease;
    display: flex;
    flex-direction: column;
}

.switcher-image-container {
    position: relative;
    width: 100%;
    line-height: 0;
}

.aplus-switcher-bg {
    width: 100%;
    height: auto;
    display: block;
}

.tabs-header-container {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.tabs-list {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 15px 0;
    margin: 0;
    gap: 30px;
    overflow-x: auto;
    scrollbar-width: none; /* Hide scrollbar Firefox */
}

.tabs-list::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
}

.tab-item {
    padding: 10px 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #aaa;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    white-space: nowrap;
    transition: color 0.3s;
}

.tab-item.active {
    color: #fff;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #fff;
}

/* Feature Content Overlay */
.feature-overlay {
    position: absolute;
    left: 8%;
    top: 50%;
    transform: translateY(-50%);
    max-width: 450px;
    background: rgba(0, 0, 0, 0.6);
    padding: 40px;
    border-left: 4px solid #fff;
    z-index: 5;
}

.feature-overlay h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.feature-overlay p {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.6;
}

/* Arrows */
.switcher-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.switcher-arrow:hover {
    opacity: 1;
}

.arrow-left { left: 20px; }
.arrow-right { right: 20px; }

/* 3. Right-Numbered Tabs Feature Switcher */
.feature-switcher-numbered {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    transition: background-image 0.5s ease;
    display: flex;
    align-items: center;
}

.numbered-tabs-container {
    position: absolute;
    right: 5%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 10;
}

.numbered-tab {
    background: #fff;
    color: #000;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s;
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.numbered-tab.active {
    background: #000;
    color: #fff;
    transform: translateX(-10px);
}

.tab-num {
    font-size: 1.2rem;
}

.numbered-overlay {
    position: absolute;
    left: 8%;
    top: 50%;
    transform: translateY(-50%);
    max-width: 400px;
    z-index: 5;
}

.numbered-overlay h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.numbered-overlay p {
    font-size: 1rem;
    color: #eee;
    line-height: 1.5;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .aplus-wrapper {
        width: 100%;
        margin: 20px 0;
        border-radius: 0;
    }

    .feature-overlay {
        position: relative;
        left: 0;
        bottom: 0;
        top: auto;
        transform: none;
        max-width: 100%;
        width: 100%;
        padding: 40px 20px;
        background: #000;
        border-left: none;
        border-top: 3px solid #fff;
        text-align: center;
    }

    .feature-overlay h2 { font-size: 1.6rem; }
    .feature-overlay p { font-size: 0.9rem; }

    .tabs-list { gap: 15px; padding: 10px 15px; justify-content: flex-start; }
    .tab-item { font-size: 0.8rem; }

    .numbered-tabs-container {
        display: flex;
        flex-direction: row;
        position: relative;
        right: 0;
        bottom: 0;
        overflow-x: auto;
        padding: 20px;
        gap: 10px;
        scrollbar-width: none;
        justify-content: center;
        width: 100%;
        background: rgba(0,0,0,0.5);
    }

    .numbered-tabs-container::-webkit-scrollbar {
        display: none;
    }

    .numbered-tab {
        min-width: 140px;
        padding: 8px 15px;
        font-size: 0.75rem;
        gap: 8px;
    }

    .feature-switcher-numbered {
        flex-direction: column;
    }

    .numbered-overlay {
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        max-width: 100%;
        padding: 30px 20px;
        order: 1;
        text-align: center;
    }

    .numbered-overlay h2 { font-size: 1.6rem; }
    .numbered-overlay p { font-size: 0.85rem; }
}
