/* Market Section - Based on Figma Design */
.market-section {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 64px;
    align-items: center;
    justify-content: flex-start;
    padding: 124px 0;
    position: relative;
    width: 100%;
    background: #ffffff;
}

.market-container {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 64px;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    position: relative;
    flex-shrink: 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.market-content {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    position: relative;
    flex-shrink: 0;
}

.market-header {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 48px;
    align-items: flex-start;
    justify-content: center;
    padding: 0 24px;
    position: relative;
    flex-shrink: 0;
    width: 1176px;
    max-width: 100%;
}

.market-title-wrapper {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0;
    position: relative;
    flex-shrink: 0;
    width: 100%;
}

.market-title {
    font-family: 'Epilogue', sans-serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 1.15;
    position: relative;
    flex-shrink: 0;
    color: #061c3d;
    text-align: center;
    width: 100%;
    margin: 0;
}

.market-title-highlight {
    color: #1649ff;
}

.market-divider {
    position: absolute;
    background: #1649ff;
    height: 3.984px;
    width: 108.277px;
    border-radius: 4.98px;
    top: 52.272px;
    left: 50%;
    transform: translateX(-50%);
}

.market-description {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 30px;
    position: relative;
    flex-shrink: 0;
    color: #a6a6a6;
    text-align: center;
    width: 976px;
    max-width: 100%;
    margin: 0;
}

.market-brand {
    text-decoration-line: underline;
    text-decoration-skip-ink: none;
    text-decoration-style: solid;
    text-underline-position: from-font;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #1649ff;
}

.market-statistics {
    background: #f8f8f8;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    border-radius: 16px;
    box-shadow: 0px 12px 56px 0px rgba(6, 28, 61, 0.12);
    flex-shrink: 0;
}

.stat-card {
    background: #ffffff;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 234px;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    border-radius: 16px;
    box-shadow: 0px 12px 56px 0px rgba(6, 28, 61, 0.12);
    flex-shrink: 0;
}

.stat-icon {
    background: #0b63e5;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 16px;
    position: relative;
    border-radius: 8px;
    flex-shrink: 0;
}

.stat-icon img {
    position: relative;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: block;
    max-width: none;
}

.stat-info {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
    padding: 4px 0 0 0;
    position: relative;
    flex-shrink: 0;
}

.stat-value {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 32px;
    line-height: 26px;
    position: relative;
    flex-shrink: 0;
    color: #061c3d;
    text-align: center;
    width: 264px;
}

.stat-label {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.5;
    position: relative;
    flex-shrink: 0;
    color: #061c3d;
    text-align: center;
    width: 264px;
}

.market-button {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0;
    position: relative;
    flex-shrink: 0;
}

.market-cta-button {
    background: #1649ff;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    gap: 18.53px;
    align-items: center;
    justify-content: center;
    padding: 0 49.414px;
    position: relative;
    border-radius: 7px;
    flex-shrink: 0;
    width: 403.923px;
    height: 74.12px;
    text-transform: capitalize;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 24.71px;
    line-height: 74.12px;
    color: #f8f8f8;
    text-align: left;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.market-cta-button:hover {
    background: #0b63e5;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(22, 73, 255, 0.3);
}

.market-partners {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    gap: 64px;
    align-items: center;
    justify-content: flex-start;
    padding: 32px;
    position: relative;
    flex-shrink: 0;
    width: 100%;
    overflow: hidden;
}

.market-partners-scroll {
    display: flex;
    flex-direction: row;
    gap: 64px;
    align-items: center;
    animation: scroll-logos 30s linear infinite;
    min-width: calc(100% + 400px);
}

.partner-logo {
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.partner-logo img {
    display: block;
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: grayscale(50%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Animation for scrolling logos */
@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-400px);
    }
}

.partner-logo-1,
.partner-logo-2,
.partner-logo-3,
.partner-logo-4,
.partner-logo-5,
.partner-logo-6 {
    height: 60px;
    width: auto;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .market-section {
        padding: 80px 32px;
    }
    
    .market-statistics {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat-card {
        width: calc(50% - 10px);
        min-width: 280px;
    }
    
    .market-partners {
        gap: 32px;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .market-section {
        padding: 60px 20px;
        gap: 40px;
    }
    
    .market-title {
        font-size: 28px;
    }
    
    .market-description {
        font-size: 16px;
        line-height: 24px;
        width: 100%;
    }
    
    .market-statistics {
        flex-direction: column;
        gap: 16px;
    }
    
    .stat-card {
        width: 100%;
        max-width: 320px;
    }
    
    .market-cta-button {
        width: 100%;
        max-width: 320px;
        font-size: 18px;
        height: 56px;
        line-height: 56px;
    }
    
    .market-partners {
        gap: 24px;
        flex-direction: column;
        align-items: center;
    }
    
    .partner-logo {
        max-width: 200px;
    }
}