/* invertox-account-types.css */

/* General styles for the section */
.account-types-section {
    padding: 50px 0 55px;
    color: #ffffff; /* White text */
    font-family: 'Inter', sans-serif;
    overflow: hidden; /* Prevent horizontal scroll on smaller screens */
}

.account-types-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* Title and description */
.account-types-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.2;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.account-types-description {
    font-family: 'Abel', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: #818fae;
    margin-bottom: 60px;
    max-width: 870px;
    margin-left: auto;
    margin-right: auto;
}

/* Account types table/grid */
.account-types-table {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
    margin-top: 40px;
}

.account-types-column-labels {
    display: flex;
    flex-direction: column;
    text-align: right;
    padding-right: 0px;
    font-family: 'Aileron', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 3.125em;
    color: #ffffff;
    position: sticky;
    left: 0;
    z-index: 1;
    height: -webkit-fill-available;
    margin-top: 163px;
    justify-content: flex-end;
}



.account-types-column-labels div {
    height: 50px; /* Match line height of content in cards */
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.account-type-card {
    background: linear-gradient(223deg, rgb(22 28 23) 10%, rgb(70 114 92) 100%);
    border: 2px solid #2d5241;
    border-radius: 20px;
    padding: 0px;
    margin-top: 50px;
    width: 18.7%;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    box-shadow: inset 0px 0px 12.5px 0px rgb(88 156 122 / 51%);
    backdrop-filter: blur(64px);
    transition: all 0.3s ease-in-out;
}

.account-type-card.raw {
    background: linear-gradient(133deg, rgb(25 27 29) 0%, rgb(71 86 100) 100%);
    border: 2px solid #2d5241;
}

.account-type-card.premium {
    background: linear-gradient(133deg, rgb(25 27 29) 0%, rgb(71 86 100) 100%);
    border: 2px solid #2d5241;
}

.account-type-card.personalizado {
    background: linear-gradient(133deg, rgb(25 27 29) 0%, rgb(71 86 100) 100%);
    border: 2px solid #2d5241;
    width: 15%;
}

.account-type-card:hover {
    border: 5px solid #5CDC9C;
    box-shadow: inset 0px 4px 23.299999237060547px 0px rgba(94, 225, 159, 0.51);
    transform: scale(1.2);
    z-index: 5;
}

.account-type-header {
    text-align: center;
    margin-bottom: 20px;
}

.account-type-header .type-label {
    text-align: left;
    font-family: 'Aileron', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 2;
    color: #ffffff;
    padding: 0px 20px;
    margin-bottom: 5px;
}

.account-type-header .type-name {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 1.6666666666666667em;
    color: #5DE09E;
    margin-bottom: 0px;
    padding: 20px 10px 5px;
}

.account-type-header.pro .type-name {
    font-family: 'New Peninim MT', sans-serif;
    color: #5de09e;
    font-size: 30px;
    line-height: 1.6666666666666667em;
}

.account-type-header.pro .type-name span {
    color: #ffffff;
}

.account-type-header.personalizado .type-name {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 2.5em;
    color: #5DE09E;
}

.account-type-details {
    font-family: 'Abel', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 3.125em; /* 50px */
    color: #ffffff;
    min-height: 400px; /* Ensure consistent height */
    padding: 0px 12px;
}

.account-type-details div {
    height: 50px; /* Match line height of labels */
    display: flex;
    align-items: center;
}

.account-type-details .personalizado-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.25em;
    color: #ffffff;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
}

.personalizado-div {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70% !important;
    border: 1px solid #4a8164;
    margin: 15px 5px;
}

.account-type-card button.btn-primary.animate-button {
    padding: 10px 19px;
    height: 55px;
}

.account-type-card .btn-secondary-2 {
    width: 100%;
    margin-top: 20px;
}

.account-type-card .btn-section.btn-section-1 {
    position: absolute;
    bottom: -83px;
}

.account-features-buttons {
    display: flex;
    justify-content: center;
    gap: 106px;
    flex-wrap: wrap;
}

@media (max-width: 1388px) and (min-width: 1024px) {
    .account-type-card {
        width: 17.7%;
    }

    .account-type-header.personalizado .type-name {
        font-family: 'Inter', sans-serif;
        font-weight: 700;
        font-size: 16px;
        line-height: 3.1em;
        color: #5DE09E;
        padding: 20px 9px 5px;
    }
}

@media (max-width: 1200px) and (min-width: 1024px) {
    .account-type-card {
        width: 19%;
    }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .account-types-table {
        flex-direction: column;
        align-items: center;
    }

    .account-types-column-labels {
        display: none; /* Hide labels on smaller screens if cards are self-contained */
    }

    .account-type-card {
        width: 90%;
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .account-types-title {
        font-size: 32px;
    }

    .account-types-description {
        font-size: 14px;
    }
}

@media (max-width: 679px) {
    .account-features-buttons {
        display: flex;
        justify-content: center;
        gap: 30px;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .account-types-title {
        font-size: 28px;
    }

    .account-features-content {
        margin-bottom: 100px;
    }
}