@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

html {
    overflow-x: hidden;
}

/* Bloqueio: impedir arrastar, baixar e segurar imagens (perfis, status, ligações, etc.) */
img {
    -webkit-user-drag: none;
    user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

body {
    background-color: #0a1014;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    position: relative;
    overflow-x: hidden;
}

#matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

section.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    min-width: 0;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 10px;
    gap: 20px;

    div.clone {
        display: flex;
        backdrop-filter: blur(40px) saturate(180%);
        border: 1px solid rgba(255, 255, 255, .1);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
        justify-content: center;
        align-items: center;
        flex-direction: column;
        background-color: rgba(10, 16, 20, 0.9);
        padding: 20px;
        padding-top: 40px;
        padding-bottom: 40px;
        gap: 20px;
        border-radius: 10px;
        max-width: 500px;
        width: 100%;
        min-width: 0;

        div.logo {            
            width: 200px;
            display: flex;
            justify-content: center;
            align-items: center;
            .logo-text {
                font-size: 1.75rem;
                font-weight: 700;
                letter-spacing: 0.02em;
            }
            .logo-investiga {
                color: #fff;
            }
            .logo-zap {
                color: #d9fdd3;
            }
            img {
                width: 100%;
                height: 100%;
                object-fit: contain;
            }
        }

        div.description {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            flex-direction: column;
            width: 100%;
            min-width: 0;

            h1 {
                font-weight: 600;
                color: white;
                text-align: center;
                font-size: 24px;

                span {
                    text-transform: uppercase;
                    color: red;
                }
            }

            h2 {
                font-weight: 400;
                color: #a4a5a5;
                text-align: center;
                font-size: 16px;
            }
        }

        .cta-step {
            width: 100%;
            min-width: 0;
        }

        .cta-step-input {
            display: none;
        }

        .cta-step-input[hidden] {
            display: none !important;
        }

        .cta-step-input:not([hidden]) {
            display: block;
        }

        .cta-step-button.hidden {
            display: none !important;
        }

        .input-phone-wrap {
            display: flex;
            align-items: center;
            width: 100%;
            min-width: 0;
            min-height: 52px;
            padding: 0 12px;
            background: linear-gradient(90deg, rgba(26, 77, 58, 0.35) 0%, rgba(16, 53, 41, 0.5) 50%, rgba(16, 53, 41, 0.4) 100%);
            border: 2px solid rgba(217, 253, 211, 0.4);
            border-radius: 999px;
            gap: 4px;
            transition: border-color 0.2s ease, box-shadow 0.2s ease;
        }

        .input-phone-wrap.phone-valid {
            border-color: #22c55e;
            box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.3);
        }

        .input-phone-wrap.phone-invalid {
            border-color: #ef4444;
            box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.3);
        }

        .input-prefix {
            color: #d9fdd3;
            font-size: 16px;
            font-weight: 500;
            user-select: none;
        }

        .input-phone-wrap input {
            flex: 1;
            min-width: 0;
            border: none;
            background: transparent;
            color: #fff;
            font-size: 16px;
            outline: none;
            padding: 12px 0;
        }

        .input-phone-wrap input::placeholder {
            color: rgba(255, 255, 255, 0.35);
        }

        .input-phone-wrap .btn-send {
            flex-shrink: 0;
            width: 42px;
            height: 42px;
            padding: 0;
            margin-right: 0;
            border: none;
            border-radius: 50%;
            background: linear-gradient(145deg, #1a4d3a 0%, #103529 100%);
            color: #d9fdd3;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(217, 253, 211, 0.15);
            transition: transform 0.15s ease, box-shadow 0.15s ease;
        }

        .input-phone-wrap .btn-send:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(217, 253, 211, 0.2);
        }

        .input-phone-wrap .btn-send:active {
            transform: scale(0.98);
        }

        .input-phone-wrap .btn-send svg {
            margin-left: 2px;
        }

        .input-phone-wrap .btn-send.btn-send-text {
            width: auto;
            min-width: 0;
            height: 38px;
            padding: 0 12px;
            border-radius: 999px;
            font-size: 13px;
            font-weight: 700;
            white-space: nowrap;
            text-transform: none;
        }
        .input-phone-wrap .btn-send.btn-send-text:hover {
            transform: scale(1.02);
        }

        button {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            width: 100%;
            text-transform: uppercase;
            font-weight: 600;
            border: none;
            border-radius: 5px;
            padding: 15px 50px;
            border:1px solid rgba(255, 255, 255, .1);
            color: #d9fdd3;
            background-color:#103529;

            img {
                width: 30px;
                height: 30px;
                object-fit: contain;
            }

            h1 {
                font-size: 20px;
                font-weight: 600;
                color: #d9fdd3;
            }
        }

        div.benefits {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            gap: 8px;
            width: 100%;
            min-width: 0;

            div.benefit {
                display: flex;
                justify-content: center;
                align-items: center;
                flex-wrap: wrap;
                gap: 10px;
                min-width: 0;

                h1 {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    gap: 2px;
                    text-transform: uppercase;
                    font-size: 10px;
                    font-weight: bold;
                    color: white;
                    white-space: nowrap;

                    img {
                        width: 18px;
                        height: 18px;
                        object-fit: contain;
                        flex-shrink: 0;
                    }
                }
            }
        }
    }

    div.statistics {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        min-width: 0;

        h1 {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 5px;
            font-size: 16px;
            font-weight:700;
            color: #d9fdd3;
            text-align: center;

            span {
                font-size: 16px;
                font-weight: 500;
                color: white;
            }
        }

    }
}

/* Animação do olho no botão: piscada (escala na vertical) */
.clone button .icon-blink {
    transform-origin: center center;
    animation: eye-blink 2.5s ease-in-out infinite;
}

@keyframes eye-blink {
    0%, 88% { transform: scaleY(1); }
    92% { transform: scaleY(0.08); }
    96% { transform: scaleY(1); }
    100% { transform: scaleY(1); }
}

/* Responsividade: telas estreitas para evitar overflow */
@media (max-width: 380px) {
    section.container {
        padding: 8px;
    }

    section.container div.clone {
        padding: 16px;
        padding-top: 32px;
        padding-bottom: 32px;
    }

    section.container div.clone div.description h1 {
        font-size: 20px;
    }

    section.container div.clone div.description h2 {
        font-size: 14px;
    }

    .input-phone-wrap .btn-send.btn-send-text {
        padding: 0 10px;
        font-size: 12px;
    }

    div.benefits div.benefit h1 {
        font-size: 9px;
    }

    div.benefits div.benefit h1 img {
        width: 16px;
        height: 16px;
    }
}

