/*
    1. Positioning
    2. Box Model
    3. Typography
    4. Visual effects
    5. Other
*/

:root {
    /*Colors*/
    --linear-bg: linear-gradient(207.8deg, #201E1C 16.69%, #F7931A 100%);
    --bitcoin-orange: #F7931A;
    --soft-orange: #FFE9D5;
    --secondary-blue: #1A9AF7;
    --soft-blue: #E7F5FF;
    --warm-black: #201E1C;
    --warm-black-plus: #282623;
    --grey: #BABABA;
    --off-white: #F1F8F7;
    --white: #FFFFFF;
    --content-max-width: 96rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    font-family: 'DM Sans', sans-serif;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--white);
}

.site-header {
    width: 100%;
    padding: 1.6rem 2rem;
    background-color: var(--white);
    border-bottom: 1px solid rgba(32, 30, 28, 0.08);
}

.site-header__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    max-width: var(--content-max-width);
    margin: 0 auto;
}

.site-header__heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.site-header__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
}

.site-header__brand:focus-visible,
.site-header__brand:hover {
    text-decoration: none;
}

.site-header__title {
    font-weight: 700;
    line-height: 1.1;
    font-size: 1.9rem;
    color: var(--warm-black);
}

.site-header__subtitle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.2;
    color: var(--secondary-blue);
}

.site-header__brand:focus-visible .site-header__title,
.site-header__brand:hover .site-header__title {
    color: var(--bitcoin-orange);
}

.site-header__brand:focus-visible .site-header__subtitle,
.site-header__brand:hover .site-header__subtitle {
    color: var(--secondary-blue);
}

.site-header__logo {
    width: 2.4rem;
    height: 2.4rem;
}

.site-nav {
    width: 100%;
}

.site-nav__list {
    display: flex;
    justify-content: center;
    gap: 1.6rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav__link {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
    color: var(--warm-black);
    text-decoration: none;
}

.site-nav__link:focus-visible,
.site-nav__link:hover {
    color: var(--bitcoin-orange);
}

.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-width: 32rem;
    height: 33.4rem;
    text-align: center;
    background: var(--linear-bg);
}

.hero__wordmark {
    width: 15rem;
    height: 2.4rem;
    align-self: center;
}

.header--title-container {
    width: 90%;
    min-width: 28.8rem;
    max-width: 90rem;
    height: 21.8rem;
    margin-top: 5rem;
    align-self: center;
}

.header--title-container h1 {
    font-size: 2.4rem;
    font-weight: bold;
    line-height: 2.6rem;
    color: var(--white);
}

.header--title-container p {
    margin-top: 2.5rem;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.8rem;
    color: var(--soft-orange);
}

.header--title-container .header--button {
    position: absolute;
    left: calc(50% - 11.8rem);
    /*top: calc(100% - 5.5rem);*/
    top: 27rem;
    display: block;
    margin-top: 3.5rem;

    padding: 1.5rem;
    width: 22.9rem;
    height: 4.8rem;
    background-color: var(--off-white);

    font-size: 1.4rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--warm-black);

    box-shadow: 0 4px 8px rgba(89, 73, 30, 0.16);
    border: none;
    border-radius: 5px;
}

/*.header--title-container .header--button:hover{*/
/*    background-color: var(--soft-orange);*/
/*}*/

.header--button span {
    display: inline-block;
    width: 1.3rem;
    height: .8rem;
    margin-left: 1rem;
    background-image: url("../Assets/icons/down-arrow.svg");
}

main {
    flex: 1 0 auto;
    width: 100%;
    height: auto;
    background-color: var(--off-white);
}

.main-exchange-container {
    display: flex;
    flex-direction: column; /*Preferi usar flexbox para esta parte*/
    /*justify-content: center;*/
    /*align-items: center;*/
    width: 100%;
    height: auto;
    padding-top: 8rem;
    /*padding-bottom: 3rem;*/
    text-align: center;
}

.main-exchange-container--title {
    width: 90%;
    min-width: 28.8rem;
    max-width: 90rem;
    align-self: center;
    /*margin: 0 auto;*/
    color: var(--warm-black);
}

.main-exchange-container .backgroundImg {
    width: 20rem;
    height: 20rem;
    align-self: center;
    margin-bottom: 5rem;
    background-image: url("../Assets/img/bitcoin.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.main-exchange-container--title h2 {
    margin-bottom: 3rem;
    font-size: 2.4rem;
    font-weight: bold;
    line-height: 2.6rem;
    color: var(--warm-black);
}

.main-exchange-container--title p {
    margin-bottom: 3rem;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.6rem;
    color: #757575;
}
.main-table--slider{
    display: flex;
    gap: .5rem;
    overflow-x: scroll;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
}
.main-currency-table, .main-comission-table {
    scroll-snap-align: center;
    width: 70%;
    min-width: 23.5rem;
    max-width: 50rem;
    height: 36rem;
    margin: 0 .5rem auto;
    font-family: "Inter", sans-serif;
}

.main-currency-table .currency-table--title {
    margin-bottom: 1.5rem;
    margin-left: 2rem;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 2.3rem;
    color: var(--bitcoin-orange);
}

.currency-table--container, .comission-table--container {
    width: 90%;
    min-width: 23rem;
    max-width: 30rem;
    height: 20rem;
    margin: 0 auto;
}

.currency-table--container table, .comission-table--container table {
    width: 100%;
    height: 100%;
}

.currency-table--container td, .comission-table--container td {
    width: 50%;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.9rem;
    color: var(--grey);
    background-color: white;
}

.table__top-left {
    border-radius: 1.5rem 0 0 0;
}

.table__top-right {
    border-radius: 0 1.5rem 0 0;
}

.table__bottom-left {
    border-radius: 0 0 0 1.5rem;
}

.table__bottom-right {
    border-radius: 0 0 1.5rem 0;
}

.currency-table--container .table__right, .comission-table--container .table__right {
    font-size: 1.4rem;
    font-weight: normal;
    line-height: 1.7rem;
    color: #757575;
}

.currency-table--container .down {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    margin-left: 1rem;
    background-image: url("../Assets/icons/trending-down.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.currency-table--container .up {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    margin-left: 1rem;
    align-self: center;
    background-image: url("../Assets/icons/trending-up.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.main-comission-table .comission-table--title {
    margin-bottom: 1.5rem;
    margin-left: 2rem;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 2.3rem;
    color: var(--secondary-blue);
}

.table--date {
    display: flex;
    align-items: center;
    text-align: center;
    width: 80%;
    max-width: 25rem;
    height: 3.5rem;
    margin: 1.5rem auto;
    border-radius: .5rem;
}

.currency-color {
    background-color: var(--soft-orange);
}

.comission-color {
    background-color: var(--soft-blue);
}

.table--date p {
    width: 100%;
    font-size: 1.2rem;
    line-height: 1.4rem;
    color: var(--warm-black);
}

.main-product-detail {
    position: relative;
    width: 100%;
    min-width: 32rem;
    height: auto;
    padding: 4rem 1.6rem 6rem;
    background-color: var(--warm-black);
}

.product-detail--logo {
    position: absolute;
    top: -1.2rem;
    left: calc(50% - 2rem);
    width: 4rem;
    height: 2.5rem;
    background: url("../Assets/icons/batata.svg");
}

.product-detail--title {
    width: 100%;
    min-width: 28.8rem;
    height: auto;
    margin: 5rem auto 0;
    text-align: center;
}

.product-detail--title h2 {
    margin-bottom: 2rem;
    font-size: 2.4rem;
    font-weight: bold;
    line-height: 2.6rem;
    color: var(--white);
}

.product-detail--title p {
    margin-bottom: 2rem;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.8rem;
    color: #808080;
}


.product-cards--container {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
    width: 90%;
    max-width: var(--content-max-width);
    margin: 0 auto;
}

.product-detail--card {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 18rem;
    padding: 2.8rem 2.6rem;
    background: linear-gradient(140deg, rgba(40, 38, 35, 0.92), rgba(24, 22, 20, 0.88));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.6rem;
    box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.32);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-detail--card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--card-accent, rgba(247, 147, 26, 0.6)) 0%, transparent 70%);
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
}

.product-detail--card > * {
    position: relative;
    z-index: 1;
}

.product-detail--card:hover {
    transform: translateY(-6px);
    box-shadow: 0 1.8rem 4rem rgba(0, 0, 0, 0.36);
}

.product-detail--card .icon-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.6rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 60%;
}

.clock {
    background-image: url("../Assets/icons/clock.svg");
}

.eye {
    background-image: url("../Assets/icons/eye.svg");
}

.dollar {
    background-image: url("../Assets/icons/dollar-sign.svg");
}

.check {
    background-image: url("../Assets/icons/check-circle.svg");
}

.product--card-title {
    margin-bottom: 1.2rem;
    font-size: 1.9rem;
    font-weight: bold;
    line-height: 2.4rem;
    color: var(--white);
}

.product--card-body {
    font-size: 1.45rem;
    font-weight: 500;
    line-height: 2.2rem;
    color: rgba(255, 255, 255, 0.72);
}

.product-detail--card:nth-child(1) {
    --card-accent: rgba(247, 147, 26, 0.8);
}

.product-detail--card:nth-child(2) {
    --card-accent: rgba(26, 154, 247, 0.75);
}

.product-detail--card:nth-child(3) {
    --card-accent: rgba(255, 233, 213, 0.6);
}

.product-detail--card:nth-child(4) {
    --card-accent: rgba(129, 255, 138, 0.6);
}

.about {
    width: 100%;
    padding: 8rem 2.4rem;
    background-color: var(--off-white);
}

.about__content {
    width: 100%;
    max-width: var(--content-max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3.6rem;
    text-align: center;
    color: var(--warm-black);
}

.about__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.8rem;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    border-radius: 999px;
    background-color: rgba(26, 154, 247, 0.15);
    color: var(--secondary-blue);
}

.about__title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
}

.about__lead {
    max-width: 68ch;
    font-size: 1.6rem;
    line-height: 2.4rem;
    color: #5b5b5b;
}

.about__list {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.about__list li {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 2.4rem;
    background-color: var(--white);
    border: 1px solid rgba(32, 30, 28, 0.08);
    border-radius: 1.2rem;
    box-shadow: 0 1.2rem 2.4rem rgba(32, 30, 28, 0.08);
    text-align: left;
}

.about__list h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--warm-black);
}

.about__list p {
    font-size: 1.4rem;
    line-height: 2.2rem;
    color: #666666;
}

.about__cta {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    padding: 3.2rem 2.4rem;
    background-color: var(--warm-black);
    border-radius: 1.6rem;
    box-shadow: 0 1.2rem 2.4rem rgba(32, 30, 28, 0.24);
    text-align: center;
    color: var(--white);
}

.about__cta-copy {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.about__cta h2 {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--white);
}

.about__cta p {
    font-size: 1.5rem;
    line-height: 2.4rem;
    color: rgba(255, 255, 255, 0.76);
}

.about__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.4rem 3rem;
    background-color: var(--bitcoin-orange);
    color: var(--warm-black);
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 999px;
    box-shadow: 0 0.8rem 1.6rem rgba(247, 147, 26, 0.32);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 1.2rem 2.2rem rgba(247, 147, 26, 0.38);
}

.about__button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 1.2rem 2.2rem rgba(247, 147, 26, 0.38);
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

.main-bitcoin-img--container {
    width: 100%;
    min-width: 32rem;
    height: 50vh;
    text-align: center;
    background-image: url("../Assets/img/bitcoinbaby2x.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.main-bitcoin-img--container h2 {
    padding-top: 5rem;
    font-size: 2.4rem;
    font-weight: bold;
    line-height: 2.6rem;
    color: var(--white);
}

.main-plans-container {
    width: 100%;
    min-width: 32rem;
    padding: 6.5rem 0;
    text-align: center;
}

.plans--title {
    width: 90%;
    min-width: 28.8rem;
    height: auto;
    margin: 0 auto;
}

.plans--title h2 {
    margin-bottom: 3rem;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 2.6rem;
    color: var(--warm-black);
}

.plans--title p {
    margin-bottom: 3rem;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.8rem;
    color: #757575;

}


.plans-card--container--slider {
    display: flex;
    gap: 1.6rem;
    padding: 2rem 0 3.2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 2rem;
    overscroll-behavior-x: contain;
}

.plans-detail--card {
    position: relative;
    flex: 0 0 25rem;
    max-width: 25rem;
    min-height: 30rem;
    padding: 3.2rem 2.4rem 2.4rem;
    border-radius: 1.6rem;
    background-color: var(--white);
    border: 1px solid rgba(32, 30, 28, 0.08);
    box-shadow: 0 1rem 2.4rem rgba(32, 30, 28, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    scroll-snap-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.plans-detail--card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1.4rem 2.8rem rgba(32, 30, 28, 0.16);
}

.card--spec {
    position: absolute;
    top: -1.6rem;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 999px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.18rem;
    text-transform: uppercase;
    box-shadow: 0 1.2rem 2.4rem rgba(32, 30, 28, 0.12);
}

.recomend--color {
    background: var(--bitcoin-orange);
    color: var(--warm-black);
}

.basic--color {
    background: var(--secondary-blue);
    color: var(--white);
}

.vip--color {
    background: var(--linear-bg);
    color: var(--white);
}

.plan-info--container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    height: 100%;
    flex: 1 1 auto;
}

.plan-card--title {
    padding-top: 0.4rem;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 2.2rem;
    color: var(--warm-black);
}

.plan-card--price {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.4rem;
    font-size: 4.4rem;
    font-weight: 700;
    color: var(--warm-black);
}

.plan-card--price span {
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1;
}

.plan-card--saving,
.plan-card--vip-saving {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.8rem;
    color: #6c6c6c;
    text-align: center;
}

.plan-card--ca {
    width: 100%;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.3rem 0;
    border: none;
    border-radius: 999px;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    background: var(--warm-black);
    color: var(--white);
    box-shadow: 0 0.6rem 1.6rem rgba(32, 30, 28, 0.16);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card--ca:hover,
.plan-card--ca:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 1rem 2.2rem rgba(32, 30, 28, 0.2);
    outline: none;
}

.plan-card--ca span {
    display: inline-block;
    width: 1.6rem;
    height: 1.6rem;
    background-image: url("../Assets/icons/orange-right-arrow.svg");
    background-repeat: no-repeat;
    background-size: contain;
}

.plan-card--ca.recomend--color {
    background: var(--bitcoin-orange);
    color: var(--warm-black);
    box-shadow: 0 0.8rem 2rem rgba(247, 147, 26, 0.3);
}

.plan-card--ca.basic--color {
    background: var(--secondary-blue);
    color: var(--white);
    box-shadow: 0 0.8rem 2rem rgba(26, 154, 247, 0.28);
}

.plan-card--ca.vip--color {
    background: var(--linear-bg);
    color: var(--white);
    box-shadow: 0 0.8rem 2rem rgba(32, 30, 28, 0.22);
}

footer {
    display: flex;
    width: 100%;
    height: 15rem;
    justify-content: space-around;;
    background: var(--bitcoin-orange);
}

footer section {
    display: flex;
    width: 50%;
    justify-content: center;
    align-items: center;
}

footer .left ul {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.8rem;
    list-style: none;
}

footer .left li{
    margin: 1rem 0;
}

footer .left a{
    text-decoration: none;
    color: var(--white);
}

footer .right img{
    width: 10rem;
    height: 10rem;
}

