﻿
:root {
    /* White + NextoTalk-ish blues */
    --bg: #ffffff;
    --ink: #0f172a; /* slate-900 */
    --muted: #475569; /* slate-600 */
    --muted2: #64748b; /* slate-500 */
    --line: #e5e7eb; /* gray-200 */
    --line2: #dbeafe; /* blue-100 */
    --panel: #ffffff;
    --soft: #f8fafc; /* slate-50 */

    --brand: #2563eb; /* blue-600 */
    --brand2: #06b6d4; /* cyan-500 */
    --shadow: 0 18px 50px rgba(15, 23, 42, .10);
    --shadow2: 0 10px 30px rgba(37, 99, 235, .14);
    --r-lg: 18px;
    --r-md: 14px;
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    color: var(--ink);
    background: radial-gradient(1200px 520px at 10% -10%, rgba(37,99,235,.10), transparent 60%), radial-gradient(900px 480px at 110% 0%, rgba(6,182,212,.10), transparent 55%), var(--bg);
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
    line-height: 1.55;
}

a {
    color: var(--brand);
    text-decoration: none
}

    a:hover {
        text-decoration: underline
    }

.wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 28px 18px 34px
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: rgba(255,255,255,.75);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(15,23,42,.06);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: .2px
}

.logo-badge {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    display: grid;
    place-items: center;
    color: white;
    font-size: 18px;
    box-shadow: var(--shadow2);
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(37,99,235,.08);
    border: 1px solid rgba(37,99,235,.18);
    color: #1d4ed8;
    white-space: nowrap;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg,var(--brand),var(--brand2))
}

.hero {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 18px;
    align-items: stretch;
    margin-top: 18px;
}

.panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 18px;
    box-shadow: var(--shadow);
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--soft);
    border: 1px dashed rgba(100,116,139,.30);
    color: var(--muted2);
}

    .tag strong {
        color: var(--ink)
    }

h1 {
    margin: 10px 0 10px;
    font-size: clamp(28px,3.6vw,46px);
    line-height: 1.08;
    letter-spacing: -.6px;
}

.accent {
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 900;
}

.lead {
    margin: 0;
    color: var(--muted);
    font-size: clamp(14px,1.55vw,18px)
}

.cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px
}

.btn {
    border: none;
    padding: 12px 16px;
    border-radius: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .08s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}

    .btn:active {
        transform: translateY(1px)
    }

.btn-primary {
    background: linear-gradient(135deg, var(--brand), var(--brand2));
    color: #fff;
    box-shadow: 0 14px 35px rgba(37,99,235,.18);
}

    .btn-primary:hover {
        box-shadow: 0 18px 45px rgba(37,99,235,.22)
    }

.btn-ghost {
    background: #fff;
    color: var(--ink);
    border: 1px solid rgba(100,116,139,.25);
}

    .btn-ghost:hover {
        background: rgba(248,250,252,.8);
        border-color: rgba(100,116,139,.35)
    }

.portal {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}

    .portal input {
        flex: 1;
        background: #fff;
        border: 1px solid rgba(37,99,235,.22);
        color: var(--ink);
        padding: 11px 12px;
        border-radius: 14px;
        outline: none;
    }

        .portal input:focus {
            border-color: rgba(6,182,212,.55);
            box-shadow: 0 0 0 4px rgba(6,182,212,.10);
        }

.note {
    font-size: 13px;
    color: var(--muted2);
    margin-top: 10px
}

code {
    background: rgba(248,250,252,.85);
    border: 1px solid var(--line2);
    padding: 2px 6px;
    border-radius: 8px;
}

.hero-media {
    position: relative
}

.img-card {
    aspect-ratio: 16/10;
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(6,182,212,.08));
    box-shadow: var(--shadow);
}

    .img-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block
    }

.float {
    position: absolute;
    right: 14px;
    bottom: 14px;
}

.mini {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.85);
    border: 1px solid rgba(6,182,212,.18);
    color: var(--muted);
    font-size: 12px;
    box-shadow: 0 10px 25px rgba(15,23,42,.10);
    backdrop-filter: blur(10px);
}

.pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34,197,94,.30);
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34,197,94,.35)
    }

    70% {
        box-shadow: 0 0 0 10px rgba(34,197,94,0)
    }

    100% {
        box-shadow: 0 0 0 0 rgba(34,197,94,0)
    }
}

.grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
    margin: 18px 0
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 16px;
    box-shadow: 0 10px 26px rgba(15,23,42,.06);
}

    .card h3 {
        margin: 8px 0 8px;
        font-size: 18px;
        letter-spacing: -.2px
    }

.tiny {
    font-size: 12px;
    color: var(--muted2)
}

footer {
    margin: 18px 0 8px;
    color: var(--muted2);
    font-size: 12px
}

@media (max-width:900px) {
    header {
        flex-direction: column;
        align-items: flex-start
    }

    .hero {
        grid-template-columns: 1fr
    }

    .grid {
        grid-template-columns: 1fr
    }

    .portal {
        flex-direction: column;
        align-items: stretch
    }

        .portal button {
            width: 100%
        }

    .float {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 10px
    }
}

html, body {
    height: 100%;
}

body {
    min-height: 100vh;
    overflow-y: auto; /* ✅ fuerza scroll vertical */
    -webkit-overflow-scrolling: touch;
}

/* si algo raro está ocultando el scroll (por algún reset/layout), esto lo neutraliza */
body {
    overflow-x: hidden;
}

/* opcional: que no “brinque” el layout cuando aparece la scrollbar */
html {
    scrollbar-gutter: stable;
}
.wrap {
    min-height: 100vh; /* ✅ asegura contenido scrollable */
}