/* ApnaCareerAI - Light Premium Glassmorphism */

:root {
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-bg-strong: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(212, 175, 55, 0.2);
    --glass-border-strong: rgba(212, 175, 55, 0.35);
    --glass-blur: blur(20px);
    --glass-blur-strong: blur(40px);
    --gold: #D4AF37;
    --gold-light: #F6E05E;
    --royal-blue: #1A237E;
    --text-primary: #1A1A2E;
    --text-secondary: #555770;
}

/* ===== Body Overrides for Light Glass ===== */
body {
    background-color: #FAF9F6;
    color: var(--text-primary);
}

/* ===== Mesh Gradient Background - Light Version ===== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(26, 35, 126, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(74, 20, 140, 0.03) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
}

/* ===== GLASS CARD STYLE ===== */
.card, .stat-card {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur) !important;
    -webkit-backdrop-filter: var(--glass-blur) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 16px !important;
    color: var(--text-primary) !important;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.card-header {
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border) !important;
    color: var(--text-primary) !important;
}

.card-title {
    color: var(--text-primary) !important;
    font-family: 'Playfair Display', Georgia, serif;
}

.card-text {
    color: var(--text-secondary) !important;
}

/* Glass card hover */
.hover-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.hover-card:hover {
    transform: translateY(-8px) scale(1.01) !important;
    box-shadow:
        0 20px 60px rgba(212, 175, 55, 0.15),
        0 8px 32px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    border-color: var(--glass-border-strong) !important;
}

/* ===== FEATURE ICONS - Glass Version ===== */
.feature-icon {
    background: var(--glass-bg-strong) !important;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border) !important;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* ===== BUTTONS - Glass Version ===== */
.btn-light {
    background: var(--glass-bg-strong) !important;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border) !important;
    color: var(--text-primary) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.btn-light:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: var(--gold) !important;
    color: var(--gold-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
}

/* ===== NAVIGATION - Premium Glass ===== */
.navbar {
    backdrop-filter: var(--glass-blur-strong) !important;
    -webkit-backdrop-filter: var(--glass-blur-strong) !important;
    background: rgba(255, 255, 255, 0.88) !important;
    border-bottom: 1px solid var(--glass-border) !important;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

/* ===== DROPDOWN MENU - Glass ===== */
.dropdown-menu {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: var(--glass-blur) !important;
    -webkit-backdrop-filter: var(--glass-blur) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 16px !important;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
    padding: 0.5rem;
}

.dropdown-item {
    color: var(--text-primary) !important;
    border-radius: 10px;
    padding: 0.6rem 1rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(212, 175, 55, 0.1) !important;
    color: var(--gold-dark) !important;
}

/* ===== FORMS - Glass Input ===== */
.form-control, .form-select {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    border: 1.5px solid var(--glass-border) !important;
    color: var(--text-primary) !important;
    border-radius: 10px !important;
    padding: 0.7rem 1rem;
}

.form-control:focus, .form-select:focus {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.12);
}

.form-control::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

/* ===== ALERTS - Glass Version ===== */
.alert {
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur) !important;
    border: 1px solid var(--glass-border) !important;
    color: var(--text-primary) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}

.alert-danger {
    border-left: 4px solid #DC2626;
    background: rgba(220, 38, 38, 0.05) !important;
    color: #991B1B !important;
}

.alert-success {
    border-left: 4px solid #16A34A;
    background: rgba(22, 163, 74, 0.05) !important;
    color: #166534 !important;
}

.alert-warning {
    border-left: 4px solid #F59E0B;
    background: rgba(245, 158, 11, 0.05) !important;
    color: #92400E !important;
}

.alert-info {
    border-left: 4px solid #0EA5E9;
    background: rgba(14, 165, 233, 0.05) !important;
    color: #075985 !important;
}

/* ===== FOOTER - Premium Dark Glass ===== */
footer.bg-dark {
    background: rgba(13, 27, 42, 0.95) !important;
    backdrop-filter: var(--glass-blur) !important;
    border-top: 1px solid var(--glass-border) !important;
}

/* ===== STAT CARDS - Glass Version ===== */
.stat-card {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: var(--glass-blur) !important;
    -webkit-backdrop-filter: var(--glass-blur) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.02) !important;
    background: rgba(255, 255, 255, 0.85) !important;
    box-shadow:
        0 20px 60px rgba(212, 175, 55, 0.1),
        0 8px 32px rgba(0, 0, 0, 0.06);
}

/* ===== STEP CIRCLES - Glass Gold ===== */
.step-circle {
    background: linear-gradient(135deg, #F6E05E, #D4AF37, #B8860B) !important;
    box-shadow:
        0 8px 30px rgba(212, 175, 55, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    color: #0D1B2A !important;
}

/* ===== PRICING CARDS - Glass Premium ===== */
.card.border-warning {
    border-color: rgba(212, 175, 55, 0.5) !important;
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow:
        0 20px 60px rgba(212, 175, 55, 0.12),
        0 8px 32px rgba(0, 0, 0, 0.06);
}

/* ===== FLOATING CARDS - Glass ===== */
.floating-card .bg-white {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: var(--glass-blur) !important;
    -webkit-backdrop-filter: var(--glass-blur) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 16px !important;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
    color: var(--text-primary) !important;
}

.floating-card .text-dark {
    color: var(--text-primary) !important;
}

.floating-card .text-muted {
    color: var(--text-secondary) !important;
}

/* ===== LIST GROUP - Glass ===== */
.list-group-item {
    background: transparent !important;
    border-color: var(--glass-border) !important;
    color: var(--text-primary) !important;
    transition: all 0.2s ease;
}

.list-group-item:hover {
    background: rgba(212, 175, 55, 0.05) !important;
}

/* ===== TABLE - Glass ===== */
.table {
    color: var(--text-primary) !important;
}

.table th {
    border-bottom-color: var(--glass-border) !important;
    color: var(--text-primary) !important;
}

.table td {
    border-bottom-color: rgba(0, 0, 0, 0.04) !important;
    color: var(--text-primary) !important;
}

.table-striped tbody tr:nth-of-type(odd) {
    background: rgba(212, 175, 55, 0.03) !important;
}

/* ===== PROGRESS BARS - Glass ===== */
.progress {
    background: rgba(212, 175, 55, 0.1) !important;
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
}

.progress-bar {
    border-radius: 10px;
}

/* ===== BADGES - Glass Subtle ===== */
.bg-primary-subtle {
    background: rgba(212, 175, 55, 0.12) !important;
    color: #B8860B !important;
}

.bg-success-subtle {
    background: rgba(22, 163, 74, 0.1) !important;
    color: #16A34A !important;
}

.bg-warning-subtle {
    background: rgba(245, 158, 11, 0.1) !important;
    color: #F59E0B !important;
}

.bg-info-subtle {
    background: rgba(14, 165, 233, 0.1) !important;
    color: #0EA5E9 !important;
}

.bg-danger-subtle {
    background: rgba(220, 38, 38, 0.1) !important;
    color: #DC2626 !important;
}

.bg-secondary-subtle {
    background: rgba(100, 116, 139, 0.1) !important;
    color: #64748B !important;
}

/* ===== BG OVERRIDES ===== */
.bg-white {
    background-color: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(10px);
}

.bg-light {
    background-color: rgba(250, 249, 246, 0.8) !important;
}

/* ===== GRADIENT TEXT UTILITY ===== */
.text-gradient-gold {
    background: linear-gradient(135deg, #F6E05E, #D4AF37, #B8860B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== SHIMMER ANIMATION ===== */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.shimmer {
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0) 0%,
        rgba(212, 175, 55, 0.2) 50%,
        rgba(255,255,255,0) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

/* ===== PULSE RING - Gold ===== */
@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
        border-color: rgba(212, 175, 55, 0.4);
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
        border-color: rgba(212, 175, 55, 0.05);
    }
}

.icon-ring {
    border-color: rgba(212, 175, 55, 0.3) !important;
}

/* ===== ENTRANCE ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title, .hero-subtitle, .hero-desc {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.hero-title { animation-delay: 0.2s; }
.hero-subtitle { animation-delay: 0.4s; }
.hero-desc { animation-delay: 0.6s; }

.hero-btns {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    animation-delay: 0.8s;
}

/* Stagger feature cards */
.row.g-4 > div .hover-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.row.g-4 > div:nth-child(1) .hover-card { animation-delay: 0.1s; }
.row.g-4 > div:nth-child(2) .hover-card { animation-delay: 0.2s; }
.row.g-4 > div:nth-child(3) .hover-card { animation-delay: 0.3s; }
.row.g-4 > div:nth-child(4) .hover-card { animation-delay: 0.4s; }
.row.g-4 > div:nth-child(5) .hover-card { animation-delay: 0.5s; }
.row.g-4 > div:nth-child(6) .hover-card { animation-delay: 0.6s; }

/* ===== HERO SECTION - Light Premium ===== */
.hero-section {
    background: transparent !important;
    position: relative;
    min-height: 100vh;
}

.ai-bg-animation .particle {
    background: rgba(212, 175, 55, 0.6) !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem !important;
    }

    .display-5 {
        font-size: 2rem;
    }

    .floating-card {
        display: none;
    }

    .card {
        border-radius: 12px !important;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem !important;
    }

    .stat-card {
        padding: 1rem;
    }
}
