/* ==================== THEME (Light/Dark) ==================== */
:root {
    --primary: #8b5cf6;
    --primary-light: #a78bfa;
    --secondary: #06b6d4;
    --bg-dark: #0a0a0f;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-dark: #e2e8f0;
    --text-muted: #94a3b8;
    --dark-border: rgba(255, 255, 255, 0.1);
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
}

.close-modal:hover {
    color: #fff;
}
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --gradient: linear-gradient(135deg, #8b5cf6, #06b6d4);
}

/* Light Theme */
body.light-mode {
    --bg-dark: #f8fafc;
    --bg-card: #ffffff;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --dark-border: rgba(0, 0, 0, 0.1);
}

/* Cards and sections - Dark Mode */
.card, .doc-section, .modal-content, .pricing-card {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3), 0 0 40px rgba(6, 182, 212, 0.2);
    border-radius: 20px;
}

/* Cards and sections - Light Mode */
body.light-mode .card,
body.light-mode .doc-section,
body.light-mode .modal-content,
body.light-mode .pricing-card {
    background: rgba(255, 255, 255, 0.7) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

body.light-mode footer {
    background: #f1f5f9;
    border-top: 1px solid #e2e8f0;
}

/* Input Styles */
input, textarea, select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--dark-border);
    color: var(--text-dark);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

input:hover, textarea:hover, select:hover {
    border-color: var(--primary);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

body.light-mode input,
body.light-mode textarea,
body.light-mode select {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #1e293b;
    backdrop-filter: blur(10px);
}

/* AI Aura - Background Animation */
.ai-aura {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background: radial-gradient(ellipse at 30% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 50%, rgba(244, 114, 182, 0.05) 0%, transparent 50%);
}

body.light-mode .ai-aura {
    background: radial-gradient(ellipse at 30% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
}

@keyframes auraPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}
