/* =========================================================
   NAHUI CONNECT
   ESTILO VISUAL NAHUI STUDIO
   SOLO CSS · NO REQUIERE CAMBIOS EN HTML NI JS
   ========================================================= */


/* =========================================================
   VARIABLES OFICIALES NAHUI
   ========================================================= */

:root {
    color-scheme: dark;

    --nahui-bg: #000000;

    --nahui-surface: #07071f;
    --nahui-surface-light: #0d0b29;

    --nahui-blue: #0005ff;
    --nahui-violet: #6a0fc9;
    --nahui-pink: #ff007b;

    --nahui-green: #32d583;
    --nahui-warning: #ffb020;
    --nahui-danger: #ff5f87;

    --nahui-white: #f8fbff;
    --nahui-text: #e7edf7;
    --nahui-muted: #91a0b8;
    --nahui-muted-dark: #657489;

    --nahui-border:
        rgba(255, 255, 255, 0.09);

    --nahui-border-strong:
        rgba(255, 255, 255, 0.14);

    --nahui-border-hover:
        rgba(255, 255, 255, 0.17);

    --nahui-gradient:
        linear-gradient(
            137deg,
            var(--nahui-blue) 0%,
            var(--nahui-violet) 52%,
            var(--nahui-pink) 100%
        );

    --nahui-gradient-horizontal:
        linear-gradient(
            90deg,
            var(--nahui-blue) 0%,
            var(--nahui-violet) 52%,
            var(--nahui-pink) 100%
        );

    --nahui-gradient-soft:
        linear-gradient(
            137deg,
            rgba(0, 5, 255, 0.13) 0%,
            rgba(106, 15, 201, 0.10) 52%,
            rgba(255, 0, 123, 0.08) 100%
        );

    --nahui-gradient-card:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.028),
            rgba(255, 255, 255, 0.005)
        );

    --nahui-font-display:
        "Space Grotesk",
        Inter,
        ui-sans-serif,
        sans-serif;

    --nahui-font-body:
        Inter,
        ui-sans-serif,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;


    /* compatibilidad con el CSS/HTML actual */

    --bg: var(--nahui-bg);
    --bg2: var(--nahui-surface);

    --panel:
        rgba(7, 7, 31, 0.56);

    --panel-strong:
        rgba(7, 7, 31, 0.88);

    --text: var(--nahui-text);
    --muted: var(--nahui-muted);

    --line: var(--nahui-border);
    --line2: var(--nahui-border-strong);

    --blue: var(--nahui-blue);
    --violet: var(--nahui-violet);
    --pink: var(--nahui-pink);

    --aqua: var(--nahui-green);

    --danger: var(--nahui-danger);
    --warn: var(--nahui-warning);

    --shadow:
        0 24px 70px rgba(0, 0, 0, 0.50);

    --radius: 22px;
    --radius-sm: 14px;

    --content: 1180px;
}



/* =========================================================
   RESET
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}


html {
    min-width: 320px;

    scroll-behavior: smooth;
    scroll-padding-top: 92px;

    background: #000000;
}


body {
    min-width: 320px;

    min-height: 100vh;
    min-height: 100svh;

    position: relative;

    margin: 0;

    overflow-x: hidden;

    color: var(--nahui-text);

    /*
       FONDO NAHUI
       También está directamente en body para
       que nunca desaparezca por stacking/z-index.
    */

    background:
        radial-gradient(
            circle at 13% 6%,
            rgb(2 0 255 / 35%) 0%,
            transparent 36%
        ),

        radial-gradient(
            circle at 82% 11%,
            rgba(106, 15, 201, 0.16) 0%,
            transparent 32%
        ),

        radial-gradient(
            circle at 90% 92%,
            rgb(255 0 123 / 24%) 0%,
            transparent 36%
        ),

        #000000;

    background-attachment: fixed;

    font-family:
        var(--nahui-font-body);

    font-size: 16px;
    line-height: 1.62;

    -webkit-font-smoothing:
        antialiased;

    text-rendering:
        optimizeLegibility;
}


/*
   CAPA DE LUZ FIJA
*/

body::before {
    content: "";

    position: fixed;
    inset: 0;

    z-index: 0;

    background:
        radial-gradient(
            circle at 13% 6%,
            rgb(2 0 255 / 35%) 0%,
            transparent 36%
        ),

        radial-gradient(
            circle at 82% 11%,
            rgba(106, 15, 201, 0.16) 0%,
            transparent 32%
        ),

        radial-gradient(
            circle at 90% 92%,
            rgb(255 0 123 / 24%) 0%,
            transparent 36%
        ),

        linear-gradient(
            180deg,
            #000000 0%,
            #000000 50%,
            #000000 100%
        );

    pointer-events: none;
}


/*
   CUADRÍCULA TÉCNICA NAHUI
*/

body::after {
    content: "";

    position: fixed;
    inset: 0;

    z-index: 0;

    opacity: 0.22;

    background-image:

        linear-gradient(
            rgba(107, 118, 175, 0.07) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(107, 118, 175, 0.07) 1px,
            transparent 1px
        );

    background-size:
        72px 72px;

    mask-image:
        linear-gradient(
            to bottom,
            #000000 0%,
            rgba(0, 0, 0, 0.66) 58%,
            transparent 100%
        );

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            #000000 0%,
            rgba(0, 0, 0, 0.66) 58%,
            transparent 100%
        );

    pointer-events: none;
}


/*
   Todo el contenido sobre las capas de fondo.
*/

.site-header,
main,
.site-footer {
    position: relative;
    z-index: 1;
}


a {
    color: inherit;
}


button,
input,
select {
    font: inherit;
}


button,
a {
    -webkit-tap-highlight-color:
        transparent;
}


button {
    color: inherit;
}


img {
    display: block;
    max-width: 100%;
}


::selection {
    color: #ffffff;

    background:
        rgba(106, 15, 201, 0.82);
}



/* =========================================================
   SCROLLBAR NAHUI
   ========================================================= */

* {
    scrollbar-width: thin;

    scrollbar-color:
        rgba(255, 255, 255, 0.20)
        transparent;
}


*::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}


*::-webkit-scrollbar-track {
    background: transparent;
}


*::-webkit-scrollbar-thumb {
    min-height: 42px;

    border:
        2px solid
        transparent;

    border-radius: 999px;

    background:
        rgba(255, 255, 255, 0.18);

    background-clip:
        padding-box;
}


*::-webkit-scrollbar-thumb:hover {
    background:
        rgba(255, 255, 255, 0.30);

    background-clip:
        padding-box;
}


*::-webkit-scrollbar-thumb:active {
    background:
        rgba(145, 126, 220, 0.48);

    background-clip:
        padding-box;
}



/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.skip {
    position: absolute;

    top: 12px;
    left: -999px;

    z-index: 99999;

    padding:
        10px
        14px;

    border-radius: 10px;

    color: #000000;
    background: #ffffff;

    font-size: 0.75rem;
    font-weight: 750;
}


.skip:focus {
    left: 12px;
}



/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    width: 100%;

    position: sticky;

    top: 0;

    z-index: 1000;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.075);

    background:
        rgba(0, 0, 0, 0.76);

    box-shadow:
        0 18px 48px
        rgba(0, 0, 0, 0.22);

    backdrop-filter:
        blur(22px);

    -webkit-backdrop-filter:
        blur(22px);
}


.header-inner {
    width:
        min(
            var(--content),
            calc(100% - 40px)
        );

    min-height: 76px;

    display: flex;
    align-items: center;

    gap: 24px;

    margin-inline: auto;
}



/* =========================================================
   BRAND
   ========================================================= */

.brand {
    min-width: 0;

    display: inline-flex;
    align-items: center;

    gap: 11px;

    color: inherit;

    font-family:
        var(--nahui-font-display);

    font-size: 0.92rem;
    font-weight: 760;

    letter-spacing:
        -0.035em;

    text-decoration: none;

    white-space: nowrap;
}


.brand-mark {
    width: 38px;
    height: 38px;

    flex:
        0 0 38px;

    position: relative;

    overflow: hidden;


    border-radius: 12px;
    box-shadow:
        0 12px 28px
        rgba(0, 5, 255, 0.22),

        0 7px 22px
        rgba(255, 0, 123, 0.13);
}


.brand-mark::before {
    content: "";

    position: absolute;
    inset: 1px;

    border-radius: 10px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.20),
            transparent 48%
        );
}


.brand-mark::after {
    content: "";

    position: absolute;
    inset: 10px;

    border:
        1.5px solid
        rgba(255, 255, 255, 0.91);

    border-radius: 5px;

    box-shadow:
        0 0 15px
        rgba(255, 255, 255, 0.18);
}


.brand span {
    color:
        var(--nahui-white);
}


.brand span small {
    margin-left: 6px;

    color:
        var(--nahui-muted-dark);

    font-family:
        var(--nahui-font-body);

    font-size: 0.62rem;
    font-weight: 700;

    letter-spacing:
        0.07em;

    text-transform:
        uppercase;
}



/* =========================================================
   NAVIGATION
   ========================================================= */

.topnav {
    margin-left: auto;

    display: inline-flex;
    align-items: center;

    gap: 4px;

    padding: 4px;

    border:
        1px solid
        rgba(255, 255, 255, 0.075);

    border-radius: 14px;

    background:
        rgba(255, 255, 255, 0.022);

    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, 0.025);
}


.topnav a {
    min-height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding:
        0
        15px;

    border-radius: 10px;

    color: #7f8ca1;

    font-size: 0.72rem;
    font-weight: 700;

    text-decoration: none;

    white-space: nowrap;

    transition:
        color 180ms ease,
        background 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}


.topnav a:hover,
.topnav a:focus-visible {
    color:
        var(--nahui-white);

    background:
        rgba(255, 255, 255, 0.038);

    outline: none;
}


.topnav .nav-cta,
.nav-cta {
    border: 0;

    color: #ffffff;

    background:
        var(--nahui-gradient);

    background-size:
        145% 100%;

    background-position:
        right center;

    box-shadow:
        0 10px 22px
        rgba(0, 5, 255, 0.14),

        0 5px 16px
        rgba(255, 0, 123, 0.08);
}


.topnav .nav-cta:hover,
.topnav .nav-cta:focus-visible {
    color: #ffffff;

    background:
        var(--nahui-gradient);

    filter:
        brightness(1.08);

    transform:
        translateY(-1px);
}


.menu-btn {
    display: none;

    margin-left: auto;

    padding:
        8px
        11px;

    border:
        1px solid
        var(--nahui-border);

    border-radius: 10px;

    color:
        var(--nahui-text);

    background:
        rgba(255, 255, 255, 0.025);

    cursor: pointer;
}



/* =========================================================
   GLOBAL LAYOUT
   ========================================================= */

main {
    overflow: hidden;
}


.wrap {
    width:
        min(
            var(--content),
            calc(100% - 40px)
        );

    margin-inline:
        auto;
}



/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    padding:
        100px
        0
        72px;
}


/*
   Brillo azul del hero
*/

.hero::before {
    content: "";

    width: 650px;
    height: 650px;

    position: absolute;

    top: -360px;
    left: -280px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(0, 5, 255, 0.20),
            transparent 67%
        );

    filter:
        blur(30px);

    pointer-events: none;
}


/*
   Brillo rosa/violeta del hero
*/

.hero::after {
    content: "";

    width: 600px;
    height: 600px;

    position: absolute;

    top: -340px;
    right: -290px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 0, 123, 0.12),
            rgba(106, 15, 201, 0.06) 42%,
            transparent 70%
        );

    filter:
        blur(32px);

    pointer-events: none;
}


.hero-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(360px, 0.95fr);

    align-items: center;

    gap:
        clamp(
            44px,
            6vw,
            72px
        );
}



/* =========================================================
   KICKER
   ========================================================= */

.kicker {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    padding:
        7px
        11px;

    border:
        1px solid
        rgba(106, 15, 201, 0.23);

    border-radius:
        999px;

    color: #b9a9f5;

    background:
        rgba(106, 15, 201, 0.055);

    font-size: 0.60rem;
    font-weight: 800;

    letter-spacing:
        0.12em;

    text-transform:
        uppercase;

    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, 0.025);
}


.kicker::before {
    content: "";

    width: 7px;
    height: 7px;

    flex:
        0 0 7px;

    border-radius: 50%;

    background:
        var(--nahui-green);

    box-shadow:
        0 0 13px
        rgba(50, 213, 131, 0.80);
}



/* =========================================================
   TITULOS
   DEGRADADO OFICIAL NAHUI
   #0005ff -> #6a0fc9 -> #ff007b
   ========================================================= */

h1,
h2,
h3 {
    margin: 0;

    font-family:
        var(--nahui-font-display);

    letter-spacing:
        -0.045em;

    line-height: 1.06;
}


/*
   TÍTULOS PRINCIPALES
*/

h1,
.section-head h2,
.docs-main h1,
.docs-main h2,
.cta-panel h2 {
    color: transparent;

    background:
        linear-gradient(
            90deg,
            #0005ff 0%,
            #6a0fc9 52%,
            #ff007b 100%
        );

    background-size:
        100% 100%;

    background-clip:
        text;

    -webkit-background-clip:
        text;

    -webkit-text-fill-color:
        transparent;

    filter:
        drop-shadow(
            0 8px 26px
            rgba(106, 15, 201, 0.18)
        );
}


h1 {
    max-width: 820px;

    margin-top: 20px;

    font-size:
        clamp(
            2.75rem,
            5.7vw,
            5.2rem
        );

    font-weight: 750;

    letter-spacing:
        -0.062em;

    line-height: 0.99;

    text-wrap: balance;
}


h2 {
    font-size:
        clamp(
            2rem,
            4vw,
            3.35rem
        );

    font-weight: 720;

    text-wrap:
        balance;
}


h3 {
    color:
        var(--nahui-white);

    font-size:
        1.12rem;

    font-weight: 700;
}


/*
   Clase que ya existe en la landing.
   Usa EL MISMO degradado oficial.
*/

.gradient-text {
    color: transparent !important;

    background:
        linear-gradient(
            90deg,
            #0005ff 0%,
            #6a0fc9 36,
            #ff007b 100%
        ) !important;

    background-clip:
        text !important;

    -webkit-background-clip:
        text !important;

    -webkit-text-fill-color:
        transparent !important;

    text-shadow: none;

    filter:
        drop-shadow(
            0 9px 28px
            rgba(106, 15, 201, 0.22)
        );
}



/* =========================================================
   HERO TEXT
   ========================================================= */

.lede {
    max-width: 720px;

    margin:
        24px
        0
        0;

    color:
        var(--nahui-muted);

    font-size:
        clamp(
            1rem,
            1.8vw,
            1.17rem
        );

    line-height: 1.72;

    text-wrap:
        pretty;
}



/* =========================================================
   ACTIONS / BUTTONS
   ========================================================= */

.actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 31px;
}


.btn {
    min-height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    padding:
        0
        16px;

    border:
        1px solid
        var(--nahui-border-strong);

    border-radius: 11px;

    color: #ffffff;

    font-size: 0.72rem;
    font-weight: 760;

    text-decoration: none;

    white-space: nowrap;

    cursor: pointer;

    transition:
        transform 180ms ease,
        filter 180ms ease,
        box-shadow 180ms ease,
        opacity 180ms ease,
        border-color 180ms ease,
        background 180ms ease;
}


.btn-primary {
    border: 0;

    background:
        var(--nahui-gradient);

    background-size:
        145% 100%;

    background-position:
        right center;

    box-shadow:
        0 16px 34px
        rgba(0, 5, 255, 0.16),

        0 8px 24px
        rgba(255, 0, 123, 0.09);
}


.btn-primary:hover,
.btn-primary:focus-visible {
    filter:
        brightness(1.08);

    outline: none;

    transform:
        translateY(-2px);

    box-shadow:
        0 18px 36px
        rgba(0, 5, 255, 0.21),

        0 9px 25px
        rgba(255, 0, 123, 0.13);
}


.btn-secondary {
    color: #aeb9ca;

    background:
        rgba(255, 255, 255, 0.022);
}


.btn-secondary:hover,
.btn-secondary:focus-visible {
    color: #ffffff;

    border-color:
        rgba(106, 15, 201, 0.42);

    background:
        var(--nahui-gradient-soft);

    outline: none;

    transform:
        translateY(-1px);
}


.btn.disabled,
.btn[aria-disabled="true"] {
    opacity: 0.50;

    cursor: not-allowed;

    filter:
        saturate(0.5);

    transform: none;
}


.btn.disabled:hover,
.btn[aria-disabled="true"]:hover {
    transform: none;

    filter:
        saturate(0.5);
}



/* =========================================================
   MICRO COPY
   ========================================================= */

.micro {
    margin-top: 17px;

    color:
        var(--nahui-muted-dark);

    font-size: 0.69rem;
}



/* =========================================================
   PILLS
   ========================================================= */

.trust-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 23px;
}


.pill {
    min-height: 29px;

    display: inline-flex;
    align-items: center;

    gap: 7px;

    padding:
        0
        10px;

    border:
        1px solid
        var(--nahui-border);

    border-radius:
        999px;

    color: #aeb9ca;

    background:
        rgba(255, 255, 255, 0.022);

    font-size: 0.62rem;
    font-weight: 680;

    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, 0.018);
}


.pill.ok::before {
    content: "";

    width: 6px;
    height: 6px;

    flex: 0 0 6px;

    border-radius: 50%;

    background:
        var(--nahui-green);

    box-shadow:
        0 0 12px
        rgba(50, 213, 131, 0.72);
}



/* =========================================================
   GLASS NAHUI
   ========================================================= */

.glass {
    position: relative;

    border:
        1px solid
        var(--nahui-border);

    border-radius:
        var(--radius);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.040),
            rgba(255, 255, 255, 0.007)
        ),

        rgba(7, 7, 31, 0.56);

    box-shadow:
        0 42px 110px
        rgba(0, 0, 0, 0.55),

        0 0 75px
        rgba(106, 15, 201, 0.07),

        inset 0 1px 0
        rgba(255, 255, 255, 0.035);

    backdrop-filter:
        blur(22px);

    -webkit-backdrop-filter:
        blur(22px);
}



/* =========================================================
   HERO CONSOLE
   ========================================================= */

.hero-console {
    min-height: 470px;

    position: relative;

    overflow: hidden;

    padding: 18px;
}


/*
   Línea superior oficial Nahui
*/

.hero-console::before {
    content: "";

    height: 2px;

    position: absolute;

    top: 0;
    right: 28px;
    left: 28px;

    z-index: 5;

    border-radius:
        0 0 999px 999px;

    background:
        var(--nahui-gradient-horizontal);

    opacity: 0.95;
}


.hero-console::after {
    content: "";

    width: 320px;
    height: 320px;

    position: absolute;

    top: -230px;
    right: -90px;

    border-radius: 50%;

    background:
        rgba(106, 15, 201, 0.24);

    filter:
        blur(45px);

    pointer-events: none;
}


.console-top {
    position: relative;
    z-index: 2;

    min-height: 44px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding:
        0
        3px
        14px;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.06);
}


.dots {
    display: flex;

    gap: 6px;
}


.dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.16);
}


.dot:nth-child(1) {
    background:
        rgba(255, 0, 123, 0.75);
}


.dot:nth-child(2) {
    background:
        rgba(255, 176, 32, 0.8);
}


.dot:nth-child(3) {
    background:
        rgba(50, 213, 131, 0.8);
}


.status {
    display: flex;
    align-items: center;

    gap: 7px;

    color:
        var(--nahui-green);

    font-size: 0.62rem;
    font-weight: 720;
}


.status::before {
    content: "";

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background:
        var(--nahui-green);

    box-shadow:
        0 0 13px
        rgba(50, 213, 131, 0.70);
}



/* =========================================================
   FLOW
   ========================================================= */

.flow {
    position: relative;
    z-index: 2;

    display: grid;

    gap: 10px;

    margin-top: 18px;
}


.flow-node {
    position: relative;

    padding:
        14px
        15px;

    border:
        1px solid
        rgba(255, 255, 255, 0.075);

    border-radius: 13px;

    background:
        rgba(255, 255, 255, 0.022);

    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, 0.018);

    transition:
        border-color 180ms ease,
        background 180ms ease,
        transform 180ms ease;
}


.flow-node:hover {
    border-color:
        rgba(106, 15, 201, 0.26);

    background:
        rgba(106, 15, 201, 0.035);

    transform:
        translateX(2px);
}


.flow-node strong {
    display: block;

    color:
        var(--nahui-white);

    font-family:
        var(--nahui-font-display);

    font-size: 0.75rem;
    font-weight: 700;
}


.flow-node span {
    display: block;

    margin-top: 3px;

    color:
        var(--nahui-muted-dark);

    font-size: 0.65rem;
}


.flow-arrow {
    height: 15px;

    color: #5f6d83;

    font-size: 18px;
    line-height: 15px;

    text-align: center;
}


.flow-node.highlight {
    border-color:
        rgba(106, 15, 201, 0.36);

    background:
        linear-gradient(
            137deg,
            rgba(0, 5, 255, 0.07),
            rgba(106, 15, 201, 0.10),
            rgba(255, 0, 123, 0.055)
        );

    box-shadow:
        0 0 32px
        rgba(106, 15, 201, 0.055),

        inset 0 1px 0
        rgba(255, 255, 255, 0.025);
}



/* =========================================================
   MINI CODE
   ========================================================= */

.mini-code {
    position: relative;
    z-index: 2;

    margin-top: 16px;

    padding: 14px;

    overflow: auto;

    border:
        1px solid
        rgba(255, 255, 255, 0.075);

    border-radius: 12px;

    color: #bac5d7;

    background:
        rgba(0, 0, 0, 0.64);

    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        monospace;

    font-size: 0.66rem;
    line-height: 1.58;

    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, 0.018);
}


.code-key {
    color: #ad99ff;
}


.code-val {
    color: #59dd99;
}



/* =========================================================
   SECTIONS
   ========================================================= */

.section {
    position: relative;

    padding:
        88px
        0;
}


.section-head {
    max-width: 760px;

    position: relative;

    margin-bottom: 34px;

    padding-top: 13px;
}


/*
   pequeña línea Nahui en cada encabezado
*/

.section-head::before {
    content: "";

    width: 92px;
    height: 2px;

    position: absolute;

    top: 0;
    left: 0;

    border-radius: 999px;

    background:
        var(--nahui-gradient-horizontal);

    opacity: 0.88;
}


.eyebrow {
    display: block;

    margin-bottom: 9px;

    color: #9c88e8;

    font-size: 0.56rem;
    font-weight: 850;

    letter-spacing:
        0.13em;

    text-transform:
        uppercase;
}


.section-head p {
    max-width: 690px;

    margin:
        13px
        0
        0;

    color:
        var(--nahui-muted);

    font-size: 0.86rem;
    line-height: 1.68;

    text-wrap: pretty;
}



/* =========================================================
   GRIDS
   ========================================================= */

.grid-3 {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 15px;
}


.grid-2 {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 15px;
}



/* =========================================================
   CARDS NAHUI
   ========================================================= */

.card {
    min-width: 0;

    position: relative;

    overflow: hidden;

    padding: 22px;

    border:
        1px solid
        var(--nahui-border);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.028),
            rgba(255, 255, 255, 0.005)
        ),

        rgba(5, 5, 20, 0.37);

    box-shadow:
        0 18px 48px
        rgba(0, 0, 0, 0.24),

        inset 0 1px 0
        rgba(255, 255, 255, 0.035);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);

    transition:
        transform 200ms ease,
        border-color 200ms ease,
        background 200ms ease,
        box-shadow 200ms ease;
}


/*
   Línea superior Nahui
*/

.card::before {
    content: "";

    position: absolute;

    top: 0;
    right: 20px;
    left: 20px;

    height: 2px;

    border-radius:
        0 0 999px 999px;

    background:
        var(--nahui-gradient-horizontal);

    opacity: 0.72;
}


/*
   Halo interno
*/

.card::after {
    content: "";

    width: 180px;
    height: 180px;

    position: absolute;

    top: -118px;
    right: -104px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(106, 15, 201, 0.12),
            rgba(255, 0, 123, 0.04) 50%,
            transparent 72%
        );

    pointer-events: none;
}


.card > * {
    position: relative;
    z-index: 2;
}


.card:hover {
    border-color:
        var(--nahui-border-hover);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.048),
            rgba(255, 255, 255, 0.009)
        ),

        rgba(5, 5, 20, 0.42);

    box-shadow:
        0 21px 48px
        rgba(0, 0, 0, 0.30),

        0 0 32px
        rgba(106, 15, 201, 0.05),

        inset 0 1px 0
        rgba(255, 255, 255, 0.05);

    transform:
        translateY(-4px);
}


.card p {
    margin:
        9px
        0
        0;

    color:
        var(--nahui-muted);

    font-size: 0.76rem;
    line-height: 1.62;
}


.card .num {
    margin-bottom: 22px;

    color: #9c88e8;

    font-family:
        var(--nahui-font-display);

    font-size: 0.61rem;
    font-weight: 760;

    letter-spacing:
        0.08em;
}



/* =========================================================
   ICONS
   ========================================================= */

.icon {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    margin-bottom: 18px;

    border:
        1px solid
        rgba(106, 15, 201, 0.20);

    border-radius: 13px;

    color: #c6a9ff;

    background:
        linear-gradient(
            145deg,
            rgba(106, 15, 201, 0.13),
            rgba(255, 0, 123, 0.06)
        );

    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, 0.025);
}



/* =========================================================
   ARCHITECTURE
   ========================================================= */

.architecture {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 9px;

    margin-top: 28px;

    color: #a9b4c5;

    font-size: 0.68rem;
}


.arch-item {
    padding:
        8px
        11px;

    border:
        1px solid
        var(--nahui-border);

    border-radius: 10px;

    background:
        rgba(255, 255, 255, 0.022);
}


.arch-arrow {
    color: #5f6d83;
}



/* =========================================================
   USE LIST
   ========================================================= */

.use-list {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 10px;
}


.use-item {
    position: relative;

    overflow: hidden;

    padding:
        15px
        17px
        15px
        20px;

    border:
        1px solid
        rgba(255, 255, 255, 0.065);

    border-radius: 11px;

    color: #aeb9ca;

    background:
        rgba(255, 255, 255, 0.018);

    font-size: 0.74rem;

    transition:
        border-color 180ms ease,
        background 180ms ease,
        transform 180ms ease;
}


.use-item::before {
    content: "";

    width: 2px;

    position: absolute;

    top: 9px;
    bottom: 9px;
    left: 0;

    border-radius:
        0 999px 999px 0;

    background:
        var(--nahui-gradient);
}


.use-item:hover {
    border-color:
        rgba(106, 15, 201, 0.24);

    background:
        rgba(106, 15, 201, 0.035);

    transform:
        translateX(2px);
}



/* =========================================================
   WARNING
   ========================================================= */

.warning-card {
    position: relative;

    overflow: hidden;

    padding: 25px;

    border:
        1px solid
        rgba(255, 176, 32, 0.16);

    border-radius: 16px;

    background:
        rgba(255, 176, 32, 0.035);
}


.warning-card h3 {
    color: #eac77f;
}


.clean-list {
    display: grid;

    gap: 8px;

    margin:
        14px
        0
        0;

    padding: 0;

    list-style: none;
}


.clean-list li {
    position: relative;

    padding-left: 20px;

    color: #aeb9ca;

    font-size: 0.74rem;
}


.clean-list li::before {
    content: "—";

    position: absolute;
    left: 0;

    color: #667489;
}



/* =========================================================
   SECURITY
   ========================================================= */

.security-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.88fr)
        minmax(0, 1.12fr);

    align-items: start;

    gap: 18px;
}


.security-badge {
    padding: 30px;
}


.shield {
    width: 64px;
    height: 72px;

    display: grid;
    place-items: center;

    margin-bottom: 24px;

    clip-path:
        polygon(
            50% 0,
            90% 14%,
            90% 53%,
            50% 100%,
            10% 53%,
            10% 14%
        );

    color: #ffffff;

    background:
        var(--nahui-gradient);

    font-weight: 900;

    filter:
        drop-shadow(
            0 13px 20px
            rgba(106, 15, 201, 0.30)
        );
}


.channel-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 14px;

    padding:
        17px
        0;

    border-bottom:
        1px solid
        var(--nahui-border);
}


.channel-row:last-child {
    border-bottom: 0;
}


.channel-state {
    min-height: 26px;

    display: inline-flex;
    align-items: center;

    padding:
        0
        9px;

    border:
        1px solid
        var(--nahui-border);

    border-radius: 999px;

    color:
        var(--nahui-muted);

    background:
        rgba(255, 255, 255, 0.022);

    font-size: 0.58rem;
    font-weight: 760;
}


.channel-state.live {
    border-color:
        rgba(50, 213, 131, 0.16);

    color:
        var(--nahui-green);

    background:
        rgba(50, 213, 131, 0.055);
}


.channel-state.soon {
    color:
        var(--nahui-muted);
}



/* =========================================================
   PRICING
   ========================================================= */

.pricing-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 22px;
}


.market-select {
    display: flex;
    flex-direction: column;

    gap: 6px;
}


.market-select label {
    color:
        var(--nahui-muted-dark);

    font-size: 0.56rem;
    font-weight: 800;

    letter-spacing:
        0.11em;

    text-transform:
        uppercase;
}


.market-select select {
    min-height: 40px;

    padding:
        0
        32px
        0
        11px;

    border:
        1px solid
        var(--nahui-border-strong);

    border-radius: 10px;

    outline: none;

    color: #ffffff;

    background:
        #07071f;

    cursor: pointer;
}


.market-select select:focus {
    border-color:
        rgba(106, 15, 201, 0.85);

    box-shadow:
        0 0 0 3px
        rgba(106, 15, 201, 0.11);
}


.pricing {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    align-items: stretch;

    gap: 14px;

    margin-top: 30px;
}



/* =========================================================
   PRICE CARDS
   ========================================================= */

.price-card {
    min-width: 0;

    position: relative;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    padding: 25px;

    border:
        1px solid
        rgba(255, 255, 255, 0.075);

    border-radius: 18px;

    background:
        linear-gradient(
            150deg,
            rgba(255, 255, 255, 0.027),
            rgba(255, 255, 255, 0.006)
        ),

        rgba(0, 0, 0, 0.34);

    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, 0.025);

    transition:
        transform 200ms ease,
        border-color 200ms ease,
        background 200ms ease,
        box-shadow 200ms ease;
}


.price-card::before {
    content: "";

    position: absolute;

    top: 0;
    right: 18px;
    left: 18px;

    height: 2px;

    border-radius:
        0 0 999px 999px;

    background:
        var(--nahui-gradient-horizontal);

    opacity: 0.55;
}


.price-card::after {
    content: "";

    width: 170px;
    height: 170px;

    position: absolute;

    top: -120px;
    right: -90px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(106, 15, 201, 0.14),
            transparent 70%
        );

    pointer-events: none;
}


.price-card > * {
    position: relative;
    z-index: 2;
}


.price-card:hover {
    border-color:
        rgba(106, 15, 201, 0.24);

    background:
        linear-gradient(
            150deg,
            rgba(106, 15, 201, 0.045),
            rgba(255, 0, 123, 0.015)
        ),

        rgba(0, 0, 0, 0.34);

    box-shadow:
        0 20px 50px
        rgba(0, 0, 0, 0.32),

        0 0 35px
        rgba(106, 15, 201, 0.045),

        inset 0 1px 0
        rgba(255, 255, 255, 0.04);

    transform:
        translateY(-4px);
}


.price-card.featured {
    border-color:
        rgba(106, 15, 201, 0.40);

    background:
        linear-gradient(
            145deg,
            rgba(0, 5, 255, 0.07),
            rgba(106, 15, 201, 0.09) 50%,
            rgba(255, 0, 123, 0.05)
        ),

        rgba(7, 7, 31, 0.48);

    box-shadow:
        0 22px 54px
        rgba(0, 0, 0, 0.34),

        0 0 40px
        rgba(106, 15, 201, 0.07),

        inset 0 1px 0
        rgba(255, 255, 255, 0.04);
}


.price-card.featured::before {
    opacity: 1;
}


.price-name {
    color:
        var(--nahui-white);

    font-family:
        var(--nahui-font-display);

    font-size: 0.88rem;
    font-weight: 760;

    letter-spacing:
        -0.035em;
}


.price {
    margin:
        17px
        0
        3px;

    color: #ffffff;

    font-family:
        var(--nahui-font-display);

    font-size: 2.1rem;
    font-weight: 760;

    line-height: 1;

    letter-spacing:
        -0.055em;
}


.price small {
    color:
        var(--nahui-muted);

    font-family:
        var(--nahui-font-body);

    font-size: 0.72rem;
    font-weight: 650;
}


.price-note {
    min-height: 20px;

    color:
        var(--nahui-muted-dark);

    font-size: 0.62rem;
}


.price-card ul {
    min-height: 210px;

    padding-left: 18px;

    color: #aeb9ca;

    font-size: 0.72rem;
}


.price-card li {
    margin:
        8px
        0;
}


.price-card li::marker {
    color: #9a7de7;
}


.plan-badge {
    position: absolute;

    top: 17px;
    right: 18px;

    z-index: 4;

    padding:
        4px
        8px;

    border:
        1px solid
        rgba(255, 0, 123, 0.24);

    border-radius: 999px;

    color: #ee85b7;

    background:
        rgba(255, 0, 123, 0.055);

    font-size: 0.55rem;
    font-weight: 780;

    text-transform: uppercase;
}


.commercial-note {
    margin-top: 18px;

    padding-left: 13px;

    border-left:
        2px solid
        rgba(255, 176, 32, 0.45);

    color: #9eabbc;

    font-size: 0.67rem;
    line-height: 1.6;
}



/* =========================================================
   COMPARE TABLE
   ========================================================= */

.compare {
    margin-top: 34px;

    overflow: auto;

    border:
        1px solid
        var(--nahui-border);

    border-radius: 14px;

    background:
        rgba(0, 0, 0, 0.22);

    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, 0.02);
}


.compare table {
    width: 100%;

    min-width: 720px;

    border-collapse:
        collapse;
}


.compare th,
.compare td {
    padding:
        14px
        16px;

    border-bottom:
        1px solid
        var(--nahui-border);

    font-size: 0.69rem;

    text-align: left;
}


.compare th {
    color: #ffffff;

    background:
        rgba(106, 15, 201, 0.055);

    font-weight: 760;
}


.compare td {
    color: #abb6c7;
}


.compare tbody tr {
    transition:
        background 160ms ease;
}


.compare tbody tr:hover {
    background:
        rgba(106, 15, 201, 0.025);
}


.compare tr:last-child td {
    border-bottom: 0;
}



/* =========================================================
   FAQ
   ========================================================= */

.faq {
    display: grid;

    gap: 9px;
}


.faq details {
    overflow: hidden;

    padding:
        0
        18px;

    border:
        1px solid
        var(--nahui-border);

    border-radius: 12px;

    background:
        rgba(255, 255, 255, 0.018);

    transition:
        background 180ms ease,
        border-color 180ms ease;
}


.faq details:hover,
.faq details[open] {
    border-color:
        rgba(106, 15, 201, 0.24);

    background:
        rgba(106, 15, 201, 0.03);
}


.faq summary {
    padding:
        17px
        0;

    color: #dce5f1;

    font-family:
        var(--nahui-font-display);

    font-size: 0.76rem;
    font-weight: 700;

    cursor: pointer;
}


.faq summary::marker {
    color: #9b7be8;
}


.faq p {
    margin: 0;

    padding:
        0
        0
        17px;

    color:
        var(--nahui-muted);

    font-size: 0.73rem;
}



/* =========================================================
   CTA
   ========================================================= */

.cta-panel {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    overflow: hidden;

    padding: 42px;

    border:
        1px solid
        var(--nahui-border);

    border-radius: 22px;

    background:
        linear-gradient(
            137deg,
            rgba(0, 5, 255, 0.09),
            rgba(106, 15, 201, 0.08) 52%,
            rgba(255, 0, 123, 0.055)
        ),

        rgba(7, 7, 31, 0.52);

    box-shadow:
        0 28px 70px
        rgba(0, 0, 0, 0.38),

        inset 0 1px 0
        rgba(255, 255, 255, 0.035);

    backdrop-filter:
        blur(20px);

    -webkit-backdrop-filter:
        blur(20px);
}


.cta-panel::before {
    content: "";

    position: absolute;

    top: 0;
    right: 30px;
    left: 30px;

    height: 2px;

    border-radius:
        0 0 999px 999px;

    background:
        var(--nahui-gradient-horizontal);
}


.cta-panel::after {
    content: "";

    width: 260px;
    height: 260px;

    position: absolute;

    top: -160px;
    right: -80px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 0, 123, 0.15),
            transparent 70%
        );

    filter:
        blur(32px);

    pointer-events: none;
}


.cta-panel > * {
    position: relative;
    z-index: 2;
}


.cta-panel p {
    max-width: 650px;

    margin:
        10px
        0
        0;

    color:
        var(--nahui-muted);

    font-size: 0.77rem;
}



/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding:
        34px
        0
        48px;

    border-top:
        1px solid
        var(--nahui-border);

    color:
        var(--nahui-muted-dark);

    font-size: 0.67rem;

    background:
        rgba(0, 0, 0, 0.18);
}


.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    flex-wrap: wrap;

    gap: 24px;
}


.footer-links {
    display: flex;
    align-items: center;

    flex-wrap: wrap;

    gap: 18px;
}


.footer-links a {
    color: #7f8ca1;

    text-decoration: none;

    transition:
        color 180ms ease;
}


.footer-links a:hover,
.footer-links a:focus-visible {
    color: #ffffff;
}



/* =========================================================
   DOCS
   ========================================================= */

.docs-shell {
    width: 100%;

    max-width: 1460px;

    display: grid;

    grid-template-columns:
        270px
        minmax(0, 1fr);

    margin-inline:
        auto;

    min-height:
        calc(100vh - 76px);
}



/* =========================================================
   DOCS SIDE
   ========================================================= */

.docs-side {
    height:
        calc(100vh - 76px);

    position: sticky;

    top: 76px;

    overflow: auto;

    padding:
        22px
        18px
        42px;

    border-right:
        1px solid
        rgba(255, 255, 255, 0.075);

    background:
        rgba(0, 0, 0, 0.32);

    backdrop-filter:
        blur(20px);

    -webkit-backdrop-filter:
        blur(20px);
}



/* =========================================================
   DOCS SEARCH
   ========================================================= */

.docs-search {
    position: relative;

    margin-bottom: 18px;
}


.docs-search::before {
    content: "⌕";

    position: absolute;

    top: 7px;
    left: 11px;

    color: #657489;
}


.docs-search input {
    width: 100%;

    min-height: 40px;

    padding:
        0
        11px
        0
        34px;

    border:
        1px solid
        var(--nahui-border);

    border-radius: 10px;

    outline: none;

    color: #ffffff;

    background:
        rgba(255, 255, 255, 0.025);

    font-size: 0.68rem;

    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease;
}


.docs-search input::placeholder {
    color:
        var(--nahui-muted-dark);
}


.docs-search input:focus {
    border-color:
        rgba(106, 15, 201, 0.70);

    background:
        rgba(106, 15, 201, 0.04);

    box-shadow:
        0 0 0 3px
        rgba(106, 15, 201, 0.10);
}



/* =========================================================
   DOC NAV
   ========================================================= */

.docs-nav-label {
    margin:
        20px
        9px
        7px;

    color: #5f6d83;

    font-size: 0.53rem;
    font-weight: 850;

    letter-spacing:
        0.13em;

    text-transform:
        uppercase;
}


.docs-nav a {
    min-height: 36px;

    display: flex;
    align-items: center;

    gap: 8px;

    margin:
        2px
        0;

    padding:
        0
        10px;

    border:
        1px solid
        transparent;

    border-radius: 9px;

    color: #8491a6;

    font-size: 0.67rem;
    font-weight: 680;

    text-decoration: none;

    transition:
        color 180ms ease,
        border-color 180ms ease,
        background 180ms ease,
        transform 180ms ease;
}


.docs-nav a:hover {
    color: #dce5f1;

    background:
        rgba(255, 255, 255, 0.03);

    transform:
        translateX(2px);
}


.docs-nav a.active {
    position: relative;

    border-color:
        rgba(106, 15, 201, 0.20);

    color: #ffffff;

    background:
        linear-gradient(
            90deg,
            rgba(0, 5, 255, 0.08),
            rgba(106, 15, 201, 0.10),
            rgba(255, 0, 123, 0.04)
        );

    box-shadow:
        inset 2px 0 0
        #6a0fc9;
}



/* =========================================================
   DOCS MAIN
   ========================================================= */

.docs-main {
    width: 100%;

    max-width: 960px;

    padding:
        58px
        64px
        100px;
}


.docs-breadcrumb {
    margin-bottom: 20px;

    color:
        var(--nahui-muted-dark);

    font-size: 0.62rem;
    font-weight: 680;
}


.docs-main h1 {
    max-width: 850px;

    margin-top: 0;

    font-size:
        clamp(
            2.3rem,
            5vw,
            3.8rem
        );
}


.docs-main h2 {
    margin-top: 54px;

    padding-top: 8px;

    font-size: 1.8rem;

    /*
       Para docs hacemos el degradado un poco
       más compacto y legible.
    */

    background-size:
        360px 100%;

    background-repeat:
        no-repeat;
}


.docs-main h3 {
    margin-top: 32px;

    color:
        var(--nahui-white);

    font-size: 1.08rem;
}


.docs-main p,
.docs-main li {
    color: #aab5c7;

    font-size: 0.78rem;
    line-height: 1.72;
}


.docs-main strong {
    color: #e7edf7;
}


.doc-lede {
    max-width: 790px;

    color:
        #b9c3d3 !important;

    font-size:
        1rem !important;

    line-height:
        1.72 !important;
}


.docs-main a:not(.btn):not(.doc-card) {
    color: #aa91ee;

    text-decoration-color:
        rgba(170, 145, 238, 0.40);

    text-underline-offset:
        3px;
}


.docs-main a:not(.btn):not(.doc-card):hover {
    color: #d1c4ff;
}



/* =========================================================
   INLINE CODE
   ========================================================= */

.docs-main code:not(pre code) {
    padding:
        2px
        5px;

    border:
        1px solid
        rgba(106, 15, 201, 0.15);

    border-radius: 6px;

    color: #c9bbf7;

    background:
        rgba(106, 15, 201, 0.065);

    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        monospace;

    font-size: 0.88em;
}



/* =========================================================
   NOTES
   ========================================================= */

.note {
    margin:
        23px
        0;

    padding:
        16px
        18px;

    border:
        1px solid
        rgba(106, 15, 201, 0.13);

    border-left:
        3px solid
        var(--nahui-violet);

    border-radius:
        0
        10px
        10px
        0;

    color: #b9addc;

    background:
        rgba(106, 15, 201, 0.045);

    font-size: 0.74rem;
}


.note.warn {
    border-color:
        rgba(255, 176, 32, 0.13);

    border-left-color:
        var(--nahui-warning);

    color: #cdb98e;

    background:
        rgba(255, 176, 32, 0.04);
}


.note.danger {
    border-color:
        rgba(255, 0, 123, 0.13);

    border-left-color:
        var(--nahui-pink);

    color: #d1a4b8;

    background:
        rgba(255, 0, 123, 0.04);
}



/* =========================================================
   HTTP
   ========================================================= */

.http-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;

    margin:
        18px
        0;
}


.method {
    min-height: 27px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding:
        0
        9px;

    border-radius: 7px;

    color: #ffffff;

    background:
        var(--nahui-gradient);

    font-size: 0.56rem;
    font-weight: 900;

    letter-spacing:
        0.04em;

    box-shadow:
        0 8px 19px
        rgba(106, 15, 201, 0.16);
}


.endpoint {
    overflow-wrap: anywhere;

    color: #bac5d7;

    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        monospace;

    font-size: 0.68rem;
}



/* =========================================================
   CODE BOXES
   ========================================================= */

.codebox {
    position: relative;

    margin:
        18px
        0
        26px;

    overflow: hidden;

    border:
        1px solid
        rgba(255, 255, 255, 0.08);

    border-radius: 13px;

    background:
        rgba(0, 0, 0, 0.68);

    box-shadow:
        0 20px 48px
        rgba(0, 0, 0, 0.35),

        inset 0 1px 0
        rgba(255, 255, 255, 0.025);
}


.codebox::before {
    content: "";

    position: absolute;

    top: 0;
    right: 18px;
    left: 18px;

    z-index: 3;

    height: 1px;

    background:
        var(--nahui-gradient-horizontal);

    opacity: 0.78;
}


.codebar {
    min-height: 42px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    padding:
        0
        10px
        0
        13px;

    border-bottom:
        1px solid
        var(--nahui-border);

    color:
        var(--nahui-muted-dark);

    background:
        rgba(255, 255, 255, 0.018);

    font-size: 0.57rem;
    font-weight: 680;
}


.copy-btn {
    min-height: 28px;

    padding:
        0
        9px;

    border:
        1px solid
        var(--nahui-border);

    border-radius: 8px;

    color: #8996a9;

    background:
        rgba(255, 255, 255, 0.025);

    font-size: 0.57rem;
    font-weight: 700;

    cursor: pointer;

    transition:
        color 180ms ease,
        border-color 180ms ease,
        background 180ms ease;
}


.copy-btn:hover,
.copy-btn:focus-visible {
    color: #ffffff;

    border-color:
        rgba(106, 15, 201, 0.40);

    background:
        rgba(106, 15, 201, 0.08);

    outline: none;
}


pre {
    margin: 0;

    overflow: auto;

    padding:
        18px;

    color: #b8c3d7;

    tab-size: 2;

    line-height: 1.60;
}


pre code {
    color: #b8c3d7;

    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Consolas,
        monospace;

    font-size: 0.67rem;
}



/* =========================================================
   DOC CARDS
   ========================================================= */

.doc-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 12px;

    margin:
        24px
        0;
}


.doc-card {
    min-width: 0;

    position: relative;

    overflow: hidden;

    padding: 18px;

    border:
        1px solid
        var(--nahui-border);

    border-radius: 12px;

    color: inherit;

    background:
        rgba(255, 255, 255, 0.018);

    text-decoration: none;

    transition:
        border-color 180ms ease,
        background 180ms ease,
        transform 180ms ease;
}


.doc-card::before {
    content: "";

    position: absolute;

    top: 0;
    right: 14px;
    left: 14px;

    height: 1px;

    background:
        var(--nahui-gradient-horizontal);

    opacity: 0.55;
}


.doc-card::after {
    content: "";

    width: 130px;
    height: 130px;

    position: absolute;

    top: -90px;
    right: -70px;

    border-radius: 50%;

    background:
        rgba(106, 15, 201, 0.12);

    filter:
        blur(24px);

    pointer-events: none;
}


.doc-card:hover,
.doc-card:focus-visible {
    border-color:
        rgba(106, 15, 201, 0.27);

    background:
        var(--nahui-gradient-soft);

    outline: none;

    transform:
        translateY(-2px);
}


.doc-card strong {
    position: relative;
    z-index: 2;

    display: block;

    color:
        var(--nahui-white);

    font-family:
        var(--nahui-font-display);

    font-size: 0.76rem;
    font-weight: 700;
}


.doc-card span {
    position: relative;
    z-index: 2;

    display: block;

    margin-top: 5px;

    color: #7f8ca1;

    font-size: 0.65rem;
}



/* =========================================================
   DOC TABLES
   ========================================================= */

.docs-main table {
    width: 100%;

    display: block;

    margin:
        22px
        0;

    overflow: auto;

    border-collapse:
        collapse;
}


.docs-main th,
.docs-main td {
    padding:
        11px
        12px;

    border:
        1px solid
        var(--nahui-border);

    font-size: 0.67rem;

    text-align: left;
}


.docs-main th {
    color: #eef1f7;

    background:
        rgba(106, 15, 201, 0.055);

    font-weight: 740;
}


.docs-main td {
    color: #a8b3c4;
}



/* =========================================================
   TABLE OF CONTENTS
   ========================================================= */

.toc {
    position: relative;

    overflow: hidden;

    margin:
        24px
        0;

    padding:
        15px
        16px;

    border:
        1px solid
        var(--nahui-border);

    border-radius: 12px;

    background:
        rgba(255, 255, 255, 0.016);
}


.toc::before {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;
    left: 0;

    width: 2px;

    background:
        var(--nahui-gradient);
}


.toc strong {
    color: #b7c1d1;

    font-size: 0.57rem;
    font-weight: 800;

    letter-spacing:
        0.09em;

    text-transform:
        uppercase;
}


.toc a {
    display: inline-block;

    margin:
        7px
        12px
        0
        0;

    color: #9c88e8;

    font-size: 0.65rem;

    text-decoration: none;
}


.toc a:hover {
    color: #d0c4ff;
}



/* =========================================================
   DOWNLOAD ROW
   ========================================================= */

.download-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 9px;

    margin:
        23px
        0;
}


.kbd {
    display: inline-flex;
    align-items: center;

    padding:
        1px
        6px;

    border:
        1px solid
        var(--nahui-border-strong);

    border-bottom-color:
        rgba(255, 255, 255, 0.24);

    border-radius: 5px;

    color: #adb8c8;

    background:
        rgba(255, 255, 255, 0.035);

    font-size: 0.57rem;

    box-shadow:
        0 2px 0
        rgba(0, 0, 0, 0.45);
}


.docs-mobile-toggle {
    display: none;
}



/* =========================================================
   FOCUS
   ========================================================= */

:focus-visible {
    outline:
        2px solid
        rgba(156, 136, 232, 0.94);

    outline-offset: 3px;

    border-radius: 5px;
}



/* =========================================================
   ANIMACIONES
   ========================================================= */

@keyframes nahui-page-in {

    from {
        opacity: 0;

        transform:
            translateY(8px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}


.hero-grid,
.section-head,
.docs-main {
    animation:
        nahui-page-in
        420ms
        cubic-bezier(0.22, 1, 0.36, 1)
        both;
}



/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    body::before {
        background:

            radial-gradient(
                circle at 12% 3%,
                rgb(2 0 255 / 31%) 0%,
                transparent 38%
            ),

            radial-gradient(
                circle at 88% 12%,
                rgba(106, 15, 201, 0.14) 0%,
                transparent 34%
            ),

            radial-gradient(
                circle at 92% 92%,
                rgb(255 0 123 / 20%) 0%,
                transparent 40%
            ),

            #000000;
    }


    body::after {
        opacity: 0.17;

        background-size:
            56px 56px;
    }


    .header-inner {
        width:
            calc(100% - 28px);
    }


    .hero {
        padding-top:
            62px;
    }


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

        gap: 42px;
    }


    .hero-console {
        min-height: 0;
    }


    .grid-3,
    .pricing {
        grid-template-columns:
            1fr;
    }


    .grid-2,
    .security-grid {
        grid-template-columns:
            1fr;
    }


    .price-card ul {
        min-height: 0;
    }


    .pricing-head {
        align-items: flex-start;

        flex-direction:
            column;
    }


    .cta-panel {
        align-items:
            flex-start;

        flex-direction:
            column;

        padding: 30px;
    }


    /* docs */

    .docs-shell {
        display: block;
    }


    .docs-side {
        width:
            min(
                84vw,
                300px
            );

        height: auto;

        position: fixed;

        top: 76px;
        bottom: 0;
        left: 0;

        z-index: 1200;

        padding:
            22px
            18px
            42px;

        border-right:
            1px solid
            rgba(255, 255, 255, 0.09);

        background:
            rgba(0, 0, 0, 0.96);

        box-shadow: none;

        backdrop-filter:
            blur(24px);

        -webkit-backdrop-filter:
            blur(24px);

        transform:
            translateX(-102%);

        transition:
            transform
            190ms
            cubic-bezier(0.22, 1, 0.36, 1);
    }


    .docs-side.open {
        box-shadow:
            30px 0 80px
            rgba(0, 0, 0, 0.66);

        transform:
            translateX(0);
    }


    .docs-main {
        margin-inline:
            auto;

        padding:
            42px
            22px
            86px;
    }


    .docs-mobile-toggle {
        min-height: 34px;

        display: inline-flex;
        align-items: center;
        justify-content: center;

        margin-left:
            auto;

        padding:
            0
            10px;

        border:
            1px solid
            var(--nahui-border);

        border-radius: 9px;

        color: #ffffff;

        background:
            rgba(106, 15, 201, 0.06);

        font-size: 0.61rem;
        font-weight: 700;

        cursor: pointer;
    }
}



/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 680px) {

    body {
        font-size: 15px;

        background:

            radial-gradient(
                circle at 12% 3%,
                rgb(2 0 255 / 31%) 0%,
                transparent 38%
            ),

            radial-gradient(
                circle at 88% 12%,
                rgba(106, 15, 201, 0.14) 0%,
                transparent 34%
            ),

            radial-gradient(
                circle at 92% 92%,
                rgb(255 0 123 / 20%) 0%,
                transparent 40%
            ),

            #000000;

        background-attachment:
            fixed;
    }


    .site-header {
        background:
            rgba(0, 0, 0, 0.84);
    }


    .header-inner {
        width: 100%;

        min-height: 68px;

        padding:
            0
            16px;
    }


    .brand-mark {
        width: 36px;
        height: 36px;

        flex-basis: 36px;
    }


    .brand-mark::after {
        inset: 9px;
    }


    .brand span small {
        display: none;
    }


    .topnav {
        position: absolute;

        top: 67px;
        right: 10px;
        left: 10px;

        display: none;

        align-items: stretch;
        flex-direction: column;

        gap: 3px;

        padding: 10px;

        border:
            1px solid
            var(--nahui-border);

        border-radius: 14px;

        background:
            rgba(0, 0, 0, 0.96);

        box-shadow:
            0 30px 70px
            rgba(0, 0, 0, 0.70);

        backdrop-filter:
            blur(24px);

        -webkit-backdrop-filter:
            blur(24px);
    }


    .topnav.open {
        display: flex;
    }


    .topnav a {
        width: 100%;

        justify-content:
            flex-start;

        padding:
            0
            11px;
    }


    .topnav .nav-cta {
        justify-content:
            center;

        margin-top: 3px;
    }


    .menu-btn {
        display: block;
    }


    .wrap {
        width: 100%;

        padding-left: 17px;
        padding-right: 17px;
    }


    .hero {
        padding:
            50px
            0
            46px;
    }


    .hero::before {
        width: 400px;
        height: 400px;

        top: -260px;
        left: -240px;
    }


    .hero::after {
        width: 380px;
        height: 380px;

        top: -240px;
        right: -250px;
    }


    h1 {
        font-size:
            clamp(
                2.45rem,
                12vw,
                3.5rem
            );

        line-height:
            0.98;
    }


    h2 {
        font-size:
            clamp(
                1.9rem,
                9vw,
                2.6rem
            );
    }


    .lede {
        font-size:
            0.94rem;

        line-height:
            1.68;
    }


    .actions {
        align-items:
            stretch;

        flex-direction:
            column;
    }


    .actions .btn {
        width: 100%;
    }


    .section {
        padding:
            64px
            0;
    }


    .section-head {
        padding-top: 12px;
    }


    .grid-2,
    .use-list,
    .doc-grid {
        grid-template-columns:
            1fr;
    }


    .architecture {
        align-items:
            flex-start;

        flex-direction:
            column;
    }


    .arch-arrow {
        margin-left: 22px;

        transform:
            rotate(90deg);
    }


    .hero-console {
        padding: 14px;

        border-radius: 18px;
    }


    .hero-console::before {
        right: 20px;
        left: 20px;
    }


    .pricing {
        grid-template-columns:
            1fr;
    }


    .price-card {
        padding: 21px;
    }


    .compare {
        margin-right: -1px;
        margin-left: -1px;
    }


    .cta-panel {
        padding:
            25px
            22px;

        border-radius: 18px;
    }


    .site-footer {
        padding-bottom: 32px;
    }


    .footer-inner {
        align-items:
            flex-start;

        flex-direction:
            column;
    }


    .docs-main {
        padding:
            38px
            17px
            80px;
    }


    .docs-main h1 {
        font-size: 2.45rem;
    }


    .docs-main h2 {
        margin-top: 45px;

        font-size: 1.55rem;

        background-size:
            280px 100%;
    }


    .docs-main h3 {
        font-size: 1.02rem;
    }


    .docs-main p,
    .docs-main li {
        font-size: 0.76rem;
    }


    .doc-lede {
        font-size:
            0.91rem !important;
    }


    .codebox {
        margin-right: -2px;
        margin-left: -2px;
    }


    pre {
        padding: 15px;
    }


    pre code {
        font-size:
            0.63rem;
    }
}



/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .kicker {
        font-size: 0.54rem;
    }


    h1 {
        font-size:
            clamp(
                2.25rem,
                12vw,
                3rem
            );
    }


    .trust-row {
        align-items:
            flex-start;

        flex-direction:
            column;
    }


    .pill {
        width: fit-content;
    }


    .card {
        padding: 19px;
    }


    .price-card {
        padding: 19px;
    }


    .cta-panel {
        padding:
            23px
            19px;
    }


    .docs-main h1 {
        font-size:
            2.15rem;
    }
}



/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior:
            auto !important;

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;
    }
}

/* =========================================================
   NAHUI CONNECT · AJUSTE PRO
   PEGA ESTE BLOQUE AL FINAL DE TU styles.css
   NO REQUIERE CAMBIOS EN HTML NI JS
   ========================================================= */


/* =========================================================
   1. CONTENEDOR GENERAL MÁS AMPLIO
   El hero necesita más aire horizontal para evitar
   que el título se rompa en 4 renglones.
   ========================================================= */

:root {
    --content: 1320px;
}


/* =========================================================
   2. HERO · COMPOSICIÓN MÁS PROFESIONAL
   Más espacio para copy y menos protagonismo horizontal
   para la consola.
   ========================================================= */

.hero {
    padding:
        clamp(88px, 8vw, 118px)
        0
        clamp(72px, 7vw, 96px);
}


.hero-grid {
    width:
        min(
            var(--content),
            calc(100% - 48px)
        );

    display: grid;

    grid-template-columns:
        minmax(0, 1.42fr)
        minmax(350px, 0.68fr);

    align-items: center;

    gap:
        clamp(
            42px,
            4.5vw,
            64px
        );
}


/*
   El primer div del hero puede utilizar todo
   el ancho que le corresponde.
*/

.hero-grid > div:first-child {
    min-width: 0;
    width: 100%;
}


/* =========================================================
   3. HERO KICKER
   Más pequeño y premium.
   ========================================================= */

.hero .kicker {
    width: fit-content;
    max-width: 100%;

    display: inline-flex;

    margin: 0;

    padding:
        7px
        11px;

    border:
        1px solid
        rgba(106, 15, 201, 0.24);

    border-radius: 999px;

    color: #bcaef3;

    background:
        linear-gradient(
            90deg,
            rgba(0, 5, 255, 0.055),
            rgba(106, 15, 201, 0.075),
            rgba(255, 0, 123, 0.035)
        );

    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, 0.035);

    font-size: 0.58rem;
    font-weight: 800;

    letter-spacing: 0.115em;

    line-height: 1;

    white-space: nowrap;
}


/* =========================================================
   4. HERO TITLE
   IMPORTANTE:
   width: fit-content hace que el degradado mida
   exactamente lo que mide el texto y no toda la columna.
   ========================================================= */

.hero h1,
.hero h1.gradient-text {
    width: fit-content;
    max-width: 100%;

    display: block;

    margin:
        21px
        0
        0;

    padding: 0;

    color: transparent !important;

    background:
        linear-gradient(
            90deg,
            #0005ff 0%,
            #6a0fc9 52%,
            #ff007b 100%
        ) !important;

    background-size:
        100% 100% !important;

    background-position:
        left center !important;

    background-repeat:
        no-repeat !important;

    background-clip:
        text !important;

    -webkit-background-clip:
        text !important;

    -webkit-text-fill-color:
        transparent !important;

    font-family:
        var(--nahui-font-display);

    font-size:
        clamp(
            3.15rem,
            4.25vw,
            4.15rem
        );

    font-weight: 720;

    line-height: 0.99;

    letter-spacing:
        -0.062em;

    text-wrap: balance;

    text-shadow: none !important;

    filter:
        drop-shadow(
            0 9px 30px
            rgba(106, 15, 201, 0.16)
        );
}


/* =========================================================
   5. HERO DESCRIPTION
   Más compacta para que la jerarquía sea más elegante.
   ========================================================= */

.hero .lede {
    width: min(100%, 720px);

    margin:
        23px
        0
        0;

    color: #9ba8bc;

    font-size:
        clamp(
            0.96rem,
            1.25vw,
            1.08rem
        );

    font-weight: 450;

    line-height: 1.7;

    letter-spacing:
        -0.012em;

    text-wrap: pretty;
}


/* =========================================================
   6. BOTONES HERO
   ========================================================= */

.hero .actions {
    margin-top: 29px;

    gap: 9px;
}


.hero .btn {
    min-height: 44px;

    padding:
        0
        16px;

    border-radius: 10px;

    font-size: 0.69rem;
    font-weight: 760;
}


.hero .btn-primary {
    background:
        linear-gradient(
            137deg,
            #0005ff 0%,
            #6a0fc9 52%,
            #ff007b 100%
        );

    background-size:
        145% 100%;

    background-position:
        right center;

    box-shadow:
        0 14px 30px
        rgba(0, 5, 255, 0.17),

        0 7px 22px
        rgba(255, 0, 123, 0.09);
}


.hero .btn-primary:hover,
.hero .btn-primary:focus-visible {
    background-position:
        left center;

    box-shadow:
        0 18px 38px
        rgba(0, 5, 255, 0.22),

        0 9px 28px
        rgba(255, 0, 123, 0.13);

    transform:
        translateY(-2px);
}


/* =========================================================
   7. HERO MICROCOPY
   ========================================================= */

.hero .micro {
    width: min(100%, 720px);

    margin-top: 16px;

    color: #657489;

    font-size: 0.64rem;

    line-height: 1.55;
}


/* =========================================================
   8. HERO PILLS
   ========================================================= */

.hero .trust-row {
    width: min(100%, 760px);

    margin-top: 21px;

    gap: 7px;
}


.hero .pill {
    min-height: 28px;

    padding:
        0
        9px;

    border:
        1px solid
        rgba(255, 255, 255, 0.075);

    color: #9ba8bb;

    background:
        rgba(255, 255, 255, 0.018);

    font-size: 0.59rem;
}


/* =========================================================
   9. CONSOLA DEL HERO
   Más compacta vertical y visualmente.
   ========================================================= */

.hero-console {
    width: 100%;

    min-width: 0;
    min-height: 445px;

    padding: 17px;

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.035),
            rgba(255, 255, 255, 0.005)
        ),

        rgba(7, 7, 31, 0.54);

    box-shadow:
        0 34px 90px
        rgba(0, 0, 0, 0.56),

        0 0 65px
        rgba(106, 15, 201, 0.065),

        inset 0 1px 0
        rgba(255, 255, 255, 0.035);
}


.hero-console::before {
    right: 22px;
    left: 22px;

    background:
        linear-gradient(
            90deg,
            #0005ff 0%,
            #6a0fc9 52%,
            #ff007b 100%
        );
}


/* =========================================================
   10. DEGRADADOS DE TÍTULOS
   Cada título se reduce al ancho real de su texto.
   ========================================================= */

.section-head h2,
.cta-panel h2,
.docs-main h1,
.docs-main h2 {
    width: fit-content;
    max-width: 100%;

    display: block;

    color: transparent !important;

    background:
        linear-gradient(
            90deg,
            #0005ff 0%,
            #6a0fc9 52%,
            #ff007b 100%
        ) !important;

    background-size:
        100% 100% !important;

    background-position:
        left center !important;

    background-repeat:
        no-repeat !important;

    background-clip:
        text !important;

    -webkit-background-clip:
        text !important;

    -webkit-text-fill-color:
        transparent !important;

    text-shadow:
        none !important;

    filter:
        drop-shadow(
            0 7px 24px
            rgba(106, 15, 201, 0.13)
        );
}


/*
   Evita que reglas anteriores como
   background-size: 360px deformen el degradado.
*/

.docs-main h2 {
    background-size:
        100% 100% !important;
}


/* =========================================================
   11. H2 DE LANDING
   Más compacto y elegante.
   ========================================================= */

.section-head h2 {
    font-size:
        clamp(
            2.15rem,
            3.7vw,
            3.35rem
        );

    font-weight: 720;

    line-height: 1;

    letter-spacing:
        -0.058em;

    text-wrap: balance;
}


/* =========================================================
   12. H3
   No todos los títulos necesitan degradado.
   Los pequeños permanecen blancos para mantener jerarquía.
   ========================================================= */

.card h3,
.warning-card h3,
.docs-main h3,
.security-badge h3,
.price-card h3 {
    width: fit-content;

    color:
        var(--nahui-white);

    background: none;

    -webkit-text-fill-color:
        currentColor;

    filter: none;
}


/* =========================================================
   13. TITULOS DE CARDS
   ========================================================= */

.card h3 {
    font-size: 1rem;

    font-weight: 700;

    line-height: 1.17;

    letter-spacing:
        -0.035em;
}


/* =========================================================
   14. PRECIO
   El precio también puede tener identidad Nahui
   sin llenar todo el contenedor.
   ========================================================= */

.price-card.featured .price {
    width: fit-content;

    color: transparent;

    background:
        linear-gradient(
            90deg,
            #0005ff 0%,
            #6a0fc9 52%,
            #ff007b 100%
        );

    background-clip:
        text;

    -webkit-background-clip:
        text;

    -webkit-text-fill-color:
        transparent;
}


/* =========================================================
   15. CTA TITLE
   ========================================================= */

.cta-panel h2 {
    line-height: 1.02;

    letter-spacing:
        -0.055em;
}


/* =========================================================
   16. DOCS H1
   El título queda al ancho del contenido real.
   ========================================================= */

.docs-main h1 {
    width: fit-content;

    max-width: min(100%, 860px);

    font-size:
        clamp(
            2.35rem,
            4.4vw,
            3.65rem
        );

    font-weight: 720;

    line-height: 1;

    letter-spacing:
        -0.058em;
}


/* =========================================================
   17. DOCS H2
   ========================================================= */

.docs-main h2 {
    width: fit-content;

    font-size:
        clamp(
            1.55rem,
            2.5vw,
            1.9rem
        );

    line-height: 1.08;

    letter-spacing:
        -0.045em;
}


/* =========================================================
   18. HERO A 1280
   Mantiene idealmente el título en 2-3 líneas,
   no 4 líneas gigantes.
   ========================================================= */

@media (max-width: 1280px) {

    :root {
        --content: 1180px;
    }


    .hero-grid {
        width:
            min(
                var(--content),
                calc(100% - 36px)
            );

        grid-template-columns:
            minmax(0, 1.34fr)
            minmax(350px, 0.66fr);

        gap: 40px;
    }


    .hero h1,
    .hero h1.gradient-text {
        font-size:
            clamp(
                3rem,
                4.35vw,
                3.75rem
            );
    }
}


/* =========================================================
   19. ENTRE TABLET Y DESKTOP
   ========================================================= */

@media (max-width: 1050px) {

    .hero-grid {
        grid-template-columns:
            minmax(0, 1.2fr)
            minmax(330px, 0.8fr);

        gap: 32px;
    }


    .hero h1,
    .hero h1.gradient-text {
        font-size:
            clamp(
                2.7rem,
                4.6vw,
                3.35rem
            );
    }


    .hero .lede {
        font-size:
            0.92rem;
    }
}


/* =========================================================
   20. TABLET
   Aquí ya pasamos a una sola columna.
   ========================================================= */

@media (max-width: 900px) {

    .hero-grid {
        width:
            min(
                760px,
                calc(100% - 36px)
            );

        grid-template-columns:
            minmax(0, 1fr);

        gap: 45px;
    }


    .hero-grid > div:first-child {
        width: 100%;
    }


    .hero h1,
    .hero h1.gradient-text {
        width: fit-content;

        max-width: 760px;

        font-size:
            clamp(
                3rem,
                7.3vw,
                4.25rem
            );

        line-height:
            0.99;
    }


    .hero .lede {
        max-width: 690px;
    }


    .hero-console {
        width: min(100%, 690px);

        min-height: 0;
    }


    .section-head h2,
    .cta-panel h2,
    .docs-main h1,
    .docs-main h2 {
        width: fit-content;
    }
}


/* =========================================================
   21. MOBILE
   En móvil sí permitimos más líneas, pero compactas
   y balanceadas.
   ========================================================= */

@media (max-width: 680px) {

    .hero {
        padding:
            50px
            0
            48px;
    }


    .hero-grid {
        width: 100%;

        padding:
            0
            17px;

        gap: 38px;
    }


    .hero .kicker {
        max-width: 100%;

        font-size: 0.52rem;

        letter-spacing:
            0.09em;

        white-space: normal;
    }


    .hero h1,
    .hero h1.gradient-text {
        width: fit-content;
        max-width: 100%;

        margin-top: 18px;

        font-size:
            clamp(
                2.45rem,
                11vw,
                3.35rem
            );

        line-height: 0.98;

        letter-spacing:
            -0.06em;

        text-wrap: balance;
    }


    .hero .lede {
        max-width: 100%;

        margin-top: 20px;

        font-size: 0.91rem;

        line-height: 1.65;
    }


    .hero .actions {
        margin-top: 26px;
    }


    .hero-console {
        width: 100%;

        border-radius: 17px;
    }


    .section-head h2 {
        width: fit-content;

        font-size:
            clamp(
                2rem,
                9vw,
                2.65rem
            );

        line-height: 1;
    }


    .docs-main h1 {
        width: fit-content;

        font-size:
            clamp(
                2.1rem,
                10vw,
                2.65rem
            );
    }


    .docs-main h2 {
        width: fit-content;

        font-size:
            clamp(
                1.45rem,
                7vw,
                1.75rem
            );
    }
}


/* =========================================================
   22. PANTALLAS MUY PEQUEÑAS
   ========================================================= */

@media (max-width: 420px) {

    .hero h1,
    .hero h1.gradient-text {
        font-size:
            clamp(
                2.25rem,
                11.5vw,
                2.85rem
            );
    }


    .hero .lede {
        font-size: 0.87rem;
    }
}

/* =========================================================
   NAHUI CONNECT
   PATCH FINAL · H1 / H2
   PEGAR AL FINAL DE styles.css

   - Conserva todo el CSS existente.
   - Solo corrige H1 y H2 de la landing.
   - Texto normal = blanco.
   - .title-gradient = degradado Nahui.
   - H3, H4, H5, H6 = sin degradado.
   - Elimina hacks anteriores con ::before / ::after.
   ========================================================= */


/* =========================================================
   1. VARIABLES DEL DEGRADADO NAHUI
   ========================================================= */

:root {
    --nahui-title-blue: #0005ff;
    --nahui-title-violet: #6a0fc9;
    --nahui-title-pink: #ff007b;

    --nahui-title-gradient:
        linear-gradient(
            137deg,
            var(--nahui-title-blue) 0%,
            var(--nahui-title-violet) 52%,
            var(--nahui-title-pink) 100%
        );
}


/* =========================================================
   2. ELIMINAR HACKS ANTERIORES
   Esto quita cualquier texto que se estuviera generando
   con ::before o ::after en los títulos.
   ========================================================= */

.hero h1::before,
.hero h1::after,

#como-funciona .section-head h2::before,
#como-funciona .section-head h2::after,

#seguridad .security-badge h2::before,
#seguridad .security-badge h2::after,

.cta-panel h2::before,
.cta-panel h2::after {
    content: none !important;
    display: none !important;
}


/* =========================================================
   3. H1 / H2 DE LA LANDING
   EL TÍTULO COMPLETO VUELVE A SER BLANCO
   ========================================================= */

.hero h1,
.section-head h2,
.security-badge h2,
.cta-panel h2 {
    display: block !important;

    width: auto !important;
    max-width: 100%;

    color: #f8fbff !important;

    background: none !important;
    background-image: none !important;

    -webkit-background-clip: initial !important;
    background-clip: initial !important;

    -webkit-text-fill-color: #f8fbff !important;

    box-decoration-break: initial !important;
    -webkit-box-decoration-break: initial !important;

    filter: none !important;

    text-shadow: none !important;

    text-align: left;
}


/* =========================================================
   4. DEGRADADO REAL
   SOLO SE APLICA AL SPAN QUE RODEA LAS 1-2 PALABRAS.

   IMPORTANTE:
   inline-block hace que el degradado mida EXACTAMENTE
   lo que mide el texto resaltado.
   ========================================================= */

.hero h1 .title-gradient,
.section-head h2 .title-gradient,
.security-badge h2 .title-gradient,
.cta-panel h2 .title-gradient {
    width: fit-content !important;
    max-width: 100%;

    display: inline-block !important;

    margin: 0;
    padding: 0 0 0.07em;

    color: transparent !important;

    background-image:
        var(--nahui-title-gradient) !important;

    background-size:
        155% 100% !important;

    background-position:
        right center !important;

    background-repeat:
        no-repeat !important;

    background-clip:
        text !important;

    -webkit-background-clip:
        text !important;

    -webkit-text-fill-color:
        transparent !important;

    text-shadow:
        none !important;

    filter:
        drop-shadow(
            0 5px 16px
            rgba(106, 15, 201, 0.12)
        );
}


/* =========================================================
   5. HERO
   No cambiamos su layout.
   Solo aseguramos que el H1 conserve su formato correcto.
   ========================================================= */

.hero h1 {
    margin: 0;

    color:
        #f8fbff !important;

    background:
        none !important;

    -webkit-text-fill-color:
        #f8fbff !important;
}


/* =========================================================
   6. SECTION HEADINGS
   ========================================================= */

.section-head h2 {
    color:
        #f8fbff !important;

    background:
        none !important;

    -webkit-text-fill-color:
        #f8fbff !important;
}


/* =========================================================
   7. SEGURIDAD
   Tiene su H2 fuera del .section-head normal.
   ========================================================= */

.security-badge h2 {
    color:
        #f8fbff !important;

    background:
        none !important;

    -webkit-text-fill-color:
        #f8fbff !important;
}


/* =========================================================
   8. CTA FINAL
   ========================================================= */

.cta-panel h2 {
    color:
        #f8fbff !important;

    background:
        none !important;

    -webkit-text-fill-color:
        #f8fbff !important;
}


/* =========================================================
   9. H3 EN ADELANTE
   NUNCA DEGRADADO.
   Esto también neutraliza cualquiera de los parches
   anteriores que haya quedado arriba.
   ========================================================= */

main#contenido h3,
main#contenido h4,
main#contenido h5,
main#contenido h6,

.card h3,
.warning-card h3 {
    color:
        #f8fbff !important;

    background:
        none !important;

    background-image:
        none !important;

    -webkit-background-clip:
        initial !important;

    background-clip:
        initial !important;

    -webkit-text-fill-color:
        #f8fbff !important;

    filter:
        none !important;

    text-shadow:
        none !important;
}


/* =========================================================
   10. WARNING CARD
   Si quieres conservar el tono amarillo original de este
   H3, esta regla tiene prioridad sobre el reset anterior.
   ========================================================= */

.warning-card h3 {
    color:
        #ffe2a6 !important;

    -webkit-text-fill-color:
        #ffe2a6 !important;
}


/* =========================================================
   11. EVITAR QUE EL SPAN ROMPA PALABRAS
   Si cabe, las 1-2 palabras resaltadas permanecen juntas.
   ========================================================= */

.title-gradient {
    white-space: nowrap;
}


/* =========================================================
   12. HERO · RESPONSIVE
   En pantallas muy pequeñas permitimos que la parte
   resaltada pueda bajar de línea sin salirse.
   ========================================================= */

@media (max-width: 520px) {

    .hero h1 .title-gradient,
    .section-head h2 .title-gradient,
    .security-badge h2 .title-gradient,
    .cta-panel h2 .title-gradient {
        max-width: 100%;

        white-space: normal;
    }

}


/* =========================================================
   13. SEGURIDAD EXTRA
   Evita que reglas viejas de .gradient-text vuelvan
   a pintar TODO el H1.
   ========================================================= */

.hero h1.gradient-text {
    display: block !important;

    width: auto !important;

    color:
        #f8fbff !important;

    background:
        none !important;

    background-image:
        none !important;

    -webkit-background-clip:
        initial !important;

    background-clip:
        initial !important;

    -webkit-text-fill-color:
        #f8fbff !important;

    box-decoration-break:
        initial !important;

    -webkit-box-decoration-break:
        initial !important;

    filter:
        none !important;
}


/* =========================================================
   14. Y AUNQUE EL H1 TODAVÍA TENGA gradient-text,
   SOLO EL SPAN INTERNO RECIBE EL DEGRADADO.
   ========================================================= */

.hero h1.gradient-text .title-gradient {
    display: inline-block !important;

    width:
        fit-content !important;

    color:
        transparent !important;

    background-image:
        var(--nahui-title-gradient) !important;

    background-size:
        155% 100% !important;

    background-position:
        right center !important;

    background-repeat:
        no-repeat !important;

    background-clip:
        text !important;

    -webkit-background-clip:
        text !important;

    -webkit-text-fill-color:
        transparent !important;
}

/* =========================================================
   NAHUI CONNECT · LOGO OFICIAL
   ========================================================= */

.brand-mark {
    width: 36px !important;
    height: 36px !important;

    flex: 0 0 36px !important;

    display: grid !important;
    place-items: center !important;

    position: relative;

    overflow: hidden !important;

    padding: 0 !important;

    border:
        1px solid
        rgba(255, 255, 255, 0.08) !important;

    border-radius:
        11px !important;

    background:
        rgba(255, 255, 255, 0.02) !important;

    box-shadow:
        0 10px 24px
        rgba(106, 15, 201, 0.14) !important;
}


.brand-mark img {
    width: 100% !important;
    height: 100% !important;

    display: block !important;

    border: 0;

    border-radius:
        inherit;

    object-fit:
        contain;
}


/* elimina el símbolo falso anterior */

.brand-mark::before,
.brand-mark::after {
    content: none !important;
    display: none !important;
}