/* ApnaCareerAI - Royal Gold Premium Design System */

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

:root {
    /* Royal Gold Palette */
    --gold-light: #F6E05E;
    --gold: #D4AF37;
    --gold-dark: #B8860B;
    --gold-gradient: linear-gradient(135deg, #F6E05E 0%, #D4AF37 50%, #B8860B 100%);
    --gold-soft: rgba(212, 175, 55, 0.15);
    --gold-glow: 0 4px 20px rgba(212, 175, 55, 0.3);

    /* Royal Deep Colors */
    --royal-blue: #1A237E;
    --royal-blue-light: #283593;
    --royal-purple: #4A148C;
    --royal-navy: #0D1B2A;

    /* Light Premium Backgrounds */
    --cream: #FFFDF5;
    --ivory: #FFFFF0;
    --pearl: #FAF9F6;
    --silk: #F5F0E8;
    --bg-main: #FAF9F6;
    --bg-card: #FFFFFF;

    /* Text Colors */
    --text-primary: #1A1A2E;
    --text-secondary: #555770;
    --text-muted: #8E8EA0;
    --text-gold: #B8860B;

    /* Accent Colors */
    --success: #16A34A;
    --success-light: rgba(22, 163, 74, 0.1);
    --warning: #F59E0B;
    --warning-light: rgba(245, 158, 11, 0.1);
    --danger: #DC2626;
    --danger-light: rgba(220, 38, 38, 0.1);
    --info: #0EA5E9;
    --info-light: rgba(14, 165, 233, 0.1);

    /* Shadows */
    --shadow-xs: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.16);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.25);

    /* Radius */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Poppins', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* Premium Background Pattern */
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.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(26, 35, 126, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(74, 20, 140, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Subtle dot pattern overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(212, 175, 55, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--text-primary);
    line-height: 1.3;
    font-weight: 600;
}

.display-2, .display-5 {
    font-family: var(--font-display);
}

/* ===== NAVBAR - Royal Premium ===== */
.navbar {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2) !important;
    padding: 0.75rem 1rem;
    z-index: 1030;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    transition: var(--transition-base);
}

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

.navbar-brand {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    transition: var(--transition-base);
}

.navbar-brand:hover {
    transform: scale(1.02);
}

.navbar-brand i {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    font-weight: 500;
    color: var(--text-primary) !important;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: var(--transition-base);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover {
    color: var(--gold-dark) !important;
    background: var(--gold-soft);
}

.nav-link i {
    margin-right: 0.3rem;
}

.navbar-toggler {
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    padding: 0.4rem 0.6rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23B8860B' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Dropdown Menu */
.dropdown-menu {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow-lg) !important;
    padding: 0.5rem;
    margin-top: 0.5rem !important;
}

.dropdown-item {
    color: var(--text-primary) !important;
    border-radius: var(--radius-sm);
    padding: 0.6rem 1rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--gold-soft) !important;
    color: var(--gold-dark) !important;
}

.dropdown-item i {
    margin-right: 0.5rem;
    color: var(--gold);
}

.dropdown-divider {
    border-color: rgba(212, 175, 55, 0.15);
}

/* User badge in nav */
.badge.bg-warning {
    background: var(--gold-gradient) !important;
    color: var(--royal-navy) !important;
    font-weight: 600;
    padding: 0.35em 0.75em;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.7rem;
}

/* ===== BUTTONS - Premium Gold ===== */
.btn {
    border-radius: var(--radius-sm) !important;
    font-weight: 500;
    font-family: var(--font-body);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    border: none;
    padding: 0.6rem 1.5rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gold-gradient) !important;
    color: var(--royal-navy) !important;
    font-weight: 600;
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
    color: var(--royal-navy) !important;
}

.btn-outline-primary {
    border: 2px solid var(--gold) !important;
    color: var(--gold-dark) !important;
    background: transparent !important;
}

.btn-outline-primary:hover {
    background: var(--gold-gradient) !important;
    color: var(--royal-navy) !important;
    border-color: transparent !important;
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, #16A34A, #22C55E) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(22, 163, 74, 0.4);
}

.btn-warning {
    background: var(--gold-gradient) !important;
    color: var(--royal-navy) !important;
    font-weight: 600;
    box-shadow: var(--shadow-gold);
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #DC2626, #EF4444) !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.btn-info {
    background: linear-gradient(135deg, #0EA5E9, #38BDF8) !important;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.btn-info:hover {
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
    color: white !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: white !important;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 0.85rem 2.5rem;
    font-size: 1.1rem;
    border-radius: var(--radius) !important;
}

.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
}

/* ===== CARDS - Premium Light ===== */
.card {
    background: var(--bg-card) !important;
    border: 1px solid rgba(212, 175, 55, 0.12) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    overflow: hidden;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
    opacity: 0;
    transition: var(--transition-base);
}

.card:hover::before {
    opacity: 1;
}

.hover-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), var(--shadow-gold);
    border-color: rgba(212, 175, 55, 0.3) !important;
}

.card-header {
    background: var(--bg-card) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    font-family: var(--font-display);
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    background: var(--bg-card) !important;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding: 1.25rem 1.5rem;
}

/* ===== STAT CARDS ===== */
.stat-card {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--gold-soft), transparent);
    opacity: 0;
    transition: var(--transition-slow);
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg), var(--shadow-gold);
    border-color: rgba(212, 175, 55, 0.3);
}

.stat-card:hover::after {
    opacity: 1;
}

.stat-card h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

/* ===== FEATURE ICONS ===== */
.feature-icon {
    width: 85px;
    height: 85px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    border-radius: 50%;
    transition: all var(--transition-base);
    position: relative;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: var(--gold-gradient);
    opacity: 0.3;
    z-index: -1;
    transition: var(--transition-base);
}

.feature-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon:hover::before {
    opacity: 0.6;
    transform: scale(1.1);
}

.feature-icon.bg-primary {
    background: var(--gold-gradient) !important;
    color: var(--royal-navy) !important;
}

.feature-icon.bg-success {
    background: linear-gradient(135deg, #16A34A, #22C55E) !important;
    color: white !important;
}

.feature-icon.bg-warning {
    background: linear-gradient(135deg, #F59E0B, #FBBF24) !important;
    color: var(--royal-navy) !important;
}

.feature-icon.bg-info {
    background: linear-gradient(135deg, #0EA5E9, #38BDF8) !important;
    color: white !important;
}

.feature-icon.bg-danger {
    background: linear-gradient(135deg, #DC2626, #EF4444) !important;
    color: white !important;
}

.feature-icon.bg-secondary {
    background: linear-gradient(135deg, #64748B, #94A3B8) !important;
    color: white !important;
}

/* ===== FORMS ===== */
.form-control, .form-select {
    border: 2px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-sm);
    padding: 0.7rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all var(--transition-base);
    background: white;
    color: var(--text-primary);
}

.form-control:focus, .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
    background: white;
}

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

.form-control-lg {
    padding: 0.9rem 1.25rem;
    font-size: 1.1rem;
}

.form-label {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23B8860B' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}

.form-select option {
    background: white;
    color: var(--text-primary);
}

/* ===== BADGES ===== */
.badge {
    font-weight: 500;
    letter-spacing: 0.3px;
    padding: 0.4em 0.8em;
    border-radius: var(--radius-full);
}

.bg-primary-subtle {
    background-color: var(--gold-soft) !important;
    color: var(--gold-dark) !important;
}

.bg-success-subtle {
    background-color: var(--success-light) !important;
    color: var(--success) !important;
}

.bg-warning-subtle {
    background-color: var(--warning-light) !important;
    color: var(--warning) !important;
}

.bg-info-subtle {
    background-color: var(--info-light) !important;
    color: var(--info) !important;
}

.bg-danger-subtle {
    background-color: var(--danger-light) !important;
    color: var(--danger) !important;
}

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

/* ===== STEP CIRCLES ===== */
.step-circle {
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: var(--royal-navy);
    font-size: 1.75rem;
    font-weight: 700;
    font-family: var(--font-display);
    text-align: center;
    margin: 0 auto;
    box-shadow: var(--shadow-gold), 0 0 0 6px var(--gold-soft);
    transition: all var(--transition-base);
}

.step-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4), 0 0 0 8px var(--gold-soft);
}

.step-circle.bg-success {
    background: linear-gradient(135deg, #16A34A, #22C55E) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.3);
}

.step-circle.bg-warning {
    background: linear-gradient(135deg, #F59E0B, #FBBF24) !important;
    color: var(--royal-navy) !important;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

/* ===== PRICING CARDS ===== */
.card.border-warning {
    border-color: var(--gold) !important;
    border-width: 2px !important;
    transform: scale(1.03);
    box-shadow: var(--shadow-xl), var(--shadow-gold);
}

.card.border-primary {
    border-color: var(--gold) !important;
    border-width: 1px !important;
}

.pricing span {
    font-size: 1rem;
    color: var(--text-muted);
}

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

.progress-bar {
    border-radius: var(--radius-full);
    transition: width 1s ease;
}

.progress-bar.bg-primary {
    background: var(--gold-gradient) !important;
}

.progress-bar.bg-success {
    background: linear-gradient(90deg, #16A34A, #22C55E) !important;
}

/* ===== TABLES ===== */
.table {
    color: var(--text-primary);
}

.table th {
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
    font-family: var(--font-display);
    padding: 1rem;
}

.table td {
    vertical-align: middle;
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.table-hover tbody tr:hover {
    background: rgba(212, 175, 55, 0.08) !important;
}

/* ===== ALERTS ===== */
.alert {
    border: none;
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    border-left: 4px solid transparent;
}

.alert-danger {
    background: var(--danger-light);
    color: #991B1B;
    border-left-color: var(--danger);
}

.alert-success {
    background: var(--success-light);
    color: #166534;
    border-left-color: var(--success);
}

.alert-warning {
    background: var(--warning-light);
    color: #92400E;
    border-left-color: var(--warning);
}

.alert-info {
    background: var(--info-light);
    color: #075985;
    border-left-color: var(--info);
}

.alert-permanent {
    border-left-color: var(--gold);
    background: var(--gold-soft);
    color: var(--gold-dark);
}

/* ===== LIST GROUP ===== */
.list-group-item {
    background: transparent;
    border-color: rgba(212, 175, 55, 0.1);
    padding: 1rem 1.25rem;
    transition: var(--transition-fast);
}

.list-group-item:hover {
    background: var(--gold-soft);
}

.list-group-flush .list-group-item {
    border-left: none;
    border-right: none;
}

/* ===== PAGINATION ===== */
.pagination .page-link {
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--gold-dark);
    font-weight: 500;
    border-radius: var(--radius-sm) !important;
    margin: 0 3px;
    transition: var(--transition-fast);
}

.pagination .page-link:hover {
    background: var(--gold-soft);
    border-color: var(--gold);
    color: var(--gold-dark);
}

.pagination .page-item.active .page-link {
    background: var(--gold-gradient);
    border-color: transparent;
    color: var(--royal-navy);
    box-shadow: var(--shadow-gold);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--pearl);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold-light), var(--gold));
    border-radius: 5px;
    border: 2px solid var(--pearl);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--gold), var(--gold-dark));
}

/* ===== FOOTER ===== */
footer.bg-dark {
    background: var(--royal-navy) !important;
    color: rgba(255, 255, 255, 0.8);
    border-top: 2px solid rgba(212, 175, 55, 0.2);
    position: relative;
    z-index: 1;
}

footer.bg-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold-gradient);
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-fast);
}

footer a:hover {
    color: var(--gold-light) !important;
}

footer h5, footer h6 {
    color: white;
    font-family: var(--font-display);
}

footer h6 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

footer .text-muted {
    color: rgba(255, 255, 255, 0.5) !important;
}

footer hr.border-secondary {
    border-color: rgba(212, 175, 55, 0.15) !important;
}

/* ===== ANSWER CONTENT ===== */
.answer-content {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.answer-content h1, .answer-content h2, .answer-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-family: var(--font-display);
}

.answer-content h1 { font-size: 1.75rem; }
.answer-content h2 { font-size: 1.5rem; }
.answer-content h3 { font-size: 1.25rem; }

.answer-content p {
    margin-bottom: 1rem;
}

.answer-content ul, .answer-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.answer-content code {
    background: var(--gold-soft);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--gold-dark);
}

.answer-content pre {
    background: var(--royal-navy);
    color: #E2E8F0;
    padding: 1rem;
    border-radius: var(--radius);
    overflow-x: auto;
    margin-bottom: 1rem;
}

/* ===== TEMPLATE PREVIEW ===== */
.template-preview {
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius);
    font-size: 0.85rem;
    line-height: 1.4;
    background: white;
}

/* ===== AUTH CONTAINER ===== */
.auth-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* ===== BACKDROP BLUR ===== */
.backdrop-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* ===== MIN HEIGHTS ===== */
.min-vh-75 {
    min-height: 75vh;
}

.min-vh-100 {
    min-height: 100vh;
}

/* ===== BG WHITE OVERRIDE ===== */
.bg-white {
    background-color: var(--bg-card) !important;
}

.bg-light {
    background-color: var(--pearl) !important;
}

/* ===== TEXT HELPERS ===== */
.text-primary { color: var(--gold-dark) !important; }
.text-success { color: var(--success) !important; }
.text-warning { color: var(--warning) !important; }
.text-danger { color: var(--danger) !important; }
.text-info { color: var(--info) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-light { color: var(--text-secondary) !important; }

/* ===== BG HELPERS ===== */
.bg-primary { background: var(--gold-gradient) !important; color: var(--royal-navy) !important; }
.bg-success { background: linear-gradient(135deg, #16A34A, #22C55E) !important; }
.bg-warning { background: linear-gradient(135deg, #F59E0B, #FBBF24) !important; }
.bg-danger { background: linear-gradient(135deg, #DC2626, #EF4444) !important; }
.bg-info { background: linear-gradient(135deg, #0EA5E9, #38BDF8) !important; }
.bg-secondary { background: linear-gradient(135deg, #64748B, #94A3B8) !important; }

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.3); }
    50% { box-shadow: 0 0 40px rgba(212, 175, 55, 0.6); }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.animate-slide-left {
    animation: slideInLeft 0.6s ease forwards;
}

.animate-slide-right {
    animation: slideInRight 0.6s ease forwards;
}

/* Entrance Animations */
.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 children animation */
.stagger-children > * {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.stagger-children > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-children > *:nth-child(6) { animation-delay: 0.6s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .display-2 { font-size: 3.5rem; }
    .display-5 { font-size: 2.5rem; }
}

@media (max-width: 992px) {
    .display-2 { font-size: 3rem; }
    .display-5 { font-size: 2.2rem; }

    .stat-card { margin-bottom: 1rem; }
}

@media (max-width: 768px) {
    .display-2 { font-size: 2.5rem; }
    .display-5 { font-size: 1.8rem; }

    .hero-title { font-size: 2.5rem !important; }

    .card { margin-bottom: 1rem; }

    .stat-card h3 { font-size: 1.5rem; }

    .feature-icon {
        width: 65px;
        height: 65px;
        font-size: 1.8rem;
    }

    .step-circle {
        width: 55px;
        height: 55px;
        line-height: 55px;
        font-size: 1.3rem;
    }

    .btn-lg {
        padding: 0.7rem 2rem;
        font-size: 1rem;
    }

    .navbar-brand { font-size: 1.5rem; }

    footer .col-md-4 { margin-bottom: 2rem; }
}

@media (max-width: 576px) {
    .display-2 { font-size: 2rem; }
    .display-5 { font-size: 1.5rem; }

    .hero-title { font-size: 2rem !important; }

    .feature-icon {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }

    .card-body { padding: 1rem; }
    .card-header { padding: 1rem; }
}

/* ===== UTILITY CLASSES ===== */
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }

.shadow-soft {
    box-shadow: var(--shadow-sm);
}

.shadow-gold {
    box-shadow: var(--shadow-gold);
}
