        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #f8fbff 0%, #e8f4f8 100%);
            min-height: 100vh;
            overflow-x: hidden;
            color: #2b2b2b;
            position: relative;
        }

        /* Canvas Neural Background */
        #neural-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            pointer-events: none;
        }

        /* Header com animação de entrada */
        .header {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            padding: 1rem 2rem;
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            border-bottom: 1px solid rgba(46, 101, 112, 0.1);
            animation: slideDown 0.6s ease-out;
        }

        @keyframes slideDown {
            from {
                transform: translateY(-100%);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .header-logo {
            display: flex;
            align-items: center;
            gap: 1rem;
            transition: transform 0.3s ease;
        }

        .header-logo:hover {
            transform: scale(1.05);
        }

        .logo-container {
            position: relative;
        }

        .logo-container img {
            height: 67px;
            transition: transform 0.3s ease;
        }

        .logo-container:hover img {
            transform: rotate(5deg);
        }

        .header-text h1 {
            color: #234;
            font-size: 1.4rem;
            line-height: 1.2;
            margin: 0;
            transition: color 0.3s ease;
        }

        .header-text p {
            color: #2e6570;
            font-size: 0.9rem;
            font-weight: 600;
            margin: 0;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* Container principal com animações */
        .wrap {
            max-width: 440px;
            margin: 140px auto 40px;
            padding: 32px;
            background: white;
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
            position: relative;
            z-index: 1;
            animation: fadeInUp 0.8s ease-out 0.2s both;
            border: 1px solid rgba(46, 101, 112, 0.1);
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Efeito de brilho sutil no hover do container */
        .wrap::before {
            content: '';
            position: absolute;
            inset: -2px;
            border-radius: 20px;
            background: linear-gradient(135deg, #2e6570, #7ba7ab, #2e6570);
            opacity: 0;
            z-index: -1;
            transition: opacity 0.3s ease;
        }

        .wrap:hover::before {
            opacity: 0.15;
        }

        h2 {
            margin: 0 0 8px;
            font-size: 1.8rem;
            font-weight: 700;
            color: #234;
            animation: slideInLeft 0.6s ease-out 0.4s both;
        }

        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-20px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        p.sub {
            margin: 0 0 24px;
            color: #475569;
            animation: slideInLeft 0.6s ease-out 0.5s both;
        }

        /* Form elements com micro-interações */
        label {
            display: block;
            font-size: 0.95rem;
            font-weight: 600;
            margin: 18px 0 8px;
            color: #2e6570;
            animation: fadeIn 0.6s ease-out 0.6s both;
            transition: transform 0.3s ease;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        input {
            width: 100%;
            padding: 14px 16px;
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            background: #fbfdff;
            outline: none;
            font-size: 1rem;
            transition: all 0.3s ease;
            animation: fadeIn 0.6s ease-out 0.7s both;
        }

        input:focus {
            border-color: #2e6570;
            background: white;
            box-shadow: 0 0 0 4px rgba(46, 101, 112, 0.1);
            transform: translateY(-2px);
        }

        input:hover:not(:focus) {
            border-color: #cbd5e1;
        }

        /* Botões com animações avançadas */
        .row {
            display: flex;
            gap: 12px;
            align-items: center;
            margin-top: 24px;
            animation: fadeIn 0.6s ease-out 0.8s both;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 14px 24px;
            border-radius: 50px;
            border: 0;
            cursor: pointer;
            font-weight: 600;
            font-size: 0.95rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .btn::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, transparent, rgba(255,255,255,0.3), transparent);
            transform: translateX(-100%);
            transition: transform 0.6s ease;
        }

        .btn:hover::before {
            transform: translateX(100%);
        }

        .btn.primary {
            background: linear-gradient(135deg, #2e6570 0%, #214b53 100%);
            color: white;
            box-shadow: 0 4px 15px rgba(46, 101, 112, 0.3);
        }

        .btn.primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 25px rgba(46, 101, 112, 0.4);
        }

        .btn.primary:active {
            transform: translateY(-1px);
        }

        .btn:not(.primary) {
            background: #f1f5f9;
            color: #475569;
            border: 2px solid #e2e8f0;
        }

        .btn:not(.primary):hover {
            background: white;
            border-color: #2e6570;
            color: #2e6570;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        /* Mensagens com animação */
        .msg {
            margin-top: 16px;
            padding: 12px 16px;
            font-size: 0.95rem;
            border-radius: 10px;
            animation: slideInUp 0.4s ease-out;
            font-weight: 500;
        }

        @keyframes slideInUp {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .msg:not(:empty) {
            background: #fef2f2;
            color: #991b1b;
            border: 1px solid #fecaca;
        }

        .msg.success {
            background: #f0fdf4;
            color: #166534;
            border: 1px solid #bbf7d0;
        }

        .hint {
            font-size: 0.85rem;
            color: #64748b;
            margin-top: 16px;
            animation: fadeIn 0.6s ease-out 1s both;
        }

        /* Loading state */
        .btn.loading {
            pointer-events: none;
            opacity: 0.7;
        }

        .btn.loading::after {
            content: '';
            width: 16px;
            height: 16px;
            border: 2px solid currentColor;
            border-top-color: transparent;
            border-radius: 50%;
            animation: spin 0.6s linear infinite;
            margin-left: 8px;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* Pulse animation for interactive elements */
        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
        }

        /* Responsive */
        @media (max-width: 768px) {
            .header {
                padding: 1rem;
            }

            .logo-container img {
                height: 50px;
            }

            .header-text h1 {
                font-size: 1.2rem;
            }

            .wrap {
                margin: 120px 20px 40px;
                padding: 24px;
            }

            .row {
                flex-direction: column;
                align-items: stretch;
            }

            .btn {
                width: 100%;
            }
        }

        /* Floating animation for logo */
        @keyframes float {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-10px);
            }
        }

        .logo-container {
            animation: float 3s ease-in-out infinite;
        }