@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #00b09b 0%, #96c93d 100%);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.18);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

* {
    transition: var(--transition-smooth);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    background: #FAFBFC;
    min-height: 100vh;
}

.modern-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

.mud-paper {
    border-radius: 16px !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    transition: var(--transition-smooth) !important;
}

.mud-paper:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
    transform: translateY(-2px);
}

.mud-button {
    border-radius: 12px !important;
    padding: 10px 24px !important;
    font-weight: 500 !important;
    letter-spacing: 0.025em !important;
    transition: var(--transition-smooth) !important;
    text-transform: none !important;
}

.mud-button-filled-primary {
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%) !important;
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.35) !important;
}

.mud-button-filled-primary:hover {
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45) !important;
    transform: translateY(-2px);
}

.mud-button-outlined {
    border-width: 2px !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

.mud-button-outlined:hover {
    background: rgba(99, 102, 241, 0.1) !important;
    border-color: #6366F1 !important;
}

.mud-input .mud-input-slot {
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border: 2px solid transparent !important;
    transition: var(--transition-smooth) !important;
}

.mud-input:hover .mud-input-slot {
    border-color: #E2E8F0 !important;
}

.mud-input.mud-input-focused .mud-input-slot {
    border-color: #6366F1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1) !important;
}

.mud-input-label {
    font-weight: 500 !important;
    color: #64748B !important;
    margin-bottom: 8px !important;
}

.mud-alert {
    border-radius: 12px !important;
    border-left: 4px solid currentColor !important;
}

.mud-navmenu {
    background: transparent !important;
}

.mud-nav-link {
    border-radius: 12px !important;
    margin: 4px 8px !important;
    transition: var(--transition-smooth) !important;
}

.mud-nav-link:hover {
    background: rgba(99, 102, 241, 0.1) !important;
    transform: translateX(4px);
}

.mud-nav-link-icon {
    transition: var(--transition-smooth) !important;
}

.mud-nav-link:hover .mud-nav-link-icon {
    transform: scale(1.1);
}

.mud-progress-circular {
    filter: drop-shadow(0 4px 6px rgba(99, 102, 241, 0.25));
}

.upload-zone {
    border: 2px dashed #CBD5E1;
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.upload-zone:hover {
    border-color: #6366F1;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    transform: scale(1.02);
}

.upload-zone.dragging {
    border-color: #6366F1;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    transform: scale(1.05);
}

.objection-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(226, 232, 240, 0.5);
    position: relative;
    overflow: hidden;
}

.objection-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #6366F1 0%, #8B5CF6 100%);
}

.objection-card.objection-resolved {
    background: linear-gradient(135deg, rgba(220, 252, 231, 0.3) 0%, rgba(187, 247, 208, 0.3) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.objection-card.objection-resolved::before {
    background: linear-gradient(180deg, #10B981 0%, #22C55E 100%);
}

.objection-number {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    color: white;
    border-radius: 50%;
    font-weight: 600;
    font-size: 14px;
    margin-right: 12px;
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

.slide-in {
    animation: slideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(99, 102, 241, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
    }
}

.modern-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.modern-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-badge.success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(34, 197, 94, 0.1) 100%);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-badge.warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(251, 191, 36, 0.1) 100%);
    color: #F59E0B;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-badge.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(248, 113, 113, 0.1) 100%);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.modern-header {
    background: white !important;
    border-bottom: 1px solid #E2E8F0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

.gradient-text {
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.icon-gradient {
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #F1F5F9;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
}

.loading-skeleton {
    background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 50%, #F1F5F9 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@media (max-width: 768px) {
    .modern-card {
        padding: 20px;
        border-radius: 16px;
    }
    
    .upload-zone {
        padding: 32px 20px;
    }
    
    .mud-button {
        padding: 8px 16px !important;
    }
}