body {
    background: #f6f7fb;
}

.admin-login-shell {
    max-width: 420px;
}

.brand-bar {
    background: #101828;
    color: #fff;
}

.checkout-shell {
    max-width: 980px;
}

.plan-card {
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.plan-card label {
    position: relative;
    border: 2px solid transparent;
    background: #fff;
    color: #212529;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.plan-card label:hover {
    border-color: #75b798;
    background: #f0faf4;
    color: #0f5132;
}

.plan-card input:focus-visible + label {
    outline: 3px solid rgba(13, 110, 253, 0.35);
    outline-offset: 2px;
}

.plan-card input:checked + label {
    border-color: #157347;
    background: #198754;
    color: #fff;
    box-shadow: 0 8px 20px rgba(21, 115, 71, 0.3);
}

.plan-card input:checked + label::after {
    content: "\2713  Selecionado";
    display: inline-block;
    margin-top: 0.65rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: #fff;
    color: #157347;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.qr-code {
    max-width: 280px;
    width: 100%;
}

.copy-box {
    word-break: break-all;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.9rem;
}

/* Página inicial: Midnight Fintech. Regras isoladas para não alterar checkout e admin. */
.landing-page {
    --night-bg: #040812;
    --night-panel: rgba(9, 19, 35, 0.94);
    --night-card: rgba(10, 24, 43, 0.78);
    --night-border: rgba(72, 159, 255, 0.42);
    --night-border-soft: rgba(108, 171, 255, 0.2);
    --night-text: #f3f8ff;
    --night-muted: #9eb1c9;
    --night-blue: #4aa8ff;
    --night-cyan: #41e5ff;
    --night-green: #18e99a;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 12% 78%, rgba(31, 128, 255, 0.16), transparent 30rem),
        radial-gradient(circle at 90% 22%, rgba(0, 224, 255, 0.1), transparent 28rem),
        linear-gradient(145deg, #030711 0%, #06101e 52%, #02050b 100%);
    color: var(--night-text);
}

.landing-page::before {
    position: fixed;
    inset: 0;
    z-index: 0;
    content: "";
    pointer-events: none;
    background-image:
        linear-gradient(rgba(70, 144, 221, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(70, 144, 221, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, transparent 8%, #000 42%, transparent 100%);
}

.landing-page .ambient-light {
    position: fixed;
    z-index: 0;
    width: 40rem;
    height: 40rem;
    border: 1px solid rgba(55, 153, 255, 0.2);
    border-radius: 32%;
    pointer-events: none;
    filter: drop-shadow(0 0 50px rgba(35, 130, 255, 0.16));
    transform: rotate(45deg);
}

.landing-page .ambient-light-left {
    top: 25%;
    left: -34rem;
}

.landing-page .ambient-light-right {
    right: -35rem;
    bottom: -8rem;
}

.landing-page .checkout-shell {
    position: relative;
    z-index: 1;
    max-width: 1220px;
}

.landing-page .site-header {
    position: relative;
    z-index: 2;
    margin: 1rem auto 0;
    width: calc(100% - 2rem);
    max-width: 1220px;
    border: 1px solid rgba(69, 150, 239, 0.34);
    border-radius: 14px;
    background: rgba(6, 15, 28, 0.82);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.25), inset 0 1px rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(18px);
}

.landing-page .site-header .checkout-shell {
    padding-inline: 1.35rem;
}

.landing-page .brand-title {
    display: inline-flex;
    gap: 0.75rem;
    align-items: center;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}

.landing-page .brand-signal {
    display: inline-block;
    width: 4px;
    height: 24px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--night-cyan), #3478ff);
    box-shadow: 0 0 18px rgba(65, 229, 255, 0.75);
}

.landing-page .payment-label {
    color: var(--night-muted);
    font-size: 0.88rem;
}

.landing-page .landing-main {
    padding-top: 1.4rem;
    padding-bottom: 2rem;
}

.landing-page .activation-command-panel {
    position: relative;
    padding: clamp(1.35rem, 3vw, 2.5rem);
    overflow: hidden;
    border: 1px solid var(--night-border);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(10, 23, 42, 0.97), rgba(4, 13, 25, 0.96));
    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.42),
        0 0 45px rgba(31, 131, 255, 0.08),
        inset 0 1px rgba(255, 255, 255, 0.04);
}

.landing-page .activation-command-panel::after {
    position: absolute;
    top: -8rem;
    right: -8rem;
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    content: "";
    pointer-events: none;
    background: radial-gradient(circle, rgba(37, 149, 255, 0.1), transparent 67%);
}

.landing-page .hero-copy {
    margin-bottom: 1.6rem;
}

.landing-page .eyebrow {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--night-cyan);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.2em;
}

.landing-page .hero-copy h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 750;
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.landing-page .hero-copy h1 span {
    color: transparent;
    background: linear-gradient(90deg, #7fe7ff, #458bff);
    background-clip: text;
    -webkit-background-clip: text;
}

.landing-page .hero-copy p {
    margin: 0.7rem 0 0;
    color: var(--night-muted);
    font-size: 1rem;
}

.landing-page .activation-form {
    position: relative;
    z-index: 1;
}

.landing-page .form-label {
    margin-bottom: 0.52rem;
    color: var(--night-text);
    font-size: 0.9rem;
    font-weight: 650;
}

.landing-page .section-label {
    margin-bottom: 0.8rem;
    font-size: 1.06rem;
    font-weight: 720;
}

.landing-page .input-frame {
    position: relative;
}

.landing-page .input-frame::before {
    position: absolute;
    top: 50%;
    left: 1rem;
    z-index: 2;
    width: 18px;
    height: 15px;
    content: "";
    pointer-events: none;
    border: 2px solid #6eaef2;
    opacity: 0.8;
    transform: translateY(-50%);
}

.landing-page .input-frame-device::after {
    position: absolute;
    bottom: calc(50% - 11px);
    left: 1.38rem;
    z-index: 2;
    width: 7px;
    height: 2px;
    content: "";
    pointer-events: none;
    background: #6eaef2;
    opacity: 0.8;
}

.landing-page .input-frame-email::before {
    height: 13px;
    border-radius: 3px;
}

.landing-page .input-frame-email::after {
    position: absolute;
    top: calc(50% - 5px);
    left: 1.18rem;
    z-index: 2;
    width: 12px;
    height: 8px;
    content: "";
    pointer-events: none;
    border-right: 1px solid #6eaef2;
    border-bottom: 1px solid #6eaef2;
    transform: rotate(45deg);
}

.landing-page .form-control {
    min-height: 54px;
    padding-left: 3.15rem;
    border: 1px solid rgba(78, 151, 231, 0.42);
    border-radius: 10px;
    background: rgba(9, 25, 45, 0.82);
    color: var(--night-text);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}

.landing-page .form-control::placeholder {
    color: #7f94ad;
    opacity: 1;
}

.landing-page .form-control:focus {
    border-color: var(--night-blue);
    background: rgba(10, 29, 52, 0.95);
    color: #fff;
    box-shadow: 0 0 0 3px rgba(57, 153, 255, 0.16), 0 0 22px rgba(38, 139, 255, 0.09);
}

.landing-page .plan-card {
    overflow: hidden;
    border: 1px solid var(--night-border-soft);
    border-radius: 12px;
    background: var(--night-card);
}

.landing-page .plan-card label {
    min-height: 105px;
    padding: 1.15rem 1.25rem !important;
    border: 1px solid transparent;
    border-radius: 11px !important;
    background: linear-gradient(135deg, rgba(11, 29, 51, 0.95), rgba(7, 20, 37, 0.92));
    color: var(--night-text);
}

.landing-page .plan-card label:hover {
    border-color: rgba(74, 168, 255, 0.72);
    background: linear-gradient(135deg, rgba(15, 40, 68, 0.98), rgba(8, 25, 46, 0.95));
    color: #fff;
    transform: translateY(-1px);
}

.landing-page .plan-card input:focus-visible + label {
    outline: 3px solid rgba(65, 229, 255, 0.3);
    outline-offset: 3px;
}

.landing-page .plan-card input:checked + label {
    border-color: var(--night-green);
    background:
        radial-gradient(circle at 90% 20%, rgba(38, 255, 176, 0.18), transparent 45%),
        linear-gradient(135deg, rgba(4, 90, 68, 0.94), rgba(5, 45, 43, 0.96));
    color: #fff;
    box-shadow: 0 0 0 1px rgba(24, 233, 154, 0.2), 0 0 24px rgba(24, 233, 154, 0.18);
}

.landing-page .plan-card input:checked + label::after {
    margin-top: 0.55rem;
    padding: 0.22rem 0.65rem;
    background: #ccffec;
    color: #075c42;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.landing-page [data-plan-card="anual"] .plan-card label {
    min-height: 112px;
}

.landing-page .row:has([data-plan-card="vitalicio"][hidden]) [data-plan-card="anual"] {
    width: 100%;
}

.landing-page .activation-submit {
    position: relative;
    min-height: 58px;
    overflow: hidden;
    border: 1px solid #30f4ad;
    border-radius: 11px;
    background: linear-gradient(105deg, #07955f, #0bd486 58%, #08ad70);
    font-weight: 750;
    box-shadow: 0 10px 30px rgba(7, 197, 124, 0.23), inset 0 1px rgba(255, 255, 255, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.landing-page .activation-submit::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.22) 48%, transparent 66%);
    transform: translateX(-100%);
    transition: transform 0.55s ease;
}

.landing-page .activation-submit:hover,
.landing-page .activation-submit:focus-visible {
    border-color: #75ffd0;
    background: linear-gradient(105deg, #08a46a, #0ce094 58%, #08ba78);
    box-shadow: 0 14px 36px rgba(7, 221, 141, 0.3), 0 0 0 3px rgba(58, 255, 186, 0.13);
    transform: translateY(-1px);
}

.landing-page .activation-submit:hover::before {
    transform: translateX(100%);
}

.landing-page .activation-submit .submit-arrow {
    position: absolute;
    right: 1.3rem;
    font-size: 1.5rem;
    line-height: 1;
}

.landing-page .process-card {
    position: sticky;
    top: 1.5rem;
    padding: 1.5rem;
    border: 1px solid rgba(69, 159, 255, 0.35);
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(8, 24, 43, 0.92), rgba(5, 17, 32, 0.88));
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.035), 0 20px 50px rgba(0, 0, 0, 0.2);
}

.landing-page .process-heading {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.landing-page .process-heading h2 {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 750;
}

.landing-page .process-bolt {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(65, 229, 255, 0.55);
    border-radius: 50%;
    background: rgba(27, 142, 255, 0.12);
    color: var(--night-cyan);
    font-size: 0;
    font-weight: 900;
    box-shadow: 0 0 22px rgba(65, 229, 255, 0.16);
}

.landing-page .process-bolt::before {
    width: 14px;
    height: 23px;
    content: "";
    background: linear-gradient(180deg, #89f4ff, #27a9ff);
    clip-path: polygon(53% 0, 100% 0, 68% 39%, 94% 39%, 28% 100%, 43% 55%, 12% 55%);
    filter: drop-shadow(0 0 6px rgba(65, 229, 255, 0.75));
}

.landing-page .process-list {
    position: relative;
    display: grid;
    gap: 1.35rem;
    padding: 0;
    list-style: none;
}

.landing-page .process-list::before {
    position: absolute;
    top: 1rem;
    bottom: 1rem;
    left: 15px;
    width: 1px;
    content: "";
    background: linear-gradient(var(--night-blue), rgba(74, 168, 255, 0.12));
}

.landing-page .process-list li {
    position: relative;
    min-height: 32px;
    padding-left: 3rem;
    color: #b3c2d5;
    font-size: 0.91rem;
    line-height: 1.45;
}

.landing-page .step-number {
    position: absolute;
    top: -0.25rem;
    left: 0;
    z-index: 1;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid var(--night-blue);
    border-radius: 50%;
    background: #08182a;
    color: #b8e4ff;
    font-size: 0.78rem;
    font-weight: 800;
    box-shadow: 0 0 14px rgba(74, 168, 255, 0.2);
}

@media (max-width: 991.98px) {
    .landing-page .site-header {
        margin-top: 0.65rem;
        width: calc(100% - 1.25rem);
    }

    .landing-page .landing-main {
        padding-top: 0.85rem;
    }

    .landing-page .process-card {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .landing-page .site-header .checkout-shell {
        padding-inline: 0.7rem;
    }

    .landing-page .brand-title {
        font-size: 0.82rem;
    }

    .landing-page .payment-label {
        font-size: 0.72rem;
    }

    .landing-page .activation-command-panel {
        padding: 1.1rem;
        border-radius: 15px;
    }

    .landing-page .hero-copy h1 {
        font-size: 2rem;
    }

    .landing-page .plan-card label {
        min-height: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-page *,
    .landing-page *::before,
    .landing-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
