
    :root {

        --bg-gray: #F0F2F9;
        --card-bg: #E7EBF7;
    }

    .compatibility-hero {
        background-color: var(--bg-gray);
      
        padding: 0px 7%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 50px;
        height: 520px;
    }

    /* Left Side Heading */
    .hero-text {
        flex: 1;
        padding: 50px 0;
        
    }

    .hero-text h1 {
        padding-top: 2rem;
        font-size: 4rem;
        font-weight: 600;
        color: var(--text-main);
        line-height: 1.1;
        margin: 0;
    }

    /* Right Side Layered Graphic */
    .hero-graphic {
        flex: 1;
        /* position: relative; */
       padding-top: 5rem;
       overflow: hidden;
       height: 100%;
    }
    .hero-graphic img{
        object-fit: cover;
        object-position: top;
        height: 100%;
        width: 100%;
    }

  

    /* Mobile Responsive */
    @media (max-width: 992px) {
        .compatibility-hero {
            flex-direction: column;
            text-align: center;
            padding: 60px 5%;
        }
        .hero-text h1 { font-size: 3rem; margin-bottom: 40px; }
        .image-overlap { display: none; } /* Hide overlap on small screens for layout flow */
    }




    :root {
        --border-soft: #E2E8F0;
    }

    .compatibility-hub {
        padding: 40px 5%;
        text-align: center;
    }

    /* Filter Pill Navigation */
    .filter-container {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-bottom: 30px;
        flex-wrap: wrap;
    }

    .filter-pill {
        padding: 10px 20px;
        border-radius: 50px;
        background: white;
        border: 1px solid var(--border-soft);
        color: var(--text-muted);
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 0.9rem;
    }

    .filter-pill.active {
        background: var(--brand-teal);
        color: white;
        border-color: var(--brand-teal);
        box-shadow: 0 10px 20px rgba(0, 175, 102, 0.2);
    }

    /* Professional Card Grid */
    .device-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .brand-card {
        background: white;
        border-radius: 24px;
        padding: 22px;
        text-align: left;
        border: 1px solid var(--border-soft);
        box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
        transition: transform 0.3s ease;
        display: none; /* Controlled by JS */
    }

    .brand-card.show {
        display: block;
        animation: fadeInUp 0.5s ease forwards;
    }

    .card-header {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 25px;
    }

    .card-header i {
        font-size: 1.5rem;
        color: var(--brand-teal);
        background: rgba(0, 175, 102, 0.08);
        padding: 12px;
        border-radius: 12px;
    }

    .card-header h3 {
        color: var(--brand-navy);
        margin: 0;
        font-size: 1.1rem;
        font-weight: 700;
    }

    .card-header span {
        display: block;
        font-size: 0.85rem;
        color: var(--text-muted);
        font-weight: 500;
    }

    /* Device List */
    .device-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .device-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 5px 0;
        font-size: 0.95rem;
        color: var(--text-main);
        font-weight: 500;
    }

    .device-item i {
        color: var(--brand-teal);
        font-size: 1.1rem;
    }

    .more-models {
        margin-top: 15px;
        color: var(--brand-teal);
        font-weight: 600;
        font-size: 0.9rem;
        cursor: pointer;
        display: inline-block;
    }

    @keyframes fadeInUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

    @media (max-width: 768px) {
        /* .device-grid { grid-template-columns: 1fr; } */
    }


    .search-integration-wrap {
        max-width: 600px;
        margin-top: 10px;
        position: relative;

    }

    /* Premium Search Bar UX */
    .hero-search-bar {
        width: 100%;
        padding: 18px 20px;
        padding-left: 60px;
        border-radius: 100px;
        border: 2px solid var(--border-color);
        background: white;
        font-size: 1.1rem;
        color: var(--text-main);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 30px rgba(0, 26, 114, 0.05);
    }

    .hero-search-bar:focus {
        outline: none;
        border-color: var(--brand-navy);
        box-shadow: 0 15px 40px rgba(0, 26, 114, 0.1);
        transform: translateY(-2px);
    }

    .search-icon-fixed {
        position: absolute;
        left: 25px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.4rem;
        color: var(--brand-teal);
        pointer-events: none;
    }

    /* Interactive Status Toast */
    .compatibility-toast {
        margin-top: 20px;
        padding: 18px 25px;
        border-radius: 15px;
        display: flex;
        align-items: center;
        gap: 12px;
        font-weight: 600;
        display: none; /* Hidden by default */
        animation: slideUpFade 0.4s ease;
    }

    .toast-success {
        background: rgba(0, 175, 102, 0.1);
        color: var(--brand-teal);
        border: 1px solid var(--brand-teal);
    }

    .toast-error {
        background: rgba(239, 68, 68, 0.1);
        color: #EF4444;
        border: 1px solid #EF4444;
    }

    @keyframes slideUpFade {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }

