﻿/* Portada Keytor: independiente del diseño global */

.hero,
.hero *,
.feature-grid,
.feature-grid * {
    box-sizing: border-box;
}

.hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
    align-items: center;
    gap: 44px;
    padding: 48px 0 56px;
}

.hero-glow {
    display: none;
}

.hero-content,
.hero-panel {
    min-width: 0;
}

.hero .eyebrow {
    margin-bottom: 20px;
    color: #67e8f9;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .16em;
    line-height: 1.6;
}

.hero-title {
    margin: 0 0 24px;
    color: #f4f7ff;
    font-size: clamp(2.25rem, 3.6vw, 4rem);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1.08;
    text-wrap: balance;
}

    .hero-title span {
        color: #8cdde8;
    }

.hero-text {
    max-width: 550px;
    margin: 0;
    color: #a8b4c8;
    font-size: 1rem;
    line-height: 1.85;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0 24px;
}

    .hero-buttons .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        padding: 12px 20px;
        border-radius: 12px;
        font-size: .9rem;
        font-weight: 700;
        line-height: 1.4;
        text-decoration: none;
    }

    .hero-buttons .btn-primary {
        color: #06131c;
        background: #67e8f9;
        border: 1px solid #67e8f9;
        box-shadow: 0 8px 28px rgb(34 211 238 / 12%);
    }

        .hero-buttons .btn-primary:hover {
            color: #06131c;
            background: #a5f3fc;
            border-color: #a5f3fc;
        }

    .hero-buttons .btn-outline-primary {
        color: #d7e2f1;
        background: rgb(255 255 255 / 3%);
        border: 1px solid rgb(148 163 184 / 24%);
    }

        .hero-buttons .btn-outline-primary:hover {
            color: #fff;
            background: rgb(255 255 255 / 7%);
            border-color: rgb(148 163 184 / 45%);
        }

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    color: #90a1b9;
    font-size: .76rem;
    line-height: 1.6;
}

    .hero-meta > span {
        white-space: nowrap;
    }

/* Panel ilustrativo */

.hero-panel {
    position: relative;
    padding: 14px 0;
}

.vault-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border: 1px solid rgb(148 163 184 / 20%);
    border-radius: 24px;
    background: linear-gradient(145deg, #141e30, #0b111e);
    box-shadow: 0 30px 70px rgb(0 0 0 / 30%), inset 0 1px 0 rgb(255 255 255 / 5%);
}

    .vault-card::before {
        position: absolute;
        inset: 0 24px auto;
        height: 1px;
        background: linear-gradient( 90deg, transparent, rgb(103 232 249 / 65%), transparent );
        content: "";
    }

.vault-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 30px;
}

.vault-label {
    margin-bottom: 7px;
    color: #94a3b8;
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.vault-name {
    color: #f1f5f9;
    font-size: 1.3rem;
    font-weight: 750;
    letter-spacing: -.03em;
}

.vault-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border: 1px solid rgb(52 211 153 / 20%);
    border-radius: 999px;
    background: rgb(52 211 153 / 7%);
    color: #8ce8bd;
    font-size: .7rem;
}

    .vault-status > span {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #6ee7b7;
    }

.vault-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 24px;
}

    .vault-metrics > div {
        padding: 20px 8px;
        border: 1px solid rgb(148 163 184 / 12%);
        border-radius: 14px;
        background: rgb(0 0 0 / 16%);
        text-align: center;
    }

.metric {
    display: block;
    color: #d5f8ff;
    font-size: 1.05rem;
    font-weight: 750;
}

.metric-label {
    display: block;
    margin-top: 7px;
    color: #8b9bb3;
    font-size: .62rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.vault-bar {
    height: 5px;
    overflow: hidden;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgb(148 163 184 / 12%);
}

    .vault-bar > div {
        width: 78%;
        height: 100%;
        border-radius: inherit;
        background: linear-gradient(90deg, #67e8f9, #a78bfa);
    }

.vault-footer {
    color: #94a3b8;
    font-size: .76rem;
    line-height: 1.7;
    text-align: center;
}

/* Características */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 8px 0 48px;
}

.feature-card {
    min-width: 0;
    padding: 26px;
    border: 1px solid rgb(148 163 184 / 14%);
    border-radius: 18px;
    background: rgb(15 23 42 / 55%);
    transition: border-color 180ms ease, background-color 180ms ease;
}

    .feature-card:hover {
        border-color: rgb(103 232 249 / 30%);
        background: rgb(20 30 50 / 75%);
    }

.feature-grid .feature-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border: 1px solid rgb(148 163 184 / 16%);
    border-radius: 12px;
    background: rgb(148 163 184 / 6%);
    font-size: 1.15rem;
}

.feature-card h3 {
    margin: 0 0 10px;
    color: #edf2fa;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -.02em;
}

.feature-card p {
    margin: 0;
    color: #98a8be;
    font-size: .86rem;
    line-height: 1.8;
}

.hero a:focus-visible {
    outline: 3px solid #a5f3fc;
    outline-offset: 4px;
}

@media (max-width: 1150px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-top: 28px;
    }

    .hero-panel {
        max-width: 560px;
        width: 100%;
    }

    .hero-title {
        max-width: 700px;
    }
}

@media (max-width: 600px) {
    .hero {
        padding-bottom: 30px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .vault-card,
    .feature-card {
        padding: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero *,
    .feature-grid * {
        animation: none;
        transition: none;
    }
}
