:root {
    --primary-red: #E53E3E;
    --text-dark: #2D3748;
    --text-light: #718096;
    --bg-light: #F7FAFC;
    --card-bg: #FFFFFF;
    --shadow: rgba(0, 0, 0, 0.1);
}

.brand-showcase {
    padding: 80px 0;
    background: linear-gradient(135deg, #FFFFFF 0%, #F7FAFC 100%);
    position: relative;
    overflow: hidden;
}

.brand-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(229, 62, 62, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(229, 62, 62, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.brand-showcase .section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.brand-showcase .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.highlight {
    color: var(--primary-red);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), #FF6B6B);
    border-radius: 2px;
    animation: expand 2s ease-out;
}

@keyframes expand {
    0% { width: 0; }
    100% { width: 100%; }
}

.brand-showcase .section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

.brand-showcase .brands-container {
    position: relative;
    z-index: 2;
}

.brand-showcase .brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.brand-showcase .brand-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding:20px 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.05),
        0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.brand-showcase .brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transition: left 0.5s ease;
}

.brand-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 25px rgba(0, 0, 0, 0.1),
        0 10px 10px rgba(0, 0, 0, 0.04);
    border-color: var(--primary-red);
}

.brand-card:hover::before {
    left: 100%;
}

.brand-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4A5568 0%, #2D3748 100%);
    border-radius: 12px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    position: relative;
    box-shadow: 0 8px 16px rgba(45, 55, 72, 0.2);
}

.brand-icon::after {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 8px;
    pointer-events: none;
}

.brand-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.brand-category {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 400;
}

/* Scrolling Animation */
.brands-scroll {
    display: flex;
    overflow-x: hidden;
    margin: 40px 0;
    position: relative;
}

.brands-track {
    display: flex;
    animation: scroll 30s linear infinite;
    gap: 24px;
    min-width: 200%;
}

.brands-track .brand-card {
    min-width: 180px;
    flex-shrink: 0;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.brands-scroll:hover .brands-track {
    animation-play-state: paused;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .brand-showcase {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 12px;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 20px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .brands-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 20px;
        margin-top: 30px;
    }

    .brand-card {
        padding: 24px 16px;
        border-radius: 12px;
    }

    .brand-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 16px;
    }

    .brand-name {
        font-size: 1rem;
    }

    .brand-category {
        font-size: 0.85rem;
    }

    .brands-track .brand-card {
        min-width: 160px;
    }
}

@media (max-width: 576px) {
    .brand-showcase {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .brand-card {
        padding: 20px 12px;
    }

    .brand-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .brand-name {
        font-size: 0.95rem;
    }

    .brand-category {
        font-size: 0.8rem;
    }

    .brands-track .brand-card {
        min-width: 140px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .brands-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 280px;
        margin: 20px auto 0;
    }

    .brand-card {
        padding: 16px 10px;
    }

    .brand-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
}

/* Demo content */
.demo-section {
    padding: 60px 0;
    background: white;
    text-align: center;
}

.demo-section h2 {
    color: var(--text-dark);
    margin-bottom: 20px;
}

.demo-section p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}