/* ==========================================================================
   AuraToolkit360 — Professional Color System & Luxury Motion FX
   Palette: Pure White + Razor-Sharp Jet Black + Royal Blue + Vibrant Highlights
   100% High-Contrast, WCAG AAA Readability, 60fps Hardware Acceleration
   ========================================================================== */

:root {
    /* Base Surfaces */
    --aura-bg: #f1f5f9;
    --aura-surface: #ffffff;
    --aura-surface-subtle: #f8fafc;
    --aura-border: #cbd5e1;
    --aura-border-strong: #94a3b8;
    
    /* Black / High-Contrast Typography */
    --aura-black: #0f172a;
    --aura-text-main: #0f172a;
    --aura-text-body: #1e293b;
    --aura-text-muted: #334155;
    
    /* Royal Blue — The Anchor Brand Accent */
    --aura-blue: #2563eb;
    --aura-blue-dark: #1d4ed8;
    --aura-blue-hover: #1e40af;
    --aura-blue-light: #eff6ff;
    --aura-blue-border: #bfdbfe;
    
    /* Attractive Highlights (Badges, Accents, Success) */
    --aura-highlight-emerald: #047857;
    --aura-highlight-emerald-bg: #ecfdf5;
    --aura-highlight-emerald-border: #a7f3d0;
    
    --aura-highlight-amber: #b45309;
    --aura-highlight-amber-bg: #fffbeb;
    --aura-highlight-amber-border: #fde68a;

    --aura-glow-primary: rgba(37, 99, 235, 0.15);
    --aura-glow-secondary: rgba(59, 130, 246, 0.1);
}

/* ==========================================================================
   PRIMARY UNIVERSAL STYLING (Crisp White + Jet Black + Royal Blue)
   ========================================================================== */

/* Universal Clean Reset for Converter Tools & Standalone Pages */
body {
    background-color: var(--aura-bg) !important;
    color: var(--aura-text-body) !important;
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    padding-top: 76px !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 768px) {
    body {
        padding-top: 66px !important;
    }
}

/* ==========================================================================
   CLEAN SAAS LIGHT NAVBAR (Spec-Matched to media_1790969611056.png)
   ========================================================================== */
.navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04), 0 1px 2px -1px rgba(0, 0, 0, 0.02) !important;
    position: fixed !important;
    top: 0 !important; left: 0 !important; right: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    z-index: 1000 !important;
    padding: 0.55rem 1.5rem !important;
    box-sizing: border-box !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease !important;
}

.navbar.nav-hidden {
    transform: translateY(-100%) !important;
}

.nav-container {
    max-width: 1440px !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 0.75rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Logo - Keep original logo symbol & favicon, render high-contrast dark text */
.logo {
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.65rem !important;
    flex-shrink: 0 !important;
}

.logo-symbol {
    width: 34px !important;
    height: 34px !important;
    background: linear-gradient(135deg, #38bdf8, #8b5cf6) !important;
    border-radius: 9px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 3px 10px rgba(56, 189, 248, 0.25) !important;
    flex-shrink: 0 !important;
}

.logo-text {
    color: #0f172a !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    display: inline-flex !important;
    align-items: center !important;
}

.logo-text span {
    background: linear-gradient(135deg, #2563eb, #7c3aed) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: #2563eb !important;
    font-weight: 800 !important;
}

/* Center Nav Links */
.nav-center {
    display: flex !important;
    gap: 0.25rem !important;
    align-items: center !important;
}

.nav-link {
    text-decoration: none !important;
    color: #334155 !important;
    font-weight: 500 !important;
    padding: 0.42rem 0.72rem !important;
    border-radius: 8px !important;
    font-size: 0.88rem !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    white-space: nowrap !important;
    border: 1px solid transparent !important;
}

.nav-link:hover {
    color: #2563eb !important;
    background: #f8fafc !important;
}

/* Active Pill Style (e.g. Home pill in user spec image) */
.nav-link.active {
    color: #2563eb !important;
    background: #eff6ff !important;
    font-weight: 600 !important;
    border: 1px solid rgba(37, 99, 235, 0.15) !important;
}

.nav-chevron {
    font-size: 0.7rem !important;
    color: #64748b !important;
    margin-left: 2px !important;
    transition: transform 0.2s ease !important;
    display: inline-block !important;
}

/* Dropdown Menu */
.nav-item-dropdown {
    position: relative !important;
    display: inline-block !important;
}

.nav-item-dropdown:hover .nav-chevron {
    transform: rotate(180deg) !important;
    color: #2563eb !important;
}

.nav-dropdown-content {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 210px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 0.45rem !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04) !important;
    z-index: 1010 !important;
    margin-top: 4px !important;
}

.nav-item-dropdown:hover .nav-dropdown-content,
.nav-dropdown-content:hover {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.2rem !important;
}

.nav-dropdown-content a {
    color: #334155 !important;
    text-decoration: none !important;
    padding: 0.5rem 0.75rem !important;
    font-size: 0.83rem !important;
    font-weight: 500 !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    transition: all 0.15s ease !important;
}

.nav-dropdown-content a:hover {
    background: #f1f5f9 !important;
    color: #2563eb !important;
}

.nav-dropdown-content a.dropdown-view-all {
    color: #2563eb !important;
    font-weight: 600 !important;
    border-top: 1px solid #f1f5f9 !important;
    margin-top: 0.25rem !important;
    padding-top: 0.5rem !important;
}

/* Right Action Buttons (media_1790969611056.png) */
.nav-right-actions {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    flex-shrink: 0 !important;
}

.btn-aurahr-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    height: 36px !important;
    padding: 0 0.85rem !important;
    border-radius: 9999px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #334155 !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.btn-aurahr-pill:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #2563eb !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

.btn-bookmark-nav {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    height: 36px !important;
    padding: 0 0.85rem !important;
    border-radius: 9999px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #334155 !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.btn-bookmark-nav:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #2563eb !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

/* Global Lang Switcher Buttons */
.lang-switcher {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
}

.lang-switcher-btn,
.navbar .lang-switcher-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    height: 36px !important;
    padding: 0 0.75rem !important;
    border-radius: 9999px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #334155 !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.lang-switcher-btn:hover,
.navbar .lang-switcher-btn:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #2563eb !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

.lang-dropdown-menu {
    display: none !important;
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    min-width: 170px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 0.4rem !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08) !important;
    flex-direction: column !important;
    gap: 0.2rem !important;
    z-index: 2000 !important;
}

.lang-dropdown-menu.show {
    display: flex !important;
}

.lang-option {
    display: flex !important;
    align-items: center !important;
    gap: 0.55rem !important;
    padding: 0.45rem 0.65rem !important;
    border-radius: 8px !important;
    color: #334155 !important;
    text-decoration: none !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    transition: all 0.15s ease !important;
    white-space: nowrap !important;
}

.lang-option:hover {
    background: #f1f5f9 !important;
    color: #2563eb !important;
}

.lang-option.active {
    background: #eff6ff !important;
    color: #2563eb !important;
}

/* Mobile Hamburger Menu */
.nav-hamburger {
    display: none !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    width: 36px !important;
    height: 36px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 9px 8px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.nav-hamburger span {
    display: block !important;
    width: 100% !important;
    height: 2px !important;
    background: #334155 !important;
    border-radius: 2px !important;
    transition: all 0.25s ease !important;
}

/* Responsive Media Queries */
@media (max-width: 1060px) {
    .nav-center { display: none !important; }
    .nav-hamburger { display: flex !important; }
    .btn-bookmark-nav { display: none !important; }
}

@media (max-width: 640px) {
    .btn-aurahr-pill { display: none !important; }
    .navbar { padding: 0.5rem 1rem !important; }
}

.mobile-nav-drawer {
    display: none !important;
    width: 100% !important;
    background: #ffffff !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    padding: 1rem 1.25rem 1.4rem !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.mobile-nav-drawer.open {
    display: block !important;
    animation: mobileDrawerFade 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

@keyframes mobileDrawerFade {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 1241px) {
    .mobile-nav-drawer,
    .mobile-nav-drawer.open {
        display: none !important;
    }
}

.mobile-nav-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.45rem !important;
}

.mobile-nav-item {
    background: #f8fafc !important;
    color: #1e293b !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 10px !important;
    padding: 0.75rem 1rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    font-weight: 600 !important;
    font-size: 0.92rem !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    background: rgba(37, 99, 235, 0.08) !important;
    color: #2563eb !important;
    border-color: rgba(37, 99, 235, 0.25) !important;
    transform: translateX(4px) !important;
}

.mobile-lang-container {
    padding: 0.75rem 0.5rem 0.2rem !important;
    margin-top: 0.6rem !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.mobile-lang-title {
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    color: #64748b !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 0.5rem !important;
}

.mobile-lang-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.4rem !important;
}

.mobile-lang-item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    padding: 0.45rem 0.3rem !important;
    background: #f8fafc !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 8px !important;
    font-size: 0.76rem !important;
    color: #334155 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

.mobile-lang-item:hover,
.mobile-lang-item.active {
    background: rgba(37, 99, 235, 0.1) !important;
    border-color: rgba(37, 99, 235, 0.3) !important;
    color: #2563eb !important;
    font-weight: 700 !important;
}

/* Large Laptops & Standard Monitors (1240px - 1440px) */
@media (max-width: 1440px) {
    .nav-container {
        gap: 0.5rem !important;
    }
    .nav-link,
    .nav-links a {
        padding: 0.42rem 0.55rem !important;
        font-size: 0.84rem !important;
    }
    .btn-bookmark-nav {
        display: none !important;
    }
    .theme-toggle-btn .theme-label {
        display: none !important;
    }
    .theme-toggle-btn {
        padding: 0 0.6rem !important;
        width: 36px !important;
    }
}

/* Laptops & Tablets in Landscape (below 1240px) */
@media (max-width: 1240px) {
    .nav-center {
        display: none !important;
    }
    .nav-hamburger {
        display: flex !important;
    }
    .btn-bookmark-nav {
        display: none !important;
    }
}

/* Tablets & Mobile (below 768px) */
@media (max-width: 768px) {
    .navbar {
        padding: 0.55rem 0.85rem !important;
    }
    .btn-aura-saas {
        display: none !important;
    }
    .btn-try-hr {
        display: none !important;
    }
    .navbar .lang-switcher-btn .lang-current-label {
        display: none !important;
    }
}

/* Headings & Page Header */
.page-head h1,
.container h1,
main h1 {
    color: var(--aura-black) !important;
    font-weight: 800 !important;
    letter-spacing: -0.025em !important;
}

.page-head p,
.container > p,
.hero-desc {
    color: var(--aura-text-muted) !important;
    font-weight: 500 !important;
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
}

/* Attractive Highlight Badge / Eyebrow */
.highlight-badge,
.hero-eyebrow,
.pulse-badge,
.nisab-badge {
    background: var(--aura-highlight-emerald-bg) !important;
    border: 1px solid var(--aura-highlight-emerald-border) !important;
    color: var(--aura-highlight-emerald) !important;
    font-weight: 700 !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
}

/* High-Contrast Prominent Outline Cards (WCAG AAA contrast against white backgrounds) */
.tool-card,
.info-card,
.calc-card,
.summary-card,
.detail-card,
.unit-box,
.stat-badge-box,
.highlight-card,
.pair-card,
.fun-fact-card,
.metric-box,
.conversion-card,
.faq-box,
.trending-card,
.widget-box,
.guide-card,
.testimonial-card,
.directory-category-card,
.blog-card,
.pillar-card,
.tool-box,
.featured-editorial-card,
.related-card,
.step-box {
    background: var(--aura-surface) !important;
    border: 1.5px solid var(--aura-border) !important;
    border-radius: 18px !important;
    color: var(--aura-text-body) !important;
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04) !important;
    backdrop-filter: none !important;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, border-color 0.22s ease !important;
}

.tool-card:hover,
.info-card:hover,
.calc-card:hover,
.highlight-card:hover,
.conversion-card:hover,
.widget-box:hover,
.guide-card:hover,
.testimonial-card:hover,
.directory-category-card:hover,
.related-card:hover,
.blog-card:hover,
.pillar-card:hover,
.detail-card:hover {
    border-color: #2563eb !important;
    box-shadow: 0 16px 32px -4px rgba(37, 99, 235, 0.16), 0 4px 12px -2px rgba(15, 23, 42, 0.06) !important;
    transform: translateY(-3px) !important;
}

/* Sub-cards and nested row boxes inside widgets */
.activity-row,
.mini-tool-card,
.feature-box,
.stat-badge-box,
.step-box {
    background: var(--aura-bg) !important;
    border: 1.5px solid var(--aura-border) !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04) !important;
}

/* File Upload Box (Drop Zone) - Distinct High-Contrast Dashed Border */
.file-upload-box,
.upload-area,
#dropZone {
    border: 2px dashed #94a3b8 !important;
    background: #f8fafc !important;
    border-radius: 16px !important;
    transition: all 0.2s ease !important;
}

.file-upload-box:hover,
.upload-area:hover,
#dropZone:hover {
    border-color: #2563eb !important;
    background: #eff6ff !important;
}

/* Tool Landscape Banner & Icon Container - Crisp Prominent Inset Box */
.tool-icon,
.tool-hero-banner {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 74px !important;
    background: #f1f5f9 !important;
    border: 1.5px solid var(--aura-border) !important;
    border-radius: 14px !important;
    margin-bottom: 0.95rem !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    flex-shrink: 0 !important;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.03) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding: 2px !important;
}

.tool-card:hover .tool-icon {
    background: #eff6ff !important;
    border-color: #93c5fd !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.1) !important;
}

/* Card Headings & Titles — Razor-Sharp Jet Black */
.tool-card h2, .tool-card h3, .tool-card h4,
.info-card h2, .info-card h3,
.calc-card h3,
.summary-card h3,
.trending-name,
.widget-head h4,
.activity-title,
.mini-title,
.guide-card h4,
.user-meta-name,
.directory-cat-title,
.feature-box h4,
.section-title {
    color: var(--aura-black) !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em !important;
}

.widget-head {
    border-bottom: 1.5px solid var(--aura-border) !important;
}

.directory-cat-title {
    border-bottom: 1.5px solid var(--aura-border) !important;
    padding-bottom: 0.6rem !important;
}

.testimonial-text {
    color: var(--aura-text-body) !important;
    font-weight: 500 !important;
}

.user-meta-role,
.mini-desc,
.activity-time {
    color: var(--aura-text-muted) !important;
}

/* Directory Links — Clean Pill Cards with Blue Accent Hover */
.dir-link {
    background: var(--aura-bg) !important;
    border: 1px solid var(--aura-border) !important;
    color: var(--aura-black) !important;
    font-weight: 600 !important;
}

.dir-link:hover {
    background: var(--aura-blue-light) !important;
    border-color: var(--aura-blue-border) !important;
    color: var(--aura-blue-dark) !important;
    transform: translateX(2px) !important;
}

/* Tool Buttons on Cards */
.btn-use-tool {
    background: var(--aura-blue-light) !important;
    color: var(--aura-blue-dark) !important;
    border: 1px solid var(--aura-blue-border) !important;
    font-weight: 700 !important;
}

.btn-use-tool:hover {
    background: linear-gradient(135deg, var(--aura-blue-dark), var(--aura-blue)) !important;
    color: #ffffff !important;
    border-color: transparent !important;
}

/* Converter Hub Filter Chips & Stats Banner */
.chip-btn {
    background: #ffffff !important;
    border: 1px solid var(--aura-border) !important;
    color: var(--aura-text-body) !important;
    font-weight: 600 !important;
}

.chip-btn:hover {
    background: var(--aura-blue-light) !important;
    border-color: var(--aura-blue-border) !important;
    color: var(--aura-blue-dark) !important;
}

.stats-banner {
    background: #ffffff !important;
    border: 1px solid var(--aura-border) !important;
}

.stats-banner .stat-number {
    color: var(--aura-blue-dark) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
}

.stats-banner .stat-label {
    color: var(--aura-text-muted) !important;
    font-weight: 700 !important;
}

.info-card p,
.info-card li,
.faq-box p {
    color: var(--aura-text-muted) !important;
    line-height: 1.7 !important;
}

/* Form Inputs, Selects & Textareas — Razor-Sharp Crisp Fields */
label,
.input-group label,
.form-row label,
.currency-field label,
.unit-col label,
.field-group label,
.zakat-input-row label {
    color: var(--aura-black) !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    display: block !important;
    margin-bottom: 0.45rem !important;
}

input[type="text"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="email"],
input[type="search"],
select,
textarea {
    background: #ffffff !important;
    border: 1.5px solid var(--aura-border-strong) !important;
    border-radius: 12px !important;
    color: var(--aura-black) !important;
    font-weight: 600 !important;
    font-size: 0.98rem !important;
    padding: 0.75rem 1rem !important;
    transition: all 0.2s ease !important;
    outline: none !important;
}

input:focus,
select:focus,
textarea:focus {
    background: #ffffff !important;
    border-color: var(--aura-blue) !important;
    box-shadow: 0 0 0 3.5px rgba(37, 99, 235, 0.15) !important;
    color: var(--aura-black) !important;
}

/* Primary Royal Blue Action Buttons */
.btn-action,
.btn-primary,
.btn-scan,
button.btn-convert,
.btn-mini {
    background: linear-gradient(135deg, var(--aura-blue-dark) 0%, var(--aura-blue) 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    border: 1px solid var(--aura-blue-dark) !important;
    border-radius: 12px !important;
    padding: 0.85rem 2rem !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.32) !important;
    transition: all 0.25s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
}

.btn-action:hover,
.btn-primary:hover,
.btn-scan:hover,
button.btn-convert:hover,
.btn-mini:hover {
    background: linear-gradient(135deg, var(--aura-blue-hover) 0%, var(--aura-blue-dark) 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.42) !important;
    color: #ffffff !important;
}

.btn-secondary {
    background: var(--aura-surface-subtle) !important;
    border: 1px solid var(--aura-border-strong) !important;
    color: var(--aura-black) !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
    padding: 0.85rem 1.6rem !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.btn-secondary:hover {
    background: #e2e8f0 !important;
    color: var(--aura-black) !important;
}

/* ==========================================================================
   RESULT HERO & CALCULATION BOXES (Clean Royal Blue Highlight)
   ========================================================================== */

.hero-age-box,
.summary-card,
.rate-summary-box,
.formula-box,
.calc-result-badge {
    background: var(--aura-blue-light) !important;
    border: 1.5px solid var(--aura-blue-border) !important;
    border-radius: 18px !important;
    color: var(--aura-black) !important;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08) !important;
}

.hero-age-label,
.emi-hero-label,
.zakat-hero-label {
    color: var(--aura-blue-hover) !important;
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

.hero-age-main,
.emi-hero-val,
.zakat-hero-val,
.big-val {
    color: var(--aura-blue-dark) !important;
    font-size: 2.3rem !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
}

.hero-age-main span,
.big-val span {
    color: var(--aura-blue) !important;
}

.hero-age-sub,
.rate-summary-box .sub-rate,
.formula-box .formula-text {
    color: var(--aura-text-muted) !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
}

/* Stat Grid Cards & Mini Metrics */
.stat-badge-box .val,
.metric-box .metric-val,
.pair-rate,
.calc-result-badge {
    color: var(--aura-blue-dark) !important;
    font-weight: 800 !important;
}

.stat-badge-box .lbl,
.metric-box .metric-lbl,
.pair-name {
    color: var(--aura-text-muted) !important;
    font-weight: 700 !important;
    font-size: 0.78rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
}

/* Unit and Category Switcher Buttons */
.unit-toggle button,
.tab-btn,
.cat-chip {
    background: #ffffff !important;
    border: 1.5px solid var(--aura-border-strong) !important;
    color: var(--aura-text-body) !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    padding: 0.65rem 1.4rem !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.unit-toggle button:hover,
.tab-btn:hover,
.cat-chip:hover {
    border-color: var(--aura-blue) !important;
    color: var(--aura-blue) !important;
    background: var(--aura-blue-light) !important;
}

.unit-toggle button.active,
.tab-btn.active,
.cat-chip.active {
    background: var(--aura-blue) !important;
    border-color: var(--aura-blue-dark) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important;
}

/* Tables */
table { width: 100%; border-collapse: collapse; }
th {
    background-color: var(--aura-surface-subtle) !important;
    color: var(--aura-black) !important;
    font-weight: 800 !important;
    border-bottom: 1.5px solid var(--aura-border-strong) !important;
    padding: 0.85rem 1rem !important;
}
td {
    background-color: #ffffff !important;
    color: var(--aura-text-body) !important;
    border-bottom: 1px solid var(--aura-border) !important;
    padding: 0.85rem 1rem !important;
}
tr:hover td {
    background-color: var(--aura-surface-subtle) !important;
}

/* Footer — Crisp Deep Charcoal with Pure White Text */
footer {
    background: #0f172a !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #94a3b8 !important;
    margin-top: 3rem !important;
}

.footer-col h3, .footer-col h4 {
    color: #ffffff !important;
    font-weight: 800 !important;
}

.footer-col p, .footer-links a, .footer-bottom {
    color: #94a3b8 !important;
}

.footer-links a:hover {
    color: #60a5fa !important;
}

/* Theme Toggle Button */
.theme-toggle-pill {
    background: #ffffff !important;
    border: 1.5px solid var(--aura-border-strong) !important;
    color: var(--aura-black) !important;
    border-radius: 999px !important;
    padding: 0.42rem 0.95rem !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    cursor: pointer !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
    transition: all 0.2s ease !important;
}

.theme-toggle-pill:hover {
    background: var(--aura-blue-light) !important;
    border-color: var(--aura-blue) !important;
    color: var(--aura-blue) !important;
    transform: scale(1.04) !important;
}

/* ==========================================================================
   OPTIONAL DARK MODE OVERRIDES (Deep Obsidian Black + Crisp White)
   ========================================================================== */
html[data-theme="dark"] {
    --aura-bg: #090d16;
    --aura-surface: #111827;
    --aura-surface-subtle: #1f2937;
    --aura-border: rgba(255, 255, 255, 0.1);
    --aura-border-strong: rgba(255, 255, 255, 0.18);
    --aura-black: #ffffff;
    --aura-text-main: #ffffff;
    --aura-text-body: #e2e8f0;
    --aura-text-muted: #94a3b8;
    --aura-blue: #38bdf8;
    --aura-blue-dark: #60a5fa;
    --aura-blue-hover: #93c5fd;
    --aura-blue-light: rgba(56, 189, 248, 0.12);
    --aura-blue-border: rgba(56, 189, 248, 0.35);
    --aura-glow-primary: rgba(56, 189, 248, 0.22);
    --aura-glow-secondary: rgba(99, 102, 241, 0.15);
}

html[data-theme="dark"] body {
    background-color: #090d16 !important;
    color: #e2e8f0 !important;
}

html[data-theme="dark"] .navbar {
    background: rgba(11, 15, 25, 0.96) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

html[data-theme="dark"] .logo {
    color: #ffffff !important;
}

html[data-theme="dark"] .logo-text {
    color: #ffffff !important;
}

html[data-theme="dark"] .nav-link {
    color: #94a3b8 !important;
}

html[data-theme="dark"] .nav-link:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #38bdf8 !important;
}

html[data-theme="dark"] .nav-link.active {
    background: rgba(56, 189, 248, 0.12) !important;
    color: #38bdf8 !important;
}

html[data-theme="dark"] .btn-bookmark-nav {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .theme-toggle-btn {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

html[data-theme="dark"] .lang-switcher-btn {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

html[data-theme="dark"] .lang-dropdown-menu {
    background: #111827 !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5) !important;
}

html[data-theme="dark"] .lang-option {
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .lang-option:hover,
html[data-theme="dark"] .lang-option.active {
    background: rgba(56, 189, 248, 0.12) !important;
    color: #38bdf8 !important;
}

html[data-theme="dark"] .nav-hamburger {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

html[data-theme="dark"] .nav-hamburger span {
    background-color: #ffffff !important;
}

html[data-theme="dark"] .mobile-nav-drawer {
    background: #0f172a !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

html[data-theme="dark"] .mobile-nav-item {
    background: #1e293b !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #e2e8f0 !important;
}

html[data-theme="dark"] .mobile-nav-item:hover,
html[data-theme="dark"] .mobile-nav-item.active {
    background: rgba(56, 189, 248, 0.15) !important;
    color: #38bdf8 !important;
}

html[data-theme="dark"] .mobile-lang-item {
    background: #1e293b !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #e2e8f0 !important;
}

html[data-theme="dark"] .mobile-lang-item:hover,
html[data-theme="dark"] .mobile-lang-item.active {
    background: rgba(56, 189, 248, 0.15) !important;
    color: #38bdf8 !important;
}

html[data-theme="dark"] .tool-card,
html[data-theme="dark"] .info-card,
html[data-theme="dark"] .calc-card,
html[data-theme="dark"] .stat-badge-box,
html[data-theme="dark"] .highlight-card,
html[data-theme="dark"] .pair-card,
html[data-theme="dark"] .trending-card,
html[data-theme="dark"] .widget-box,
html[data-theme="dark"] .guide-card,
html[data-theme="dark"] .testimonial-card,
html[data-theme="dark"] .directory-category-card,
html[data-theme="dark"] .stats-banner,
html[data-theme="dark"] .chip-btn {
    background: #111827 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #e2e8f0 !important;
}

html[data-theme="dark"] .activity-row,
html[data-theme="dark"] .mini-tool-card,
html[data-theme="dark"] .feature-box,
html[data-theme="dark"] .dir-link {
    background: #1a2234 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #e2e8f0 !important;
}

html[data-theme="dark"] input[type="text"],
html[data-theme="dark"] input[type="number"],
html[data-theme="dark"] input[type="date"],
html[data-theme="dark"] input[type="time"],
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
    background: #1a2234 !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
}

html[data-theme="dark"] .theme-toggle-pill {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
}

/* ==========================================================================
   MOTION FX & MICRO-INTERACTIONS
   ========================================================================== */

/* Cursor-Follower Radial Glow */
.aura-glow-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.aura-glow-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 16px 36px -10px var(--aura-glow-primary) !important;
    border-color: var(--aura-blue) !important;
}

.aura-glow-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    background: radial-gradient(650px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), var(--aura-glow-primary), transparent 45%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 1;
}

.aura-glow-card:hover::before {
    opacity: 1;
}

/* Animated Pop-In */
.animate-pop-in {
    animation: auraPopIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes auraPopIn {
    0% { opacity: 0; transform: scale(0.96) translateY(8px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* Canvas Confetti Layer */
#auraConfettiCanvas {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 999999;
}

/* ==========================================================================
   GLOBAL FOOTER (Spec-Matched AuraToolkit360 Dark Brand Footer)
   ========================================================================== */
footer, .footer, body footer, .aura-footer-v2, footer.aura-footer-v2 {
    background-color: #090D16 !important;
    background: #090D16 !important;
    color: #94A3B8 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 56px 24px 32px !important;
    box-shadow: none !important;
    font-family: inherit !important;
    position: relative !important;
    z-index: 10 !important;
}

.aura-footer-v2 .footer-inner,
footer .footer-inner {
    max-width: 1280px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: 1.6fr 1fr 1fr 1fr !important;
    gap: 48px !important;
    background: transparent !important;
}

@media (max-width: 992px) {
    .aura-footer-v2 .footer-inner,
    footer .footer-inner {
        grid-template-columns: 1fr 1fr !important;
        gap: 32px !important;
    }
}

@media (max-width: 576px) {
    .aura-footer-v2 .footer-inner,
    footer .footer-inner {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }
}

/* Brand Column */
.aura-footer-v2 .footer-col-brand,
footer .footer-col-brand {
    display: flex !important;
    flex-direction: column !important;
}

.aura-footer-v2 .footer-brand-logo,
footer .footer-brand-logo {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-decoration: none !important;
    margin-bottom: 16px !important;
}

.aura-footer-v2 .footer-logo-icon,
footer .footer-logo-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    background: transparent !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4) !important;
}

.aura-footer-v2 .footer-logo-icon svg,
footer .footer-logo-icon svg {
    display: block !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
}

.aura-footer-v2 .footer-brand-name,
footer .footer-brand-name {
    color: #FFFFFF !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    display: inline-flex !important;
    align-items: center !important;
}

.aura-footer-v2 .footer-brand-name span,
footer .footer-brand-name span {
    background: linear-gradient(135deg, #818CF8, #38BDF8) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: #818CF8 !important;
    font-weight: 800 !important;
}

.aura-footer-v2 .footer-brand-desc,
footer .footer-brand-desc,
footer .footer-col p {
    color: #94A3B8 !important;
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
    margin: 0 0 20px 0 !important;
    max-width: 320px !important;
}

.aura-footer-v2 .footer-status-pill,
footer .footer-status-pill {
    color: #34D399 !important;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    letter-spacing: 0.01em !important;
    background: rgba(52, 211, 153, 0.08) !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 999px !important;
    border: 1px solid rgba(52, 211, 153, 0.25) !important;
    width: fit-content !important;
}

.aura-footer-v2 .status-green-dot,
footer .status-green-dot {
    color: #10B981 !important;
    font-size: 0.85rem !important;
    line-height: 1 !important;
}

/* Link Columns */
footer h5,
footer .footer-col h5,
.footer-col h5,
footer h4,
footer .footer-title,
.footer-col-title,
.aura-footer-v2 .footer-col-title {
    color: #FFFFFF !important;
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    margin: 0 0 18px 0 !important;
}

footer .footer-links-list,
.footer-links-list,
.aura-footer-v2 .footer-links-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

footer .footer-links-list li,
.footer-links-list li,
.aura-footer-v2 .footer-links-list li {
    margin: 0 !important;
    padding: 0 !important;
}

footer .footer-links-list a,
.footer-links-list a,
.aura-footer-v2 .footer-links-list a {
    color: #94A3B8 !important;
    font-size: 0.88rem !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    transition: color 0.15s ease, transform 0.15s ease !important;
    display: inline-block !important;
}

footer .footer-links-list a:hover,
.footer-links-list a:hover,
.aura-footer-v2 .footer-links-list a:hover {
    color: #FFFFFF !important;
    transform: translateX(3px) !important;
}

/* Bottom Bar */
footer .footer-bottom-bar,
.footer-bottom-bar,
.aura-footer-v2 .footer-bottom-bar {
    max-width: 1280px !important;
    margin: 48px auto 0 !important;
    padding-top: 24px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    font-size: 0.82rem !important;
    color: #64748B !important;
    background: transparent !important;
}

.footer-copyright,
.aura-footer-v2 .footer-copyright {
    color: #64748B !important;
}

.footer-bottom-links,
.aura-footer-v2 .footer-bottom-links {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 24px !important;
}

footer .footer-bottom-bar a,
.footer-bottom-links a,
.aura-footer-v2 .footer-bottom-links a {
    color: #64748B !important;
    font-size: 0.82rem !important;
    text-decoration: none !important;
    transition: color 0.15s ease !important;
}

footer .footer-bottom-bar a:hover,
.footer-bottom-links a:hover,
.aura-footer-v2 .footer-bottom-links a:hover {
    color: #FFFFFF !important;
}

.footer-domain-link,
footer .footer-bottom-bar a.footer-domain-link,
.aura-footer-v2 .footer-domain-link {
    color: #C084FC !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.footer-domain-link:hover,
.aura-footer-v2 .footer-domain-link:hover {
    color: #E9D5FF !important;
}



/* AuraToolkit360 — Enhanced Component Prominence on Soft Slate Canvas */
.hero-title,
.hero-banner h1,
.site-container h1,
.section-headline-wrap h3 {
    color: var(--aura-black) !important;
}

.search-bar-wrap {
    background: #ffffff !important;
    border: 1.5px solid var(--aura-border) !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.08) !important;
}

.search-bar-wrap input {
    color: var(--aura-black) !important;
}

.search-bar-wrap input::placeholder {
    color: #64748b !important;
}

.search-results-box {
    background: #ffffff !important;
    border: 1.5px solid var(--aura-border) !important;
    border-radius: 14px !important;
    box-shadow: 0 20px 45px rgba(0,0,0,0.12) !important;
}

.search-res-item {
    color: var(--aura-black) !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.search-res-item:hover {
    background: #f8fafc !important;
    color: #2563eb !important;
}

.chip-btn {
    background: #ffffff !important;
    border: 1.5px solid var(--aura-border) !important;
    color: var(--aura-text-body) !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
}

.chip-btn:hover {
    border-color: #2563eb !important;
    color: #2563eb !important;
    background: #eff6ff !important;
}

.featured-carousel-wrapper {
    background: #ffffff !important;
    border: 1.5px solid var(--aura-border) !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08) !important;
}

.slide-content h2 {
    color: var(--aura-black) !important;
}

.slide-content p {
    color: #475569 !important;
}

.slide-visual-preview {
    background: #f8fafc !important;
    border: 1.5px solid var(--aura-border) !important;
    border-radius: 16px !important;
    color: var(--aura-black) !important;
}

.carousel-btn {
    background: #ffffff !important;
    border: 1.5px solid var(--aura-border) !important;
    color: var(--aura-text-body) !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08) !important;
}

.carousel-btn:hover {
    background: var(--aura-blue) !important;
    color: #ffffff !important;
}

.pillar-card {
    background: #ffffff !important;
    border: 1.5px solid var(--aura-border) !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.08) !important;
}

.pillar-card h4 {
    color: var(--aura-black) !important;
}

.pillar-card p {
    color: #475569 !important;
}

.btn-pillar-pill {
    background: #f8fafc !important;
    border: 1.5px solid var(--aura-border) !important;
    color: var(--aura-blue) !important;
}

.btn-pillar-pill:hover {
    background: var(--aura-blue) !important;
    color: #ffffff !important;
    border-color: var(--aura-blue) !important;
}
