@import url(global.css);
@import url(nuicron.css);

body {
    background-color: var(--background);
}

#sec1-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 250px 5% 60px 5%;
    width: 90%;
}

#sec2-content {
    margin: 20px 0;
    display: flex;
    flex-direction: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 0 100px 0;
    height: fit-content;
    flex-wrap: wrap;
}

#sec3-content {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0px 0 100px 0;
}

#sec4-content {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0px 0 100px 0;
}

#sec5-content {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0px 0 100px 0;
}

#hero-title {
    font-family: 'Assistant', sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 64px;
    text-align: center;
    margin: 0;
    padding: 0;
    display: inline-block;
    background-image: linear-gradient(to right, var(--accent), var(--gradient));
    background-size: 100% 100%;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

#sub-switcher {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 14px;
    margin: 40px 0;
}

.billing-option {
    background-color: var(--button);
    width: 160px;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, scale 0.3s ease-in-out;
    border: none;
    color: inherit;
    color: var(--text);
}

.billing-option:hover {
    background-color: var(--hover);
    scale: 1.02;
}

.billing-option.active {
    background-color: var(--accent);
    color: var(--background);
}

.billing-option.active:hover {
    background-color: var(--accent);
    scale: 1.02;
}

.billing-option:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.sub-item {
    width: 338px;
    height: 615px;
    border-radius: 10px;
    border: 2px solid var(--hover);
    background-color: var(--button);
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.sub-item-badge {
    position: absolute;
    right: 12px;
    top: 12px;
    background: var(--accent);
    color: var(--text);
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    letter-spacing: 0.2px;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-family: "Assistant", sans-serif;
    font-weight: 500;
}

.sub-item-badge.visible {
    opacity: 1;
    transform: translateY(0);
}

#sub-1 {
    margin: 30px 9px 13px 9px;
}

#sub-2 {
    margin: 0 9px 13px 9px;
    border: 2px solid var(--accent);
}

#sub-3 {
    margin: 30px 9px 13px 9px;
}

.sub-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.sub-item-price {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0 10px 0;

}

.sub-item-price h1 {
    padding: 0;
    margin: 0;
}

.sub-item-price h3 {
    padding: 10px 0 0 0;
    margin: 0;
    opacity: 0.5;
}

.sub-item h2 {
    font-family: 'Assistant', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 26px;
    text-align: center;
    margin: -10px 0 0 0;
    padding: 0;
    display: inline-block;
    background-image: linear-gradient(to right, var(--accent), var(--gradient));
    background-size: 100% 100%;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.sub-item-trial {
    background-color: var(--hover);
    width: 100%;
    height: auto;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 25px 0;
}

.sub-item-benefits {
    width: 100%;
    height: fit-content;
}

.sub-benefit {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 12px;
    width: 90%;
    margin: 14px 5% 14px 5%;
}

.subscribe-button {
    position: absolute;
    left: 50%;
    bottom: 70px;
    transform: translateX(-50%);
    transition: filter 0.6s ease-in-out;
}

.subscribe-button:hover {
    cursor: pointer;
}

.subscribe-button:hover > p {
    background-color: var(--hover);
    border: 2px solid var(--accent);
}


.subscribe-button p {
    background-color: var(--accent);
    border: 2px solid transparent;
    width: 290px;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.3s ease-in-out, border 0.3s ease-in-out;
}

.details-button {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);

}

.details-button:hover {
    cursor: pointer;
}

.details-button p {
    background-color: var(--hover);
    width: 278px;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
}

#sub-included {
    width: 50%;
}

.sub-included-item {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 12px;
    width: 90%;
    margin: 14px 5% 14px 5%;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.sub-included-item.visible {
    opacity: 1;
    transform: translateY(0);
}

#side-by-side {
    display: flex;
    width: 70%;
    margin-top: 20px;
    max-width: 1000px;
}

#sub-image {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: right;
}

#plan-table-div {
    width: 90%;
    display: flex;
    justify-content: center;
    overflow-x: auto;
}

#plan-table {
    border-collapse: separate;
    border-spacing: 0;
    border: 2px solid var(--hover);
    border-radius: 12px;
    overflow: hidden;
    width: 1074px;
    margin-top: 50px;
    min-width: 500px;
}

#plan-table td {
    padding: 10px;
    text-align: center;
    border-right: 2px solid var(--hover);
    border-bottom: 2px solid var(--hover);
}

#plan-table tr:last-child td {
    border-bottom: none;
}

#plan-table td:last-child {
    border-right: none;
}

.plan-table-benefit,
.plan-table-benefit p {
    text-align: left;
    margin-left: 30px;
}

#table-titles td p {
    font-weight: 700;
}

#advantages-containers {
    width: 100%;
    display: grid;
    justify-content: center;
}

.advantage-div {
    width: 90%;
    max-width: 500px;
    text-align: center;
}

.advantage-div-layout {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

#epic {
    font-family: 'Assistant', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 26px;
    text-align: center;
    display: inline-block;
    background-image: linear-gradient(to right, var(--accent), var(--gradient));
    background-size: 100% 100%;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}


@media (max-width: 1000px) {
    #sub-1 {
        margin: 13px 9px 13px 9px;
    }

    #sub-2 {
        margin: 13px 9px 13px 9px;
        border: 2px solid var(--accent);
    }

    #sub-3 {
        margin: 13px 9px 13px 9px;
    }

    #side-by-side {
        display: flex;
        width: 90%;
        margin-top: 20px;
        max-width: 1000px;
    }
}

@media (max-width: 650px) {
    #hero-title {
        font-size: 50px;
    }
    .sub-item {
        width: 90%;
        height: calc(fit-content + 100px);
        border-radius: 10px;
        border: 2px solid var(--hover);
        background-color: var(--button);
        position: relative;
        opacity: 0;
        transform: translateY(50px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
        margin: 13px 9px;
    }
    #sec2-content {
        margin: 20px 0;
        display: flex;
        flex-direction: flex;
        align-items: center;
        justify-content: center;
        padding: 0px 0 100px 0;
        height: fit-content;
        flex-wrap: wrap;
    }

    .sub-item-benefits {
        width: 80%;
        margin-left: 10%;
        height: fit-content;
    }

    .subscribe-button {
        position: absolute;
        bottom: 70px;
        width: 90%;
        transform: translateX(-50%);
        transition: filter 0.6s ease-in-out;
    }

    .subscribe-button p {
        background-color: var(--accent);
        border: 2px solid transparent;
        text-align: center;
        padding: 10px;
        width: unset;
        border-radius: 8px;
        transition: background-color 0.3s ease-in-out, border 0.3s ease-in-out;
    }

    .details-button {
        position: absolute;
        width: 80%;
        bottom: 20px;
        transform: translateX(-50%);

    }

    .details-button p {
        background-color: var(--hover);
        width: unset;
        text-align: center;
        padding: 10px;
        border-radius: 8px;
    }

    .sub-item-price h3 {
        padding: 4px 0 0 0;
        margin: 0;
        opacity: 0.5;
    }

    #sub-1 {
        margin: 13px 9px 13px 9px;
        height: 530px;
    }

    #sub-2 {
        margin: 13px 9px 13px 9px;
        border: 2px solid var(--accent);
        height: 600px;
    }

    #sub-3 {
        margin: 13px 9px 13px 9px;
        height: 630px;
    }
    
    #sub-image {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        order: -1;
    }

    #side-by-side {
        display: flex;
        flex-wrap: wrap;
        width: 90%;
        margin-top: 20px;
    }

    #sub-included {
        width: 100%;
        display: grid;
        justify-content: center;
    }

    .sub-included-item {
        display: flex;
        justify-content: left;
        align-items: center;
        gap: 12px;
        width: 90%;
        margin: 8px 5%;
        opacity: 0;
        transform: translateY(50px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }

    #plan-table-div {
        width: 100%;
        display: flex;
        justify-content: left;
        overflow-x: auto;
    }

    #plan-table {
        border-collapse: separate;
        border-spacing: 0;
        border: 2px solid var(--hover);
        border-radius: 12px;
        overflow: hidden;
        width: 1074px;
        margin: 50px 20px 50px 20px;
        min-width: 500px;
    }

    .plan-table-benefit,
    .plan-table-benefit p {
        text-align: left;
        margin-left: 0;
    }
}
