/* ==========================================================
   TRADE ACCOUNT PAGE - COMPLETE STYLES
   ========================================================== */

/* ===== HERO / HEADING SECTION ===== */
.trade-account-page-content section.page-heading {
    padding: 60px 0px;
    background: var(--yellow);
    margin-top: 16px;
}

.trade-account-page-content .page-heading .main {
    max-width: 90%;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    padding: 70px 0px;
}

.trade-account-page-content .page-heading .content {
    max-width: 60%;
    margin: 0 auto;
    text-align: center;
}

.trade-account-page-content .page-heading .content h1 {
    font-size: 52px;
    font-family: 'Montserrat';
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--blue);
    text-transform: uppercase;
}

.trade-account-page-content .page-heading .content p {
    font-size: 20px;
    line-height: 1.2;
    color: #1e1e1e;
    margin-bottom: 30px;
    font-family: 'Montserrat';
}

.trade-account-page-content .page-heading .content .buttons {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.trade-account-page-content .page-heading .content .buttons .btn {
    max-width: 50%;
    width: 100%;
    font-size: 16px;
    font-family: 'Montserrat';
    font-weight: 600;
    background: var(--white);
    padding: 15px;
    color: var(--blue);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.trade-account-page-content .page-heading .content .buttons .btn:first-of-type, 
.trade-account-page-content .page-heading .content .buttons .btn:hover {
    background: var(--blue);
    color: var(--white);
}

/* ===== BENEFITS SECTION ===== */
section.benefits {
    padding: 60px 0px;
}

.benefits h2 {
    text-align: center;
    font-size: 40px;
    font-family: 'Montserrat';
    color: var(--blue);
    text-transform: capitalize;
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 40px;
}

.benefits .main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.benefits-card {
    max-width: 590px;
    width: 100%;
    background: #f1f1f1;
    padding: 75px 40px;
    border-radius: 20px;
    transition: all ease 0.5s;
}

.benefits-card__inner {
    width: 80%;
    margin: 0 auto;
    text-align: center;
}

.benefits-card h3 {
    font-size: 24px;
    line-height: 1.2;
    font-family: 'Montserrat';
    margin-bottom: 10px;
}

.benefits-card p {
    font-size: 18px;
    font-family: 'Montserrat';
    font-weight: 400;
}

.benefits-card:hover h3 {
    color: #FBC32C;
}

.benefits-card:hover p {
    color: var(--white);
}

.benefits-card:hover {
    background: var(--blue);
}

/* ===== STEPS SECTION ===== */
section.steps {
    padding: 60px 0px;
    margin-bottom: 60px;
    text-align: center;
    background: var(--blue);
}

.steps__heading {
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.steps__heading p:first-of-type {
    font-size: 24px;
    color: var(--white);
    text-transform: uppercase;
    font-family: 'Montserrat';
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 16px;
}

.steps__heading h2 {
    font-size: 40px;
    text-transform: uppercase;
    color: var(--white);
    font-weight: 600;
    font-family: 'Montserrat';
    line-height: 1.2;
    margin-bottom: 18px;
}

.steps__heading h2 strong {
    font-weight: inherit;
    color: var(--yellow);
}

.steps__heading p {
    font-size: 22px;
    font-weight: 400;
    color: var(--white);
    font-family: 'Montserrat';
}

.steps__main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    flex-wrap: wrap;
}

.steps-card {
    max-width: 216px;
    width: 100%;
    background: var(--white);
    padding: 50px 20px 20px;
    border-radius: 20px;
    border: 1px solid var(--white);
    min-height: 216px;
    position: relative;
    margin: 15px 0;
}

.steps-card__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.steps-card__inner span {
    position: absolute;
    background: var(--yellow);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    top: -25px;
    font-size: 20px;
    color: var(--black);
    border: 1px solid var(--white);
}

.steps-card__inner .svg {
    margin-bottom: 10px;
}

.steps-card__inner .svg img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.steps-card__inner h3 {
    line-height: 1.2;
    margin-top: 10px;
    font-size: 19px;
    font-family: 'Montserrat';
    font-weight: 600;
}

.steps__main::after {
    content: '';
    position: absolute;
    width: 70%;
    height: 3px;
    background: var(--yellow);
    left: 15%;
    z-index: -1;
    top: 50%;
    transform: translateY(-50%);
}

.steps-card:last-of-type {
    background: var(--blue);
    border: 1px solid var(--yellow);
}

.steps-card:last-of-type h3 {
    color: var(--yellow);
}

a.steps__link {
    color: var(--yellow);
    font-size: 20px;
    font-weight: 600;
    font-family: 'Montserrat';
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    padding: 10px 20px;
}

a.steps__link:hover {
    color: var(--white);
}

/* ===== FAQS SECTION ===== */
.faqs {
    padding: 60px 0;
    background: var(--yellow);
}

.faqs .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.faqs h2 {
    font-size: 40px;
    margin-bottom: 40px;
    text-align: center;
    color: var(--blue);
    line-height: 1.2;
    text-transform: uppercase;
    font-family: 'Montserrat';
    font-weight: 600;
}

.faqs__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: background 0.4s ease;
}

.faq-item[open] {
    background: var(--blue);
}

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--blue);
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: color 0.4s ease;
}

.faq-item__question::-webkit-details-marker {
    display: none;
}

.faq-item[open] .faq-item__question {
    color: var(--yellow);
}

.faq-item__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, background 0.4s ease;
    transform: rotate(270deg);
}

.faq-item__icon svg {
    width: 12px;
    height: 8px;
    color: var(--blue);
    transition: inherit;
}

.faq-item[open] .faq-item__icon {
    transform: rotate(360deg);
    background: var(--yellow);
}

.faq-item[open] .faq-item__icon svg {
    color: var(--blue);
}

.faq-item__answer {
    padding: 0 24px 24px;
    font-size: 1rem;
    line-height: 1.6;
    color: #fff;
    animation: fadeSlide 0.4s ease-in-out;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Desktop (1025px - 1366px) */
@media screen and (max-width: 1366px) {
    .trade-account-page-content .page-heading .content h1 {
        font-size: 46px;
    }
    
    .benefits-card {
        padding: 60px 30px;
    }
}

/* Tablet Landscape (768px - 1024px) */
@media screen and (max-width: 1024px) {
    .trade-account-page-content .page-heading .content {
        max-width: 80%;
    }
    
    .trade-account-page-content .page-heading .content h1 {
        font-size: 42px;
    }
    
    .trade-account-page-content .page-heading .content p {
        font-size: 18px;
    }
    
    .benefits h2 {
        font-size: 36px;
    }
    
    .benefits .main {
        gap: 25px;
        padding: 0 15px;
    }
    
    .benefits-card {
        padding: 50px 25px;
    }
    
    .benefits-card h3 {
        font-size: 22px;
    }
    
    .benefits-card p {
        font-size: 16px;
    }
    
    .steps__heading h2 {
        font-size: 36px;
    }
    
    .steps__heading p:first-of-type {
        font-size: 22px;
    }
    
    .steps__heading p {
        font-size: 20px;
    }
    
    .steps__main {
        gap: 15px;
    }
    
    .faqs h2 {
        font-size: 36px;
    }
}

/* Tablet Portrait (768px and below) */
@media screen and (max-width: 768px) {
    .trade-account-page-content .page-heading .main {
        max-width: 95%;
        padding: 50px 20px;
    }
    
    .trade-account-page-content .page-heading .content {
        max-width: 100%;
    }
    
    .trade-account-page-content .page-heading .content h1 {
        font-size: 36px;
    }
    
    .trade-account-page-content .page-heading .content p {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .trade-account-page-content .page-heading .content .buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .trade-account-page-content .page-heading .content .buttons .btn {
        max-width: 100%;
    }
    
    .benefits h2 {
        font-size: 32px;
    }
    
    .benefits .main {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .benefits-card {
        max-width: 100%;
        padding: 40px 25px;
    }
    
    .benefits-card__inner {
        width: 100%;
    }
    
    .steps__heading h2 {
        font-size: 32px;
    }
    
    .steps__heading p:first-of-type {
        font-size: 20px;
    }
    
    .steps__heading p {
        font-size: 18px;
    }
    
    .steps__main {
        flex-direction: column;
        gap: 30px;
    }
    
    .steps__main::after {
        width: 3px;
        height: 70%;
        left: 50%;
        top: 15%;
        transform: translateX(-50%);
    }
    
    .steps-card {
        max-width: 280px;
    }
    
    .faqs h2 {
        font-size: 32px;
    }
    
    .faq-item__question {
        padding: 16px 20px;
        font-size: 1rem;
    }
}

/* Mobile (480px and below) */
@media screen and (max-width: 480px) {
    .trade-account-page-content section.page-heading {
        padding: 40px 0px;
    }
    
    .trade-account-page-content .page-heading .main {
        padding: 40px 15px;
    }
    
    .trade-account-page-content .page-heading .content h1 {
        font-size: 28px;
    }
    
    .trade-account-page-content .page-heading .content p {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .trade-account-page-content .page-heading .content .buttons .btn {
        font-size: 14px;
        padding: 12px;
    }
    
    .benefits {
        padding: 40px 0px;
    }
    
    .benefits h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .benefits .main {
        padding: 0 10px;
    }
    
    .benefits-card {
        padding: 30px 20px;
    }
    
    .benefits-card h3 {
        font-size: 20px;
    }
    
    .benefits-card p {
        font-size: 15px;
    }
    
    .steps {
        padding: 40px 0px;
        margin-bottom: 40px;
    }
    
    .steps__heading {
        margin-bottom: 40px;
    }
    
    .steps__heading h2 {
        font-size: 26px;
    }
    
    .steps__heading p:first-of-type {
        font-size: 18px;
    }
    
    .steps__heading p {
        font-size: 16px;
    }
    
    .steps-card {
        max-width: 240px;
        padding: 45px 15px 15px;
    }
    
    .steps-card__inner h3 {
        font-size: 16px;
    }
    
    a.steps__link {
        font-size: 18px;
    }
    
    .faqs {
        padding: 40px 0;
    }
    
    .faqs h2 {
        font-size: 26px;
        margin-bottom: 30px;
    }
    
    .faq-item__question {
        padding: 14px 16px;
        font-size: 15px;
    }
    
    .faq-item__icon {
        width: 28px;
        height: 28px;
    }
    
    .faq-item__answer {
        padding: 0 16px 16px;
        font-size: 14px;
    }
}

/* Small Mobile (360px and below) */
@media screen and (max-width: 360px) {
    .trade-account-page-content .page-heading .content h1 {
        font-size: 24px;
    }
    
    .benefits h2 {
        font-size: 24px;
    }
    
    .benefits-card h3 {
        font-size: 18px;
    }
    
    .benefits-card p {
        font-size: 14px;
    }
    
    .steps__heading h2 {
        font-size: 22px;
    }
    
    .steps-card {
        max-width: 200px;
    }
    
    .faqs h2 {
        font-size: 22px;
    }
}