:root {
    --brand: #00ed3b;
    /*--bg: #0b0f10;*/
    --card: #12181a;
    --muted: #c7d1cc;
    --ink: #e2e7e3;
    --danger: #ff4d4f;
    --warn: #f6c23e;
    --ok: #1fbf75;
    --shadow: 0 10px 30px rgba(0,0,0,.25);
    --radius: 16px;
}

/* Layout base */
* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: Inter, Segoe UI, Roboto, Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: radial-gradient(1200px 500px at 10% -10%, rgba(0,237,59,.12), transparent 60%), radial-gradient(900px 400px at 100% 0%, rgba(0,237,59,.08), transparent 60%), #0b0f10;
}

.wrap {
    min-height: 100%;
    display: grid;
    place-items: center;
    padding: 24px;
}

.shell {
    width: min(1000px, 95vw);
    background: linear-gradient(180deg, rgba(18,24,26,.9), rgba(18,24,26,.75));
    border: 1px solid #1a2225;
    border-radius: 24px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    overflow: hidden;
}

@media (max-width: 900px) {
    .shell {
        grid-template-columns: 1fr;
    }
}

/* Painel ilustrativo */
.left {
    position: relative;
    padding: clamp(20px, 4.5vw, 36px);
    background: radial-gradient(600px 300px at 20% 20%, rgba(0,237,59,.12), transparent 60%), #0f1416;
    border-right: 1px solid #1a2225;
}

@media (max-width: 900px) {
    .left {
        border-right: 0;
        border-bottom: 1px solid #1a2225;
    }
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.badge {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 6px rgba(0,237,59,.12);
}

.brand h1 {
    margin: 0;
    font-size: clamp(18px, 2.4vw, 22px);
    letter-spacing: .3px;
}

    .brand h1 span {
        color: var(--brand);
    }

.headline {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 900;
    margin: 6px 0 6px;
}

.subhead {
    color: var(--muted);
    line-height: 1.7;
    margin: 0 0 14px;
}

.illus {
    margin-top: 18px;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(6, 1fr);
}

    .illus .cell {
        height: 10px;
        border-radius: 999px;
        background: linear-gradient(90deg, #142022, #1a2b2f);
    }

        .illus .cell:nth-child(2n) {
            background: linear-gradient(90deg, #152225, #22363b);
        }

        .illus .cell:nth-child(3n) {
            background: linear-gradient(90deg, #1a2b2f, #183034);
        }

        .illus .cell.long {
            grid-column: span 3;
        }

        .illus .cell.tall {
            height: 28px;
            grid-column: span 6;
            margin: 6px 0;
        }

.tip {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
}

    .tip em {
        color: var(--ink);
        font-style: normal;
        font-weight: 800;
    }

/* Painel de formulário */
.right {
    padding: clamp(20px, 4.5vw, 36px);
    display: grid;
    align-content: start;
    gap: 16px;
}

form {
    display: grid;
    gap: 12px;
}

label {
    font-weight: 800;
}

.field {
    position: relative;
}

.input {
    width: 100%;
    background: #0f1416;
    color: var(--ink);
    border: 1px solid #1a2225;
    border-radius: 14px;
    padding: 14px 14px 14px 42px;
    font-size: 16px;
    outline: none;
}

    .input:focus {
        border-color: #26353a;
        box-shadow: 0 0 0 3px rgba(0,237,59,.12);
    }

    .input[aria-invalid="true"] {
        border-color: var(--danger);
        box-shadow: 0 0 0 3px rgba(255,77,79,.15);
    }

.ico {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #8aa0a4;
}

.assist {
    color: var(--muted);
    font-size: 13px;
}

    .assist b {
        color: var(--ink);
    }

.btn {
    appearance: none;
    cursor: pointer;
    border-radius: 14px;
    padding: 12px 16px;
    font-weight: 900;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--brand) !important;
    color: #0b0f10;
    box-shadow: 0 6px 16px rgba(0,237,59,.25);
}

.btn:disabled {
    opacity: .6;
    cursor: not-allowed;
    filter: grayscale(.3);
}

.btn-ghost {
    background: #101618;
    color: var(--ink);
    border-color: #1a2225;
}

.row {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Loading no botão */
.btn .spinner {
    --s: 16px;
    width: var(--s);
    height: var(--s);
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,.15);
    border-top-color: rgba(0,0,0,.75);
    animation: spin .8s linear infinite;
    display: none;
}

.btn.loading .spinner {
    display: inline-block;
}

.btn.loading .txt {
    opacity: .0;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Mensagem de erro/sucesso */
.msg {
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #26353a;
    background: #0f1719;
    color: var(--ink);
    display: none;
}

    .msg.show {
        display: block;
    }

    .msg.error {
        border-color: rgba(255,77,79,.25);
        background: #201415;
    }

    .msg.ok {
        border-color: rgba(31,191,117,.25);
        background: #10211c;
    }

/* Estado de sucesso com check animado */
.success {
    display: none;
    gap: 12px;
    background: #10211c;
    border: 1px solid rgba(31,191,117,.25);
    border-radius: 16px;
    padding: 14px;
}

    .success.show {
        display: grid;
    }

.check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--ok);
    position: relative;
    box-shadow: inset 0 0 0 4px rgba(255,255,255,.15);
}

    .check::after {
        content: '';
        position: absolute;
        left: 7px;
        top: 4px;
        width: 6px;
        height: 12px;
        border-right: 3px solid #0b0f10;
        border-bottom: 3px solid #0b0f10;
        transform: rotate(45deg) scale(.6);
        transform-origin: center;
        animation: pop .4s ease forwards .1s;
        opacity: 0;
    }

@keyframes pop {
    to {
        opacity: 1;
        transform: rotate(45deg) scale(1);
    }
}

.help-list {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

    .help-list li {
        margin: 6px 0;
    }

.muted {
    color: var(--muted);
}

.links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.link-btn {
    border: 1px solid #1a2225;
    background: #0f1416;
    color: var(--ink);
    border-radius: 12px;
    padding: 8px 12px;
    font-weight: 800;
    text-decoration: none;
}

.countdown {
    font-weight: 900;
    color: var(--ink);
}

footer {
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
}

    footer a {
        color: var(--ink);
        text-decoration: none;
        font-weight: 800;
    }

        footer a:hover {
            text-decoration: underline;
        }
