:root {
    /* Cores D4U Immigration */
    --primary-gold: #D3B051;
    --primary-blue: #1175BC;
    --secondary-blue: #1CA9E1;
    --light-blue: #00CFFF;
    
    /* Cores de status */
    --success-color: #00d084;
    --warning-color: #ff9900;
    --danger-color: #ff3366;
    
    /* Cores neutras */
    --text-dark: #1a1a1a;
    --text-muted: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    
    /* Gradientes */
    --gradient-blue: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    --gradient-gold: linear-gradient(135deg, var(--primary-gold) 0%, #e6c76f 100%);
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    min-height: 100vh;
    background: linear-gradient(135deg, #0a1628 0%, #1a2f4a 100%);
    position: relative;
    overflow-x: hidden;
}

/* Partículas de fundo */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    opacity: 0.4;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

/* Steps */
.step {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.step.active {
    display: block;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 3rem 0;
}

.logo {
    max-width: 200px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-gold);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(211, 176, 81, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title .highlight {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.hero-subtitle strong {
    color: var(--primary-gold);
}

/* CTA Container */
.cta-container {
    max-width: 500px;
    margin: 0 auto 3rem;
}

.alternative-text {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    margin: 1rem 0;
    font-size: 0.9rem;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.badge-item i {
    color: var(--primary-gold);
    font-size: 1.2rem;
}

/* Card */
.card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(17, 117, 188, 0.2);
    border-radius: 10px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-blue);
    transition: width 0.3s ease;
}

/* User Info */
.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 12px;
    margin-bottom: 2rem;
}

.user-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-gold);
}

.user-info h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-schedule {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: var(--gradient-blue);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(17, 117, 188, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 117, 188, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

.btn-back {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.5rem;
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.btn-back:hover {
    color: var(--primary-blue);
}

.btn-schedule {
    background: var(--gradient-gold);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(211, 176, 81, 0.3);
}

.btn-schedule:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 176, 81, 0.4);
}

/* Forms */
.form {
    margin-top: 2rem;
}

.input-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.input-group input[type="text"],
.input-group input[type="email"],
.input-group input[type="tel"],
.input-group input[type="url"],
.input-group input[type="file"] {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(17, 117, 188, 0.1);
}

.input-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-blue);
    font-size: 1.2rem;
    pointer-events: none;
}

.input-group small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

/* Loading */
.loading-animation {
    margin: 2rem 0;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(17, 117, 188, 0.2);
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-steps {
    margin-top: 2rem;
    text-align: left;
}

.loading-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    background: var(--bg-light);
    color: var(--text-muted);
    transition: all 0.3s;
}

.loading-step.active {
    background: rgba(17, 117, 188, 0.1);
    color: var(--primary-blue);
}

.loading-step i {
    font-size: 1.2rem;
}

/* Result Cards */
.result-card {
    text-align: center;
}

.result-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
}

.result-icon.success {
    background: linear-gradient(135deg, rgba(0, 208, 132, 0.1), rgba(0, 208, 132, 0.2));
    color: var(--success-color);
}

.result-icon.warning {
    background: linear-gradient(135deg, rgba(255, 153, 0, 0.1), rgba(255, 153, 0, 0.2));
    color: var(--warning-color);
}

.result-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.result-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.result-summary {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: left;
}

.result-summary h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.result-summary p {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, rgba(17, 117, 188, 0.05), rgba(28, 169, 225, 0.05));
    border: 2px solid rgba(17, 117, 188, 0.2);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
}

.cta-box h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.benefits-list {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--text-dark);
}

.benefits-list i {
    color: var(--success-color);
    font-size: 1.1rem;
}

/* Recommendations */
.recommendations {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: left;
}

.recommendations h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

/* Info Box */
.info-box {
    background: rgba(0, 207, 255, 0.1);
    border-left: 4px solid var(--light-blue);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-box i {
    color: var(--light-blue);
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

.hidden {
    display: none !important;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: auto;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

footer p {
    margin: 0.5rem 0;
}

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

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .card {
        padding: 2rem 1.5rem;
    }
    
    .trust-badges {
        gap: 1rem;
    }
    
    .badge-item {
        font-size: 0.85rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons button {
        width: 100%;
    }
}


/* ========== DROPZONE ========== */
.dropzone {
    border: 2px dashed var(--primary-blue);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(17, 117, 188, 0.05) 0%, rgba(0, 207, 255, 0.05) 100%);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dropzone:hover {
    border-color: var(--primary-gold);
    background: linear-gradient(135deg, rgba(211, 176, 81, 0.1) 0%, rgba(17, 117, 188, 0.1) 100%);
    transform: translateY(-2px);
}

.dropzone.dragover {
    border-color: var(--success-color);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(0, 207, 255, 0.1) 100%);
    border-width: 3px;
}

.dropzone-content {
    pointer-events: none;
}

.dropzone-content i {
    font-size: 3.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    display: block;
    animation: float 3s ease-in-out infinite;
}

.dropzone:hover .dropzone-content i {
    color: var(--primary-gold);
}

.dropzone-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.dropzone-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.dropzone-content .file-types {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.dropzone-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dropzone-preview i {
    font-size: 2.5rem;
    color: var(--error-color);
    margin-right: 1rem;
}

.dropzone-preview .file-name {
    flex: 1;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
}

.dropzone-preview .btn-remove-file {
    background: var(--error-color);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropzone-preview .btn-remove-file:hover {
    background: #dc2626;
    transform: scale(1.1);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ========== HERO HEADER ========== */
.hero-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.logo-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-gold);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 20px rgba(211, 176, 81, 0.4);
    animation: pulse 2s infinite;
    white-space: nowrap;
}

.hero-badge i {
    font-size: 1.2rem;
}

/* ========== RESPONSIVIDADE ========== */

/* Tablets */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .logo {
        max-width: 150px;
    }
    
    .hero-badge {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .hero-title {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
    }
    
    .btn-large {
        font-size: 1rem !important;
        padding: 1rem 2rem !important;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .card {
        padding: 2rem 1.5rem !important;
    }
    
    .dropzone {
        padding: 2rem 1rem !important;
    }
    
    .dropzone-content h4 {
        font-size: 1rem !important;
    }
    
    .dropzone-content i {
        font-size: 2.5rem !important;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }
    
    .hero {
        padding: 1.5rem 0;
    }
    
    .logo {
        max-width: 120px;
    }
    
    .hero-badge {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .hero-badge i {
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }
    
    .hero-subtitle {
        font-size: 0.9rem !important;
    }
    
    .btn-large {
        font-size: 0.9rem !important;
        padding: 0.9rem 1.5rem !important;
    }
    
    .btn-secondary {
        font-size: 0.85rem !important;
        padding: 0.7rem 1.2rem !important;
    }
    
    .card {
        padding: 1.5rem 1rem !important;
    }
    
    .result-title {
        font-size: 1.75rem !important;
    }
    
    .dropzone {
        padding: 1.5rem 1rem !important;
    }
    
    .dropzone-content h4 {
        font-size: 0.95rem !important;
    }
    
    .dropzone-content p {
        font-size: 0.85rem !important;
    }
    
    .dropzone-content i {
        font-size: 2rem !important;
    }
    
    .loading-steps {
        padding: 0 1rem;
    }
}

/* Desktop grande */
@media (min-width: 1200px) {
    .container {
        max-width: 900px;
    }
}

/* ========== MODAL PROMOCIONAL ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    animation: fadeIn 0.3s ease-out;
}

.modal.active {
    display: block;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    max-width: 500px;
    margin: 5% auto;
    background: white;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease-out;
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--bg-light);
    color: var(--text-dark);
    transform: rotate(90deg);
}

.promo-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(211, 176, 81, 0.3);
    animation: pulse 2s infinite;
}

.promo-icon i {
    font-size: 2.5rem;
    color: white;
}

.promo-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.promo-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.promo-text strong {
    color: var(--primary-gold);
    font-weight: 700;
}

.promo-coupon {
    background: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 100%);
    border: 2px dashed var(--primary-gold);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.coupon-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.coupon-code {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-blue);
    letter-spacing: 3px;
    margin-bottom: 1rem;
    font-family: 'Courier New', monospace;
}

.btn-copy-coupon {
    background: var(--primary-gold);
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-copy-coupon:hover {
    background: #c19d42;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 176, 81, 0.3);
}

.btn-copy-coupon i {
    margin-right: 0.5rem;
}

.promo-note {
    font-size: 0.85rem;
    color: var(--warning-color);
    margin-bottom: 2rem;
    font-weight: 500;
}

.promo-note i {
    margin-right: 0.5rem;
}

.promo-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.promo-actions .btn-primary,
.promo-actions .btn-secondary {
    width: 100%;
    justify-content: center;
}

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

/* Responsividade da modal */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% 1rem;
        padding: 2.5rem 1.5rem;
    }
    
    .promo-title {
        font-size: 1.5rem;
    }
    
    .promo-text {
        font-size: 1rem;
    }
    
    .coupon-code {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 2rem 1.25rem;
    }
    
    .promo-icon {
        width: 60px;
        height: 60px;
    }
    
    .promo-icon i {
        font-size: 2rem;
    }
    
    .promo-title {
        font-size: 1.25rem;
    }
    
    .coupon-code {
        font-size: 1.25rem;
        letter-spacing: 2px;
    }
}
