:root {
    --background: #03040b;
    --background-soft: #090c18;
    --surface: rgba(16, 20, 39, 0.76);
    --surface-strong: #11162a;
    --cyan: #10d5f5;
    --blue: #178cff;
    --purple: #a30eff;
    --text: #ffffff;
    --text-soft: #aab3c8;
    --border: rgba(255, 255, 255, 0.11);
    --container: 1180px;
    --header-height: 100px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    background: var(--background);
    color: var(--text);
    font-family: "Manrope", sans-serif;
    line-height: 1.6;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: min(
        var(--container),
        calc(100% - 40px)
    );
    margin-inline: auto;
}

/* Header */

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    min-height: var(--header-height);
    border-bottom: 1px solid transparent;
    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        backdrop-filter 0.3s ease;
}

.site-header.is-scrolled {
    border-color: var(--border);
    background: rgba(3, 4, 11, 0.82);
    backdrop-filter: blur(18px);
}

.header-container {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-logo {
    flex: 0 0 auto;
    width: 220px;
}

.site-logo img {
    width: 100%;
    height: auto;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 27px;
}

.main-navigation a {
    position: relative;
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 700;
    transition: color 0.2s ease;
}

.main-navigation a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        var(--cyan),
        var(--purple)
    );
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.main-navigation a:hover {
    color: var(--text);
}

.main-navigation a:hover::after {
    transform: scaleX(1);
}

.header-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    border-radius: 14px;
    font-weight: 800;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.header-cta {
    min-height: 46px;
    padding: 0 20px;
    background: linear-gradient(
        135deg,
        var(--cyan),
        var(--blue) 45%,
        var(--purple)
    );
    box-shadow: 0 12px 30px
        rgba(103, 37, 255, 0.27);
    font-size: 14px;
}

.header-cta:hover,
.button:hover {
    transform: translateY(-2px);
}

/* Mobile menu */

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    margin: 5px auto;
    border-radius: 999px;
    background: var(--text);
    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.menu-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero */

.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(
            circle at 18% 38%,
            rgba(0, 190, 255, 0.12),
            transparent 34%
        ),
        radial-gradient(
            circle at 82% 42%,
            rgba(136, 35, 255, 0.18),
            transparent 38%
        ),
        linear-gradient(
            115deg,
            #020711 0%,
            #02030b 45%,
            #080015 100%
        );
}

.hero-section::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -220px;
    width: 920px;
    height: 420px;
    z-index: -2;
    border-radius: 50%;
    background: rgba(30, 85, 255, 0.16);
    filter: blur(110px);
    transform: translateX(-50%);
    pointer-events: none;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    opacity: 0.24;
    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: 64px 64px;
    mask-image: linear-gradient(
        to bottom,
        transparent,
        #000 18%,
        #000 82%,
        transparent
    );
}

.hero-glow {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.hero-glow-left {
    top: 18%;
    left: -180px;
    width: 460px;
    height: 460px;
    background: rgba(0, 199, 255, 0.2);
}

.hero-glow-right {
    top: 12%;
    right: -140px;
    width: 560px;
    height: 560px;
    background: rgba(139, 26, 255, 0.24);
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns:
        minmax(0, 1.02fr)
        minmax(420px, 0.98fr);
    align-items: center;
    gap: 74px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 23px;
    padding: 9px 14px;
    border: 1px solid rgba(16, 213, 245, 0.24);
    border-radius: 999px;
    background: rgba(16, 213, 245, 0.07);
    color: #a9effa;
    font-size: 13px;
    font-weight: 800;
}

.hero-eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 16px var(--cyan);
}

.hero-content h1 {
    max-width: 750px;
    font-size: clamp(49px, 5.6vw, 78px);
    line-height: 1.02;
    letter-spacing: -4px;
}

.hero-content h1 span {
    display: block;
    padding-bottom: 6px;
    background: linear-gradient(
        90deg,
        var(--cyan),
        var(--blue) 43%,
        var(--purple)
    );
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.hero-description {
    max-width: 650px;
    margin-top: 24px;
    color: var(--text-soft);
    font-size: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.button {
    padding: 0 25px;
}

.button-primary {
    background: linear-gradient(
        135deg,
        var(--cyan),
        var(--blue) 45%,
        var(--purple)
    );
    box-shadow: 0 16px 38px
        rgba(83, 53, 255, 0.3);
}

.button-secondary {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.045);
    backdrop-filter: blur(8px);
}

.button-secondary:hover {
    border-color: rgba(16, 213, 245, 0.4);
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 34px;
    margin-top: 43px;
}

.hero-highlights div {
    display: flex;
    flex-direction: column;
}

.hero-highlights strong {
    font-size: 18px;
}

.hero-highlights span {
    margin-top: 1px;
    color: var(--text-soft);
    font-size: 12px;
}

/* Hero visual */

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 520px;
}

.visual-orbit {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
}

.visual-orbit-one {
    width: 460px;
    height: 460px;
}

.visual-orbit-two {
    width: 360px;
    height: 360px;
    border-color: rgba(16, 213, 245, 0.11);
}

.streaming-screen {
    position: relative;
    z-index: 2;
    width: min(100%, 510px);
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 28px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.1),
            rgba(255, 255, 255, 0.025)
        );
    box-shadow:
        0 45px 100px rgba(0, 0, 0, 0.55),
        0 0 70px rgba(84, 24, 255, 0.14);
    backdrop-filter: blur(16px);
    transform:
        perspective(1100px)
        rotateY(-7deg)
        rotateX(2deg);
    .streaming-screen {
    width: 100%;
    max-width: 560px;
    transform: scale(1.12) rotate(-1deg);
    transform-origin: center;
}

.screen-header {
    min-height: 37px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px 10px;
}

.screen-dots {
    display: flex;
    gap: 7px;
}

.screen-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
}

.screen-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #b8f9c9;
    font-size: 11px;
    font-weight: 800;
}

.screen-status::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3cf36d;
    box-shadow: 0 0 12px #3cf36d;
}

.screen-body {
    min-height: 355px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 50% 48%,
            rgba(29, 189, 255, 0.17),
            transparent 26%
        ),
        radial-gradient(
            circle at 70% 35%,
            rgba(169, 14, 255, 0.24),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #12152b,
            #070814 64%
        );
}

.screen-brand {
    font-size: 38px;
    font-style: italic;
    font-weight: 800;
    letter-spacing: -2px;
}

.screen-brand span {
    background: linear-gradient(
        90deg,
        var(--cyan),
        var(--purple)
    );
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.screen-body p {
    margin-top: 3px;
    color: var(--text-soft);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.3px;
    text-transform: uppercase;
}

.screen-play {
    width: 75px;
    height: 75px;
    margin-top: 31px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--cyan),
        var(--blue) 45%,
        var(--purple)
    );
    color: var(--text);
    box-shadow:
        0 13px 35px rgba(91, 32, 255, 0.35),
        0 0 35px rgba(16, 213, 245, 0.18);
    cursor: pointer;
}

.screen-play span {
    padding-left: 4px;
    font-size: 24px;
}

.screen-footer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
    padding-top: 11px;
}

.screen-footer span {
    padding: 10px 5px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.045);
    color: var(--text-soft);
    font-size: 10px;
    font-weight: 700;
    text-align: center;
}

.floating-card {
    position: absolute;
    z-index: 4;
    min-width: 165px;
    padding: 15px 17px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(13, 16, 33, 0.78);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(13px);
}

.floating-card strong,
.floating-card span {
    display: block;
}

.floating-card strong {
    font-size: 13px;
}

.floating-card span {
    margin-top: 2px;
    color: var(--text-soft);
    font-size: 10px;
}

.floating-card-top {
    top: 58px;
    right: -12px;
}

.floating-card-bottom {
    bottom: 55px;
    left: -19px;
}

/* Footer */

.site-footer {
    padding: 30px 0;
    border-top: 1px solid var(--border);
    background: var(--background);
    color: var(--text-soft);
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    font-size: 13px;
}

/* Tablet */

@media (max-width: 1050px) {
    .site-logo {
        width: 210px;
    }

    .main-navigation {
        gap: 18px;
    }

    .hero-container {
        grid-template-columns: 1fr 0.9fr;
        gap: 45px;
    }

    .floating-card-top {
        right: 0;
    }
}

/* Mobile navigation */

@media (max-width: 900px) {
    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: block;
        position: relative;
        z-index: 1002;
    }

    .main-navigation {
        position: fixed;
        inset: 0;
        z-index: 1001;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 28px;
        background: rgba(3, 4, 11, 0.97);
        backdrop-filter: blur(18px);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-15px);
        transition:
            opacity 0.25s ease,
            visibility 0.25s ease,
            transform 0.25s ease;
    }

    .main-navigation.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-navigation a {
        font-size: 22px;
    }

    .hero-section {
        padding-top: calc(
            var(--header-height) + 55px
        );
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-description {
        margin-inline: auto;
    }

    .hero-actions,
    .hero-highlights {
        justify-content: center;
    }

    .hero-visual {
        width: min(100%, 600px);
        margin-inline: auto;
    }

    .streaming-screen {
        transform: none;
    }
}

/* Small mobile */

@media (max-width: 600px) {
    .container {
        width: min(100% - 28px, var(--container));
    }

    .site-logo {
        width: 190px;
    }

    .hero-section {
        min-height: auto;
        padding-bottom: 70px;
    }

    .hero-content h1 {
        font-size: 44px;
        letter-spacing: -2.5px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .hero-highlights {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 22px;
    }

    .hero-highlights div:last-child {
        grid-column: 1 / -1;
    }

    .hero-visual {
        min-height: 395px;
    }

    .visual-orbit-one {
        width: 340px;
        height: 340px;
    }

    .visual-orbit-two {
        width: 270px;
        height: 270px;
    }

    .screen-body {
        min-height: 270px;
    }

    .screen-brand {
        font-size: 29px;
    }

    .screen-body p {
        letter-spacing: 1.6px;
    }

    .floating-card {
        display: none;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    /* CORRECCIÓN DEFINITIVA RESELLER EN CELULAR */
@media screen and (max-width:700px){

    .reseller-v2 .reseller-v2__visual{
        display:grid !important;
        grid-template-columns:minmax(0, 1fr) !important;
        width:100% !important;
        max-width:100% !important;
        margin:0 auto !important;
        overflow:visible !important;
    }

    .reseller-v2 .reseller-v2__image{
        position:relative !important;
        width:100% !important;
        max-width:100% !important;
        height:auto !important;
        margin:0 !important;
    }

    .reseller-v2 .reseller-v2__floating-card{
        position:relative !important;
        inset:auto !important;
        right:auto !important;
        bottom:auto !important;
        left:auto !important;

        box-sizing:border-box !important;
        width:calc(100% - 28px) !important;
        max-width:340px !important;

        margin:20px auto 0 !important;
        transform:none !important;
    }

    .reseller-v2 .reseller-v2__button--shared{
        width:100% !important;
        margin-top:0 !important;
    }
}