:root {
    --dark: #0f0e17;
    --dark-2: #16151f;
    --light: #f9f9fb;
    --white: #fffffe;
    --orange: #ff8906;
    --pink: #e53170;
    --grey: #a7a9be;
    --grad: linear-gradient(100deg, #ff8906 0%, #e53170 100%);
    --r-lg: 24px;
    --r-md: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--dark);
    color: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo,
.price {
    font-family: "Poppins", sans-serif;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
}

::selection {
    background: var(--orange);
    color: var(--dark);
}

.wrap {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 14px;
    display: block;
}

/* ---------- Header ---------- */
header.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    background: rgba(15, 14, 23, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 254, 0.07);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.logo {
    font-weight: 800;
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.logo i {
    color: var(--orange);
    font-size: 1rem;
    transition: transform 0.4s ease;
}

.logo:hover i {
    transform: rotate(25deg) scale(1.2);
}

.nav-links {
    display: none;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--grey);
    position: relative;
    transition: color 0.25s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    height: 2px;
    width: 0;
    background: var(--grad);
    transition: width 0.25s ease;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang {
    display: inline-flex;
    border: 1px solid rgba(255, 255, 254, 0.16);
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 254, 0.04);
}

.lang button {
    background: none;
    border: 0;
    cursor: pointer;
    color: var(--grey);
    font-family: "Inter", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 6px 12px;
    letter-spacing: 0.06em;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.lang button.on {
    background: var(--orange);
    color: var(--dark);
}

.burger {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 8px;
}

.burger span {
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.2s ease;
}

.burger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger.open span:nth-child(2) {
    opacity: 0;
}

.burger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: grid;
    gap: 4px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    border-top: 0 solid transparent;
}

.mobile-menu.open {
    max-height: 340px;
    border-top: 1px solid rgba(255, 255, 254, 0.07);
}

.mobile-menu .inner {
    padding: 18px 20px 26px;
    display: grid;
    gap: 18px;
}

.mobile-menu a {
    color: var(--grey);
    font-weight: 500;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 13px 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.btn-primary {
    background: var(--grad);
    color: var(--white);
    box-shadow: 0 10px 30px -12px rgba(255, 137, 6, 0.8);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -14px rgba(229, 49, 112, 0.9);
}

.btn-ghost {
    background: transparent;
    border-color: rgba(255, 255, 254, 0.28);
    color: var(--white);
}

.btn-ghost:hover {
    background: rgba(255, 255, 254, 0.08);
    transform: translateY(-3px);
}

.btn-dark {
    background: var(--dark);
    color: var(--white);
}

.btn-dark:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px -18px rgba(15, 14, 23, 0.9);
}

.btn-lg {
    padding: 16px 30px;
    font-size: 1rem;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 132px 0 96px;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
    z-index: 0;
}

.hero::before {
    width: 420px;
    height: 420px;
    background: #ff8906;
    top: -140px;
    left: -120px;
    opacity: 0.22;
}

.hero::after {
    width: 460px;
    height: 460px;
    background: #e53170;
    bottom: -220px;
    right: -140px;
    opacity: 0.2;
}

.grain {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.35;
    pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 254, 0.09) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: radial-gradient(circle at 30% 20%, black, transparent 75%);
    -webkit-mask-image: radial-gradient(circle at 30% 20%, black, transparent 75%);
}

.hero .wrap {
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white);
    background: rgba(255, 255, 254, 0.06);
    border: 1px solid rgba(255, 255, 254, 0.12);
    padding: 8px 16px;
    border-radius: 999px;
    backdrop-filter: blur(12px);
    margin-bottom: 26px;
}

.badge i {
    color: #35d07f;
}

.badge b {
    color: var(--orange);
    font-weight: 800;
}

h1 {
    font-size: clamp(2.15rem, 7vw, 4rem);
    font-weight: 800;
    line-height: 1.05;
    max-width: 17ch;
}

h1 .hl {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sub {
    margin-top: 24px;
    color: var(--grey);
    font-size: 1rem;
    max-width: 54ch;
    line-height: 1.7;
}

.hero-cta {
    margin-top: 38px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-meta {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    color: var(--grey);
    font-size: 0.82rem;
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-meta i {
    color: var(--orange);
}

/* ---------- Problem strip ---------- */
.problem {
    border-top: 1px solid rgba(255, 255, 254, 0.07);
    border-bottom: 1px solid rgba(255, 255, 254, 0.07);
    padding: 62px 0;
}

.problem p {
    font-family: "Poppins", sans-serif;
    font-size: clamp(1.25rem, 3.4vw, 2rem);
    font-weight: 600;
    line-height: 1.4;
    max-width: 22ch;
}

.problem .strike {
    color: var(--grey);
    text-decoration: line-through;
    text-decoration-color: var(--pink);
}

.problem .wrap {
    display: grid;
    gap: 28px;
}

.problem aside {
    color: var(--grey);
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 46ch;
}

/* ---------- Pillars (light) ---------- */
.light {
    background: var(--light);
    color: var(--dark);
    padding: 96px 0;
}

.light .sub,
.light .card p {
    color: #5b5c6b;
}

.sec-head {
    max-width: 46ch;
    margin-bottom: 54px;
}

.sec-head h2 {
    font-size: clamp(1.7rem, 4.6vw, 2.6rem);
    font-weight: 700;
    line-height: 1.15;
}

.grid3 {
    display: grid;
    gap: 22px;
}

.card {
    background: var(--white);
    border: 1px solid rgba(15, 14, 23, 0.08);
    border-radius: var(--r-lg);
    padding: 34px 28px 32px;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.card::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 3px;
    background: var(--grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -34px rgba(15, 14, 23, 0.4);
    border-color: rgba(255, 137, 6, 0.4);
}

.card:hover::after {
    transform: scaleX(1);
}

.card .ico {
    width: 54px;
    height: 54px;
    border-radius: var(--r-md);
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    color: var(--white);
    background: var(--grad);
    margin-bottom: 22px;
    box-shadow: 0 12px 26px -14px rgba(229, 49, 112, 0.9);
}

.card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.card p {
    font-size: 0.94rem;
    line-height: 1.7;
}

.tag {
    position: absolute;
    top: 26px;
    right: 26px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--pink);
    background: rgba(229, 49, 112, 0.1);
    padding: 5px 10px;
    border-radius: 999px;
}

/* ---------- Pricing ---------- */
.pricing {
    padding: 96px 0;
    position: relative;
    overflow: hidden;
}

.grid2 {
    display: grid;
    gap: 22px;
    align-items: start;
}

.plan {
    background: rgba(255, 255, 254, 0.045);
    border: 1px solid rgba(255, 255, 254, 0.1);
    border-radius: var(--r-lg);
    padding: 36px 30px;
    backdrop-filter: blur(16px);
    transition: transform 0.35s ease, border-color 0.35s ease, background-color 0.35s ease;
}

.plan:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 137, 6, 0.45);
    background: rgba(255, 255, 254, 0.07);
}

.plan.feat {
    border-color: rgba(255, 137, 6, 0.5);
    background: rgba(255, 137, 6, 0.07);
}

.plan h3 {
    font-size: 1.15rem;
    font-weight: 700;
}

.plan .kicker {
    color: var(--grey);
    font-size: 0.88rem;
    margin-top: 8px;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 24px 0 4px;
}

.price b {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--pink);
}

.price span {
    color: var(--grey);
    font-size: 0.9rem;
}

ul.feats {
    list-style: none;
    margin: 26px 0 30px;
    display: grid;
    gap: 13px;
}

ul.feats li {
    display: flex;
    gap: 12px;
    font-size: 0.92rem;
    color: var(--grey);
    line-height: 1.5;
}

ul.feats i {
    color: var(--orange);
    margin-top: 3px;
}

.plan .btn {
    width: 100%;
}

/* ---------- Steps ---------- */
.steps {
    padding: 96px 0;
}

.steps-grid {
    display: grid;
    gap: 20px;
    counter-reset: s;
}

.step {
    border: 1px solid rgba(255, 255, 254, 0.1);
    border-radius: var(--r-lg);
    padding: 30px 26px;
    background: rgba(255, 255, 254, 0.03);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.step:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 254, 0.06);
}

.step .n {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-size: 2.4rem;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: block;
    margin-bottom: 14px;
}

.step h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.step p {
    color: var(--grey);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ---------- CTA band ---------- */
.band {
    padding: 96px 0;
}

.band-inner {
    border-radius: var(--r-lg);
    padding: 54px 32px;
    text-align: left;
    background: var(--grad);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.band-inner h2 {
    font-size: clamp(1.6rem, 4.4vw, 2.4rem);
    max-width: 20ch;
    line-height: 1.15;
}

.band-inner p {
    margin-top: 14px;
    max-width: 44ch;
    opacity: 0.92;
    font-size: 0.98rem;
    line-height: 1.7;
}

.band-inner .btn {
    margin-top: 30px;
}

/* ---------- Footer ---------- */
footer {
    border-top: 1px solid rgba(255, 255, 254, 0.08);
    padding: 54px 0 40px;
}

.foot {
    display: grid;
    gap: 28px;
}

.foot p {
    color: var(--grey);
    font-size: 0.86rem;
    line-height: 1.7;
}

.socials {
    display: flex;
    gap: 12px;
}

.socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 254, 0.14);
    color: var(--grey);
    transition: transform 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.socials a:hover {
    color: var(--orange);
    border-color: var(--orange);
    transform: translateY(-4px);
}

.foot-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 0.86rem;
    color: var(--grey);
}

.foot-links a:hover {
    color: var(--white);
}

/* ---------- Toast ---------- */
.toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translate(-50%, 140%);
    background: var(--white);
    color: var(--dark);
    padding: 14px 22px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    z-index: 90;
    box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.6);
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.toast.show {
    transform: translate(-50%, 0);
}

/* ---------- Reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.in {
    opacity: 1;
    transform: none;
}

html:not([lang="en"]) [data-lang="en"],
html[lang="en"] [data-lang="es"] {
    display: none !important;
}

@media (max-width: 939px) {
    .nav-right>.btn {
        display: none;
    }
}

@media (min-width: 720px) {
    .grid2 {
        grid-template-columns: 1fr 1fr;
        gap: 26px;
    }

    .grid3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .problem .wrap {
        grid-template-columns: 1.1fr 1fr;
        align-items: end;
    }

    .foot {
        grid-template-columns: 1.2fr 1fr auto;
        align-items: center;
    }

    .band-inner {
        padding: 68px 56px;
    }
}

@media (min-width: 940px) {
    .nav-links {
        display: flex;
    }

    .burger {
        display: none;
    }

    .mobile-menu {
        display: none;
    }

    .hero {
        padding: 168px 0 120px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }

    html {
        scroll-behavior: auto;
    }
}