/**
 * MhSys SaaS - Onboarding Wizard, Registration & Niche Setup Stylesheet
 * Modificado: 2026-08-22 20:52:00
 */


/* ========================================================
   ONBOARDING: SETUP_ONBOARDING (BLOCK 1)
   ======================================================== */
:root {
            --primary: hsl(256, 100%, 65%);
            --primary-glow: hsla(256, 100%, 65%, 0.3);
            --primary-hover: hsl(256, 100%, 58%);
            --success: hsl(160, 100%, 40%);
            --success-glow: hsla(160, 100%, 40%, 0.2);
            --danger: hsl(340, 100%, 60%);
            --warning: hsl(40, 100%, 50%);
            --background: #0a0714;
            --glass-bg: rgba(255, 255, 255, 0.04);
            --glass-border: rgba(255, 255, 255, 0.08);
            --glass-card: rgba(20, 15, 38, 0.65);
            --text-main: #f3f1f8;
            --text-muted: #9c97b0;
            --font-outfit: 'Outfit', sans-serif;
            --font-inter: 'Inter', sans-serif;
            --border-radius: 20px;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: var(--font-inter);
            background-color: var(--background);
            color: var(--text-main);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow-x: hidden;
            position: relative;
        }

        /* Animated Mesh Blobs */
        .bg-blobs {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: 1;
            pointer-events: none;
        }

        .blob {
            position: absolute;
            border-radius: 50%;
            filter: blur(140px);
            opacity: 0.22;
            animation: float 25s infinite alternate ease-in-out;
        }

        .blob-1 {
            background: var(--primary);
            width: 600px;
            height: 600px;
            top: -10%;
            left: -10%;
            animation-duration: 20s;
        }

        .blob-2 {
            background: #e066ff;
            width: 500px;
            height: 500px;
            bottom: -5%;
            right: -5%;
            animation-duration: 28s;
        }

        .blob-3 {
            background: #00f5d4;
            width: 400px;
            height: 400px;
            top: 40%;
            left: 50%;
            transform: translate(-50%, -50%);
            animation-duration: 35s;
        }

        @keyframes float {
            0% { transform: translate(0, 0) scale(1); }
            50% { transform: translate(60px, -40px) scale(1.1); }
            100% { transform: translate(-40px, 80px) scale(0.9); }
        }

        /* App Layout Container */
        .wizard-container {
            width: 94%;
            max-width: 1380px;
            height: 85vh;
            min-height: 680px;
            background: var(--glass-card);
            backdrop-filter: blur(35px);
            -webkit-backdrop-filter: blur(35px);
            border: 1px solid var(--glass-border);
            border-radius: var(--border-radius);
            box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
            z-index: 2;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            animation: scaleIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        }

        @keyframes scaleIn {
            0% { opacity: 0; transform: scale(0.96); }
            100% { opacity: 1; transform: scale(1); }
        }

        /* Top Progress Bar & Header */
        .wizard-header {
            padding: 22px 35px;
            border-bottom: 1px solid var(--glass-border);
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: rgba(10, 7, 20, 0.4);
        }

        .header-logo {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .logo-symbol {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--primary) 0%, #a855f7 100%);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 0 15px var(--primary-glow);
        }

        .logo-symbol i {
            color: #fff;
            font-size: 22px;
        }

        .logo-text {
            font-family: var(--font-outfit);
            font-weight: 800;
            font-size: 21px;
            letter-spacing: 0.5px;
            background: linear-gradient(to right, #fff 40%, var(--text-muted) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .tenant-indicator {
            display: flex;
            align-items: center;
            gap: 8px;
            background: rgba(255, 255, 255, 0.05);
            padding: 6px 14px;
            border-radius: 50px;
            font-size: 13px;
            border: 1px solid rgba(255, 255, 255, 0.03);
        }

        .tenant-indicator i {
            color: var(--primary);
        }

        .progress-block {
            display: flex;
            align-items: center;
            gap: 15px;
            width: 320px;
        }

        .progress-label {
            font-size: 13px;
            font-weight: 600;
            color: var(--text-muted);
            min-width: 95px;
        }

        .progress-track {
            flex-grow: 1;
            height: 8px;
            background: rgba(255, 255, 255, 0.06);
            border-radius: 10px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.02);
        }

        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--primary) 0%, #b55fe6 100%);
            border-radius: 10px;
            width: 14%;
            transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
            box-shadow: 0 0 10px var(--primary-glow);
        }

        /* Main Workspace Splitting */
        .wizard-workspace {
            flex-grow: 1;
            display: grid;
            grid-template-columns: 310px 1fr;
            overflow: hidden;
        }

        /* Sidebar steps list */
        .wizard-sidebar {
            background: rgba(8, 5, 17, 0.5);
            border-right: 1px solid var(--glass-border);
            padding: 30px 20px;
            display: flex;
            flex-direction: column;
            gap: 10px;
            overflow-y: auto;
        }

        .step-item {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 14px 16px;
            border-radius: 14px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
            border: 1px solid transparent;
            position: relative;
        }

        .step-item:hover:not(.locked) {
            background: rgba(255, 255, 255, 0.03);
        }

        .step-item.active {
            background: rgba(99, 102, 241, 0.08);
            border-color: rgba(99, 102, 241, 0.15);
            box-shadow: inset 0 0 15px rgba(99, 102, 241, 0.05);
        }

        .step-badge {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.05);
            border: 2px solid rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            font-weight: 700;
            font-family: var(--font-outfit);
            color: var(--text-muted);
            transition: all 0.3s ease;
        }

        .step-item.active .step-badge {
            background: var(--primary);
            border-color: var(--primary);
            color: #fff;
            box-shadow: 0 0 10px var(--primary-glow);
        }

        .step-item.completed .step-badge {
            background: var(--success-glow);
            border-color: var(--success);
            color: var(--success);
        }

        .step-item.locked {
            opacity: 0.45;
            cursor: not-allowed;
        }

        .step-details {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .step-title {
            font-size: 14px;
            font-weight: 600;
            color: var(--text-muted);
            transition: color 0.3s;
        }

        .step-item.active .step-title {
            color: #fff;
        }

        .step-item.completed .step-title {
            color: var(--text-main);
        }

        .step-desc {
            font-size: 11px;
            color: var(--text-muted);
            opacity: 0.75;
        }

        /* Right Content Panel */
        .wizard-body {
            padding: 40px 50px;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            position: relative;
            background: rgba(10, 7, 24, 0.1);
        }

        .step-content {
            display: none;
            animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
            height: 100%;
        }

        .step-content.active {
            display: flex;
            flex-direction: column;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .step-header {
            margin-bottom: 25px;
        }

        .step-subtitle {
            font-family: var(--font-outfit);
            font-size: 24px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 6px;
            letter-spacing: -0.3px;
        }

        .step-caption {
            font-size: 14px;
            color: var(--text-muted);
        }

        /* Forms Layout & Inputs */
        .form-grid {
            display: grid;
            grid-template-columns: repeat(12, 1fr);
            gap: 20px;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 7px;
        }

        .col-12 { grid-column: span 12; }
        .col-8 { grid-column: span 8; }
        .col-6 { grid-column: span 6; }
        .col-4 { grid-column: span 4; }
        .col-3 { grid-column: span 3; }
        .col-2 { grid-column: span 2; }

        label {
            font-size: 13px;
            font-weight: 550;
            color: var(--text-main);
            opacity: 0.9;
        }

        label span {
            color: var(--danger);
        }

        .input-wrapper {
            position: relative;
        }

        .input-wrapper i {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-muted);
            font-size: 15px;
        }

        input[type="text"],
        input[type="email"],
        input[type="password"],
        input[type="number"],
        select {
            width: 100%;
            padding: 12px 14px;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid var(--glass-border);
            color: #fff;
            font-family: var(--font-inter);
            font-size: 14px;
            transition: all 0.3s;
            outline: none;
        }

        .input-wrapper input,
        .input-wrapper select {
            padding-left: 42px;
        }

        input:focus, select:focus {
            background: rgba(255, 255, 255, 0.06);
            border-color: var(--primary);
            box-shadow: 0 0 0 3px var(--primary-glow);
        }

        select option {
            background-color: #120e22;
            color: #fff;
        }

        /* Buttons & Footer */
        .wizard-footer {
            margin-top: 30px;
            padding-top: 25px;
            border-top: 1px solid var(--glass-border);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 13px 25px;
            border-radius: 12px;
            font-family: var(--font-outfit);
            font-weight: 600;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
            border: none;
            outline: none;
        }

        .btn-secondary {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--glass-border);
            color: var(--text-main);
        }

        .btn-secondary:hover:not(:disabled) {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(255, 255, 255, 0.2);
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary) 0%, #a855f7 100%);
            color: #fff;
            box-shadow: 0 5px 15px var(--primary-glow);
        }

        .btn-primary:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px var(--primary-glow);
            background: linear-gradient(135deg, var(--primary-hover) 0%, #9333ea 100%);
        }

        .btn:disabled {
            opacity: 0.4;
            cursor: not-allowed;
            transform: none !important;
            box-shadow: none !important;
        }

        /* Premium Plugins Grid & Onboarding Step 2 Styling */
        .plugins-onboarding-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
            gap: 20px;
            margin-top: 15px;
            max-height: 400px;
            overflow-y: auto;
            padding-right: 5px;
        }

        .plugin-onboarding-card {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid var(--glass-border);
            border-radius: 16px;
            padding: 20px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            gap: 15px;
            transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
            position: relative;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }

        .plugin-onboarding-card:hover:not(.locked) {
            transform: translateY(-4px);
            border-color: rgba(255, 255, 255, 0.15);
            background: rgba(255, 255, 255, 0.04);
            box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        }

        .plugin-onboarding-card.locked {
            opacity: 0.55;
            background: rgba(255, 255, 255, 0.01);
            border-color: rgba(255, 255, 255, 0.04);
        }

        .plugin-onboarding-header {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .plugin-onboarding-icon {
            width: 46px;
            height: 46px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid var(--glass-border);
            color: var(--text-main);
        }

        .plugin-onboarding-card.incluso .plugin-onboarding-icon {
            background: rgba(99, 102, 241, 0.15);
            color: #a78bfa;
            border-color: rgba(99, 102, 241, 0.25);
        }

        .plugin-onboarding-card.opcional.active .plugin-onboarding-icon {
            background: rgba(16, 185, 129, 0.15);
            color: #34d399;
            border-color: rgba(16, 185, 129, 0.25);
        }

        .plugin-onboarding-info {
            display: flex;
            flex-direction: column;
            gap: 3px;
        }

        .plugin-onboarding-title {
            font-family: var(--font-outfit);
            font-size: 15px;
            font-weight: 700;
            color: #fff;
        }

        .plugin-onboarding-desc {
            font-size: 12px;
            color: var(--text-muted);
            line-height: 1.5;
            min-height: 36px;
        }

        .plugin-onboarding-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-top: 1px solid rgba(255, 255, 255, 0.04);
            padding-top: 12px;
            margin-top: auto;
        }

        .plugin-status-badge {
            font-size: 10px;
            font-weight: 700;
            text-transform: uppercase;
            padding: 3px 10px;
            border-radius: 20px;
        }

        .badge-incluso {
            background: rgba(99, 102, 241, 0.12);
            color: #a78bfa;
            border: 1px solid rgba(99, 102, 241, 0.2);
        }

        .badge-opcional {
            background: rgba(16, 185, 129, 0.1);
            color: #34d399;
            border: 1px solid rgba(16, 185, 129, 0.2);
        }

        .badge-bloqueado {
            background: rgba(245, 158, 11, 0.12);
            color: #fbbf24;
            border: 1px solid rgba(245, 158, 11, 0.3);
        }

        .module-preference-card {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid var(--glass-border);
            border-radius: 16px;
            padding: 22px 20px;
            cursor: pointer;
            transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
            display: flex;
            flex-direction: column;
            gap: 12px;
            position: relative;
            user-select: none;
            box-shadow: 0 4px 15px rgba(0,0,0,0.15);
        }

        .module-preference-card:hover:not(.locked-module) {
            transform: translateY(-5px);
            border-color: rgba(255, 255, 255, 0.18);
            background: rgba(255, 255, 255, 0.05);
            box-shadow: 0 10px 25px rgba(0,0,0,0.25);
        }

        .module-preference-card.selected {
            background: rgba(99, 102, 241, 0.07);
            border-color: var(--primary);
            box-shadow: 0 0 20px var(--primary-glow);
        }

        .module-preference-card.locked-module {
            opacity: 0.55;
            cursor: not-allowed;
        }

        .module-icon {
            width: 44px;
            height: 44px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            border: 1px solid transparent;
            transition: all 0.3s;
        }

        .module-preference-card.selected .module-icon {
            transform: scale(1.08);
        }

        .module-title {
            font-family: var(--font-outfit);
            font-size: 16px;
            font-weight: 700;
            color: #fff;
        }

        .module-desc {
            font-size: 11.5px;
            line-height: 1.5;
            color: var(--text-muted);
        }

        .module-lock-badge {
            position: absolute;
            top: 12px;
            right: 12px;
            background: rgba(245, 158, 11, 0.12);
            color: #f59e0b;
            border: 1px solid rgba(245, 158, 11, 0.3);
            font-size: 9px;
            font-weight: 700;
            padding: 3px 8px;
            border-radius: 50px;
            text-transform: uppercase;
        }

        .code-box-input:focus {
            background: rgba(255, 255, 255, 0.08) !important;
            border-color: var(--primary) !important;
            box-shadow: 0 0 15px var(--primary-glow) !important;
        }

        /* Scrollbar styles */
        ::-webkit-scrollbar {
            width: 6px;
            height: 6px;
        }

        ::-webkit-scrollbar-track {
            background: rgba(0, 0, 0, 0.05);
        }

        ::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 5px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        /* Step-Specific Styling */
        /* Collaborators List */
        .colab-grid {
            grid-column: span 12;
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 15px;
            margin-top: 15px;
            max-height: 230px;
            overflow-y: auto;
            padding-right: 5px;
        }

        .colab-card {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid var(--glass-border);
            border-radius: 12px;
            padding: 14px 18px;
            display: flex;
            align-items: center;
            gap: 15px;
            transition: all 0.3s;
        }

        .colab-card:hover {
            border-color: rgba(255, 255, 255, 0.15);
            background: rgba(255, 255, 255, 0.04);
        }

        .colab-avatar {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background: rgba(99, 102, 241, 0.15);
            border: 1px solid rgba(99, 102, 241, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            font-weight: 700;
        }

        .colab-info {
            display: flex;
            flex-direction: column;
            gap: 3px;
        }

        .colab-name {
            font-size: 14px;
            font-weight: 600;
            color: #fff;
        }

        .colab-email {
            font-size: 11px;
            color: var(--text-muted);
        }

        .colab-badges {
            display: flex;
            gap: 5px;
            margin-top: 2px;
        }

        .colab-badge {
            font-size: 9px;
            font-weight: 600;
            text-transform: uppercase;
            padding: 2px 6px;
            border-radius: 4px;
        }

        .badge-perfil {
            background: rgba(168, 85, 247, 0.12);
            color: #c084fc;
            border: 1px solid rgba(168, 85, 247, 0.2);
        }

        .badge-depto {
            background: rgba(0, 245, 212, 0.08);
            color: #2dd4bf;
            border: 1px solid rgba(0, 245, 212, 0.15);
        }

        /* Contract Terms Frame */
        .contract-box {
            background: rgba(10, 8, 20, 0.6);
            border: 1px solid var(--glass-border);
            border-radius: 12px;
            padding: 25px 30px;
            height: 280px;
            overflow-y: auto;
            font-family: var(--font-inter);
            font-size: 13.5px;
            line-height: 1.6;
            color: #ddd;
            margin-bottom: 20px;
            white-space: pre-line;
            box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
        }

        .contract-title-doc {
            font-family: var(--font-outfit);
            font-weight: 700;
            font-size: 17px;
            text-align: center;
            color: #fff;
            margin-bottom: 20px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            padding-bottom: 15px;
        }

        .checkbox-container {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            cursor: pointer;
            padding: 10px 0;
        }

        .checkbox-container input {
            margin-top: 3px;
            accent-color: var(--primary);
            width: 17px;
            height: 17px;
            cursor: pointer;
        }

        .checkbox-label {
            font-size: 13px;
            color: var(--text-main);
            line-height: 1.4;
        }

        /* E-commerce grid selection */
        .ecommerce-toggle-bar {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid var(--glass-border);
            padding: 18px 24px;
            border-radius: 15px;
            margin-bottom: 25px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .toggle-switch {
            position: relative;
            display: inline-block;
            width: 50px;
            height: 26px;
        }

        .toggle-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(255, 255, 255, 0.1);
            transition: .4s;
            border-radius: 34px;
            border: 1px solid var(--glass-border);
        }

        .slider:before {
            position: absolute;
            content: "";
            height: 18px;
            width: 18px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }

        input:checked + .slider {
            background-color: var(--success);
        }

        input:focus + .slider {
            box-shadow: 0 0 1px var(--success);
        }

        input:checked + .slider:before {
            transform: translateX(24px);
        }

        .products-showcase {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 15px;
            max-height: 220px;
            overflow-y: auto;
            padding-right: 5px;
        }

        .product-select-card {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid var(--glass-border);
            border-radius: 12px;
            padding: 12px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
            position: relative;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .product-select-card.selected {
            background: rgba(99, 102, 241, 0.08);
            border-color: var(--primary);
            box-shadow: 0 0 15px var(--primary-glow);
        }

        .product-img-frame {
            width: 100%;
            height: 100px;
            background: rgba(255, 255, 255, 0.03);
            border-radius: 8px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid rgba(255, 255, 255, 0.02);
        }

        .product-img-frame img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .product-img-frame i {
            font-size: 28px;
            color: var(--text-muted);
            opacity: 0.6;
        }

        .product-card-details {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .product-card-title {
            font-size: 13px;
            font-weight: 600;
            color: #fff;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .product-card-price {
            font-size: 12px;
            color: var(--success);
            font-weight: 550;
        }

        .product-select-badge {
            position: absolute;
            top: -6px;
            right: -6px;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 10px;
            color: #fff;
            opacity: 0;
            transform: scale(0.6);
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            box-shadow: 0 0 8px var(--primary-glow);
        }

        .product-select-card.selected .product-select-badge {
            opacity: 1;
            transform: scale(1);
        }

        /* Success & Completion view */
        .celebration-view {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            height: 100%;
            padding: 20px 0;
        }

        .success-shield {
            width: 84px;
            height: 84px;
            background: var(--success-glow);
            border: 3px solid var(--success);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 0 30px var(--success-glow);
            margin-bottom: 20px;
            position: relative;
            animation: bounceIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        @keyframes bounceIn {
            0% { transform: scale(0.3); opacity: 0; }
            50% { transform: scale(1.05); opacity: 0.8; }
            70% { transform: scale(0.9); opacity: 0.9; }
            100% { transform: scale(1); opacity: 1; }
        }

        .success-shield i {
            color: var(--success);
            font-size: 40px;
        }

        .success-summary {
            max-width: 600px;
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid var(--glass-border);
            border-radius: 15px;
            padding: 20px 30px;
            margin-top: 20px;
            display: flex;
            flex-direction: column;
            gap: 12px;
            text-align: left;
            width: 100%;
        }

        .summary-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 13.5px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.03);
            padding-bottom: 8px;
        }

        .summary-item:last-child {
            border: none;
            padding-bottom: 0;
        }

        .summary-item i {
            color: var(--success);
            margin-right: 8px;
        }

        /* Toast notifications styling */
        .toast-container {
            position: fixed;
            bottom: 30px;
            right: 30px;
            display: flex;
            flex-direction: column;
            gap: 10px;
            z-index: 9999;
        }

        .toast {
            background: rgba(18, 14, 30, 0.9);
            border: 1px solid var(--glass-border);
            border-left: 4px solid var(--primary);
            padding: 14px 20px;
            border-radius: 10px;
            color: #fff;
            font-size: 13.5px;
            display: flex;
            align-items: center;
            gap: 12px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            backdrop-filter: blur(10px);
            min-width: 300px;
            animation: slideIn 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
        }

        .toast.success {
            border-left-color: var(--success);
        }

        .toast.danger {
            border-left-color: var(--danger);
        }

        .toast i {
            font-size: 18px;
        }

        @keyframes slideIn {
            from { transform: translateX(100px); opacity: 0; }
            to { transform: translateX(0); opacity: 1; }
        }

        .loading-spin {
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            100% { transform: rotate(360deg); }
        }

/* ========================================================
   ONBOARDING: CADASTRO (BLOCK 1)
   ======================================================== */
:root {
            --bg-gradient: linear-gradient(135deg, hsl(222, 47%, 9%) 0%, hsl(224, 64%, 5%) 100%);
            --primary: hsl(243, 75%, 59%);
            --primary-hover: hsl(243, 75%, 50%);
            --accent: hsl(171, 75%, 45%);
            --text-main: hsl(210, 40%, 98%);
            --text-muted: hsl(215, 20%, 65%);
            --card-bg: rgba(15, 23, 42, 0.65);
            --card-border: rgba(255, 255, 255, 0.06);
            --input-bg: rgba(10, 15, 30, 0.6);
            --input-border: rgba(255, 255, 255, 0.08);
            --input-focus: rgba(99, 102, 241, 0.4);
            --glow: rgba(99, 102, 241, 0.15);
        }

        body {
            font-family: 'Inter', sans-serif;
            background: var(--bg-gradient);
            color: var(--text-main);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow-x: hidden;
            padding: 30px 15px;
            position: relative;
        }

        /* Fundos neon com glow premium */
        .bg-glow-1 {
            position: absolute;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, rgba(99, 102, 241, 0) 70%);
            top: -150px;
            left: -150px;
            z-index: -1;
            pointer-events: none;
        }

        .bg-glow-2 {
            position: absolute;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(20, 184, 166, 0.12) 0%, rgba(20, 184, 166, 0) 70%);
            bottom: -150px;
            right: -150px;
            z-index: -1;
            pointer-events: none;
        }

        /* Card principal glassmorphism */
        .glass-card {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: 28px;
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
            padding: 40px;
            max-width: 900px;
            width: 100%;
            position: relative;
            z-index: 10;
        }

        .logo-section {
            text-align: center;
            margin-bottom: 30px;
        }

        .logo-img {
            max-width: 250px;
            height: auto;
            margin-bottom: 12px;
            filter: drop-shadow(0 0 12px rgba(99, 102, 241, 0.3));
        }

        .logo-subtext {
            font-size: 0.95rem;
            color: var(--text-muted);
            font-weight: 400;
        }

        /* Stepper progress bar */
        .stepper-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 40px;
            position: relative;
        }

        .stepper-line-bg {
            position: absolute;
            top: 20px;
            left: 0;
            right: 0;
            height: 4px;
            background: rgba(255, 255, 255, 0.05);
            z-index: 1;
            border-radius: 2px;
        }

        .stepper-line-active {
            position: absolute;
            top: 20px;
            left: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
            z-index: 2;
            border-radius: 2px;
            transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            width: 0%;
        }

        .step-node {
            position: relative;
            z-index: 3;
            display: flex;
            flex-direction: column;
            align-items: center;
            cursor: pointer;
            width: 20%;
        }

        .step-circle {
            width: 44px;
            height: 44px;
            background: rgba(15, 23, 42, 0.9);
            border: 2px solid var(--input-border);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 0.95rem;
            color: var(--text-muted);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
        }

        .step-node.active .step-circle {
            border-color: var(--primary);
            color: #fff;
            background: var(--primary);
            box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
        }

        .step-node.completed .step-circle {
            border-color: var(--accent);
            color: #fff;
            background: var(--accent);
            box-shadow: 0 0 15px rgba(20, 184, 166, 0.3);
        }

        .step-title {
            font-size: 0.75rem;
            font-weight: 600;
            margin-top: 10px;
            color: var(--text-muted);
            text-align: center;
            transition: color 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .step-node.active .step-title {
            color: #fff;
        }

        .step-node.completed .step-title {
            color: var(--accent);
        }

        /* Mobile step indicators styling */
        .mobile-step-header {
            display: none;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 16px;
            padding: 14px 20px;
            margin-bottom: 25px;
            align-items: center;
            justify-content: space-between;
        }

        .mobile-step-title {
            font-family: 'Outfit', sans-serif;
            font-size: 1.05rem;
            font-weight: 700;
            margin: 0;
            color: #fff;
        }

        .mobile-step-progress {
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--accent);
            background: rgba(20, 184, 166, 0.1);
            padding: 3px 10px;
            border-radius: 20px;
            border: 1px solid rgba(20, 184, 166, 0.2);
        }

        /* Painéis de conteúdo do stepper */
        .step-pane {
            display: none;
            animation: fadeIn 0.4s ease-out forwards;
        }

        .step-pane.active {
            display: block;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .form-section-title {
            font-family: 'Outfit', sans-serif;
            font-weight: 700;
            font-size: 1.35rem;
            color: #fff;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .form-section-desc {
            color: var(--text-muted);
            font-size: 0.9rem;
            margin-bottom: 30px;
        }

        /* Inputs estilizados */
        .form-label {
            font-weight: 600;
            font-size: 0.85rem;
            color: var(--text-main);
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 6px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .form-label i {
            color: var(--primary);
            font-size: 0.95rem;
        }

        .form-control {
            background-color: var(--input-bg) !important;
            border: 1px solid var(--input-border) !important;
            color: var(--text-main) !important;
            border-radius: 14px;
            padding: 13px 16px;
            font-size: 0.95rem;
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        }

        select.form-control option {
            background-color: hsl(222, 47%, 9%);
            color: #fff;
        }

        .form-control::placeholder {
            color: rgba(255, 255, 255, 0.25);
        }

        .form-control:focus {
            border-color: var(--primary) !important;
            box-shadow: 0 0 0 4px var(--glow);
            outline: none;
        }

        /* Input Container para loading inline */
        .input-loading-container {
            position: relative;
        }

        .input-loading-spinner {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            display: none;
            width: 20px;
            height: 20px;
            border: 2px solid rgba(255, 255, 255, 0.1);
            border-top: 2px solid var(--accent);
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }

        @keyframes spin {
            0% { transform: translateY(-50%) rotate(0deg); }
            100% { transform: translateY(-50%) rotate(360deg); }
        }

        /* Feedback visual inteligente */
        .validation-feedback {
            font-size: 0.78rem;
            margin-top: 5px;
            display: none;
            align-items: center;
            gap: 5px;
            font-weight: 500;
        }

        .validation-feedback.invalid {
            display: flex;
            color: #f87171;
        }

        .validation-feedback.valid {
            display: flex;
            color: #34d399;
        }

        /* Grid de Planos */
        .plan-card {
            background: rgba(10, 15, 30, 0.45);
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 18px;
            padding: 24px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .plan-card:hover {
            transform: translateY(-4px);
            border-color: rgba(99, 102, 241, 0.3);
            background: rgba(10, 15, 30, 0.65);
        }

        .plan-card.selected {
            border-color: var(--primary);
            background: rgba(99, 102, 241, 0.06);
            box-shadow: 0 0 0 2px var(--primary), 0 15px 30px var(--glow);
        }

        .plan-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: rgba(20, 184, 166, 0.15);
            color: var(--accent);
            padding: 4px 10px;
            border-radius: 30px;
            font-size: 0.7rem;
            font-weight: 700;
            border: 1px solid rgba(20, 184, 166, 0.2);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .plan-card.selected .plan-badge {
            opacity: 1;
        }

        .plan-title {
            font-family: 'Outfit', sans-serif;
            font-size: 1.25rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 5px;
        }

        .plan-price {
            font-family: 'Outfit', sans-serif;
            font-size: 1.85rem;
            font-weight: 800;
            color: #fff;
            margin: 12px 0;
            display: flex;
            align-items: baseline;
        }

        .plan-price span {
            font-family: 'Inter', sans-serif;
            font-size: 0.85rem;
            font-weight: 500;
            color: var(--text-muted);
            margin-left: 4px;
        }

        .plan-features {
            list-style: none;
            padding: 0;
            margin: 15px 0 0 0;
            font-size: 0.85rem;
            color: var(--text-muted);
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            padding-top: 15px;
        }

        .plan-features li {
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .plan-features li i {
            color: var(--accent);
            font-size: 1rem;
        }

        /* Step 5 Dashboard de Revisão */
        .review-dashboard {
            background: rgba(10, 15, 30, 0.4);
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 20px;
            padding: 24px;
            margin-bottom: 30px;
        }

        .review-section {
            border-bottom: 1px solid rgba(255, 255, 255, 0.04);
            padding-bottom: 16px;
            margin-bottom: 16px;
        }

        .review-section:last-child {
            border-bottom: none;
            padding-bottom: 0;
            margin-bottom: 0;
        }

        .review-section-title {
            font-family: 'Outfit', sans-serif;
            font-weight: 700;
            font-size: 0.95rem;
            color: var(--accent);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 12px;
        }

        .review-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
        }

        .review-item {
            font-size: 0.9rem;
        }

        .review-label {
            color: var(--text-muted);
            font-size: 0.75rem;
            text-transform: uppercase;
            margin-bottom: 2px;
            letter-spacing: 0.5px;
        }

        .review-value {
            color: #fff;
            font-weight: 500;
        }

        /* Botões de Ação */
        .controls-container {
            display: flex;
            justify-content: space-between;
            gap: 15px;
            margin-top: 40px;
        }

        .btn-action {
            border-radius: 16px;
            padding: 15px 30px;
            font-weight: 600;
            font-size: 0.95rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .btn-prev {
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.08);
            color: #fff;
        }

        .btn-prev:hover {
            background: rgba(255, 255, 255, 0.08);
            transform: translateY(-2px);
        }

        .btn-next {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
            border: none;
            color: #fff;
            box-shadow: 0 6px 18px rgba(99, 102, 241, 0.25);
            flex-grow: 1;
        }

        .btn-next:hover {
            background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%);
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
        }

        .alert-error {
            background: rgba(239, 68, 68, 0.08);
            border: 1px solid rgba(239, 68, 68, 0.15);
            color: #f87171;
            border-radius: 16px;
            font-size: 0.9rem;
            padding: 14px 20px;
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 30px;
        }

        /* Responsividade para Mobile */
        @media (max-width: 767.98px) {
            body {
                padding: 15px 8px;
            }

            .glass-card {
                padding: 24px 18px;
                border-radius: 20px;
            }

            .stepper-container {
                display: none; /* Oculta stepper horizontal no mobile para evitar aperto */
            }

            .mobile-step-header {
                display: flex; /* Exibe indicador simplificado excelente */
            }

            .review-grid {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            .controls-container {
                flex-direction: column-reverse;
                gap: 12px;
                margin-top: 30px;
            }

            .btn-action {
                width: 100%;
                padding: 16px 20px;
                font-size: 1rem;
            }
        }

        /* Autocomplete Dropdown Estilos Premium */
        .autocomplete-container {
            position: relative;
            width: 100%;
        }
        .autocomplete-dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            z-index: 1000;
            max-height: 250px;
            overflow-y: auto;
            background: rgba(15, 23, 42, 0.95);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            margin-top: 6px;
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
            scrollbar-width: thin;
            scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
        }
        .autocomplete-dropdown::-webkit-scrollbar {
            width: 6px;
        }
        .autocomplete-dropdown::-webkit-scrollbar-thumb {
            background-color: rgba(255, 255, 255, 0.2);
            border-radius: 3px;
        }
        .autocomplete-item {
            padding: 12px 16px;
            cursor: pointer;
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.85);
            transition: all 0.2s ease;
            border-bottom: 1px solid rgba(255, 255, 255, 0.03);
            text-align: left;
        }
        .autocomplete-item:last-child {
            border-bottom: none;
        }
        .autocomplete-item:hover, .autocomplete-item.highlighted {
            background: rgba(99, 102, 241, 0.15);
            color: #fff;
            padding-left: 20px;
        }
        .autocomplete-item-no-results {
            padding: 16px;
            font-size: 0.9rem;
            color: var(--text-muted);
            text-align: center;
        }

        /* Inputs Validação Estilos */
        .form-control.is-invalid {
            border-color: #ef4444 !important;
            box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15) !important;
        }

        /* Correção de Layout Mobile (iOS Safari) */
        html, body {
            overflow-x: hidden !important;
            width: 100% !important;
            position: relative;
        }
        * {
            box-sizing: border-box;
        }
        img {
            max-width: 100%;
            height: auto;
        }
        @media (max-width: 768px) {
            .container {
                padding-left: 16px !important;
                padding-right: 16px !important;
                width: 100% !important;
                max-width: 100% !important;
            }
        }

        /* Premium iOS-style Modal Styling */
        .premium-modal {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            width: 100% !important;
            height: 100% !important;
            z-index: 2000 !important;
            background: rgba(4, 6, 12, 0.6) !important;
            backdrop-filter: blur(8px) !important;
            -webkit-backdrop-filter: blur(8px) !important;
            display: none !important;
            align-items: center !important;
            justify-content: center !important;
            opacity: 0 !important;
            transition: opacity 0.3s ease !important;
            overflow-x: hidden !important;
            overflow-y: auto !important;
        }
        .premium-modal.show {
            display: flex !important;
            opacity: 1 !important;
        }
        .premium-modal .modal-content {
            background: rgba(15, 23, 42, 0.82) !important;
            backdrop-filter: blur(25px) saturate(180%) !important;
            -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
            border: 1px solid rgba(255, 255, 255, 0.12) !important;
            border-radius: 28px !important;
            box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
            color: #f8fafc !important;
            overflow: hidden;
        }

        /* Animations fade + scale */
        .premium-modal.fade .modal-dialog {
            transform: scale(0.9) !important;
            transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
        }
        .premium-modal.show .modal-dialog {
            transform: scale(1) !important;
        }

        /* Header design */
        .premium-modal .modal-header {
            border-bottom: none !important;
            padding: 28px 28px 12px 28px !important;
        }
        .premium-modal .modal-title {
            font-family: 'Outfit', sans-serif !important;
            font-weight: 800 !important;
            font-size: 1.35rem !important;
            letter-spacing: -0.5px;
            background: linear-gradient(135deg, #ffffff 40%, rgba(255, 255, 255, 0.6) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .premium-modal .modal-header .btn-close {
            background-color: rgba(255, 255, 255, 0.08) !important;
            border-radius: 50% !important;
            padding: 8px !important;
            margin: -6px -6px -6px auto !important;
            opacity: 0.8;
            transition: all 0.2s ease;
            filter: invert(1) !important;
        }
        .premium-modal .modal-header .btn-close:hover {
            background-color: rgba(255, 255, 255, 0.15) !important;
            transform: rotate(90deg);
            opacity: 1;
        }

        /* Scrollable Body */
        .premium-modal .modal-body {
            padding: 16px 28px 28px 28px !important;
            max-height: 500px !important;
            overflow-y: auto !important;
            scrollbar-width: thin;
            scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
        }
        .premium-modal .modal-body::-webkit-scrollbar {
            width: 6px;
        }
        .premium-modal .modal-body::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.25);
            border-radius: 10px;
        }

        /* Grid Layout for Apps */
        .premium-apps-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 16px;
        }
        @media (min-width: 576px) {
            .premium-apps-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        /* Premium iOS App Card Style */
        .premium-app-card {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 14px 18px;
            border-radius: 18px;
            background: rgba(255, 255, 255, 0.035);
            border: 1px solid rgba(255, 255, 255, 0.06);
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            cursor: default;
            position: relative;
            overflow: hidden;
        }
        .premium-app-card::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent);
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .premium-app-card:hover {
            transform: translateY(-3px) scale(1.02);
            background: rgba(255, 255, 255, 0.07);
            border-color: rgba(6, 182, 212, 0.35);
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3), 0 0 20px rgba(6, 182, 212, 0.1);
        }
        .premium-app-card:hover::before {
            opacity: 1;
        }

        /* Minimalist iOS Icon */
        .premium-app-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
            border-radius: 12px;
            background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(6, 182, 212, 0.05) 100%);
            color: #06b6d4;
            border: 1px solid rgba(6, 182, 212, 0.3);
            font-size: 1.4rem;
            box-shadow: 0 8px 16px rgba(6, 182, 212, 0.1);
            flex-shrink: 0;
            transition: all 0.3s ease;
        }
        .premium-app-card:hover .premium-app-icon {
            background: #06b6d4;
            color: #ffffff;
            transform: scale(1.05) rotate(5deg);
            box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
        }

        .premium-app-info {
            flex-grow: 1;
            min-width: 0;
            z-index: 2;
        }
        .premium-app-name {
            margin: 0 0 3px 0;
            font-size: 0.95rem;
            font-weight: 700;
            color: #ffffff;
            font-family: 'Outfit', sans-serif;
            letter-spacing: -0.2px;
        }
        .premium-app-desc {
            margin: 0;
            font-size: 0.78rem;
            color: #94a3b8;
            line-height: 1.35;
        }

        /* Mobile full-screen behavior */
        @media (max-width: 575.98px) {
            .premium-modal .modal-dialog {
                margin: 0 !important;
                max-width: 100% !important;
                width: 100% !important;
                height: 100% !important;
            }
            .premium-modal .modal-content {
                border-radius: 0 !important;
                height: 100% !important;
                border: none !important;
            }
            .premium-modal .modal-body {
                max-height: calc(100vh - 100px) !important;
            }
        }

        /* Premium Button [ Aplicativos Inclusos ] */
        .btn-inclusos {
            cursor: pointer;
            font-weight: 700;
            color: var(--accent) !important;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            justify-content: center;
            background: rgba(6, 182, 212, 0.08);
            border: 1px solid rgba(6, 182, 212, 0.15) !important;
            border-radius: 12px;
            padding: 8px 16px;
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            font-size: 0.82rem;
            letter-spacing: 0.3px;
            width: 100%;
        }
        .btn-inclusos:hover {
            background: rgba(6, 182, 212, 0.15);
            border-color: rgba(6, 182, 212, 0.4) !important;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(6, 182, 212, 0.15);
        }

/* ========================================================
   ONBOARDING: CADASTRO (BLOCK 2)
   ======================================================== */
.premium-billing-switcher .billing-toggle-btn.active {
                    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%) !important;
                    color: #ffffff !important;
                    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
                }
                .plan-price {
                    transition: opacity 0.2s ease-in-out;
                }

/* ========================================================
   ONBOARDING: NICHO_LANDING (BLOCK 1)
   ======================================================== */
:root {
            --bg-gradient: linear-gradient(135deg, hsl(222, 47%, 7%) 0%, hsl(224, 64%, 4%) 100%);
            --accent-hsl: var(--primary-color, #6366f1);
            --accent: hsl(var(--accent-hsl));
            --text-main: hsl(210, 40%, 98%);
            --text-muted: hsl(215, 20%, 65%);
            --card-bg: rgba(15, 23, 42, 0.45);
            --card-border: rgba(255, 255, 255, 0.06);
            --glow: hsla(var(--accent-hsl), 0.15);
        }

        body {
            font-family: 'Inter', sans-serif;
            background: var(--bg-gradient);
            color: var(--text-main);
            min-height: 100vh;
            overflow-x: hidden;
            position: relative;
        }

        /* Efeitos Ambientais Glow Neon */
        .ambient-glow-1 {
            position: absolute;
            width: 700px;
            height: 700px;
            background: radial-gradient(circle, hsla(var(--accent-hsl), 0.22) 0%, rgba(0,0,0,0) 70%);
            top: -250px;
            left: -200px;
            z-index: -1;
            pointer-events: none;
            filter: blur(40px);
        }

        .ambient-glow-2 {
            position: absolute;
            width: 700px;
            height: 700px;
            background: radial-gradient(circle, hsla(var(--accent-hsl), 0.14) 0%, rgba(0,0,0,0) 70%);
            bottom: 10%;
            right: -250px;
            z-index: -1;
            pointer-events: none;
            filter: blur(40px);
        }

        /* Premium Navbar */
        .premium-navbar {
            background: rgba(10, 15, 30, 0.6);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid var(--card-border);
            padding: 18px 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            transition: all 0.3s ease;
        }

        .logo-glow-container {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: all 0.4s ease;
        }

        .logo-glow-container img {
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .logo-glow-container:hover img {
            transform: scale(1.04);
        }

        .logo-img {
            max-width: 140px;
            height: auto;
            filter: drop-shadow(0 0 10px hsla(var(--accent-hsl), 0.35));
        }

        .niche-badge {
            background: hsla(var(--accent-hsl), 0.12);
            color: var(--accent);
            border: 1px solid hsla(var(--accent-hsl), 0.3);
            padding: 6px 16px;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            display: inline-block;
            margin-bottom: 20px;
            animation: pulse-badge 2s infinite alternate;
        }

        @keyframes pulse-badge {
            0% { 
                box-shadow: 0 0 0 0px hsla(var(--accent-hsl), 0.3);
                transform: scale(1);
            }
            100% { 
                box-shadow: 0 0 0 8px hsla(var(--accent-hsl), 0);
                transform: scale(1.02);
            }
        }

        /* Glassmorphic card styling */
        .glass-card {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: 24px;
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
            padding: 40px;
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .glass-card:hover {
            border-color: hsla(var(--accent-hsl), 0.25);
            box-shadow: 0 25px 50px -10px hsla(var(--accent-hsl), 0.2);
            transform: translateY(-5px);
        }

        /* Hero */
        .hero-title {
            font-family: 'Myriad Pro', 'Myriad-Pro', 'Outfit', sans-serif;
            font-weight: 800;
            font-size: 3.1rem;
            line-height: 1.15;
            color: #fff;
            margin-bottom: 22px;
        }

        .hero-title span {
            background: linear-gradient(135deg, #fff 30%, var(--accent) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero-desc {
            font-size: 1.15rem;
            color: var(--text-muted);
            line-height: 1.65;
            margin-bottom: 35px;
        }

        /* Bullet Features */
        .feature-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .feature-list li {
            margin-bottom: 16px;
            font-size: 1.05rem;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .feature-list li i {
            color: var(--accent);
            font-size: 1.3rem;
            filter: drop-shadow(0 0 6px var(--accent));
        }

        /* Interactive Plans Pricing */
        .section-title {
            font-family: 'Myriad Pro', 'Myriad-Pro', 'Outfit', sans-serif;
            font-weight: 800;
            font-size: 2.5rem;
            text-align: center;
            margin-bottom: 12px;
            color: #fff;
        }

        .section-desc {
            color: var(--text-muted);
            text-align: center;
            margin-bottom: 55px;
            font-size: 1.05rem;
        }

        .plan-card {
            background: rgba(10, 15, 30, 0.45);
            border: 1px solid var(--card-border);
            border-radius: 20px;
            padding: 35px;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            position: relative;
        }

        .plan-card:hover, .plan-card.selected {
            transform: translateY(-8px);
            border-color: var(--accent);
            background: rgba(10, 15, 30, 0.7);
            box-shadow: 0 20px 40px -10px hsla(var(--accent-hsl), 0.25);
        }

        .plan-card.selected {
            border-width: 2px;
        }

        .plan-badge {
            position: absolute;
            top: -15px;
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(135deg, var(--accent) 0%, hsla(var(--accent-hsl), 0.7) 100%);
            color: #fff;
            padding: 6px 18px;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            box-shadow: 0 4px 12px hsla(var(--accent-hsl), 0.4);
        }

        .plan-title {
            font-family: 'Myriad Pro', 'Myriad-Pro', 'Outfit', sans-serif;
            font-size: 1.5rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 15px;
        }

        .price-container {
            margin: 22px 0;
        }

        .old-price {
            font-size: 0.95rem;
            color: var(--text-muted);
            text-decoration: line-through;
            margin-bottom: 2px;
        }

        .new-price {
            font-family: 'Outfit', sans-serif;
            font-size: 2.4rem;
            font-weight: 800;
            color: #fff;
            display: flex;
            align-items: baseline;
        }

        .new-price span {
            font-family: 'Inter', sans-serif;
            font-size: 0.9rem;
            color: var(--text-muted);
            font-weight: 500;
            margin-left: 5px;
        }

        .save-badge {
            background: rgba(20, 184, 166, 0.12);
            color: #2dd4bf;
            border: 1px solid rgba(20, 184, 166, 0.25);
            padding: 4px 10px;
            border-radius: 8px;
            font-size: 0.78rem;
            font-weight: 700;
            display: inline-block;
            margin-top: 5px;
        }

        .plan-features {
            list-style: none;
            padding: 0;
            margin: 25px 0 0 0;
            border-top: 1px solid rgba(255,255,255,0.06);
            padding-top: 22px;
        }

        .plan-features li {
            font-size: 0.9rem;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--text-muted);
        }

        .plan-features li i {
            color: var(--accent);
        }

        /* Accordion FAQ */
        .accordion-button::after {
            filter: invert(1);
        }
        .accordion-button:not(.collapsed) {
            color: var(--accent) !important;
            box-shadow: none;
        }

        /* CTA Grande e Premium */
        .btn-premium-cta {
            background: linear-gradient(135deg, var(--accent) 0%, hsla(var(--accent-hsl), 0.7) 100%);
            border: none;
            border-radius: 16px;
            color: #fff;
            font-weight: 700;
            font-size: 1.15rem;
            padding: 18px 45px;
            box-shadow: 0 10px 25px hsla(var(--accent-hsl), 0.35);
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            display: inline-flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
        }

        .btn-premium-cta:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 30px hsla(var(--accent-hsl), 0.55);
            color: #fff;
        }

        /* Caixa de Selos de Confiança */
        .trust-container {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 30px;
            margin-top: 30px;
            flex-wrap: wrap;
        }

        .trust-item {
            font-size: 0.88rem;
            color: var(--text-muted);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .trust-item i {
            color: var(--accent);
            font-size: 1.15rem;
        }

        /* Barra de CTA Fixa no Mobile (Conversão Otimizada) */
        .mobile-fixed-cta {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(10, 15, 30, 0.85);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            z-index: 1050;
            box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
            animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
            padding-bottom: env(safe-area-inset-bottom);
        }

        @keyframes slideUp {
            from { transform: translateY(100%); }
            to { transform: translateY(0); }
        }

        .btn-premium-fixed-cta {
            background: linear-gradient(135deg, var(--accent) 0%, hsla(var(--accent-hsl), 0.75) 100%);
            border: none;
            border-radius: 50px;
            color: #fff;
            font-weight: 700;
            font-size: 0.9rem;
            box-shadow: 0 0 15px hsla(var(--accent-hsl), 0.4);
            text-decoration: none;
            transition: all 0.3s ease;
            text-align: center;
            display: inline-block;
        }

        .btn-premium-fixed-cta:hover {
            box-shadow: 0 0 25px hsla(var(--accent-hsl), 0.7);
            transform: scale(1.03);
            color: #fff;
        }

        @media (max-width: 767.98px) {
            body {
                padding-bottom: 85px !important;
            }
        }

        /* Footer */
        .premium-footer {
            background: rgba(10, 15, 30, 0.85);
            border-top: 1px solid var(--card-border);
            padding: 50px 0;
            margin-top: 100px;
            text-align: center;
        }

        .footer-logo {
            max-width: 120px;
            height: auto;
            opacity: 0.85;
            margin-bottom: 0 !important;
        }

        .premium-footer .logo-glow-container {
            margin-bottom: 20px;
        }

        /* Correção de Layout Mobile (iOS Safari) */
        html, body {
            overflow-x: hidden !important;
            width: 100% !important;
            position: relative;
        }
        * {
            box-sizing: border-box;
        }
        img {
            max-width: 100%;
            height: auto;
        }
        @media (max-width: 768px) {
            .container {
                padding-left: 16px !important;
                padding-right: 16px !important;
                width: 100% !important;
                max-width: 100% !important;
            }
        }

        /* Premium iOS-style Modal Styling */
        .premium-modal {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            width: 100% !important;
            height: 100% !important;
            z-index: 2000 !important;
            background: rgba(4, 6, 12, 0.6) !important;
            backdrop-filter: blur(8px) !important;
            -webkit-backdrop-filter: blur(8px) !important;
            display: none !important;
            align-items: center !important;
            justify-content: center !important;
            opacity: 0 !important;
            transition: opacity 0.3s ease !important;
            overflow-x: hidden !important;
            overflow-y: auto !important;
        }
        .premium-modal.show {
            display: flex !important;
            opacity: 1 !important;
        }
        .premium-modal .modal-content {
            background: rgba(15, 23, 42, 0.82) !important;
            backdrop-filter: blur(25px) saturate(180%) !important;
            -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
            border: 1px solid rgba(255, 255, 255, 0.12) !important;
            border-radius: 28px !important;
            box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
            color: #f8fafc !important;
            overflow: hidden;
        }

        /* Animations fade + scale */
        .premium-modal.fade .modal-dialog {
            transform: scale(0.9) !important;
            transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
        }
        .premium-modal.show .modal-dialog {
            transform: scale(1) !important;
        }

        /* Header design */
        .premium-modal .modal-header {
            border-bottom: none !important;
            padding: 28px 28px 12px 28px !important;
        }
        .premium-modal .modal-title {
            font-family: 'Myriad Pro', 'Myriad-Pro', 'Outfit', sans-serif !important;
            font-weight: 800 !important;
            font-size: 1.35rem !important;
            letter-spacing: -0.5px;
            background: linear-gradient(135deg, #ffffff 40%, rgba(255, 255, 255, 0.6) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .premium-modal .modal-header .btn-close {
            background-color: rgba(255, 255, 255, 0.08) !important;
            border-radius: 50% !important;
            padding: 8px !important;
            margin: -6px -6px -6px auto !important;
            opacity: 0.8;
            transition: all 0.2s ease;
            filter: invert(1) !important;
        }
        .premium-modal .modal-header .btn-close:hover {
            background-color: rgba(255, 255, 255, 0.15) !important;
            transform: rotate(90deg);
            opacity: 1;
        }

        /* Scrollable Body */
        .premium-modal .modal-body {
            padding: 16px 28px 28px 28px !important;
            max-height: 500px !important;
            overflow-y: auto !important;
            scrollbar-width: thin;
            scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
        }
        .premium-modal .modal-body::-webkit-scrollbar {
            width: 6px;
        }
        .premium-modal .modal-body::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.25);
            border-radius: 10px;
        }

        /* Grid Layout for Apps */
        .premium-apps-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 16px;
        }
        @media (min-width: 576px) {
            .premium-apps-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        /* Premium iOS App Card Style */
        .premium-app-card {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 14px 18px;
            border-radius: 18px;
            background: rgba(255, 255, 255, 0.035);
            border: 1px solid rgba(255, 255, 255, 0.06);
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            cursor: default;
            position: relative;
            overflow: hidden;
        }
        .premium-app-card::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent);
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .premium-app-card:hover {
            transform: translateY(-3px) scale(1.02);
            background: rgba(255, 255, 255, 0.07);
            border-color: rgba(6, 182, 212, 0.35);
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3), 0 0 20px rgba(6, 182, 212, 0.1);
        }
        .premium-app-card:hover::before {
            opacity: 1;
        }

        /* Minimalist iOS Icon */
        .premium-app-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
            border-radius: 12px;
            background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(6, 182, 212, 0.05) 100%);
            color: #06b6d4;
            border: 1px solid rgba(6, 182, 212, 0.3);
            font-size: 1.4rem;
            box-shadow: 0 8px 16px rgba(6, 182, 212, 0.1);
            flex-shrink: 0;
            transition: all 0.3s ease;
        }
        .premium-app-card:hover .premium-app-icon {
            background: #06b6d4;
            color: #ffffff;
            transform: scale(1.05) rotate(5deg);
            box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
        }

        .premium-app-info {
            flex-grow: 1;
            min-width: 0;
            z-index: 2;
        }
        .premium-app-name {
            margin: 0 0 3px 0;
            font-size: 0.95rem;
            font-weight: 700;
            color: #ffffff;
            font-family: 'Myriad Pro', 'Myriad-Pro', 'Outfit', sans-serif;
            letter-spacing: -0.2px;
        }
        .premium-app-desc {
            margin: 0;
            font-size: 0.78rem;
            color: #94a3b8;
            line-height: 1.35;
        }

        /* Mobile full-screen behavior */
        @media (max-width: 575.98px) {
            .premium-modal .modal-dialog {
                margin: 0 !important;
                max-width: 100% !important;
                width: 100% !important;
                height: 100% !important;
            }
            .premium-modal .modal-content {
                border-radius: 0 !important;
                height: 100% !important;
                border: none !important;
            }
            .premium-modal .modal-body {
                max-height: calc(100vh - 100px) !important;
            }
        }

        /* Premium Button [ Aplicativos Inclusos ] */
        .btn-inclusos {
            cursor: pointer;
            font-weight: 700;
            color: var(--accent) !important;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            justify-content: center;
            background: rgba(6, 182, 212, 0.08);
            border: 1px solid rgba(6, 182, 212, 0.15) !important;
            border-radius: 12px;
            padding: 8px 16px;
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            font-size: 0.82rem;
            letter-spacing: 0.3px;
            width: 100%;
        }
        .btn-inclusos:hover {
            background: rgba(6, 182, 212, 0.15);
            border-color: rgba(6, 182, 212, 0.4) !important;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(6, 182, 212, 0.15);
        }

/* ========================================================
   ONBOARDING: NICHO_LANDING (BLOCK 2)
   ======================================================== */
.premium-billing-switcher .billing-toggle-btn.active {
                background: linear-gradient(135deg, var(--accent) 0%, hsl(243, 75%, 59%) 100%) !important;
                color: #ffffff !important;
                box-shadow: 0 4px 14px hsla(var(--accent-hsl), 0.3);
            }
            .price-container {
                transition: opacity 0.2s ease-in-out;
            }

/* ========================================================
   ONBOARDING: PAGAMENTO (BLOCK 1)
   ======================================================== */
:root {
            --bg-gradient: linear-gradient(135deg, hsl(222, 47%, 11%) 0%, hsl(224, 64%, 6%) 100%);
            --primary: hsl(243, 75%, 59%);
            --primary-hover: hsl(243, 75%, 50%);
            --accent: hsl(171, 75%, 45%);
            --text-main: hsl(210, 40%, 98%);
            --text-muted: hsl(215, 20%, 65%);
            --card-bg: rgba(22, 28, 45, 0.7);
            --card-border: rgba(255, 255, 255, 0.08);
            --input-bg: rgba(15, 23, 42, 0.6);
            --success-glow: rgba(20, 184, 166, 0.15);
        }

        body {
            font-family: 'Inter', sans-serif;
            background: var(--bg-gradient);
            color: var(--text-main);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 40px 20px;
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: 'Outfit', sans-serif;
            font-weight: 700;
        }

        .bg-glow {
            position: absolute;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(99, 102, 241, 0) 70%);
            top: -150px;
            right: -150px;
            z-index: -1;
            pointer-events: none;
        }

        .glass-card {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: 24px;
            backdrop-filter: blur(20px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
            padding: 40px;
            max-width: 950px;
            width: 100%;
        }

        /* Tabs customizadas */
        .nav-tabs-custom {
            display: flex;
            border-bottom: 2px solid rgba(255, 255, 255, 0.05);
            margin-bottom: 30px;
            gap: 15px;
            padding: 0;
            list-style: none;
        }

        .tab-btn {
            background: none;
            border: none;
            color: var(--text-muted);
            padding: 12px 24px;
            font-weight: 600;
            font-size: 1rem;
            position: relative;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
            border-radius: 10px 10px 0 0;
        }

        .tab-btn:hover {
            color: #fff;
        }

        .tab-btn.active {
            color: #fff;
        }

        .tab-btn.active::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            right: 0;
            height: 2px;
            background: var(--primary);
            box-shadow: 0 0 10px var(--primary);
        }

        /* Resumo do Plano */
        .plan-summary-box {
            background: rgba(15, 23, 42, 0.4);
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 16px;
            padding: 20px;
            margin-bottom: 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        /* Cartão de crédito animado */
        .credit-card-container {
            perspective: 1000px;
            width: 100%;
            max-width: 380px;
            height: 220px;
            margin: 0 auto 30px;
        }

        .credit-card-inner {
            position: relative;
            width: 100%;
            height: 100%;
            transition: transform 0.6s;
            transform-style: preserve-3d;
        }

        .credit-card-container.flipped .credit-card-inner {
            transform: rotateY(180deg);
        }

        .card-front, .card-back {
            position: absolute;
            width: 100%;
            height: 100%;
            backface-visibility: hidden;
            -webkit-backface-visibility: hidden;
            border-radius: 16px;
            padding: 24px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            box-shadow: 0 15px 35px rgba(0,0,0,0.3);
        }

        .card-front {
            background: linear-gradient(135deg, hsl(243, 75%, 59%) 0%, hsl(265, 80%, 45%) 100%);
            border: 1px solid rgba(255, 255, 255, 0.15);
        }

        .card-back {
            background: linear-gradient(135deg, hsl(220, 40%, 15%) 0%, hsl(225, 45%, 8%) 100%);
            border: 1px solid rgba(255, 255, 255, 0.08);
            transform: rotateY(180deg);
            padding: 0;
            justify-content: center;
        }

        .card-magnetic-strip {
            width: 100%;
            height: 45px;
            background: #0f172a;
            margin-bottom: 20px;
        }

        .card-signature-box {
            width: 80%;
            height: 35px;
            background: #fff;
            margin: 0 auto;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            padding-right: 15px;
            color: #000;
            font-family: monospace;
            font-size: 1.1rem;
            font-weight: 700;
        }

        .card-chip {
            width: 45px;
            height: 35px;
            background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
            border-radius: 6px;
            box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
        }

        .card-brand {
            font-size: 1.5rem;
            font-style: italic;
            font-weight: 800;
            color: #fff;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
        }

        .card-number-display {
            font-family: monospace;
            font-size: 1.35rem;
            letter-spacing: 2px;
            color: #fff;
            text-align: center;
            margin: 20px 0;
        }

        .card-footer-info {
            display: flex;
            justify-content: space-between;
            font-size: 0.85rem;
            text-transform: uppercase;
        }

        .card-label {
            font-size: 0.65rem;
            color: rgba(255, 255, 255, 0.6);
            margin-bottom: 2px;
        }

        /* Widgets adicionais */
        .form-control {
            background-color: var(--input-bg) !important;
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: var(--text-main) !important;
            border-radius: 12px;
            padding: 12px 16px;
        }

        .form-control:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
        }

        .btn-pay {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
            color: #fff;
            border: none;
            border-radius: 12px;
            padding: 14px 20px;
            font-weight: 600;
            width: 100%;
            box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
            transition: all 0.3s ease;
        }

        .btn-pay:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(99, 102, 241, 0.45);
        }

        /* Sandbox Controller Panel */
        .sandbox-panel {
            background: rgba(20, 184, 166, 0.05);
            border: 1px solid rgba(20, 184, 166, 0.15);
            border-radius: 16px;
            padding: 20px;
            margin-top: 40px;
        }

        .sandbox-title {
            color: var(--accent);
            font-weight: 600;
            font-size: 0.95rem;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        /* Pix QR Code */
        .pix-qr-box {
            background: #fff;
            padding: 20px;
            border-radius: 16px;
            display: inline-block;
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        }

        .pix-timer {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--accent);
            font-family: monospace;
        }

        /* SLA Contract Collapse */
        .contract-collapse-btn {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.05);
            color: var(--text-main);
            padding: 12px 20px;
            border-radius: 12px;
            width: 100%;
            text-align: left;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 500;
            margin-bottom: 25px;
            transition: all 0.3s ease;
        }

        .contract-collapse-btn:hover {
            background: rgba(255, 255, 255, 0.06);
        }

        .contract-body {
            background: #1e293b;
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            padding: 30px;
            max-height: 250px;
            overflow-y: auto;
            color: #cbd5e1;
            font-size: 0.9rem;
            line-height: 1.6;
            margin-bottom: 25px;
        }

        .contract-body h2, .contract-body h3 {
            color: #fff !important;
        }

/* ========================================================
   ONBOARDING: CONTRATO (BLOCK 1)
   ======================================================== */
body {
            font-family: 'Inter', sans-serif;
            background: #f1f5f9;
            color: #1e293b;
            margin: 0;
            padding: 40px 20px;
            display: flex;
            justify-content: center;
        }

        .a4-sheet {
            background: #fff;
            box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
            border: 1px solid #e2e8f0;
            width: 100%;
            max-width: 800px;
            min-height: 297mm;
            padding: 60px 80px;
            box-sizing: border-box;
            position: relative;
        }

        .print-btn-container {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 100;
        }

        .btn-print {
            background: #4f46e5;
            color: #fff;
            border: none;
            border-radius: 9999px;
            padding: 12px 24px;
            font-weight: 600;
            cursor: pointer;
            box-shadow: 0 10px 15px -3px rgb(79 70 229 / 0.3);
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.95rem;
            transition: all 0.2s ease;
            text-decoration: none;
        }

        .btn-print:hover {
            background: #4338ca;
            transform: translateY(-1px);
        }

        /* Formatação Interna */
        h2 {
            font-size: 1.6rem;
            font-weight: 700;
            text-align: center;
            margin-bottom: 5px;
            color: #0f172a;
        }

        h3 {
            font-size: 1.1rem;
            font-weight: 600;
            margin-top: 30px;
            margin-bottom: 10px;
            color: #1e293b;
            border-bottom: 1.5px solid #f1f5f9;
            padding-bottom: 6px;
        }

        p {
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 15px;
            text-align: justify;
        }

        ul {
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 15px;
        }

        li {
            margin-bottom: 6px;
        }

        .contract-document {
            padding: 0;
            margin: 0;
        }

        /* Estilos de Impressão de Alta Resolução */
        @media print {
            body {
                background: #fff;
                padding: 0;
                color: #000;
            }

            .a4-sheet {
                box-shadow: none;
                border: none;
                padding: 0;
                width: 100%;
                max-width: 100%;
            }

            .print-btn-container {
                display: none !important;
            }
        }

/* ========================================================
   ONBOARDING: CADASTRO_SUSPENSO (BLOCK 1)
   ======================================================== */
:root {
            --bg-gradient: linear-gradient(135deg, hsl(222, 47%, 9%) 0%, hsl(224, 64%, 5%) 100%);
            --primary: hsl(243, 75%, 59%);
            --coral: hsl(346, 84%, 61%);
            --text-main: hsl(210, 40%, 98%);
            --text-muted: hsl(215, 20%, 65%);
            --card-bg: rgba(15, 23, 42, 0.65);
            --card-border: rgba(255, 255, 255, 0.06);
        }

        body {
            font-family: 'Inter', sans-serif;
            background: var(--bg-gradient);
            color: var(--text-main);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow-x: hidden;
            padding: 30px 15px;
            position: relative;
        }

        /* Glow effect */
        .bg-glow {
            position: absolute;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0) 70%);
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: -1;
            pointer-events: none;
        }

        /* Card principal glassmorphism */
        .glass-card {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: 28px;
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
            padding: 50px 40px;
            max-width: 580px;
            width: 100%;
            position: relative;
            z-index: 10;
            text-align: center;
            animation: card-appear 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        }

        @keyframes card-appear {
            0% { transform: translateY(30px); opacity: 0; }
            100% { transform: translateY(0); opacity: 1; }
        }

        .icon-section {
            margin-bottom: 25px;
        }

        .icon-section i {
            font-size: 64px;
            color: var(--coral);
            text-shadow: 0 0 25px rgba(251, 113, 133, 0.35);
            display: inline-block;
        }

        .suspend-title {
            font-family: 'Outfit', sans-serif;
            font-weight: 800;
            font-size: 26px;
            color: #fff;
            margin-bottom: 15px;
            letter-spacing: -0.5px;
        }

        .suspend-desc {
            color: var(--text-muted);
            font-size: 0.98rem;
            line-height: 1.6;
            margin-bottom: 35px;
            font-weight: 450;
        }

        .btn-action {
            border-radius: 16px;
            padding: 15px 30px;
            font-weight: 600;
            font-size: 0.95rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.08);
            color: #fff;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            width: 100%;
        }

        .btn-action:hover {
            background: rgba(255, 255, 255, 0.08);
            transform: translateY(-2px);
            color: #fff;
        }