/* =============================================================================
   UAE.COM Email IDs — Premium Luxury Design System
   Navy (#0A1628) · Gold (#C5A55A) · Emerald (#00A86B) · Ivory (#E8E4DC)
   ============================================================================= */

/* ===== CSS Variables ===== */
:root {
    /* Core Palette */
    --navy: #0A1628;
    --navy-light: #111D2E;
    --navy-mid: #162236;
    --navy-surface: #1A2940;
    --gold: #C5A55A;
    --gold-light: #D4B96E;
    --gold-dark: #A68B42;
    --emerald: #00A86B;
    --emerald-light: #00C97E;
    --emerald-dark: #008F5A;
    --ivory: #E8E4DC;
    --ivory-light: #F5F3EF;
    --ivory-muted: #B8B4AC;
    --white: #FFFFFF;
    --black: #000000;

    /* Semantic Colors */
    --bg-primary: var(--navy);
    --bg-secondary: var(--navy-light);
    --bg-surface: var(--navy-surface);
    --bg-card: rgba(17, 29, 46, 0.7);
    --text-primary: var(--ivory-light);
    --text-secondary: var(--ivory-muted);
    --text-heading: var(--white);
    --text-accent: var(--gold);
    --text-muted: rgba(184, 180, 172, 0.7);
    --text-body: var(--ivory-light);
    --border-color: rgba(197, 165, 90, 0.2);
    --border-hover: rgba(197, 165, 90, 0.4);

    /* Glass-morphism */
    --glass-bg: rgba(17, 29, 46, 0.6);
    --glass-bg-light: rgba(17, 29, 46, 0.2);
    --glass-border: rgba(197, 165, 90, 0.15);
    --glass-blur: 20px;

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.05);

    /* Additional text */
    --text-tertiary: rgba(184, 180, 172, 0.5);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 4px 20px rgba(197, 165, 90, 0.15);
    --shadow-emerald: 0 4px 20px rgba(0, 168, 107, 0.15);

    /* Gradients */
    --gradient-navy: linear-gradient(180deg, #0A1628 0%, #111D2E 100%);
    --gradient-gold: linear-gradient(135deg, #C5A55A 0%, #D4B96E 50%, #A68B42 100%);
    --gradient-emerald: linear-gradient(135deg, #00A86B 0%, #00C97E 100%);
    --gradient-hero: radial-gradient(ellipse at 50% 0%, rgba(197, 165, 90, 0.08) 0%, transparent 60%),
                     radial-gradient(ellipse at 80% 50%, rgba(0, 168, 107, 0.05) 0%, transparent 50%),
                     linear-gradient(180deg, #0A1628 0%, #0D1B2A 100%);
    --gradient-card: linear-gradient(145deg, rgba(17, 29, 46, 0.8) 0%, rgba(10, 22, 40, 0.9) 100%);

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

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

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* Light mode overrides */
.light-mode {
    --bg-primary: #F5F3EF;
    --bg-secondary: #FFFFFF;
    --bg-surface: #F8F6F2;
    --bg-card: rgba(255, 255, 255, 0.9);
    --text-primary: #1A2940;
    --text-secondary: #4A5568;
    --text-heading: #0A1628;
    --text-accent: #8B7332;
    --text-muted: #5A6577;
    --text-body: #2D3748;
    --ivory-muted: #4A5568;
    --ivory-light: #1A2940;
    --ivory: #2D3748;
    --white: #0A1628;
    --gold: #8B7332;
    --gold-light: #A68B42;
    --emerald: #007A4D;
    --emerald-light: #009B5E;
    --border-color: rgba(10, 22, 40, 0.12);
    --border-hover: rgba(10, 22, 40, 0.25);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(10, 22, 40, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.1);
    --shadow-gold: 0 4px 20px rgba(166, 139, 66, 0.15);
    --gradient-hero: radial-gradient(ellipse at 50% 0%, rgba(197, 165, 90, 0.06) 0%, transparent 60%),
                     linear-gradient(180deg, #F5F3EF 0%, #FFFFFF 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 246, 242, 0.98) 100%);
    --gradient-navy: linear-gradient(180deg, #F5F3EF 0%, #FFFFFF 100%);
    --gradient-gold: linear-gradient(135deg, #C5A55A 0%, #D4B96E 50%, #A68B42 100%);
    --navy: #F5F3EF;
    --navy-light: #FFFFFF;
    --navy-mid: #F0EDE7;
    --navy-surface: #F8F6F2;
    --gold-dark: #8B7332;
    --glass-bg-light: rgba(255, 255, 255, 0.5);
    --border-subtle: rgba(10, 22, 40, 0.08);
    --text-tertiary: #6B7280;
}

/* ===== Base Styles ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

body.premium-theme {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ===== Typography ===== */
.premium-h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.premium-h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.premium-h3 {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 600;
    color: var(--text-heading);
    line-height: 1.2;
}

.premium-h4 {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 600;
    color: var(--text-heading);
    line-height: 1.3;
}

.premium-body {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.7;
}

.premium-small {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.premium-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
}

.gold-text {
    color: var(--gold);
}

.emerald-text {
    color: var(--emerald);
}

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

/* ===== Glass-morphism ===== */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

.glass-card {
    background: var(--gradient-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.glass-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

.glass-input {
    background: rgba(17, 29, 46, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-base);
    outline: none;
    width: 100%;
}

.glass-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(197, 165, 90, 0.15);
}

.glass-input::placeholder {
    color: var(--text-secondary);
}

.light-mode .glass-input {
    background: rgba(245, 243, 239, 0.8);
    border-color: rgba(10, 22, 40, 0.15);
}

/* ===== Buttons ===== */
.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--gradient-gold);
    color: #0A1628;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
}

.btn-gold:hover {
    box-shadow: var(--shadow-gold);
    transform: translateY(-1px);
    filter: brightness(1.1);
}

.btn-emerald {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--gradient-emerald);
    color: #FFFFFF;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
}

.btn-emerald:hover {
    box-shadow: var(--shadow-emerald);
    transform: translateY(-1px);
    filter: brightness(1.1);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 27px;
    background: transparent;
    color: var(--gold);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    border: 1.5px solid var(--gold);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
}

.btn-outline:hover {
    background: rgba(197, 165, 90, 0.1);
    box-shadow: var(--shadow-gold);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9375rem;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--gold);
}

/* ===== Navigation ===== */
.premium-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: all var(--transition-base);
}

.premium-nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.premium-nav.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.light-mode .premium-nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: rgba(10, 22, 40, 0.08);
}

.premium-nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-heading);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
}

.premium-nav-logo .logo-mark {
    width: 36px;
    height: 36px;
    background: var(--gradient-gold);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0A1628;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
}

.premium-nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.premium-nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
    position: relative;
}

.premium-nav-links a:hover,
.premium-nav-links a.active {
    color: var(--gold);
}

.premium-nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
}

.premium-nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* ===== Cards ===== */
.premium-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all var(--transition-base);
}

.premium-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-gold);
}

.premium-card-gold {
    background: var(--gradient-card);
    border: 1.5px solid var(--gold);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: relative;
    overflow: hidden;
}

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

/* ===== Badges ===== */
.badge-gold {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: rgba(197, 165, 90, 0.15);
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    border: 1px solid rgba(197, 165, 90, 0.3);
}

.badge-emerald {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: rgba(0, 168, 107, 0.15);
    color: var(--emerald);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    border: 1px solid rgba(0, 168, 107, 0.3);
}

.badge-vip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: var(--gradient-gold);
    color: #0A1628;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius-full);
}

.badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: rgba(192, 192, 192, 0.15);
    color: #C0C0C0;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius-full);
    border: 1px solid rgba(192, 192, 192, 0.3);
}

/* ===== Dividers ===== */
.premium-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-color) 50%, transparent 100%);
    border: none;
    margin: 32px 0;
}

.premium-divider-gold {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
    border: none;
    margin: 32px 0;
}

/* ===== Arabesque Pattern Background ===== */
.arabesque-bg {
    position: relative;
}

.arabesque-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(197, 165, 90, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 168, 107, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* ===== Sections ===== */
.premium-section {
    padding: 80px 24px;
    position: relative;
}

.premium-section-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.premium-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.premium-section-header .premium-label {
    margin-bottom: 12px;
    display: block;
}

.premium-section-header .premium-h2 {
    margin-bottom: 16px;
}

.premium-section-header .premium-body {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-secondary);
}

/* ===== Footer ===== */
.premium-footer {
    background: var(--navy);
    border-top: 1px solid var(--border-color);
    padding: 64px 24px 32px;
}

.premium-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.premium-footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.premium-footer a:hover {
    color: var(--gold);
}

/* ===== Scrollbar ===== */
body.premium-theme::-webkit-scrollbar {
    width: 8px;
}

body.premium-theme::-webkit-scrollbar-track {
    background: var(--navy);
}

body.premium-theme::-webkit-scrollbar-thumb {
    background: var(--navy-surface);
    border-radius: 4px;
}

body.premium-theme::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}

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

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

@keyframes pulseGold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(197, 165, 90, 0.3); }
    50% { box-shadow: 0 0 0 8px rgba(197, 165, 90, 0); }
}

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

.animate-delay-1 { animation-delay: 0.1s; opacity: 0; }
.animate-delay-2 { animation-delay: 0.2s; opacity: 0; }
.animate-delay-3 { animation-delay: 0.3s; opacity: 0; }
.animate-delay-4 { animation-delay: 0.4s; opacity: 0; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .premium-nav-links {
        display: none;
    }

    .premium-section {
        padding: 48px 16px;
    }

    .premium-h1 {
        font-size: 2rem;
    }

    .premium-h2 {
        font-size: 1.5rem;
    }

    /* Fix hero orbs causing overflow */
    .hero-orb {
        display: none !important;
    }
}

/* ===== Utility Classes ===== */
.container-premium {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }

.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .grid-3, .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.p-4 { padding: 16px; }
.p-6 { padding: 24px; }
.p-8 { padding: 32px; }

.w-full { width: 100%; }
.h-full { height: 100%; }
.relative { position: relative; }
.absolute { position: absolute; }
.overflow-hidden { overflow: hidden; }
.hidden { display: none !important; }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

/* ===== Skip Link (Screen Reader Only) ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
.sr-only:focus {
    position: absolute;
    width: auto;
    height: auto;
    padding: 8px 16px;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    z-index: 9999;
    background: var(--gold);
    color: #0A1628;
    font-weight: 600;
    border-radius: 6px;
    top: 8px;
    left: 8px;
}

/* ===== Light Mode — Additional Overrides ===== */

/* Navigation in light mode */
.light-mode .premium-nav {
    color: #1A2940;
}

.light-mode .premium-nav-logo span {
    color: #0A1628;
}

.light-mode .premium-nav-links a {
    color: #4A5568;
}

.light-mode .premium-nav-links a:hover,
.light-mode .premium-nav-links a.active {
    color: #8B7332;
}

.light-mode .premium-nav-actions .btn-ghost {
    color: #1A2940;
}

.light-mode .premium-nav-actions .btn-ghost:hover {
    color: #8B7332;
    background: rgba(139, 115, 50, 0.08);
}

/* Footer in light mode */
.light-mode .premium-footer {
    background: #1A2940;
    color: #E8E4DC;
}

.light-mode .premium-footer a {
    color: #B8B4AC;
}

.light-mode .premium-footer a:hover {
    color: #C5A55A;
}

.light-mode .premium-footer .premium-nav-logo span {
    color: #FFFFFF;
}

/* Cards in light mode */
.light-mode .glass-card,
.light-mode .premium-card {
    background: #FFFFFF;
    border-color: rgba(10, 22, 40, 0.08);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.light-mode .glass-card:hover,
.light-mode .premium-card:hover {
    border-color: rgba(139, 115, 50, 0.3);
    box-shadow: 0 4px 20px rgba(139, 115, 50, 0.12);
}

.light-mode .premium-card-gold {
    background: #FFFFFF;
}

/* Inputs in light mode */
.light-mode .glass-input,
.light-mode .premium-input {
    background: #FFFFFF !important;
    border-color: rgba(10, 22, 40, 0.15) !important;
    color: #1A2940 !important;
}

.light-mode .glass-input::placeholder,
.light-mode .premium-input::placeholder {
    color: #94A3B8 !important;
}

.light-mode .glass-input:focus,
.light-mode .premium-input:focus {
    border-color: #8B7332 !important;
    box-shadow: 0 0 0 3px rgba(139, 115, 50, 0.12) !important;
}

/* Buttons in light mode */
.light-mode .btn-ghost:hover {
    background: rgba(10, 22, 40, 0.05);
}

.light-mode .btn-outline {
    color: #8B7332;
    border-color: #8B7332;
}

.light-mode .btn-outline:hover {
    background: rgba(139, 115, 50, 0.08);
}

/* Badges in light mode */
.light-mode .badge-gold {
    background: rgba(139, 115, 50, 0.1);
    color: #8B7332;
    border-color: rgba(139, 115, 50, 0.25);
}

.light-mode .badge-emerald {
    background: rgba(0, 168, 107, 0.1);
    color: #007A4D;
    border-color: rgba(0, 168, 107, 0.25);
}

/* Mobile panel in light mode */
.light-mode #premium-mobile-panel {
    background: #FFFFFF !important;
}

.light-mode .mobile-nav-link:hover {
    background: rgba(10, 22, 40, 0.04);
}

/* Hero orbs in light mode - make them subtler */
.light-mode .hero-orb {
    opacity: 0.06 !important;
}

/* Generic text color overrides for light mode */
.light-mode [style*="color:var(--ivory-muted)"],
.light-mode [style*="color: var(--ivory-muted)"] {
    color: #4A5568 !important;
}

/* Scrollbar in light mode */
.light-mode::-webkit-scrollbar-track {
    background: #F5F3EF;
}

.light-mode::-webkit-scrollbar-thumb {
    background: #D1CCC4;
}

.light-mode::-webkit-scrollbar-thumb:hover {
    background: #8B7332;
}

/* Selection in light mode */
.light-mode ::selection {
    background: rgba(139, 115, 50, 0.2);
    color: #0A1628;
}

/* ===== Light Mode — Force Overrides for Inline Styles ===== */
/* These use high-specificity selectors to override hardcoded inline colors */

/* Force all white text to dark in light mode */
body.light-mode [style*="color:#FFFFFF"],
body.light-mode [style*="color: #FFFFFF"],
body.light-mode [style*="color:#fff"],
body.light-mode [style*="color: #fff"],
body.light-mode [style*="color:white"],
body.light-mode [style*="color: white"] {
    color: #0A1628 !important;
}

/* Force light gray text to dark in light mode */
body.light-mode [style*="color:rgba(184,180,172"],
body.light-mode [style*="color: rgba(184,180,172"],
body.light-mode [style*="color:#B8B4AC"],
body.light-mode [style*="color: #B8B4AC"],
body.light-mode [style*="color:#b8b4ac"] {
    color: #4A5568 !important;
}

/* Force ivory-muted inline to dark in light mode */
body.light-mode [style*="color:var(--ivory-muted)"],
body.light-mode [style*="color: var(--ivory-muted)"] {
    color: #4A5568 !important;
}

/* Force ivory-light inline to dark in light mode */
body.light-mode [style*="color:var(--ivory-light)"],
body.light-mode [style*="color: var(--ivory-light)"] {
    color: #1A2940 !important;
}

/* Force dark navy backgrounds to light in light mode */
body.light-mode [style*="background:#0A1628"],
body.light-mode [style*="background: #0A1628"] {
    background: #F5F3EF !important;
}

body.light-mode [style*="background:rgba(22,37,68"],
body.light-mode [style*="background: rgba(22,37,68"] {
    background: rgba(139, 115, 50, 0.06) !important;
}

body.light-mode [style*="background:rgba(17,29,46"],
body.light-mode [style*="background: rgba(17,29,46"] {
    background: rgba(139, 115, 50, 0.04) !important;
}

body.light-mode [style*="background:rgba(10,22,40"],
body.light-mode [style*="background: rgba(10,22,40"] {
    background: rgba(10, 22, 40, 0.04) !important;
}

/* Force dark gradient backgrounds to light in light mode */
body.light-mode [style*="background:linear-gradient(180deg,#111D2E"],
body.light-mode [style*="background:linear-gradient(180deg, #111D2E"] {
    background: linear-gradient(180deg, #F5F3EF, #FFFFFF) !important;
}

/* Force dark borders to light in light mode */
body.light-mode [style*="border-color:rgba(197,165,90"],
body.light-mode [style*="border: 1px solid rgba(197,165,90"],
body.light-mode [style*="border:1px solid rgba(197,165,90"] {
    border-color: rgba(139, 115, 50, 0.2) !important;
}

/* Gold text stays gold but slightly darker in light mode for contrast */
body.light-mode [style*="color:#C5A55A"],
body.light-mode [style*="color: #C5A55A"] {
    color: #8B7332 !important;
}

/* Emerald stays but slightly darker */
body.light-mode [style*="color:#00A86B"],
body.light-mode [style*="color: #00A86B"] {
    color: #007A4D !important;
}

/* Fix gold shimmer text in light mode */
.light-mode .gold-shimmer {
    background: linear-gradient(90deg, #8B7332 0%, #A68B42 50%, #8B7332 100%) !important;
    background-size: 200% auto !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* ===== Selection ===== */
body.premium-theme ::selection {
    background: rgba(197, 165, 90, 0.3);
    color: var(--white);
}

/* Premium Input - alias for glass-input with dark theme */
.premium-input {
    background: rgba(17, 29, 46, 0.5) !important;
    border: 1px solid rgba(197, 165, 90, 0.15) !important;
    border-radius: 12px !important;
    color: #B8B4AC !important;
    font-family: 'Inter', sans-serif !important;
    transition: all 0.3s ease !important;
    outline: none !important;
}
.premium-input:focus {
    border-color: #C5A55A !important;
    box-shadow: 0 0 0 3px rgba(197, 165, 90, 0.15) !important;
}
.premium-input::placeholder {
    color: rgba(184, 180, 172, 0.5) !important;
}
