@import url('https://fonts.googleapis.com/css2?family=Familjen+Grotesk:wght@500;600;700&family=Geist+Mono:wght@400;500;600;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Deep Cyber-Organic 2026 layer */
.bg-glow {
    animation: cyberGlowDrift 18s ease-in-out infinite alternate;
    background:
        radial-gradient(circle at 20% 30%, rgba(191, 64, 191, 0.18), transparent 42%),
        radial-gradient(circle at 82% 68%, rgba(204, 255, 0, 0.12), transparent 38%),
        radial-gradient(circle at 50% 12%, rgba(34, 211, 238, 0.14), transparent 36%);
    filter: blur(86px);
    height: 100%;
    inset: 0;
    pointer-events: none;
    position: fixed;
    width: 100%;
    z-index: -1;
}

@keyframes cyberGlowDrift {
    0% {
        opacity: 0.72;
        transform: scale(1) translate3d(0, 0, 0);
    }
    100% {
        opacity: 1;
        transform: scale(1.08) translate3d(-1.5%, 1.5%, 0);
    }
}

@keyframes cyberBorderSweep {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

:root {
    --text: #f4f8fb;
    --muted: #a9bad0;
    --accent: #24c3ff;
    --accent-strong: #1284da;
    --accent-soft: #67f4c7;
    --gold: #f0cf73;
    --line: rgba(255, 255, 255, 0.1);
    --panel: rgba(9, 20, 34, 0.78);
    --panel-soft: rgba(255, 255, 255, 0.05);
    --shadow: 0 28px 80px rgba(2, 8, 20, 0.42);
}

html,
body {
    min-height: 100%;
}

body {
    background:
        radial-gradient(circle at top left, rgba(36, 195, 255, 0.12), transparent 24%),
        radial-gradient(circle at bottom right, rgba(103, 244, 199, 0.08), transparent 20%),
        linear-gradient(145deg, #040b14 0%, #091522 42%, #08111d 100%);
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    overflow: hidden;
}

.login-scene {
    background:
        radial-gradient(circle at 14% 14%, rgba(36, 195, 255, 0.1), transparent 24%),
        radial-gradient(circle at 84% 18%, rgba(103, 244, 199, 0.06), transparent 22%),
        radial-gradient(circle at 50% 82%, rgba(240, 207, 115, 0.05), transparent 18%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: auto, auto, 42px 42px, 42px 42px;
    inset: 0;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.74));
    position: fixed;
    z-index: -1;
}

.container {
    align-items: center;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(360px, 1.15fr) minmax(340px, 0.85fr);
    margin: 0 auto;
    max-width: 1220px;
    min-height: 100svh;
    padding: 22px 26px;
    width: 100%;
}

.hero-panel {
    display: block;
}

.hero-copy {
    backdrop-filter: blur(12px);
    background:
        linear-gradient(160deg, rgba(9, 20, 34, 0.9), rgba(9, 20, 34, 0.5)),
        linear-gradient(120deg, rgba(36, 195, 255, 0.05), transparent 36%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 34px;
    box-shadow: var(--shadow);
    overflow: hidden;
    padding: 34px 34px 28px;
    position: relative;
}

.hero-copy::before {
    background: linear-gradient(90deg, rgba(36, 195, 255, 0.88), rgba(103, 244, 199, 0.3));
    content: "";
    height: 4px;
    left: 28px;
    position: absolute;
    right: 28px;
    top: 0;
}

.hero-copy::after {
    background:
        radial-gradient(circle, rgba(36, 195, 255, 0.16) 0%, transparent 68%);
    content: "";
    height: 240px;
    pointer-events: none;
    position: absolute;
    right: -60px;
    top: -80px;
    width: 240px;
}

.brand-badge {
    backdrop-filter: blur(14px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: #dcf5ff;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin-bottom: 18px;
    padding: 10px 14px;
    text-transform: uppercase;
}

.brand-mark {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
    display: block;
    margin-bottom: 16px;
    max-width: 114px;
    padding: 12px;
}

.hero-kicker {
    color: #8ddfff;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.hero-copy h1 {
    font-size: clamp(2.1rem, 3.8vw, 3.35rem);
    letter-spacing: -0.05em;
    line-height: 0.98;
    max-width: 12ch;
    position: relative;
    z-index: 1;
}

.hero-text {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-top: 14px;
    max-width: 50ch;
    position: relative;
    z-index: 1;
}

.brand-stats {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 22px;
}

.brand-stat {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 20px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    display: grid;
    gap: 6px;
    padding: 16px;
    position: relative;
    z-index: 1;
}

.brand-stat strong {
    color: #fff;
    font-size: 0.98rem;
    font-weight: 700;
}

.brand-stat span {
    color: var(--muted);
    line-height: 1.5;
}

.credit-panel {
    backdrop-filter: blur(14px);
    background:
        linear-gradient(145deg, rgba(13, 28, 46, 0.9), rgba(10, 21, 36, 0.74)),
        linear-gradient(120deg, rgba(240, 207, 115, 0.06), transparent 55%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 24px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    margin-top: 20px;
    overflow: hidden;
    padding: 20px 20px 18px;
    position: relative;
}

.credit-panel::before {
    background: linear-gradient(90deg, rgba(240, 207, 115, 0.9), rgba(255, 255, 255, 0.08));
    content: "";
    height: 3px;
    left: 20px;
    position: absolute;
    right: 20px;
    top: 0;
}

.credit-badge {
    background: rgba(240, 207, 115, 0.12);
    border: 1px solid rgba(240, 207, 115, 0.22);
    border-radius: 999px;
    color: #fde9ae;
    display: inline-flex;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    margin-bottom: 10px;
    padding: 8px 12px;
    text-transform: uppercase;
}

.credit-panel h3 {
    font-size: 1.16rem;
    letter-spacing: -0.03em;
    line-height: 1.24;
    margin-bottom: 8px;
    max-width: 34ch;
}

.credit-panel p {
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.6;
    margin-bottom: 14px;
    max-width: 46ch;
}

.credit-meta {
    color: #d9ecfa;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    font-size: 0.86rem;
    font-weight: 600;
}

.credit-meta span {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 8px 12px;
}

.login-content {
    display: flex;
    justify-content: center;
}

form {
    backdrop-filter: blur(18px);
    background:
        linear-gradient(180deg, rgba(9, 22, 37, 0.9), rgba(11, 27, 45, 0.84)),
        linear-gradient(140deg, rgba(36, 195, 255, 0.04), transparent 48%);
    border: 1px solid var(--line);
    border-radius: 30px;
    box-shadow: var(--shadow);
    padding: 32px 28px 24px;
    position: relative;
    width: min(100%, 410px);
}

form::before {
    background: linear-gradient(90deg, rgba(36, 195, 255, 0.88), rgba(103, 244, 199, 0.28));
    border-radius: 999px;
    content: "";
    height: 4px;
    left: 26px;
    position: absolute;
    right: 26px;
    top: 0;
}

.form-badge {
    color: #9adfff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.form-logo {
    display: block;
    height: 78px;
    margin-bottom: 12px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.18));
}

.login-content h2 {
    color: #fff;
    font-size: 2.05rem;
    letter-spacing: -0.04em;
    margin: 0 0 8px;
}

.login-copy {
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.login-content .input-div {
    align-items: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 18px;
    display: grid;
    gap: 6px;
    grid-template-columns: 44px 1fr;
    margin: 0 0 16px;
    min-height: 68px;
    padding: 10px 14px 10px 10px;
    position: relative;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.input-div.focus {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
    border-color: rgba(36, 195, 255, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(10, 24, 38, 0.18);
}

.input-div::before,
.input-div::after {
    display: none;
}

.i {
    align-items: center;
    color: rgba(255, 255, 255, 0.52);
    display: flex;
    justify-content: center;
}

.i i {
    font-size: 1rem;
}

.input-div > div {
    height: auto;
    position: relative;
}

.input-div > div > h5 {
    color: #97aac2;
    font-size: 0.78rem;
    font-weight: 700;
    left: auto;
    letter-spacing: 0.12em;
    margin-bottom: 6px;
    position: static;
    text-transform: uppercase;
    top: auto;
    transform: none;
}

.input-div.focus > div > h5 {
    color: #d7f6ff;
    font-size: 0.78rem;
}

.input-div > div > input,
.input-div > div > select {
    background: transparent;
    border: none;
    color: #f7fbff;
    font-size: 1rem;
    height: auto;
    left: auto;
    outline: none;
    padding: 0;
    position: static;
    top: auto;
    width: 100%;
}

.input-div.pass {
    margin-bottom: 8px;
}

.view {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.verPassword {
    color: #8ea6bd;
    cursor: pointer;
    font-size: 1.04rem;
    margin-top: -56px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.verPassword:hover {
    color: #fff;
    transform: scale(1.04);
}

.quick-links {
    display: grid;
    gap: 8px;
    margin-top: 4px;
}

a {
    color: #9bc0d8;
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #fff;
}

.btn {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    border: none;
    border-radius: 18px;
    box-shadow: 0 18px 34px rgba(18, 132, 218, 0.28);
    color: #fff;
    display: block;
    font-size: 0.94rem;
    font-weight: 800;
    height: 54px;
    letter-spacing: 0.12em;
    margin-top: 18px;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    width: 100%;
}

.btn:hover {
    background: linear-gradient(135deg, #34d1ff 0%, #1c97f0 100%);
    box-shadow: 0 22px 42px rgba(18, 132, 218, 0.34);
    color: #fff;
    filter: brightness(1.03);
    transform: translateY(-1px);
}

.alert {
    border: none;
    border-radius: 16px;
    margin-top: 18px;
    padding: 14px 16px;
}

@media screen and (max-width: 1120px) {
    body {
        overflow-y: auto;
    }

    .container {
        gap: 22px;
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 18px 16px 24px;
    }

    .hero-copy h1 {
        max-width: none;
    }
}

@media screen and (max-width: 760px) {
    body {
        overflow-x: hidden;
        overflow-y: auto;
    }

    .container {
        gap: 14px;
        padding: 12px;
    }

    .login-content {
        order: -1;
        width: 100%;
    }

    form {
        border-radius: 26px;
        box-shadow: 0 24px 70px rgba(2, 8, 20, 0.34);
        padding: 26px 18px 20px;
        width: min(100%, 420px);
    }

    .form-logo {
        height: 66px;
        margin-bottom: 8px;
    }

    .login-copy {
        margin-bottom: 16px;
    }

    .login-content .input-div {
        border-radius: 17px;
        grid-template-columns: 38px 1fr;
        min-height: 62px;
    }

    .btn {
        border-radius: 16px;
        height: 52px;
    }

    .hero-copy,
    .credit-panel {
        border-radius: 22px;
    }

    .hero-copy {
        padding: 20px 18px;
    }

    .hero-copy h1 {
        font-size: 1.55rem;
        line-height: 1.08;
    }

    .brand-badge,
    .hero-text,
    .brand-stats {
        display: none;
    }

    .credit-meta {
        flex-direction: column;
    }

    .credit-panel h3 {
        font-size: 1.04rem;
    }

    .login-content h2 {
        font-size: 1.9rem;
    }
}

@media screen and (max-width: 430px) {
    .container {
        padding: 10px;
    }

    .hero-panel {
        display: none;
    }

    form {
        padding: 24px 16px 18px;
    }
}

/* Deep Cyber-Organic polish: login */
body {
    background:
        linear-gradient(135deg, rgba(20, 20, 30, 0.88), rgba(5, 5, 10, 0.94)),
        radial-gradient(circle at 18% 10%, rgba(191, 64, 191, 0.18), transparent 34%),
        radial-gradient(circle at 92% 86%, rgba(204, 255, 0, 0.1), transparent 36%);
    font-family: "Outfit", system-ui, sans-serif;
}

.hero-copy,
form,
.credit-panel,
.brand-stat,
.input-div {
    background:
        linear-gradient(135deg, rgba(20, 20, 30, 0.82), rgba(5, 5, 10, 0.9)),
        radial-gradient(circle at 12% 12%, rgba(34, 211, 238, 0.12), transparent 36%),
        radial-gradient(circle at 92% 92%, rgba(191, 64, 191, 0.12), transparent 34%);
    border-color: rgba(204, 255, 0, 0.13);
    box-shadow:
        0 0 40px rgba(191, 64, 191, 0.1),
        0 28px 80px rgba(2, 8, 20, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-copy,
form {
    border-radius: 24px;
}

.hero-copy::before,
form::before {
    animation: cyberBorderSweep 3.8s linear infinite;
    background: linear-gradient(90deg, #ccff00, #22d3ee, #bf40bf, #ccff00);
    background-size: 200% 100%;
    box-shadow: 0 0 24px rgba(204, 255, 0, 0.2);
}

.brand-badge,
.credit-badge,
.form-badge,
.hero-kicker {
    color: #ccff00;
    font-family: "Geist Mono", monospace;
    text-shadow: 0 0 14px rgba(204, 255, 0, 0.2);
}

.hero-copy h1,
.credit-panel h3,
.login-content h2 {
    color: #f8fbff;
    font-family: "Familjen Grotesk", "Outfit", sans-serif;
    letter-spacing: 0;
}

.hero-text,
.credit-panel p,
.login-copy,
.brand-stat span {
    color: #a9bad0;
}

.input-div.focus {
    border-color: rgba(204, 255, 0, 0.42);
    box-shadow:
        0 0 28px rgba(34, 211, 238, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.input-div > div > input,
.input-div > div > select {
    font-family: "Geist Mono", monospace;
}

.i,
.verPassword {
    transition: color 0.18s ease, filter 0.18s ease, text-shadow 0.18s ease, transform 0.18s ease;
}

.input-div.focus .i,
.verPassword:hover {
    color: #ccff00;
    filter: drop-shadow(0 0 10px rgba(204, 255, 0, 0.42));
}

.btn {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.95), rgba(191, 64, 191, 0.88), rgba(204, 255, 0, 0.78));
    box-shadow:
        0 0 28px rgba(34, 211, 238, 0.16),
        0 18px 34px rgba(191, 64, 191, 0.18);
}

/* Color rollback: paleta anterior Cable Max */
.bg-glow {
    display: none;
}

body {
    background:
        radial-gradient(circle at top left, rgba(36, 195, 255, 0.12), transparent 24%),
        radial-gradient(circle at bottom right, rgba(103, 244, 199, 0.08), transparent 20%),
        linear-gradient(145deg, #040b14 0%, #091522 42%, #08111d 100%);
}

.hero-copy,
form,
.credit-panel {
    background:
        linear-gradient(160deg, rgba(9, 20, 34, 0.92), rgba(9, 20, 34, 0.58)),
        linear-gradient(120deg, rgba(36, 195, 255, 0.06), transparent 42%);
    border-color: rgba(255, 255, 255, 0.09);
    box-shadow: var(--shadow);
}

.brand-stat,
.input-div {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.03));
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-copy::before,
form::before,
.credit-panel::before {
    animation: none;
    background: linear-gradient(90deg, rgba(36, 195, 255, 0.88), rgba(103, 244, 199, 0.3));
    box-shadow: none;
}

.brand-badge,
.form-badge,
.hero-kicker {
    color: #8ddfff;
    text-shadow: none;
}

.credit-badge {
    color: #fde9ae;
    text-shadow: none;
}

.input-div.focus {
    border-color: rgba(36, 195, 255, 0.4);
    box-shadow: 0 10px 26px rgba(10, 24, 38, 0.18);
}

.input-div.focus .i,
.verPassword:hover {
    color: #ffffff;
    filter: none;
}

.btn {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    box-shadow: 0 18px 34px rgba(18, 132, 218, 0.28);
}
