:root {
    --ink: #071534;
    --copy: #33476d;
    --blue: #2566f4;
    --cyan: #08b5b6;
    --purple: #9345e9;
    --line: #dce5f2;
    --soft: #f7f9ff;
    --shadow: 0 16px 42px rgba(38, 69, 137, .12)
}

* {
    box-sizing: border-box
}

[hidden] {
    display: none !important
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #fff
}

button, input, select {
    font: inherit
}

button {
    cursor: pointer
}

a {
    color: inherit
}

.container {
    width: min(1320px, calc(100% - 54px));
    margin: auto
}

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px)
}

.nav {
    height: 94px;
    display: flex;
    align-items: center;
    gap: 30px
}

.brand {
    width: 206px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex: 0 0 auto
}

.brand img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain
}

.links {
    display: flex;
    gap: 42px;
    margin-left: auto;
    align-items: center
}

.links a {
    position: relative;
    text-decoration: none;
    font-size: 15px;
    font-weight: 750;
    white-space: nowrap
}

.links a:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -14px;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--purple));
    transform: scaleX(0);
    transition: .2s
}

.links a:hover:after, .links a.active:after {
    transform: scaleX(1)
}

.nav-actions {
    display: flex;
    margin-left: 18px
}

.btn {
    min-height: 48px;
    padding: 0 25px;
    border: 0;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s, filter .2s
}

.btn:hover {
    transform: translateY(-2px)
}

.btn-outline {
    background: #fff;
    border: 1px solid #d6e0ef;
    box-shadow: 0 8px 22px rgba(29, 58, 117, .08)
}

.btn-primary {
    color: #fff;
    background: linear-gradient(112deg, #1769f6, #2f4ff2 60%, #a344e8);
    box-shadow: 0 12px 28px rgba(52, 76, 229, .25)
}

.btn-gradient {
    color: #fff;
    background: linear-gradient(112deg, #07b9c0, #2263f3 55%, #b53de6);
    box-shadow: 0 12px 28px rgba(49, 78, 220, .24)
}

.menu {
    display: none;
    margin-left: auto;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    font-size: 23px
}

.user-menu {
    position: relative;
    width: fit-content;
    margin-left: 6px
}

.user-chip {
    display: flex;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    box-shadow: 0 0 0 0 rgba(37, 102, 244, 0);
    transition: box-shadow .2s
}

.user-chip:hover, .user-menu.open .user-chip {
    box-shadow: 0 0 0 3px rgba(37, 102, 244, .18)
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto
}

.user-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    background: linear-gradient(112deg, #1769f6, #2f4ff2 60%, #a344e8)
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    width: 290px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .18s, transform .18s, visibility .18s;
    z-index: 60
}

.user-menu.open .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.user-dropdown-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3px;
    padding: 22px 16px 18px
}

.user-avatar-lg {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px
}

.user-avatar-lg-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 26px;
    background: linear-gradient(112deg, #1769f6, #2f4ff2 60%, #a344e8)
}

.user-dropdown-header strong {
    font-size: 16px
}

.user-dropdown-header span {
    font-size: 13px;
    color: var(--copy);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.user-dropdown-divider {
    height: 1px;
    margin: 4px 6px;
    background: var(--line)
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 11px 12px;
    border: 0;
    border-radius: 9px;
    background: none;
    text-align: left;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    color: var(--ink)
}

.user-dropdown-item:hover {
    background: var(--soft)
}

.user-dropdown-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    font-size: 15px;
    color: var(--copy)
}

.user-dropdown-danger {
    color: #d3324a
}

.user-dropdown-danger .user-dropdown-icon {
    color: #d3324a
}

.hero {
    padding: 48px 0 34px;
    background: radial-gradient(circle at 7% 18%, #f4f8ff 0, transparent 26%), #fff
}

.hero-grid {
    display: grid;
    grid-template-columns:38% 62%;
    gap: 34px;
    align-items: center
}

.hero-copy {
    padding: 20px 12px 20px 0
}

.kicker {
    display: block;
    margin-bottom: 12px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase
}

.hero h1 {
    font-size: clamp(48px, 5.3vw, 76px);
    line-height: .98;
    letter-spacing: -3px;
    margin: 0 0 24px
}

.hero h1 span {
    display: block;
    background: linear-gradient(90deg, #2363ea, #6350f2);
    -webkit-background-clip: text;
    color: transparent
}

.hero h1 span:last-child {
    background: linear-gradient(90deg, #08aaa9, #1973e9);
    -webkit-background-clip: text
}

.hero-lead {
    font-size: 25px;
    line-height: 1.26;
    font-weight: 900;
    letter-spacing: -.6px;
    margin: 0 0 16px
}

.hero-copy p {
    max-width: 515px;
    margin: 0;
    color: #233a67;
    font-size: 17px;
    line-height: 1.58
}

.hero-buttons {
    display: flex;
    gap: 17px;
    margin-top: 28px
}

.preserved {
    background-image: url("/static/img/modificaciones.png");
    background-repeat: no-repeat;
    background-color: #f1f4fb
}

.hero-preserved {
    width: 100%;
    aspect-ratio: 607/390;
    border-radius: 0;
    overflow: hidden;
    background-size: 182.043% auto;
    background-position: 92.972% 10.012%;
    box-shadow: var(--shadow)
}

.benefits {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 28px 0
}

.benefit-grid {
    display: grid;
    grid-template-columns:repeat(5, 1fr)
}

.benefit {
    display: grid;
    grid-template-columns:58px 1fr;
    gap: 14px;
    padding: 0 22px;
    border-right: 1px solid var(--line)
}

.benefit:first-child {
    padding-left: 0
}

.benefit:last-child {
    border: 0;
    padding-right: 0
}

.iconbox {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    background: #e8fbfb;
    color: #0bb5bd;
    font-size: 25px
}

.benefit:nth-child(2) .iconbox {
    background: #f1eaff;
    color: #8b47ec
}

.benefit:nth-child(3) .iconbox {
    background: #fff0df;
    color: #fa8a15
}

.benefit:nth-child(4) .iconbox {
    background: #edf3ff;
    color: #276af2
}

.benefit:nth-child(5) .iconbox {
    background: #e7faf6;
    color: #08aba6
}

.benefit h3 {
    font-size: 13px;
    margin: 2px 0 7px
}

.benefit p {
    font-size: 12px;
    line-height: 1.55;
    color: #263c67;
    margin: 0
}

.audience {
    padding: 42px 0 52px
}

.audience-grid {
    display: grid;
    grid-template-columns:27% 73%;
    gap: 28px;
    align-items: center
}

.audience-copy h2 {
    font-size: 33px;
    line-height: 1.18;
    letter-spacing: -1px;
    margin: 0 0 17px
}

.blue {
    color: var(--blue)
}

.purple {
    color: var(--purple)
}

.cyan {
    color: var(--cyan)
}

.audience-copy p {
    color: #34496f;
    font-size: 13px;
    line-height: 1.6;
    margin: 0
}

.audience-preserved {
    width: 100%;
    aspect-ratio: 750/211;
    background-size: 147.333% auto;
    background-position: 94.930% 39.303%;
    overflow: hidden
}

.section {
    padding: 72px 0
}

.soft {
    background: #f6f8ff
}

.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 42px
}

.section-head .kicker {
    margin-bottom: 11px
}

.section h2 {
    font-size: 42px;
    line-height: 1.1;
    letter-spacing: -1.7px;
    margin: 0 0 15px
}

.section-head p {
    margin: 0;
    color: #53637f;
    font-size: 16px;
    line-height: 1.6
}

.steps {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 22px
}

.step {
    padding: 31px 28px;
    border: 1px solid #dce4f2;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(39, 68, 129, .06);
    transition: .25s
}

.step:hover {
    transform: translateY(-6px);
    border-color: #b8caff;
    box-shadow: 0 18px 40px rgba(39, 68, 129, .12)
}

.step-no {
    font-size: 42px;
    font-weight: 950;
    color: #c4d0ff
}

.step h3 {
    font-size: 18px;
    margin: 3px 0 11px
}

.step p {
    color: #536580;
    line-height: 1.6;
    margin: 0;
    font-size: 14px
}

.pricing {
    background: linear-gradient(180deg, #fff, #f8f7ff)
}

.price-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 23px;
    align-items: stretch
}

.price-card {
    position: relative;
    padding: 31px;
    border: 1px solid #dce4f1;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(46, 70, 130, .07);
    transition: .25s
}

.price-card:hover {
    transform: translateY(-5px)
}

.price-card.featured {
    border: 2px solid transparent;
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--cyan), var(--blue), var(--purple)) border-box;
    box-shadow: 0 22px 50px rgba(75, 66, 187, .15)
}

.badge {
    position: absolute;
    right: 22px;
    top: 18px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #ece8ff;
    color: #7240dc;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase
}

.price-card h3 {
    font-size: 19px;
    margin: 0
}

.price {
    font-size: 40px;
    line-height: 1.1;
    font-weight: 950;
    letter-spacing: -1.8px;
    margin: 14px 0 19px
}

.price small {
    font-size: 13px;
    color: #50617e;
    letter-spacing: 0
}

.price-card ul {
    min-height: 150px;
    list-style: none;
    padding: 0;
    margin: 0 0 20px
}

.price-card li {
    padding: 8px 0;
    color: #465775;
    font-size: 14px
}

.price-card li:before {
    content: "✓";
    color: var(--cyan);
    font-weight: 950;
    margin-right: 10px
}

.price-card .btn {
    width: 100%
}

.cta {
    padding: 70px 0;
    background: #081635;
    color: #fff
}

.cta-grid {
    display: grid;
    grid-template-columns:1fr auto;
    gap: 30px;
    align-items: center
}

.cta h2 {
    font-size: 39px;
    letter-spacing: -1.1px;
    margin: 0 0 10px
}

.cta p {
    color: #bbc8df;
    margin: 0
}

.rainbow {
    height: 10px;
    background: linear-gradient(90deg, #08bcb4, #1669f3, #7048ec, #d83aca, #ff5368, #ff9b14)
}

.footer {
    padding: 25px 0;
    background: #061129;
    color: #9eacc8;
    font-size: 12px
}

.footer-row {
    display: flex;
    justify-content: space-between;
    gap: 20px
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    place-items: center;
    padding: 20px;
    background: rgba(3, 12, 35, .62);
    backdrop-filter: blur(8px)
}

.modal.open {
    display: grid
}

.dialog {
    position: relative;
    width: min(520px, 100%);
    padding: 32px;
    border-radius: 23px;
    background: #fff;
    box-shadow: 0 35px 90px rgba(0, 0, 0, .34);
    animation: pop .22s ease-out
}

.dialog.wide {
    width: min(760px, 100%)
}

@keyframes pop {
    from {
        opacity: 0;
        transform: scale(.95)
    }
}

.close {
    position: absolute;
    right: 16px;
    top: 15px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #eef2f8;
    font-size: 22px
}

.dialog h2 {
    font-size: 29px;
    margin: 0 0 8px
}

.dialog p {
    color: #53627d;
    line-height: 1.6
}

.field {
    display: grid;
    gap: 7px;
    margin: 15px 0
}

.field label {
    font-size: 13px;
    font-weight: 850
}

.field input, .field select {
    height: 48px;
    padding: 0 14px;
    border: 1px solid #d6dfed;
    border-radius: 10px;
    outline: none
}

.field input:focus, .field select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(37, 102, 244, .12)
}

.demo-box {
    height: 320px;
    border-radius: 17px;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #071a41, #15488f);
    color: #fff
}

.demo-box:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(24, 226, 218, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(24, 226, 218, .14) 1px, transparent 1px);
    background-size: 32px 32px
}

.play {
    z-index: 2;
    width: 80px;
    height: 80px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    font-size: 29px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .28)
}

.demo-text {
    position: absolute;
    z-index: 2;
    bottom: 25px;
    font-size: 19px;
    font-weight: 850
}

.toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 130;
    padding: 15px 19px;
    border-radius: 13px;
    color: #fff;
    background: #0a214d;
    box-shadow: 0 18px 50px rgba(3, 18, 48, .28);
    transform: translateY(120px);
    opacity: 0;
    transition: .25s
}

.toast.show {
    transform: none;
    opacity: 1
}

@media (max-width: 1050px) {
    .links {
        gap: 22px
    }

    .hero-grid {
        grid-template-columns:42% 58%
    }

    .benefit-grid {
        grid-template-columns:repeat(3, 1fr);
        row-gap: 25px
    }

    .benefit:nth-child(3) {
        border: 0
    }

    .audience-grid {
        grid-template-columns:1fr
    }

    .audience-copy {
        max-width: 500px
    }

    .audience-preserved {
        max-width: 900px
    }

    .hero h1 {
        font-size: 58px
    }
}

@media (max-width: 790px) {
    .container {
        width: calc(100% - 30px)
    }

    .nav {
        height: 78px
    }

    .brand {
        width: 160px
    }

    .links, .nav-actions {
        display: none
    }

    .menu {
        display: block
    }

    .nav.mobile-open {
        height: auto;
        flex-wrap: wrap;
        padding: 10px 0 18px
    }

    .nav.mobile-open .links {
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 0;
        gap: 24px
    }

    .nav.mobile-open .nav-actions {
        display: flex;
        width: 100%
    }

    .hero-grid {
        grid-template-columns:1fr
    }

    .hero-copy {
        padding-top: 0
    }

    .hero-preserved {
        max-width: 720px
    }

    .benefit-grid {
        grid-template-columns:1fr 1fr
    }

    .benefit {
        border: 0;
        padding: 0 10px
    }

    .steps, .price-grid {
        grid-template-columns:1fr
    }

    .section {
        padding: 58px 0
    }

    .cta-grid {
        grid-template-columns:1fr
    }

    .footer-row {
        flex-direction: column
    }
}

@media (max-width: 500px) {
    .brand {
        width: 145px
    }

    .hero h1 {
        font-size: 45px
    }

    .hero-lead {
        font-size: 21px
    }

    .hero-copy p {
        font-size: 15px
    }

    .hero-buttons {
        flex-direction: column
    }

    .hero-buttons .btn {
        width: 100%
    }

    .benefit-grid {
        grid-template-columns:1fr
    }

    .audience-copy h2 {
        font-size: 30px
    }

    .section h2, .cta h2 {
        font-size: 33px
    }

    .dialog {
        padding: 29px 20px
    }

    .demo-box {
        height: 240px
    }
}
