/* =========================================
   H-BOOST ULTRA
   BUY PAGE
========================================= */


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    min-height: 100vh;

    font-family: "Inter", sans-serif;

    background: #07090d;

    color: #f5f7fa;

    overflow-x: hidden;
}


button,
input {

    font-family: inherit;
}


/* =========================================
   FONDO
========================================= */

.page-background {

    position: fixed;

    inset: 0;

    z-index: -2;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(70, 110, 255, 0.12),
            transparent 35%
        ),
        radial-gradient(
            circle at 85% 75%,
            rgba(120, 70, 255, 0.08),
            transparent 35%
        ),
        #07090d;
}


.page-background::after {

    content: "";

    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.018) 1px,
            transparent 1px
        );

    background-size: 45px 45px;

    mask-image: linear-gradient(
        to bottom,
        black,
        transparent 80%
    );
}


/* =========================================
   CONTENEDOR
========================================= */

.buy-container {

    width: min(1180px, calc(100% - 40px));

    margin: auto;

    padding-bottom: 50px;
}


/* =========================================
   HEADER
========================================= */

.buy-header {

    height: 90px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-bottom: 1px solid rgba(255,255,255,0.07);
}


.back-button {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: #aeb5c2;

    text-decoration: none;

    font-size: 14px;

    transition: 0.25s;
}


.back-button:hover {

    color: white;

    transform: translateX(-3px);
}


.brand {

    display: flex;

    align-items: center;

    gap: 12px;
}


.brand-icon {

    width: 38px;

    height: 38px;

    display: grid;

    place-items: center;

    border-radius: 10px;

    background: #ffffff;

    color: #07090d;

    font-weight: 800;

    font-size: 18px;
}


.brand-text {

    display: flex;

    flex-direction: column;

    gap: 2px;
}


.brand-text strong {

    font-size: 14px;

    letter-spacing: 0.08em;
}


.brand-text span {

    color: #737b89;

    font-size: 11px;
}


/* =========================================
   PRODUCTO
========================================= */

.product-section {

    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 80px;

    align-items: center;

    padding: 85px 0 70px;
}


/* =========================================
   VISUAL PRODUCTO
========================================= */

.product-visual {

    min-height: 420px;

    position: relative;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    border: 1px solid rgba(255,255,255,0.07);

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.045),
            rgba(255,255,255,0.015)
        );

    overflow: hidden;
}


.visual-glow {

    position: absolute;

    width: 250px;

    height: 250px;

    border-radius: 50%;

    background: rgba(80, 110, 255, 0.15);

    filter: blur(70px);
}


.rocket-container {

    position: relative;

    width: 145px;

    height: 145px;

    display: grid;

    place-items: center;

    border-radius: 35px;

    border: 1px solid rgba(255,255,255,0.1);

    background: rgba(255,255,255,0.04);

    box-shadow:
        0 30px 80px rgba(0,0,0,0.45);
}


.rocket-container i {

    font-size: 58px;

    color: #ffffff;

    transform: rotate(-10deg);
}


.product-visual > span {

    margin-top: 28px;

    position: relative;

    color: #7d8695;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.2em;
}


/* =========================================
   INFO PRODUCTO
========================================= */

.product-label {

    display: inline-block;

    margin-bottom: 16px;

    color: #7f8cff;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.16em;
}


.product-info h1 {

    font-size: clamp(42px, 5vw, 68px);

    line-height: 1;

    letter-spacing: -0.05em;

    margin-bottom: 24px;
}


.product-description {

    max-width: 580px;

    color: #929aa8;

    font-size: 16px;

    line-height: 1.8;
}


/* =========================================
   FEATURES
========================================= */

.features {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 13px;

    margin-top: 30px;
}


.feature {

    display: flex;

    align-items: center;

    gap: 10px;

    color: #c8ced8;

    font-size: 13px;
}


.feature i {

    width: 20px;

    height: 20px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: rgba(255,255,255,0.08);

    color: #ffffff;

    font-size: 9px;
}


/* =========================================
   PRECIO
========================================= */

.price-box {

    display: flex;

    align-items: baseline;

    gap: 9px;

    margin-top: 38px;
}


.price-box span {

    color: #717988;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.15em;
}


.price-box strong {

    font-size: 38px;

    letter-spacing: -0.04em;
}


.price-box small {

    color: #7d8593;

    font-size: 13px;
}


/* =========================================
   COMPRA
========================================= */

.purchase-section {

    margin-bottom: 90px;
}


.purchase-card {

    max-width: 760px;

    margin: auto;

    padding: 38px;

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 22px;

    background: rgba(255,255,255,0.025);

    box-shadow:
        0 30px 80px rgba(0,0,0,0.2);
}


/* =========================================
   PURCHASE HEADER
========================================= */

.purchase-card-header {

    display: flex;

    align-items: center;

    gap: 16px;

    padding-bottom: 28px;

    margin-bottom: 30px;

    border-bottom: 1px solid rgba(255,255,255,0.07);
}


.purchase-icon {

    width: 48px;

    height: 48px;

    display: grid;

    place-items: center;

    border-radius: 14px;

    background: rgba(255,255,255,0.07);

    color: white;
}


.purchase-card-header span {

    display: block;

    margin-bottom: 5px;

    color: #7e8796;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.15em;
}


.purchase-card-header h2 {

    font-size: 22px;
}


/* =========================================
   FORM
========================================= */

.form-group {

    margin-bottom: 30px;
}


.form-group label {

    display: block;

    margin-bottom: 10px;

    color: #dce0e7;

    font-size: 13px;

    font-weight: 600;
}


.form-group label span {

    color: #7f8cff;
}


.input-container {

    position: relative;
}


.input-container i {

    position: absolute;

    left: 16px;

    top: 50%;

    transform: translateY(-50%);

    color: #6e7684;

    font-size: 14px;
}


.input-container input {

    width: 100%;

    height: 54px;

    padding: 0 18px 0 46px;

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 12px;

    outline: none;

    background: rgba(0,0,0,0.2);

    color: white;

    font-size: 14px;

    transition: 0.25s;
}


.input-container input:focus {

    border-color: rgba(130,145,255,0.7);

    box-shadow:
        0 0 0 3px rgba(100,120,255,0.08);
}


.input-container input::placeholder {

    color: #565e6b;
}


.form-group small {

    display: block;

    margin-top: 9px;

    color: #666e7b;

    font-size: 11px;

    line-height: 1.6;
}


/* =========================================
   PAGOS
========================================= */

.payment-heading {

    margin-bottom: 15px;
}


.payment-heading > span {

    color: #7e8795;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.15em;
}


.payment-heading h3 {

    margin-top: 5px;

    font-size: 14px;

    font-weight: 600;
}


.payment-button {

    width: 100%;

    min-height: 72px;

    display: flex;

    align-items: center;

    gap: 15px;

    margin-top: 12px;

    padding: 12px 16px;

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 14px;

    background: rgba(255,255,255,0.025);

    color: white;

    cursor: pointer;

    text-align: left;

    transition:
        transform 0.25s,
        border-color 0.25s,
        background 0.25s;
}


.payment-button:hover {

    transform: translateY(-2px);

    border-color: rgba(255,255,255,0.2);

    background: rgba(255,255,255,0.05);
}


.payment-button:disabled {

    opacity: 0.5;

    cursor: not-allowed;

    transform: none;
}


.payment-logo {

    width: 44px;

    height: 44px;

    display: grid;

    place-items: center;

    flex-shrink: 0;

    border-radius: 11px;

    background: rgba(255,255,255,0.07);

    font-size: 20px;
}


.payment-content {

    display: flex;

    flex-direction: column;

    gap: 4px;

    flex: 1;
}


.payment-content strong {

    font-size: 14px;
}


.payment-content span {

    color: #737b89;

    font-size: 11px;
}


.payment-button > i {

    color: #666e7c;

    font-size: 12px;
}


/* =========================================
   SEGURIDAD
========================================= */

.security-box {

    display: flex;

    align-items: flex-start;

    gap: 12px;

    margin-top: 25px;

    padding: 15px;

    border: 1px solid rgba(255,255,255,0.05);

    border-radius: 12px;

    background: rgba(255,255,255,0.018);
}


.security-box > i {

    margin-top: 2px;

    color: #7f8cff;

    font-size: 14px;
}


.security-box div {

    display: flex;

    flex-direction: column;

    gap: 4px;
}


.security-box strong {

    font-size: 11px;
}


.security-box span {

    color: #676f7d;

    font-size: 10px;

    line-height: 1.6;
}


/* =========================================
   MENSAJE
========================================= */

.purchase-message {

    display: flex;

    align-items: center;

    gap: 13px;

    margin-top: 20px;

    padding: 16px;

    border-radius: 12px;

    background: rgba(255,255,255,0.04);
}


.purchase-message[hidden] {

    display: none;
}


.message-icon {

    width: 36px;

    height: 36px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: rgba(255,255,255,0.08);
}


.purchase-message strong {

    font-size: 12px;
}


.purchase-message p {

    margin-top: 3px;

    color: #7a8290;

    font-size: 11px;
}


/* =========================================
   PROCESO
========================================= */

.section-heading {

    margin-bottom: 30px;

    text-align: center;
}


.section-heading > span {

    color: #7f8cff;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.18em;
}


.section-heading h2 {

    margin-top: 8px;

    font-size: 28px;

    letter-spacing: -0.03em;
}


.process-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 14px;
}


.process-card {

    position: relative;

    padding: 26px;

    min-height: 230px;

    border: 1px solid rgba(255,255,255,0.06);

    border-radius: 16px;

    background: rgba(255,255,255,0.02);
}


.number {

    position: absolute;

    top: 20px;

    right: 20px;

    color: #3f4652;

    font-size: 11px;

    font-weight: 700;
}


.process-card > i {

    margin-top: 35px;

    margin-bottom: 20px;

    color: #bfc5cf;

    font-size: 20px;
}


.process-card h3 {

    margin-bottom: 9px;

    font-size: 14px;
}


.process-card p {

    color: #707885;

    font-size: 11px;

    line-height: 1.7;
}


/* =========================================
   FOOTER
========================================= */

.buy-footer {

    display: flex;

    justify-content: space-between;

    margin-top: 90px;

    padding-top: 25px;

    border-top: 1px solid rgba(255,255,255,0.06);

    color: #535b68;

    font-size: 10px;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .product-section {

        grid-template-columns: 1fr;

        gap: 40px;

        padding-top: 50px;
    }


    .product-visual {

        min-height: 340px;
    }


    .process-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .buy-container {

        width: min(
            100% - 24px,
            1180px
        );
    }


    .buy-header {

        height: 75px;
    }


    .brand-text {

        display: none;
    }


    .product-section {

        padding: 35px 0 50px;
    }


    .product-info h1 {

        font-size: 44px;
    }


    .features {

        grid-template-columns: 1fr;
    }


    .purchase-card {

        padding: 22px 17px;
    }


    .process-grid {

        grid-template-columns: 1fr;
    }


    .buy-footer {

        flex-direction: column;

        gap: 8px;
    }

}
/* =========================================
   H-BOOST SUCCESS OVERLAY
========================================= */

.hboost-success-overlay {

    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.72);

    backdrop-filter: blur(8px);

    -webkit-backdrop-filter: blur(8px);

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;

}


/* =========================================
   MOSTRAR OVERLAY
========================================= */

.hboost-success-overlay.show {

    opacity: 1;

    visibility: visible;

}


/* =========================================
   BOX PRINCIPAL
========================================= */

.hboost-success-box {

    position: relative;

    width: 100%;

    max-width: 440px;

    padding: 38px 32px;

    text-align: center;

    border-radius: 22px;

    background:
        rgba(18, 20, 27, 0.94);

    border:
        1px solid rgba(255, 255, 255, 0.10);

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.55);

    transform:
        translateY(20px)
        scale(0.96);

    transition:
        transform 0.35s ease;

}


/* =========================================
   ANIMACIÓN BOX
========================================= */

.hboost-success-overlay.show
.hboost-success-box {

    transform:
        translateY(0)
        scale(1);

}


/* =========================================
   ICONO DE ÉXITO
========================================= */

.hboost-success-icon {

    width: 70px;

    height: 70px;

    margin:
        0 auto 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        rgba(34, 197, 94, 0.15);

    border:
        1px solid rgba(34, 197, 94, 0.35);

    box-shadow:
        0 0 30px rgba(34, 197, 94, 0.12);

}


/* =========================================
   CHECK
========================================= */

.hboost-success-icon i {

    font-size: 30px;

    color: #22c55e;

}


/* =========================================
   TITULO
========================================= */

.hboost-success-box h2 {

    margin:
        0 0 10px;

    font-size: 27px;

    font-weight: 800;

    line-height: 1.2;

    color: #ffffff;

}


/* =========================================
   DESCRIPCIÓN
========================================= */

.hboost-success-box p {

    margin:
        0 auto 24px;

    max-width: 350px;

    font-size: 14px;

    line-height: 1.6;

    color:
        rgba(255, 255, 255, 0.65);

}


/* =========================================
   PRODUCTO
========================================= */

.hboost-success-product {

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 15px;

    margin-bottom: 20px;

    text-align: left;

    border-radius: 14px;

    background:
        rgba(255, 255, 255, 0.05);

    border:
        1px solid rgba(255, 255, 255, 0.08);

}


/* =========================================
   ICONO PRODUCTO
========================================= */

.hboost-success-product > i {

    width: 44px;

    height: 44px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 12px;

    background:
        rgba(255, 255, 255, 0.07);

    color: #ffffff;

    font-size: 17px;

}


/* =========================================
   INFORMACIÓN PRODUCTO
========================================= */

.hboost-success-product div {

    display: flex;

    flex-direction: column;

    gap: 4px;

}


.hboost-success-product strong {

    color: #ffffff;

    font-size: 15px;

    font-weight: 700;

}


.hboost-success-product span {

    color:
        rgba(255, 255, 255, 0.5);

    font-size: 13px;

}


/* =========================================
   BOTÓN DESCARGA
========================================= */

.hboost-download-button {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    width: 100%;

    box-sizing: border-box;

    padding: 15px 20px;

    border-radius: 12px;

    background: #ffffff;

    color: #111111;

    text-decoration: none;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease,
        box-shadow 0.2s ease;

}


/* =========================================
   HOVER DESCARGA
========================================= */

.hboost-download-button:hover {

    transform:
        translateY(-2px);

    opacity: 0.92;

    box-shadow:
        0 10px 30px rgba(255, 255, 255, 0.10);

}


/* =========================================
   CLICK DESCARGA
========================================= */

.hboost-download-button:active {

    transform:
        translateY(0);

}


/* =========================================
   ICONO DESCARGA
========================================= */

.hboost-download-button i {

    font-size: 16px;

}


/* =========================================
   AVISO
========================================= */

.hboost-success-notice {

    display: block;

    margin-top: 15px;

    font-size: 12px;

    line-height: 1.5;

    color:
        rgba(255, 255, 255, 0.4);

}


/* =========================================
   BOTÓN CERRAR
========================================= */

.hboost-success-close {

    position: absolute;

    top: 15px;

    right: 15px;

    width: 34px;

    height: 34px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0;

    border: 0;

    border-radius: 50%;

    cursor: pointer;

    background:
        rgba(255, 255, 255, 0.06);

    color:
        rgba(255, 255, 255, 0.6);

    transition:
        background 0.2s ease,
        color 0.2s ease;

}


.hboost-success-close:hover {

    background:
        rgba(255, 255, 255, 0.12);

    color: #ffffff;

}


/* =========================================
   ICONO CERRAR
========================================= */

.hboost-success-close i {

    font-size: 14px;

}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 500px) {

    .hboost-success-overlay {

        padding: 15px;

    }


    .hboost-success-box {

        padding:
            34px 22px;

        border-radius: 18px;

    }


    .hboost-success-box h2 {

        font-size: 23px;

    }


    .hboost-success-box p {

        font-size: 13px;

    }


    .hboost-success-icon {

        width: 62px;

        height: 62px;

    }


    .hboost-success-icon i {

        font-size: 26px;

    }

}
/* =========================================
   SECCIÓN CUPÓN
========================================= */

.coupon-section {

    width: 100%;
    box-sizing: border-box;

    margin: 25px 0;

    padding: 20px;

    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            #08150d,
            #102519
        );

    border:
        1px solid
        rgba(72, 255, 125, .18);

    box-shadow:
        0 12px 35px
        rgba(0, 0, 0, .25);

}


/* =========================================
   ENCABEZADO
========================================= */

.coupon-heading {

    margin-bottom: 14px;

}


.coupon-heading span {

    display: block;

    margin-bottom: 4px;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;

    color: #62ff91;

}


.coupon-heading h3 {

    margin: 0;

    font-size: 18px;

    font-weight: 700;

    color: #ffffff;

}


/* =========================================
   FILA INPUT + BOTÓN
========================================= */

.coupon-input-row {

    display: flex;

    align-items: stretch;

    gap: 10px;

    width: 100%;

}


/* =========================================
   CONTENEDOR INPUT
========================================= */

.input-container {

    position: relative;

    flex: 1;

    min-width: 0;

}


/* =========================================
   ICONO
========================================= */

.input-container i {

    position: absolute;

    left: 14px;

    top: 50%;

    transform:
        translateY(-50%);

    color: #55e981;

    font-size: 15px;

    pointer-events: none;

}


/* =========================================
   INPUT
========================================= */

#couponInput {

    width: 100%;

    height: 48px;

    box-sizing: border-box;

    padding:
        0 14px 0 42px;

    border-radius: 10px;

    border:
        1px solid
        rgba(255,255,255,.12);

    outline: none;

    background:
        rgba(255,255,255,.055);

    color: #ffffff;

    font-size: 14px;

    font-family: Arial, sans-serif;

    transition:
        border-color .25s ease,
        background .25s ease,
        box-shadow .25s ease;

}


#couponInput::placeholder {

    color:
        #84958a;

}


#couponInput:hover {

    border-color:
        rgba(72,255,125,.3);

}


#couponInput:focus {

    border-color:
        rgba(72,255,125,.7);

    background:
        rgba(255,255,255,.075);

    box-shadow:
        0 0 0 3px
        rgba(72,255,125,.08);

}


/* =========================================
   BOTÓN APLICAR
========================================= */

#applyCouponButton {

    height: 48px;

    padding:
        0 22px;

    border: none;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #20c95c,
            #12a747
        );

    color: #ffffff;

    font-size: 14px;

    font-weight: 800;

    font-family: Arial, sans-serif;

    cursor: pointer;

    white-space: nowrap;

    box-shadow:
        0 7px 20px
        rgba(32,201,92,.18);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        filter .2s ease;

}


#applyCouponButton:hover {

    transform:
        translateY(-2px);

    filter:
        brightness(1.08);

    box-shadow:
        0 10px 25px
        rgba(32,201,92,.28);

}


#applyCouponButton:active {

    transform:
        translateY(0);

    box-shadow:
        0 5px 15px
        rgba(32,201,92,.18);

}


#applyCouponButton:disabled {

    opacity: .55;

    cursor:
        not-allowed;

    transform:
        none;

    box-shadow:
        none;

}


/* =========================================
   MENSAJE DEL CUPÓN
   Compatible con JS
========================================= */

.coupon-message {

    display: none;

    margin-top: 10px;

    padding: 10px 12px;

    border-radius: 8px;

    font-size: 12px;

    line-height: 1.4;

}


/* ÉXITO */

.coupon-message.success {

    display: block;

    color: #72ff9d;

    background:
        rgba(32,201,92,.08);

    border:
        1px solid
        rgba(32,201,92,.2);

}


/* ERROR */

.coupon-message.error {

    display: block;

    color: #ff7777;

    background:
        rgba(255,70,70,.08);

    border:
        1px solid
        rgba(255,70,70,.2);

}


/* =========================================
   CUPÓN APLICADO
========================================= */

.coupon-applied {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    margin-top: 12px;

    padding: 12px 14px;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            rgba(32,201,92,.10),
            rgba(32,201,92,.04)
        );

    border:
        1px solid
        rgba(72,255,125,.25);

}


.coupon-applied-info {

    display: flex;

    align-items: center;

    gap: 10px;

}


.coupon-applied-info i {

    color:
        #62ff91;

}


.coupon-applied-info strong {

    display: block;

    color: #ffffff;

    font-size: 13px;

}


.coupon-applied-info span {

    display: block;

    margin-top: 2px;

    color: #8fa497;

    font-size: 11px;

}


.coupon-applied-discount {

    color:
        #62ff91;

    font-size: 14px;

    font-weight: 800;

    white-space: nowrap;

}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 600px) {

    .coupon-section {

        padding: 16px;

        margin: 20px 0;

    }


    .coupon-heading h3 {

        font-size: 16px;

    }


    .coupon-input-row {

        flex-direction: column;

        gap: 9px;

    }


    #couponInput {

        height: 46px;

    }


    #applyCouponButton {

        width: 100%;

        height: 46px;

    }

}