:root {
    --primary-color: #FF6B35;
    --primary-dark: #E85D2C;
    --secondary-color: #004AAD;
    --secondary-dark: #003A8A;
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --danger-color: #EF4444;
    --dark-bg: #1a1a1a;
    --dark-card: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --border-color: #404040;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #0a0a0a 100%);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 420px;
    margin: 0 auto;
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 auto;
}

.logo i {
    font-size: 48px;
    color: var(--primary-color);
}

.logo h1 {
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.progress-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.progress-bar {
    width: 300px;
    height: 8px;
    background: var(--dark-card);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 14px;
    color: var(--text-secondary);
}

.quiz-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screen {
    display: none;
    animation: fadeIn 0.5s ease;
}

.screen.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.welcome-screen {
    text-align: center;
    max-width: 600px;
}

.welcome-content {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(0, 74, 173, 0.05) 100%);
    border-radius: 24px;
    padding: 60px 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.welcome-content h2 {
    font-size: 42px;
    margin-bottom: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.welcome-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.icon-container {
    width: 140px;
    height: 140px;
    margin: 0 auto 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 3s infinite;
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.5);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(255, 107, 53, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0);
    }
}

.icon-container i {
    font-size: 60px;
    color: white;
}

.features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 24px;
    color: white;
}

.feature span {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 500;
}

.question-screen {
    max-width: 950px;
    width: 100%;
}

.question-wrapper {
    width: 100%;
}

.question-progress {
    display: none;
}

.question-header {
    display: none;
}

.question-container {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.02) 0%, rgba(0, 74, 173, 0.02) 100%);
    border: 1px solid rgba(255, 107, 53, 0.15);
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    animation: slideIn 0.4s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 45px;
    padding-bottom: 28px;
    border-bottom: 2px solid rgba(255, 107, 53, 0.15);
    gap: 30px;
}

.header-left {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.question-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    opacity: 0.8;
    min-width: 50px;
}

.header-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.question-category {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-color);
    background: rgba(255, 107, 53, 0.12);
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    width: fit-content;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.question-title {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.header-right,
.completion-indicator,
.completion-indicator svg,
.circle-bg,
.circle-progress,
.completion-text {
    display: none;
}

.question-content {
    margin-bottom: 50px;
}

.main-question-text {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 36px;
    line-height: 1.4;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.option {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 28px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 107, 53, 0.08) 50%, transparent 100%);
    transition: left 0.6s ease;
    z-index: 0;
}

.option::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 16px 0 0 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.option:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15) 0%, rgba(255, 107, 53, 0.08) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.option.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.18) 0%, rgba(255, 107, 53, 0.1) 100%);
    box-shadow: 0 0 24px rgba(255, 107, 53, 0.35), inset 0 0 24px rgba(255, 107, 53, 0.08);
    transform: scale(1.005);
}

.option-radio {
    width: 28px;
    height: 28px;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    background: rgba(255, 255, 255, 0.02);
}

.option:hover .option-radio {
    border-color: var(--primary-color);
    background: rgba(255, 107, 53, 0.15);
    box-shadow: 0 0 12px rgba(255, 107, 53, 0.3);
}

.option.selected .option-radio {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    box-shadow: 0 0 16px rgba(255, 107, 53, 0.5), inset 0 0 8px rgba(0, 0, 0, 0.2);
    border-width: 2.5px;
}

.option.selected .option-radio::after {
    content: '✓';
    color: white;
    font-size: 14px;
    font-weight: 700;
    animation: checkMark 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes checkMark {
    from {
        transform: scale(0) rotate(-45deg);
    }
    to {
        transform: scale(1) rotate(0deg);
    }
}

.option-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
    z-index: 2;
}

.option-text {
    font-size: 18px;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.4;
}

.option-indicator {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}

.option:hover .option-indicator {
    background: var(--primary-color);
    box-shadow: 0 0 8px rgba(255, 107, 53, 0.4);
}

.option.selected .option-indicator {
    display: none;
}

.question-note {
    display: flex !important;
    margin-top: 32px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08) 0%, rgba(255, 107, 53, 0.04) 100%);
    border-left: 4px solid var(--primary-color);
    border-radius: 14px;
    padding: 24px;
    gap: 16px;
    align-items: flex-start;
    border: 1px solid rgba(255, 107, 53, 0.2);
    backdrop-filter: blur(5px);
}

.question-note.show {
    display: flex;
    flex-direction: column;
}

.note-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.note-header i {
    color: var(--primary-color);
    font-size: 20px;
    flex-shrink: 0;
}

.note-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-color);
}

.note-content {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    padding-left: 32px;
}

.navigation {
    display: none;
}

.nav-spacer {
    flex: 1;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: var(--dark-card);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover:not(:disabled) {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.result-screen {
    text-align: center;
    max-width: 600px;
}

.result-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.result-icon.success {
    background: rgba(16, 185, 129, 0.1);
    border: 4px solid var(--success-color);
}

.result-icon.warning {
    background: rgba(245, 158, 11, 0.1);
    border: 4px solid var(--warning-color);
}

.result-icon.danger {
    background: rgba(239, 68, 68, 0.1);
    border: 4px solid var(--danger-color);
}

.result-icon i {
    font-size: 60px;
}

.result-icon.success i {
    color: var(--success-color);
}

.result-icon.warning i {
    color: var(--warning-color);
}

.result-icon.danger i {
    color: var(--danger-color);
}

.result-content h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.result-message {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.result-details {
    background: var(--dark-card);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-lg);
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-item:last-child {
    border-bottom: none;
}

.label {
    color: var(--text-secondary);
}

.value {
    font-weight: 600;
    font-size: 18px;
}

.result-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.footer {
    margin-top: 60px;
    padding: 60px 0 20px;
    background: linear-gradient(135deg, #0a0a0a 0%, var(--dark-card) 100%);
    border-top: 1px solid rgba(255, 107, 53, 0.2);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.footer-main {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.footer-brand i {
    font-size: 32px;
    color: var(--primary-color);
}

.footer-brand span {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 15px;
    max-width: 300px;
}

.footer-links-section {
    display: none;
}

.footer-links-header {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '→';
    color: var(--primary-color);
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: var(--primary-color);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 16px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.social-link i {
    color: var(--text-secondary);
    font-size: 16px;
    transition: color 0.3s ease;
}

.social-link:hover i {
    color: white;
}

.footer-info {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
}

.footer-info p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 8px 0;
}

.footer-disclaimer {
    font-size: 12px !important;
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Bank form */
.bank-screen .bank-content {
    max-width: 640px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255,107,53,0.03), rgba(0,74,173,0.03));
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(255,107,53,0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.eligibility-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.eligibility-status h2 {
    margin-bottom: 0;
    color: var(--success-color);
    font-size: 36px;
    font-weight: 700;
    text-align: center;
}

.status-icon {
    width: 80px;
    height: 80px;
    background: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.7);
    animation: bounceIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes bounceIn {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); }
}

.status-icon i {
    font-size: 40px;
    color: white;
}

.bank-info-box {
    background: rgba(16, 185, 129, 0.1); /* Soft green background */
    border: 1px solid var(--success-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.bank-note {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.bank-note:last-child {
    margin-bottom: 0;
}

.bank-form-header {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 20px;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 4px solid var(--primary-color);
}

.bank-desc {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 16px;
}

/* New professional form styles */

.form-group-section {
    margin-bottom: 35px;
    padding: 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(255, 107, 53, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title i {
    color: var(--primary-color);
    font-size: 20px;
}

.bank-screen .field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.bank-screen label {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 13px;
    margin-left: 10px;
}

.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-wrapper i {
    position: absolute;
    left: 15px;
    color: var(--text-secondary);
    font-size: 18px;
    transition: color 0.3s ease;
}

.bank-screen input, .bank-screen select {
    padding: 14px 16px 14px 50px; /* Adjust padding for icon */
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--dark-bg);
    color: var(--text-primary);
    font-size: 16px;
    width: 100%;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.bank-screen select {
    padding-right: 16px; /* Reset right padding for select */
    background: var(--dark-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23a0a0a0'%3E%3Cpath d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z'/%3E%3C/svg%3E") no-repeat right 15px center;
    background-size: 16px;
}

.bank-screen input:focus, .bank-screen select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

.bank-screen input:focus + i, .bank-screen select:focus + i {
    color: var(--primary-color);
}

.dual-field-group {
    display: flex;
    gap: 15px;
}

.dual-field-group .dual-field {
    flex: 1;
}

.bank-screen input[readonly] {
    background: rgba(255, 107, 53, 0.08);
    border-color: rgba(255, 107, 53, 0.3);
    color: var(--primary-color);
    font-weight: 700;
    box-shadow: none;
}

.bank-screen input[readonly] + i {
    color: var(--primary-color);
}

.bank-actions {
    display: flex;
    gap: 12px;
    margin-top: 40px; 
    justify-content: space-between;
}

/* Payment Screen Styles - Enhanced Professional Design */
.payment-screen {
    width: 100%;
}

.payment-content {
    max-width: 680px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255,107,53,0.02), rgba(0,74,173,0.02));
    border-radius: 24px;
    padding: 48px;
    border: 1px solid rgba(255,107,53,0.12);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    text-align: center;
}

.payment-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 107, 53, 0.15);
}

.payment-header h2 {
    color: var(--primary-color);
    font-size: 36px;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.payment-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-top: 8px;
    line-height: 1.5;
}

/* Enhanced Info Card */
.info-card {
    background: linear-gradient(135deg, rgba(255,107,53,0.06), rgba(0,74,173,0.06));
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 32px;
    border: 1px solid rgba(255,107,53,0.2);
    text-align: left;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.1);
}

.info-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.info-header i {
    color: var(--primary-color);
    font-size: 24px;
    flex-shrink: 0;
}

.info-header .info-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.info-message {
    font-size: 15px;
    color: var(--text-primary);
    margin: 0 0 12px 0;
    line-height: 1.7;
}

.info-message strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* CPF Analysis Enhanced */
.cpf-analysis-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.cpf-analysis-wrapper .field {
    margin-bottom: 0;
}

.cpf-analysis-wrapper label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
    margin-left: 4px;
    margin-bottom: 10px;
    text-align: left;
}

/* New Professional Input Styles for Payment Screen */
.payment-screen input {
    width: 100%;
    padding: 18px 20px 18px 55px; /* More padding */
    font-size: 18px; /* Larger font */
    color: var(--text-primary);
    background: linear-gradient(135deg, #1f1f1f, #2b2b2b);
    border: 2px solid var(--border-color);
    border-radius: 14px;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.payment-screen .input-icon-wrapper i {
    left: 20px;
    font-size: 20px;
}

.payment-screen input::placeholder {
    color: #666;
    font-weight: 400;
}

.payment-screen input:focus {
    border-image: linear-gradient(to right, var(--primary-color), var(--secondary-color)) 1;
    outline: none;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.25);
    background: linear-gradient(135deg, #222, #303030);
}

.payment-screen input:focus ~ i {
    color: var(--primary-color);
}

#analyzeCpfBtn {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.25);
}

#analyzeCpfBtn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 107, 53, 0.35);
}

#cpfAnalysisStatus {
    margin: 32px 0;
    padding: 28px;
    background: linear-gradient(135deg, rgba(30,30,30,1) 0%, rgba(45,45,45,1) 100%);
    border-radius: 16px;
    border: 1px solid rgba(255,107,53,0.15);
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.2), 0 4px 12px rgba(0,0,0,0.3);
    overflow: hidden;
}

.analysis-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-align: center;
    opacity: 0.9;
}

.analysis-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(0,0,0,0.3);
    border-radius: 3px;
    margin-bottom: 24px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.2);
}

.analysis-progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.analysis-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.analysis-steps .step {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 15px;
    color: var(--text-secondary);
    transition: all 0.4s ease;
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    opacity: 0.5;
}

.analysis-steps .step.active {
    opacity: 1;
    background: rgba(255, 107, 53, 0.08);
    border-color: rgba(255, 107, 53, 0.2);
}

.analysis-steps .step.completed {
    color: var(--success-color);
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.2);
    opacity: 1;
}

.analysis-steps .step i {
    color: var(--primary-color);
    font-size: 20px;
    width: 24px;
    text-align: center;
    transition: color 0.3s ease;
}

.analysis-steps .step.completed i {
    color: var(--success-color);
}

.step-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.step-label {
    font-weight: 500;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.step-status {
    font-size: 13px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.analysis-steps .step.active .step-status {
    color: var(--primary-color);
}

.analysis-steps .step.completed .step-status {
    color: var(--success-color);
    font-weight: 600;
}

.analysis-result {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(16, 185, 129, 0.06));
    border: 1px solid var(--success-color);
    border-radius: 12px;
    padding: 20px;
    margin-top: 8px;
}

.analysis-result i {
    color: var(--success-color);
    font-size: 28px;
    flex-shrink: 0;
}

.analysis-result p {
    margin: 0;
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 500;
}

/* Installment Options - Professional Redesign */
.installment-options-container {
    margin: 32px 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.payment-title {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.payment-title i {
    color: var(--primary-color);
    font-size: 22px;
}

.installment-option {
    border: 2px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow: hidden;
}

.installment-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.installment-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, rgba(255,107,53,0.06), rgba(255,107,53,0.03));
}

.installment-option:hover::before {
    opacity: 1;
}

.installment-option.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(255,107,53,0.12), rgba(255,107,53,0.06));
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.3), inset 0 0 20px rgba(255,107,53,0.08);
    transform: scale(1.02);
}

.installment-option.selected::before {
    opacity: 1;
}

.installment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.installment-count {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.installment-body {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.installment-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.installment-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--success-color);
    letter-spacing: -0.5px;
}

.installment-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.installment-fee-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.installment-fee-value {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 16px;
}

.installment-option .fa-check-circle {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--success-color);
    display: none;
    font-size: 24px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.installment-option.selected .fa-check-circle {
    display: block;
    animation: checkPop 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes checkPop {
    0% { transform: scale(0) rotate(-180deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.payment-badge {
    background: rgba(255, 107, 53, 0.15);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
    border: 1px solid rgba(255,107,53,0.3);
}

.payment-badge.pix-badge {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success-color);
    border-color: rgba(16, 185, 129, 0.3);
}

/* Transaction Summary - Professional Redesign */
.transaction-summary {
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 32px;
    border: 1px solid rgba(255,255,255,0.12);
    text-align: left;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.1);
}

.summary-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(255,107,53,0.2);
}

.summary-title i {
    font-size: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 500;
}

.summary-value {
    font-size: 17px;
    color: var(--text-primary);
    font-weight: 700;
}

/* Payment Actions - Enhanced */
.payment-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.btn-large {
    padding: 18px 28px !important;
    font-size: 17px !important;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.btn-primary.btn-large {
    box-shadow: 0 12px 32px rgba(255, 107, 53, 0.3);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.btn-primary.btn-large:hover:not(:disabled) {
    box-shadow: 0 16px 40px rgba(255, 107, 53, 0.4);
    transform: translateY(-3px);
}

.btn-primary.btn-large:active:not(:disabled) {
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255,255,255,0.04);
    color: var(--text-primary);
    border: 2px solid rgba(255,255,255,0.12);
    font-weight: 600;
}

.btn-secondary:hover:not(:disabled) {
    border-color: rgba(255,255,255,0.24);
    background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
}

/* Payment Footer */
.payment-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.payment-footer p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* Mobile Responsiveness for Payment Screen */
@media (max-width: 768px) {
    .payment-content {
        padding: 32px 24px;
    }

    .payment-header h2 {
        font-size: 28px;
    }

    .installment-value {
        font-size: 24px;
    }

    .installment-count {
        font-size: 18px;
    }
}

@media (max-width: 420px) {
    .payment-content {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .payment-header {
        margin-bottom: 28px;
        padding-bottom: 20px;
    }

    .payment-header h2 {
        font-size: 24px;
    }

    .info-card {
        padding: 20px;
    }

    .installment-option {
        padding: 20px;
    }

    .installment-value {
        font-size: 22px;
    }

    .transaction-summary {
        padding: 20px;
    }

    .btn-large {
        padding: 16px 20px !important;
        font-size: 16px !important;
        height: 52px;
    }
}

/* Enhanced Alert Box */
.alert-box {
    display: flex;
    gap: 15px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    padding: 16px;
    margin-top: 20px;
}

.alert-box i {
    color: var(--danger-color);
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.alert-box p {
    font-size: 14px;
    color: var(--text-secondary);
    text-align: left;
    margin: 0;
    line-height: 1.5;
}

.alert-box.warning-alert {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.3);
}

.alert-box.warning-alert i {
    color: var(--warning-color);
}

/* Enhanced Payment Details */
.payment-details {
    margin: 25px 0;
    text-align: left;
}

.payment-title {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.payment-title i {
    color: var(--primary-color);
    font-size: 18px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--dark-card);
    position: relative;
}

.payment-option:hover {
    border-color: var(--primary-dark);
    background: rgba(255, 107, 53, 0.02);
}

.payment-option.selected {
    border-color: var(--primary-color);
    background: rgba(255, 107, 53, 0.08);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.2);
}

.payment-option-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.payment-option img.payment-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(1.2);
}

.payment-option i:not(.fa-check-circle) {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.payment-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.payment-method-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.payment-method-desc {
    font-size: 13px;
    color: var(--text-secondary);
}

.payment-badge {
    background: rgba(255, 107, 53, 0.2);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.payment-badge.pix-badge {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success-color);
}

.payment-option .fa-check-circle {
    margin-left: auto;
    color: var(--success-color);
    display: none;
    font-size: 20px;
    flex-shrink: 0;
}

.payment-option.selected .fa-check-circle {
    display: block;
}

/* Security Section */
.security-section {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 25px;
    text-align: left;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.02);
    padding: 12px 16px;
    border-radius: 8px;
    width: fit-content;
    margin-bottom: 16px;
}

.security-badge i {
    color: var(--primary-color);
    font-size: 18px;
}

.security-badge span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.security-text {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.security-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.security-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: rgba(255, 107, 53, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(0, 74, 173, 0.1);
}

.security-icon i {
    font-size: 18px;
    color: var(--secondary-color);
}

.security-icon span {
    font-size: 11px;
    color: var(--text-secondary);
    text-align: center;
}

/* Payment Actions */
.payment-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.btn-large {
    padding: 16px 24px !important;
    font-size: 16px !important;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary.btn-large {
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.btn-primary.btn-large:hover:not(:disabled) {
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
    transform: translateY(-2px);
}

/* Payment Footer */
.payment-footer {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.payment-footer p {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 20px;
    }

    .progress-bar {
        width: 200px;
    }

    .welcome-content {
        padding: 40px 20px;
    }

    .welcome-content h2 {
        font-size: 32px;
    }

    .welcome-description {
        font-size: 16px;
    }

    .features {
        flex-direction: column;
        gap: 20px;
    }

    .feature {
        flex-direction: row;
        justify-content: flex-start;
        width: 100%;
        padding: 16px;
    }

    .question-content {
        padding: 20px;
    }

    .question-text {
        font-size: 20px;
    }

    .result-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .social-links {
        justify-content: center;
    }

    .footer-brand span {
        font-size: 20px;
    }
}

@media (max-width: 420px) {
    .header {
        padding: 12px 0;
        margin-bottom: 20px;
    }

    .logo h1 {
        font-size: 28px;
    }

    .progress-bar {
        width: 100%;
        height: 8px;
    }

    .progress-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .question-container {
        padding: 20px;
    }

    .question-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding-bottom: 18px;
        margin-bottom: 24px;
    }

    .completion-indicator {
        margin-left: auto;
    }

    .options-container {
        gap: 12px;
    }

    .option {
        padding: 16px;
        font-size: 16px;
    }

    .btn {
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }

    .navigation {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .nav-spacer {
        display: none;
    }

    .result-content h2 {
        font-size: 24px;
    }

    .result-details {
        padding: 18px;
    }

    .footer-content {
        padding: 0 12px;
    }

    .eligibility-status h2 {
        font-size: 28px;
    }

    .bank-form-header {
        font-size: 20px;
    }
    
    .dual-field-group {
        flex-direction: column;
        gap: 0;
    }

    .bank-actions {
        flex-direction: column;
    }
    
    .main-question-text {
        font-size: 24px;
        margin-bottom: 30px;
    }
}