/* Markets Tab Section */
.markets-tabs {
    width: 100%;
    margin-top: 30px;
    margin-bottom: 60px;
}

.tabs-navigation {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-button {
    background-color: var(--primary-color);
    border: 1px solid var(--secondary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.tab-button.active, .tab-button:hover {
    background-image: var(--color-shadow);
    color: var(--primary-color);
}

.tab-content {
    display: none;
    background-color: var(--secondary-color);
    border-radius: 10px;
    padding: 40px;
}

.tab-content.active {
    display: block;
}

.tab-content-inner {
    text-align: center;
}

.tab-features h3 {
    font-size: 28px;
    color: var(--white);
    margin-bottom: 25px;
}

.features-list {
    display: inline-block;
    margin: 0 auto 30px auto;
    text-align: left;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--light-text);
    font-size: 16px;
}

.features-list li strong {
    display: inline-block;
    margin-right: 5px;
}

.check-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: var(--color-shadow);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
}

.check-icon:after {
    content: '';
    position: absolute;
    width: 8px;
    height: 4px;
    border-left: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    transform: rotate(-45deg);
    top: 7px;
    left: 6px;
}

.tab-cta {
    display: inline-block;
    background-image: var(--color-shadow);
    color: var(--primary-color);
    padding: 14px 30px;
    border-radius: 6px;
    margin-top: 20px;
    font-weight: 600;
    transition: transform 0.3s;
    font-size: 16px;
}

.tab-cta:hover {
    transform: translateY(-3px);
}

/* Tablets and smaller devices */
@media screen and (max-width: 768px) {
    .tab-content {
        padding: 30px 20px;
    }

    .tab-features h3 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .features-list {
        width: 100%;
        padding-left: 0;
    }

    .features-list li {
        font-size: 15px;
        line-height: 1.4;
    }

    .tab-cta {
        padding: 12px 24px;
        font-size: 15px;
    }
}

/* Mobile devices */
@media screen and (max-width: 607px) {
    .tabs-navigation {
        flex-direction: column;
        gap: 10px;
    }

    .tab-button {
        width: 100%;
        text-align: center;
        padding: 10px 15px;
        font-size: 14px;
    }

    .tab-content {
        padding: 25px 15px;
        border-radius: 8px;
    }

    .tab-features h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .features-list li {
        font-size: 14px;
        margin-bottom: 12px;
        text-align: left;
        display: flex;
        line-height: 1.3;
    }

    .features-list li strong {
        display: block;
        margin-bottom: 2px;
    }

    .check-icon {
        width: 16px;
        height: 16px;
        margin-top: 3px;
    }

    .check-icon:after {
        width: 6px;
        height: 3px;
        border-left: 1.5px solid var(--primary-color);
        border-bottom: 1.5px solid var(--primary-color);
        top: 6px;
        left: 5px;
    }

    .tab-cta {
        display: block;
        width: 100%;
        padding: 12px 15px;
        font-size: 14px;
        text-align: center;
    }
}

/* Extra small devices */
@media screen and (max-width: 480px) {
    .markets-tabs {
        margin-top: 20px;
        margin-bottom: 40px;
    }

    .tabs-navigation {
        margin-bottom: 20px;
    }

    .tab-content {
        padding: 20px 12px;
    }

    .tab-features h3 {
        font-size: 18px;
    }

    .features-list {
        margin-bottom: 20px;
    }

    .features-list li {
        gap: 8px;
        margin-bottom: 10px;
        font-size: 13px;
    }

    .check-icon {
        width: 14px;
        height: 14px;
    }

    .check-icon:after {
        width: 5px;
        height: 2.5px;
        border-left: 1px solid var(--primary-color);
        border-bottom: 1px solid var(--primary-color);
        top: 5px;
        left: 4.5px;
    }
}

/* FAQ Section Styles */
.faq-section {
    background-color: var(--secondary-color);
    padding: 60px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto 20px;
}

.faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 25px;
    transition: transform 0.3s;
}

.faq-item:hover {
    transform: translateY(-5px);
}

.faq-item h3 {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 600;
}

.faq-item p {
    color: var(--light-text);
    opacity: 0.8;
    line-height: 1.6;
    font-size: 15px;
}

.contact-button {
    display: inline-block;
    background-color: #4A6CF7;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.contact-button:hover {
    background-color: #3b57d1;
}

/* Responsive adjustments */
@media screen and (max-width: 769px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("/static/assets/fonts/Inter.f837d382a885.woff2") format('woff2');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("/static/assets/fonts/Roboto.b07da7aa3e4f.woff2") format('woff2');
}

/* Ensure the body uses these fonts */
body {
    font-family: "Inter", sans-serif;
    font-display: swap;
}

/* screenshots container */
.scr-shorts {
    border-radius: 10px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px 5px 1px 5px;
    background-image: var(--color-shadow);
    /* Add will-change property to prepare browser for transformation */
    will-change: transform;
    /* Adding this container ensures CLS doesn't occur */
    position: relative;
    aspect-ratio: 16 / 9;
}

/* Optimize picture element */
.scr-shorts picture {
    display: block;
    width: 100%;
    height: 100%;
}

/* Optimize image rendering */
.scr-shorts img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    /* Optional rendering optimization for browsers that support it */
    image-rendering: auto;
    /* Make sure the image doesn't cause layout shift */
    transform: translateZ(0);
}

/* Add responsive breakpoints if needed */
@media (max-width: 768px) {
    .scr-shorts {
        /* Adjust padding for mobile */
        padding: 3px 3px 1px 3px;
    }
}

