* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #080b16;
    --bg-secondary: #101526;
    --surface: #171d31;
    --primary: #7c5cff;
    --primary-light: #9b84ff;
    --text: #f5f7ff;
    --muted: #9da6c0;
    --border: rgba(255, 255, 255, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 11, 22, 0.94);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.header-content {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.8px;
}

.logo-q {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    margin-right: 5px;
    border-radius: 10px;
    background: var(--primary);
}

.logo strong {
    color: var(--primary-light);
}

.main-nav {
    display: flex;
    gap: 28px;
    color: var(--muted);
    font-size: 14px;
}

.main-nav a:hover {
    color: var(--text);
}

.header-login {
    padding: 10px 18px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
}

.header-login:hover {
    border-color: var(--primary);
}

/* FOOTER */

.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 50px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.footer-logo {
    font-size: 20px;
    font-weight: 700;
}

.footer-logo strong {
    color: var(--primary-light);
}

.site-footer p,
.footer-copy {
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 700px) {

    .container {
        width: min(100% - 28px, 1180px);
    }

    .main-nav {
        display: none;
    }

    .header-content {
        min-height: 64px;
    }

    .footer-content {
        flex-direction: column;
    }

}

/* HERO */

.hero {
    min-height: 620px;
    display: flex;
    align-items: center;
    padding: 100px 0;
    background:
        radial-gradient(
            circle at 70% 30%,
            rgba(124, 92, 255, 0.20),
            transparent 35%
        );
}

.hero .container {
    max-width: 850px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(42px, 7vw, 82px);
    line-height: 1.05;
    letter-spacing: -2px;
}

.hero p {
    max-width: 620px;
    margin: 25px auto 0;
    color: var(--muted);
    font-size: 19px;
}

.btn-primary {
    display: inline-flex;
    margin-top: 32px;
    padding: 15px 25px;
    background: var(--primary);
    border-radius: 12px;
    font-weight: 700;
    transition: transform .2s ease, background .2s ease;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* SECTIONS */

.section {
    padding: 100px 0;
    border-top: 1px solid var(--border);
}

.section h2 {
    font-size: 38px;
    text-align: center;
}

.section-description {
    max-width: 650px;
    margin: 15px auto 0;
    color: var(--muted);
    text-align: center;
}

/* =========================
   PLANES
========================= */

.plans-section {
    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(124, 92, 255, 0.08),
            transparent 40%
        );
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-tag {
    display: inline-block;
    margin-bottom: 16px;
    padding: 7px 12px;
    border: 1px solid rgba(124, 92, 255, 0.35);
    border-radius: 999px;
    color: var(--primary-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px;
    background: rgba(23, 29, 49, 0.75);
    border: 1px solid var(--border);
    border-radius: 20px;
}

.plan-card.featured {
    border-color: rgba(124, 92, 255, 0.65);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.plan-card.special {
    background:
        linear-gradient(
            180deg,
            rgba(124, 92, 255, 0.10),
            rgba(23, 29, 49, 0.80)
        );
}

.popular-badge,
.plan-label {
    align-self: flex-start;
    margin-bottom: 22px;
    padding: 7px 10px;
    border-radius: 7px;
    background: rgba(124, 92, 255, 0.14);
    color: var(--primary-light);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
}

.popular-badge {
    background: var(--primary);
    color: #fff;
}

.plan-card h3 {
    font-size: 24px;
}

.price {
    display: flex;
    align-items: baseline;
    margin: 22px 0 12px;
}

.currency {
    margin-right: 5px;
    font-size: 22px;
    font-weight: 700;
}

.amount {
    font-size: 58px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
}

.period {
    margin-left: 8px;
    color: var(--muted);
    font-size: 14px;
}

.plan-intro {
    min-height: 52px;
    color: var(--muted);
    font-size: 14px;
}

.plan-features {
    display: grid;
    gap: 14px;
    margin: 28px 0;
    list-style: none;
    color: #d7dcef;
    font-size: 14px;
}

.plan-features li {
    position: relative;
    padding-left: 2px;
}

.plan-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    margin-top: auto;
    padding: 14px;
    border: 1px solid rgba(124, 92, 255, 0.45);
    border-radius: 11px;
    color: var(--text);
    font-weight: 700;
    transition: .2s ease;
}

.plan-button:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    background: rgba(124, 92, 255, 0.10);
}

.plan-button-primary {
    background: var(--primary);
    border-color: var(--primary);
}

.plan-button-primary:hover {
    background: var(--primary-light);
}

.plan-card small {
    display: block;
    margin-top: 14px;
    color: var(--muted);
    text-align: center;
    font-size: 10px;
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .plans-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .plan-card {
        padding: 26px 22px;
    }

    .amount {
        font-size: 52px;
    }
}

/* =========================
   PLANES - DISEÑO COMERCIAL
========================= */

.plan-card {
    overflow: hidden;
    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.plan-card:hover {
    transform: translateY(-8px);
    border-color: rgba(124, 92, 255, .65);
    box-shadow: 0 25px 60px rgba(0, 0, 0, .30);
}

.plan-card.featured {
    transform: scale(1.035);
    border: 1px solid rgba(124, 92, 255, .75);
    box-shadow: 0 20px 70px rgba(124, 92, 255, .14);
}

.plan-card.featured:hover {
    transform: scale(1.035) translateY(-8px);
}

.plan-card h3 {
    margin-top: 4px;
    font-size: 28px;
    letter-spacing: -.5px;
}

.plan-subtitle {
    min-height: 45px;
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
}

.popular-badge,
.best-value-badge,
.lifetime-badge {
    align-self: flex-start;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .7px;
}

.popular-badge {
    background: linear-gradient(135deg, #ff7a18, #ffb300);
    color: #fff;
}

.best-value-badge {
    background: linear-gradient(
        135deg,
        var(--primary),
        var(--primary-light)
    );
    color: #fff;
}

.lifetime-badge {
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .05);
    color: #e9e5ff;
}

.regular-price,
.monthly-equivalent,
.lifetime-message {
    min-height: 25px;
    color: var(--muted);
    font-size: 13px;
}

.regular-price del {
    margin-left: 3px;
    color: #ff8b8b;
    font-weight: 700;
}

.monthly-equivalent strong {
    color: var(--primary-light);
}

.lifetime-message strong {
    display: block;
    color: #ddd8ff;
}

.saving-box {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    min-height: 76px;
    margin: 24px 0 5px;
    padding: 14px;
    border: 1px solid rgba(124, 92, 255, .22);
    border-radius: 13px;
    background: rgba(124, 92, 255, .07);
}

.saving-box > span {
    font-size: 20px;
}

.saving-box strong,
.saving-box small {
    display: block;
}

.saving-box strong {
    font-size: 12px;
}

.saving-box small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.4;
}

.annual-saving {
    border-color: rgba(124, 92, 255, .38);
    background: rgba(124, 92, 255, .12);
}

.lifetime-saving {
    border-color: rgba(255, 255, 255, .10);
    background: rgba(255, 255, 255, .035);
}

.plan-features {
    margin: 28px 0;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 9px;
}

.plan-features li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: rgba(124, 92, 255, .18);
    color: var(--primary-light);
    font-size: 11px;
    font-weight: 800;
}

.plan-button {
    gap: 10px;
}

.plan-button span {
    font-size: 19px;
    transition: transform .2s ease;
}

.plan-button:hover span {
    transform: translateX(4px);
}

.plan-button-primary {
    background: linear-gradient(
        135deg,
        var(--primary),
        #5c42d8
    );
}

.plan-button-annual {
    border-color: var(--primary);
    background: rgba(124, 92, 255, .16);
}

.plan-button-annual:hover {
    background: var(--primary);
}

.lifetime-button {
    border-color: rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .06);
}

.lifetime-button:hover {
    background: rgba(255, 255, 255, .12);
}

.offer-note {
    min-height: 30px;
    margin-top: 14px !important;
    line-height: 1.4;
}

/* MÓVIL */

@media (max-width: 900px) {

    .plan-card.featured,
    .plan-card.featured:hover {
        transform: none;
    }

}

/* LOGO REAL PC*/

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    display: block;
    width: auto;
    height: 62px;
    max-width: 220px;
    object-fit: contain;
}

/* LOGO REAL CEL*/
@media (max-width: 600px) {
    .logo-image {
        height: 42px;
        max-width: 180px;
    }
}

/* =========================
   CÓMO FUNCIONA
========================= */

.how-section {
    position: relative;
    overflow: hidden;
    padding-top: 70px;
    padding-bottom: 25px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.step-card {
    position: relative;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    background: rgba(255, 255, 255, .025);
    transition: transform .25s ease, border-color .25s ease;
}

.step-card:hover {
    transform: translateY(-6px);
    border-color: rgba(124, 92, 255, .55);
}

.step-number {
    position: absolute;
    top: 22px;
    right: 24px;
    color: rgba(255, 255, 255, .10);
    font-size: 42px;
    font-weight: 800;
}

.step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 24px;
    border-radius: 16px;
    background: linear-gradient(
        135deg,
        var(--primary),
        var(--primary-light)
    );
    color: #fff;
    font-size: 23px;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(124, 92, 255, .20);
}

.step-card h3 {
    margin-bottom: 12px;
    font-size: 21px;
}

.step-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.how-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 38px;
    padding: 17px 25px;
    border: 1px solid rgba(124, 92, 255, .18);
    border-radius: 14px;
    background: rgba(124, 92, 255, .06);
    color: var(--muted);
    font-size: 13px;
}

.how-footer span {
    color: var(--primary-light);
}

.how-footer strong {
    color: #dcd8f5;
    font-weight: 600;
}

@media (max-width: 800px) {

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 30px;
    }

    .step-card {
        padding: 25px;
    }

    .how-footer {
        flex-direction: column;
        gap: 7px;
        text-align: center;
    }

    .how-footer span:not(:first-child) {
        display: none;
    }
}



/* =========================
   FOOTER
========================= */

.site-footer {
    margin-top: 0;
    padding: 28px 20px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .025);
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.site-footer p {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.footer-separator {
    color: var(--primary-light);
    margin: 0 4px;
}

.site-footer a {
    color: var(--primary-light);
    font-weight: 700;
    text-decoration: none;
}

.site-footer a:hover {
    color: #ffffff;
}