/*
===========================
Homepage Modern Design Styles
===========================
*/

/* Hero Section - Modern */
.sahel-hero-modern {
    position: relative;
    background: linear-gradient(135deg, #6FCF43 0%, #4CAF50 100%);
    padding: 120px 0 180px;
    overflow: hidden;
    color: white;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.4;
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    color: #fbbf24;
}

.hero-title-large {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #C8E6C9, #F5F5F5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description-large {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.hero-buttons-modern {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-hero-primary {
    background: white;
    color: #4CAF50;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* Floating Cards */
.hero-visual {
    position: relative;
    height: 400px;
}

.floating-card {
    position: absolute;
    background: white;
    color: #4CAF50;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
    font-size: 1.125rem;
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 2rem;
}

.floating-card.card-1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 45%;
    right: 25%;
    animation-delay: 0.5s;
}

.floating-card.card-3 {
    top: 70%;
    right: 5%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.hero-wave svg path {
    fill: #ffffff;
}

/* Stats Section */
.sahel-stats {
    padding: 80px 0;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border-radius: 16px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.stat-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    font-size: 1.75rem;
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 0.25rem 0;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title-modern {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-color);
    margin: 0 0 1rem 0;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    margin: 0;
}

/* Categories Modern */
.sahel-categories-modern {
    padding: 80px 0;
    background: #f9fafb;
}

.categories-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.category-card-modern {
    position: relative;
    padding: 2.5rem 1.5rem;
    background: white;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

.category-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--card-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-card-modern:hover::before {
    transform: scaleX(1);
}

.category-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.category-icon-modern {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-color);
    border-radius: 50%;
    font-size: 1.75rem;
    color: white;
    transition: all 0.3s ease;
}

.category-card-modern:hover .category-icon-modern {
    transform: scale(1.1) rotate(5deg);
}

.category-name-modern {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 0.5rem 0;
}

.category-count-modern {
    font-size: 0.9375rem;
    color: var(--text-light);
    margin: 0;
}

.category-hover-arrow {
    margin-top: 1rem;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    color: var(--card-color);
}

.category-card-modern:hover .category-hover-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* How It Works */
.sahel-how-it-works {
    padding: 80px 0;
    background: white;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.step-card {
    position: relative;
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border-radius: 20px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.step-number {
    position: absolute;
    top: -20px;
    right: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.3);
}

.step-icon {
    width: 90px;
    height: 90px;
    margin: 1.5rem auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 50%;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 1rem 0;
}

.step-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* Modern Buttons */
.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-modern-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
}

.btn-modern-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.btn-modern-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-modern-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.section-footer-center {
    text-align: center;
    margin-top: 3rem;
}

/* Featured Stores & Products Modern */
.sahel-featured-stores-modern {
    padding: 80px 0;
    background: white;
}

.stores-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.sahel-latest-products-modern {
    padding: 80px 0;
    background: #f9fafb;
}

.products-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

/* Why Us Modern */
.sahel-why-us-modern {
    padding: 80px 0;
    background: white;
}

.features-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-card-modern {
    padding: 2.5rem 2rem;
    background: white;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #f3f4f6;
}

.feature-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.feature-icon-modern {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.feature-card-modern:hover .feature-icon-modern {
    transform: scale(1.1) rotate(5deg);
}

.gradient-purple {
    background: linear-gradient(135deg, #6FCF43, #4CAF50);
}

.gradient-pink {
    background: linear-gradient(135deg, #6FCF43, #4CAF50);
}

.gradient-green {
    background: linear-gradient(135deg, #6FCF43, #4CAF50);
}

.gradient-orange {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.gradient-blue {
    background: linear-gradient(135deg, #06b6d4, #0284c7);
}

.gradient-red {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.feature-title-modern {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 1rem 0;
}

.feature-description-modern {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* Testimonials */
.sahel-testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    font-size: 1.5rem;
    color: white;
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 0.5rem 0;
}

.testimonial-stars {
    color: #fbbf24;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.7;
    margin: 0;
    font-style: italic;
}

/* CTA Modern - Enhanced Design */
.sahel-cta-modern {
    position: relative;
    padding: 100px 0 0 0;
    background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
    color: white;
    overflow: hidden;
}

.cta-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(102, 187, 106, 0.3) 0%, transparent 70%);
    opacity: 0.6;
}

.cta-animated-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float-cta 20s infinite ease-in-out;
}

.cta-shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: 10%;
    animation-delay: 0s;
}

.cta-shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: 5%;
    animation-delay: -7s;
}

.cta-shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 15%;
    animation-delay: -14s;
}

@keyframes float-cta {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.cta-wrapper {
    position: relative;
    z-index: 2;
}

.cta-content-modern {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-badge i {
    color: #6fcf43;
    font-size: 1rem;
}

.cta-title-modern {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.cta-title-highlight {
    display: block;
    background: linear-gradient(135deg, #FFD700 0%, #FFA000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 0.5rem;
}

.cta-description-modern {
    font-size: 1.25rem;
    line-height: 1.7;
    opacity: 0.95;
    margin: 0 0 2.5rem 0;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

/* Premium CTA Button */
.btn-cta-premium {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0;
    border-radius: 50px;
    font-size: 1.125rem;
    text-decoration: none;
    background: linear-gradient(135deg, #FFD700 0%, #FFA000 100%);
    border: none;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-cta-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5);
}

.btn-cta-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    color: #1B5E20;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.btn-cta-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.btn-cta-text strong {
    font-size: 1.125rem;
    font-weight: 800;
}

.btn-cta-text small {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.8;
}

.btn-cta-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-cta-premium:hover .btn-cta-shine {
    left: 100%;
}

/* Outline CTA Button */
.btn-cta-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-cta-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
}

.cta-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    padding-bottom: 3rem;
}

.cta-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
}

.cta-feature-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #FFD700;
    font-size: 1rem;
}

/* Responsive - Homepage */
@media (max-width: 1024px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    .hero-title-large {
        font-size: 2.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .sahel-hero-modern {
        padding: 80px 0 140px;
    }

    .hero-title-large {
        font-size: 2rem;
    }

    .hero-description-large {
        font-size: 1.125rem;
    }

    .section-title-modern {
        font-size: 2rem;
    }

    .cta-title-modern {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .categories-grid-modern {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .features-grid-modern {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .stores-grid-modern,
    .products-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero-buttons-modern {
        flex-direction: column;
    }

    .btn-hero {
        width: 100%;
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-cta {
        width: 100%;
        justify-content: center;
    }

    .cta-features {
        flex-direction: column;
        gap: 1rem;
    }
}
