/* =========================================================
   ACCOUNT SETTINGS - Jovan AI Premium (v2.1)
   ========================================================= */

.account-settings-page {
    padding: var(--space-xl) var(--space-lg);
    max-width: 900px;
    margin: 0 auto;
    animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.page-header h2 {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #db2777 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.03em;
}

.account-section {
    background: rgba(255, 255, 255, 0.7);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-radius: 28px;
    padding: var(--space-xl);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
    margin-bottom: var(--space-xl);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: var(--space-xl);
}

.section-header i {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.input-field input,
.input-field select {
    padding: 16px;
    border-radius: 18px;
    border: 1.5px solid rgba(0, 0, 0, 0.04);
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.btn-primary-gradient {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border-radius: 18px;
    padding: 16px 32px;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}

/* AI Plan Card - ULTRA PREMIUM */
.plan-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 24px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.plan-card::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent);
    z-index: 0;
}

.plan-badge {
    background: #6366f1;
    border-radius: 8px;
    padding: 6px 14px;
    letter-spacing: 0.1em;
}

.progress-bar {
    height: 12px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.progress-fill {
    border-radius: 10px;
}

.gemini-bar {
    background: linear-gradient(to right, #6366f1, #ec4899);
}

.btn-logout-danger {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    border-radius: 20px;
    color: #ef4444;
    padding: 20px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-logout-danger:hover {
    background: #ef4444;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.2);
}

/* Usage Progress Utilities */
.gemini-usage-fill { width: 74%; }
.sarvam-usage-fill { width: 32%; background: #10b981; }

@media (max-width: 640px) {
    .input-grid,
    .usage-grid {
        grid-template-columns: 1fr;
    }

    .plan-card {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-lg);
    }

    .btn-upgrade {
        width: 100%;
    }
}