/* ==================== NEW HOMEPAGE STYLES ==================== */

/* Hero Banner Section */
.hero-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,133.3C960,128,1056,96,1152,90.7C1248,85,1344,107,1392,117.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-banner .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    padding-right: 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-title .highlight {
    color: #fbbf24;
    position: relative;
}

.hero-description {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 42px;
    font-weight: 900;
    color: #fbbf24;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 500;
}

/* Floating Cards */
.hero-image {
    position: relative;
    height: 400px;
}

.floating-card {
    position: absolute;
    background: white;
    color: #1e293b;
    padding: 20px 28px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 28px;
    color: #2563eb;
}

.floating-card.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 50%;
    right: 5%;
    animation-delay: 1s;
}

.floating-card.card-3 {
    bottom: 15%;
    left: 25%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Product Categories Banner */
.product-categories-banner {
    padding: 80px 0;
    background: #f8fafc;
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #64748b;
    margin-bottom: 60px;
}

.categories-mega-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-mega-card {
    background: white;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    border: 3px solid #e2e8f0;
    position: relative;
}

.category-mega-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 50px rgba(37, 99, 235, 0.2);
    border-color: #93c5fd;
}

.category-mega-card.active {
    border-color: #2563eb;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.25);
}

.category-mega-card.coming-soon {
    opacity: 0.8;
    border-color: #cbd5e1;
}

.category-mega-card.coming-soon:hover {
    transform: translateY(-4px);
    opacity: 0.9;
    border-color: #94a3b8;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 12px;    
}

.category-icon-large {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
    flex-shrink: 0;
    margin: 8px;

}

.category-badge {
    background: #10b981;
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
    margin: 8px;
}

.coming-soon-badge {
    background: #94a3b8;
}

.category-mega-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 12px;
    line-height: 1.3;
}

.category-mega-card p {
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.6;
    font-size: 15px;
}

.category-subcategories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 24px;
}

.subcategory-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: white;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.subcategory-link:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.subcategory-link i {
    font-size: 14px;
    flex-shrink: 0;
}

.coming-soon-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.coming-soon-list span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #64748b;
    font-size: 14px;
}

.coming-soon-list i {
    width: 20px;
    text-align: center;
}

/* Quick Search Section */
.quick-search-section {
    padding: 60px 0;
    background: white;
}

.quick-search-banner {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: 24px;
    padding: 50px;
    color: white;
    box-shadow: 0 20px 60px rgba(30, 58, 138, 0.3);
}

.quick-search-content {
    margin-bottom: 30px;
}

.quick-search-content h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.quick-search-content p {
    font-size: 16px;
    opacity: 0.9;
}

.form-row-inline {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 20px;
    align-items: end;
}

.form-group-inline label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group-inline input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-weight: 600;
}

.form-group-inline input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group-inline input:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.25);
}

/* Why Choose Us */
.why-choose-us-section {
    padding: 80px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: #f8fafc;
    padding: 36px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.feature-card:hover {
    background: white;
    border-color: #2563eb;
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.1);
    transform: translateY(-4px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 15px;
}

/* How It Works */
.how-it-works-section {
    padding: 80px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.step-card {
    grid-column: span 2;
    background: white;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.step-arrow {
    grid-column: span 1;
    text-align: center;
    color: #cbd5e1;
    font-size: 24px;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.step-icon {
    width: 70px;
    height: 70px;
    margin: 20px auto 20px;
    background: #eff6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #2563eb;
}

.step-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

/* CTA Banner */
.cta-banner-section {
    padding: 60px 0;
    background: white;
}

.cta-banner {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 24px;
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    color: white;
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.3);
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.95;
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.btn-white {
    background: white;
    color: #10b981;
    border: 2px solid white;
}

.btn-white:hover {
    background: transparent;
    color: white;
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-white:hover {
    background: white;
    color: #10b981;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-banner .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        padding-right: 0;
        text-align: center;
    }

    .hero-stats {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        height: 300px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .step-card {
        grid-column: span 1;
    }

    .step-arrow {
        grid-column: span 1;
        transform: rotate(90deg);
    }

    .cta-banner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 38px;
    }

    .section-title {
        font-size: 32px;
    }

    .categories-mega-grid {
        grid-template-columns: 1fr;
    }

    .form-row-inline {
        grid-template-columns: 1fr;
    }

    .quick-search-banner {
        padding: 30px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-lg {
        width: 100%;
    }
}
