/*
Theme Name: Postal Employee Knowledge Hub (PostalHub Glassmorphism)
Theme URI: https://postalhub.in
Author: AI Collaborator
Description: Vibrant Glassmorphic layout engine featuring translucent cards, multi-color radial gradient meshes, and live system calculations.
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: postal-hub
*/

/* === GOOGLE FONTS IMPORT === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* === DESIGN TOKENS === */
:root {
    --primary-accent: #dc2626;
    --primary-accent-rgb: 220, 38, 38;
    --primary-dark: #991b1b;
    --slate-deep: #0f172a;
    --slate-body: #1e293b;
    --slate-muted: #64748b;
    --page-bg: #f1f5f9;
    --card-bg: #ffffff;
    --card-border: #e2e8f0;
    --card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.07), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
    --card-shadow-hover: 0 12px 32px -4px rgba(15, 23, 42, 0.12), 0 4px 10px -2px rgba(15, 23, 42, 0.06);
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === UNIVERSAL BOX SIZING & ZERO OVERFLOW ARCHITECTURE === */
*, *::before, *::after {
    box-sizing: border-box !important;
}

html { 
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: clip !important;
    overflow-y: scroll !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
}

body { 
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: clip !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #f1f5f9;
    background-attachment: fixed;
    font-family: var(--font-body); 
    color: #0f172a; 
    scroll-behavior: smooth; 
    -webkit-font-smoothing: antialiased;
}

img, svg, video, canvas, audio, iframe, embed, object {
    max-width: 100% !important;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: #0f172a;
    word-break: break-word;
}

/* Container & Row Architecture */
.container {
    width: 100% !important;
    max-width: 1480px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.container-fluid, main, header, footer {
    width: 100% !important;
    overflow-x: clip !important;
}

.row, .row[class*="g-"], .row[class*="gx-"] {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.row > * {
    max-width: 100% !important;
}

/* MathJax Formulas Responsive Mobile Scroller (Fixes math formula overflow) */
mjx-container,
mjx-container[jax="CHTML"],
mjx-container[jax="CHTML"][display="true"],
.MathJax,
.MathJax_Display,
.mjx-chtml,
.mjx-math {
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    display: block !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 4px 0 !important;
    margin: 6px 0 !important;
    font-size: 0.88em !important;
}

/* === SUBTLE BACKGROUND AMBIENT ACCENTS === */
.glass-bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.10;
    pointer-events: none;
    z-index: -1;
    max-width: 100vw;
    overflow: hidden;
    contain: paint;
    clip-path: inset(0 0 0 0);
}
.glass-bg-glow.glow-1 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.35), transparent 70%);
    top: 5%;
    right: 0;
}
.glass-bg-glow.glow-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.3), transparent 70%);
    bottom: 10%;
    left: 0;
}
.glass-bg-glow.glow-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.2), transparent 70%);
    top: 50%;
    left: 35%;
}

/* === ENTRANCE ANIMATIONS === */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.animate-fade-in-up {
    animation: fadeInUp 0.5s var(--ease-smooth) both;
    will-change: transform, opacity;
}
.animate-fade-in {
    animation: fadeIn 0.4s ease both;
    will-change: opacity;
}
.animate-scale-in {
    animation: scaleIn 0.4s var(--ease-spring) both;
    will-change: transform, opacity;
}

/* Staggered entrance delays */
.anim-delay-1 { animation-delay: 0.08s; }
.anim-delay-2 { animation-delay: 0.15s; }
.anim-delay-3 { animation-delay: 0.22s; }
.anim-delay-4 { animation-delay: 0.3s; }
.anim-delay-5 { animation-delay: 0.38s; }
.anim-delay-6 { animation-delay: 0.45s; }

/* === ROBUST CARD & SECTION ARCHITECTURE === */
.glass-panel, 
.section-wrapper-unified,
.inner-glass-card-accent,
.inner-glass-result-card,
.carousel,
.carousel-inner,
.carousel-item {
    background: #ffffff !important;
    border: 1px solid var(--card-border) !important;
    border-radius: 14px !important;
    box-shadow: var(--card-shadow) !important;
    padding: 20px;
    margin-bottom: 1.25rem;
    max-width: 100% !important;
    overflow: hidden !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    transition: transform 0.2s var(--ease-smooth), box-shadow 0.2s ease;
}

.glass-panel:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-shadow-hover) !important;
}

/* === NAVBAR === */
.navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border) !important;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05) !important;
}

.font-gradient-brand {
    background: linear-gradient(135deg, #b91c1c, #0f172a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === HERO SECTION === */
.hero-section-restored { 
    background: linear-gradient(135deg, #991b1b 0%, #dc2626 50%, #0f172a 100%) !important;
    color: #ffffff !important; 
    padding: 60px 0 50px 0; 
    border-radius: 0 0 24px 24px; 
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}
.hero-section-restored::before {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: -90px;
    right: -70px;
}

.hero-title-main { 
    font-family: var(--font-heading);
    font-size: 2.6rem; 
    font-weight: 800; 
    letter-spacing: -0.5px; 
    color: #ffffff !important; 
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.hero-quick-btn { 
    background: #ffffff; 
    border: 1.5px solid #ffffff; 
    border-radius: 30px; 
    color: #0f172a !important; 
    font-weight: 700; 
    font-size: 0.88rem;
    padding: 9px 22px; 
    transition: all 0.2s ease;
    text-decoration: none; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hero-quick-btn:hover { 
    background: #fee2e2; 
    color: #b91c1c !important; 
    border-color: #ffffff; 
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.hero-quick-btn.active-hero { 
    background: #991b1b; 
    color: #ffffff !important; 
    border-color: #ffffff; 
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

/* === SCHEME SWITCHER === */
.scrollable-scheme-row { 
    display: flex !important; 
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 8px; 
    overflow-x: auto !important; 
    padding-bottom: 10px; 
    -webkit-overflow-scrolling: touch; 
    width: 100%;
}

.scheme-switcher-btn { 
    flex: 0 0 auto !important;
    background: #ffffff; 
    border: 1.5px solid #cbd5e1; 
    border-radius: 20px !important; 
    color: #1e293b; 
    font-weight: 700; 
    font-size: 0.85rem; 
    padding: 8px 18px; 
    transition: all 0.2s ease;
    cursor: pointer;
}

.scheme-switcher-btn:hover { 
    background: #fee2e2 !important;
    color: var(--primary-accent) !important; 
    border-color: var(--primary-accent) !important;
}

.scheme-switcher-btn.active-scheme { 
    background: var(--primary-accent) !important;
    color: #ffffff !important; 
    border-color: var(--primary-accent) !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.scrollable-scheme-row::-webkit-scrollbar { 
    height: 5px; 
}
.scrollable-scheme-row::-webkit-scrollbar-thumb { 
    background: #cbd5e1; 
    border-radius: 10px; 
}

/* === FORM INPUTS === */
.form-control, .form-select {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px;
    color: #0f172a !important;
    font-weight: 600;
    transition: all 0.2s ease;
}
.form-control:focus, .form-select:focus {
    background: #ffffff !important;
    border-color: var(--primary-accent) !important;
    box-shadow: 0 0 0 0.25rem rgba(220, 38, 38, 0.15) !important;
}

/* === RESULT DISPLAY COUNTERS === */
.display-result { 
    font-family: var(--font-heading);
    font-size: 2.3rem; 
    font-weight: 900; 
    color: #059669;
    letter-spacing: -0.5px;
}
.inner-glass-result-card {
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 16px !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

/* === RATES EFFECTIVE BADGE === */
.rates-effective-badge-box {
    display: flex;
    align-items: center;
}
.rates-pill-responsive {
    font-size: 0.76rem !important;
    white-space: normal !important;
    word-break: break-word !important;
    display: inline-flex !important;
    align-items: center;
    max-width: 100%;
    line-height: 1.4;
}

/* === QUICK TAP AMOUNT PRESET BUTTONS === */
.btn-preset {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 14px;
    transition: all 0.15s ease;
    cursor: pointer;
    line-height: 1.4;
}
.btn-preset:hover, .btn-preset:active {
    background: #fee2e2;
    border-color: #dc2626;
    color: #dc2626;
    transform: translateY(-1px);
}

/* Calculator Micro Breakdown */
.calculator-sub-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px 10px;
    margin-top: 10px;
}
.metric-item {
    text-align: center;
}
.metric-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #374151; /* Improved contrast on white bg */
    display: block;
    margin-bottom: 2px;
}
.metric-val {
    font-size: 0.84rem;
    font-weight: 800;
    color: #0f172a;
    display: block;
}

/* === SCHEME DETAILS INTERACTIVE MODAL === */
.scheme-modal-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border-bottom: 3px solid #dc2626;
    padding: 18px 22px;
}
.scheme-metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}
.scheme-metric-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 12px;
    text-align: center;
}
.scheme-metric-box-title {
    font-size: 0.68rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #374151; /* Improved contrast on #f8fafc bg */
    margin-bottom: 3px;
}
.scheme-metric-box-val {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
}
.scheme-rule-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #dc2626;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 12px;
}
.scheme-rule-box h6 {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}
.scheme-rule-box p, .scheme-rule-box ul {
    font-size: 0.82rem;
    line-height: 1.55;
    color: #334155;
    margin: 0;
}
.scheme-rule-box ul {
    padding-left: 18px;
}

/* === HOVER LIFT CARDS === */
.hover-lift {
    background: #ffffff !important;
    border: 1px solid var(--card-border) !important;
    transition: all 0.25s var(--ease-smooth);
}
.hover-lift:hover {
    transform: translateY(-4px);
    border-color: rgba(220, 38, 38, 0.3) !important;
    box-shadow: var(--card-shadow-hover) !important;
}

/* === SECTION HEADER ACCENTS === */
.section-header-accent {
    position: relative;
}
.accent-pill-indicator {
    display: inline-block;
    background: linear-gradient(135deg, rgba(var(--primary-accent-rgb), 0.1), rgba(var(--neon-purple-rgb), 0.08));
    color: var(--primary-accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 14px;
    border-radius: 20px;
    border: 1px solid rgba(var(--primary-accent-rgb), 0.15);
}
.section-title-unified {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--slate-deep);
    font-size: 1.3rem;
}

/* === GUIDE THUMB CARDS (Category Desk Posts) === */
.guide-thumb-unified {
    padding: 14px 16px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
    transition: all 0.2s var(--ease-smooth);
}
.guide-thumb-unified:hover {
    background: #ffffff;
    transform: translateX(4px);
    border-color: #dc2626;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.08);
}
.guide-thumb-unified h6 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #0f172a;
}
.guide-thumb-unified h6 a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}
.guide-thumb-unified:hover h6 a {
    color: var(--primary-accent) !important;
}
.guide-thumb-unified small {
    font-size: 0.78rem;
    line-height: 1.4;
    color: #374151; /* Improved contrast */
}

/* Grid panel hover lift for category desks */
.grid-panel-lift {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    transition: transform 0.25s var(--ease-smooth), box-shadow 0.25s ease;
}
.grid-panel-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover) !important;
}

/* === TABLES === */
.table {
    background: #ffffff !important;
}
.table th {
    background: #0f172a !important;
    color: #ffffff !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 13px 16px !important;
    border: none !important;
}
.table td {
    background: #ffffff !important;
    color: #0f172a;
    padding: 12px 16px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    transition: background 0.15s ease;
}
.table tbody tr:hover td {
    background: #f8fafc !important;
}

/* Hover text glow effect for circular links */
.hov-text-glow {
    color: #0f172a;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}
.hov-text-glow:hover {
    color: var(--primary-accent) !important;
}

/* === DESKTOP NAV MENU === */
.main-glass-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.desktop-horizontal-menu {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
}

.desktop-horizontal-menu li {
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.desktop-horizontal-menu li a {
    color: #0f172a !important;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none !important;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.2s ease;
    display: inline-block;
}

.desktop-horizontal-menu li a:hover,
.desktop-horizontal-menu li.current-menu-item a {
    background: #fee2e2 !important;
    color: #dc2626 !important;
}

/* === OFFCANVAS MOBILE DRAWER === */
.custom-right-drawer {
    background: #f8fafc !important;
    border-left: 1px solid #e2e8f0 !important;
    width: 320px !important;
}

.mobile-iconic-menu {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-iconic-menu li {
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.mobile-iconic-menu li.menu-item-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04) !important;
    transition: transform 0.2s var(--ease-smooth), background-color 0.2s ease;
}

.mobile-iconic-menu li.menu-item-card a {
    display: block !important;
    padding: 16px 18px !important;
    text-decoration: none !important;
}

.mobile-iconic-menu li.menu-item-card:hover {
    transform: translateX(4px);
    background-color: #ffffff !important;
    border-color: #dc2626 !important;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.08) !important;
}

.mobile-iconic-menu li.menu-item-card h6 {
    font-family: var(--font-heading);
    font-size: 0.98rem !important;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: #0f172a;
    transition: color 0.2s;
}

.mobile-iconic-menu li.menu-item-card:hover h6 {
    color: #dc2626 !important;
}

/* Mobile drawer accent borders */
.border-start-home { border-left: 4px solid #64748b !important; }
.border-start-apt { border-left: 4px solid #1d4ed8 !important; }
.border-start-finacle { border-left: 4px solid #15803d !important; }
.border-start-aadhar { border-left: 4px solid #0891b2 !important; }
.border-start-technical { border-left: 4px solid #d97706 !important; }

/* === MARQUEE NOTIFICATION STRIP === */
.marquee-glass-container {
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0;
    padding: 8px 0;
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}
.marquee-badge {
    background: #dc2626;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    position: relative;
    z-index: 10;
    flex-shrink: 0;
    box-shadow: 4px 0 12px rgba(255, 255, 255, 0.95);
}
.marquee-scroll-axis {
    overflow: hidden !important;
    white-space: nowrap;
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0 !important;
    flex: 1 1 0% !important;
}
.marquee-moving-wrapper {
    display: inline-block;
    white-space: nowrap;
    animation: marqueeTimelineAnimation 24s linear infinite;
    will-change: transform;
}
.marquee-moving-wrapper:hover {
    animation-play-state: paused;
}
.marquee-link-item {
    text-decoration: none !important;
    display: inline-block;
}
.marquee-moving-text {
    display: inline-block;
    font-weight: 600;
    font-size: 0.88rem;
    color: #0f172a !important;
    padding-left: 20px;
}
.marquee-moving-text:hover {
    color: #dc2626 !important;
}

@keyframes marqueeTimelineAnimation {
    0%   { transform: translate3d(100vw, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* === GRID ALERT HUB === */
.alert-hub-glass-card {
    background: #ffffff !important;
    border: 1.5px solid #fee2e2 !important;
    border-left: 5px solid #dc2626 !important;
    box-shadow: var(--card-shadow) !important;
}
.alert-icon-avatar {
    background: #dc2626;
    color: #ffffff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* === INNER GLASS CARDS (exam track cards) === */
.inner-glass-card-accent {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
    transition: all 0.25s var(--ease-smooth);
}
.inner-glass-card-accent:hover {
    background: #ffffff !important;
    transform: translateY(-4px);
    border-color: #dc2626 !important;
    box-shadow: var(--card-shadow-hover) !important;
}

/* ================================================================ */
/* ====== READING PROGRESS BAR (Single Post Pages) ================ */
/* ================================================================ */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-accent), var(--neon-purple), var(--neon-blue));
    z-index: 9999;
    transition: width 0.15s linear;
    box-shadow: 0 0 10px rgba(var(--primary-accent-rgb), 0.4);
}

/* ================================================================ */
/* ====== BREADCRUMB NAVIGATION =================================== */
/* ================================================================ */
.breadcrumb-glass {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0;
    margin: 0 0 1.5rem 0;
    list-style: none;
    font-size: 0.82rem;
}
.breadcrumb-glass li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    font-weight: 500;
}
.breadcrumb-glass li a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}
.breadcrumb-glass li a:hover {
    color: var(--primary-accent);
}
.breadcrumb-glass li.active {
    color: var(--slate-deep);
    font-weight: 600;
}
.breadcrumb-glass .separator {
    color: #cbd5e1;
    font-size: 0.7rem;
}

/* ================================================================ */
/* ====== SINGLE POST PAGE DESIGN ================================= */
/* ================================================================ */

/* Article wrapper for single posts */
.single-post-article {
    animation: fadeInUp 0.6s var(--ease-smooth) both;
}

/* Featured Image Hero */
.post-featured-hero {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin: -28px -28px 0 -28px;
    max-height: 420px;
}
.post-featured-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-height: 420px;
}
.post-featured-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent);
    pointer-events: none;
}

/* Post header area */
.single-post-header {
    padding-top: 32px;
}
.single-post-header .category-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}
.single-post-header .category-badges a {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-accent), var(--neon-purple));
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 14px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(var(--primary-accent-rgb), 0.25);
}
.single-post-header .category-badges a:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(var(--primary-accent-rgb), 0.35);
}

.single-post-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--slate-deep);
    line-height: 1.3;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.single-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}
.single-post-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 500;
}
.single-post-meta .meta-item i {
    font-size: 0.75rem;
    color: #94a3b8;
}
.meta-divider {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #cbd5e1;
}

/* === RICH CONTENT TYPOGRAPHY (Single Post Body) === */
.style-glass-content {
    font-size: 1.06rem;
    line-height: 1.85;
    color: #334155;
}
.style-glass-content p {
    margin-bottom: 1.5rem;
}
.style-glass-content h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-deep);
    margin: 2.5rem 0 1rem 0;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(var(--primary-accent-rgb), 0.15);
}
.style-glass-content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-deep);
    margin: 2rem 0 0.8rem 0;
}
.style-glass-content h4,
.style-glass-content h5,
.style-glass-content h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--slate-deep);
    margin: 1.8rem 0 0.7rem 0;
}

.style-glass-content blockquote,
.style-glass-content .wp-block-quote {
    background: linear-gradient(135deg, rgba(var(--neon-purple-rgb), 0.05), rgba(var(--primary-accent-rgb), 0.03));
    border-left: 4px solid var(--neon-purple);
    padding: 18px 22px;
    margin: 1.8rem 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #475569;
}
.style-glass-content blockquote p:last-child {
    margin-bottom: 0;
}

.style-glass-content pre,
.style-glass-content .wp-block-code {
    background: #1e293b;
    color: #e2e8f0;
    padding: 20px 24px;
    border-radius: 12px;
    font-size: 0.88rem;
    line-height: 1.7;
    overflow-x: auto;
    margin: 1.5rem 0;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}
.style-glass-content code {
    background: rgba(var(--primary-accent-rgb), 0.08);
    color: var(--primary-accent);
    padding: 2px 8px;
    border-radius: 5px;
    font-size: 0.88em;
    font-weight: 500;
}
.style-glass-content pre code {
    background: none;
    color: inherit;
    padding: 0;
    border-radius: 0;
}

.style-glass-content ul,
.style-glass-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}
.style-glass-content li {
    margin-bottom: 6px;
    padding-left: 4px;
}
.style-glass-content ul li::marker {
    color: var(--primary-accent);
}
.style-glass-content ol li::marker {
    color: var(--neon-purple);
    font-weight: 700;
}

.style-glass-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}
.style-glass-content figure {
    margin: 1.8rem 0;
}
.style-glass-content figcaption {
    text-align: center;
    font-size: 0.82rem;
    color: #94a3b8;
    margin-top: 8px;
    font-style: italic;
}

.style-glass-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    border-radius: 10px;
    overflow: hidden;
}
.style-glass-content table th {
    background: linear-gradient(135deg, #1e293b, #334155);
    color: #fff;
    padding: 10px 14px;
    font-weight: 600;
    font-size: 0.85rem;
    text-align: left;
}
.style-glass-content table td {
    padding: 10px 14px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    background: rgba(255, 255, 255, 0.3);
}

.style-glass-content a {
    color: var(--primary-accent);
    text-decoration: underline;
    text-decoration-color: rgba(var(--primary-accent-rgb), 0.3);
    text-underline-offset: 3px;
    transition: all 0.2s ease;
}
.style-glass-content a:hover {
    color: var(--neon-purple);
    text-decoration-color: rgba(var(--neon-purple-rgb), 0.5);
}

.style-glass-content hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(var(--primary-accent-rgb), 0.2), transparent);
    margin: 2.5rem 0;
}

/* === SHARE BUTTONS === */
.share-buttons-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 18px 0;
    border-top: 1px solid rgba(226, 232, 240, 0.4);
    border-bottom: 1px solid rgba(226, 232, 240, 0.4);
    margin: 2rem 0;
}
.share-buttons-row .share-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 4px;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.25s ease;
    cursor: pointer;
}
.share-btn i {
    font-size: 0.85rem;
}
.share-btn-whatsapp {
    background: rgba(37, 211, 102, 0.08);
    color: #25d366;
    border-color: rgba(37, 211, 102, 0.2);
}
.share-btn-whatsapp:hover {
    background: #25d366;
    color: #fff;
    border-color: #25d366;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}
.share-btn-telegram {
    background: rgba(38, 166, 224, 0.08);
    color: #26a6e0;
    border-color: rgba(38, 166, 224, 0.2);
}
.share-btn-telegram:hover {
    background: #26a6e0;
    color: #fff;
    border-color: #26a6e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(38, 166, 224, 0.3);
}
.share-btn-copy {
    background: rgba(100, 116, 139, 0.06);
    color: #64748b;
    border-color: rgba(100, 116, 139, 0.15);
}
.share-btn-copy:hover {
    background: #64748b;
    color: #fff;
    border-color: #64748b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(100, 116, 139, 0.3);
}

/* === PREV/NEXT POST NAVIGATION === */
.post-navigation-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 2rem;
}
.post-nav-link {
    display: flex;
    flex-direction: column;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(226, 232, 240, 0.5);
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s var(--ease-spring);
}
.post-nav-link:hover {
    background: rgba(255, 255, 255, 0.75);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}
.post-nav-link .nav-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    margin-bottom: 6px;
}
.post-nav-link .nav-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--slate-deep);
    line-height: 1.4;
    transition: color 0.2s ease;
}
.post-nav-link:hover .nav-title {
    color: var(--primary-accent);
}
.post-nav-link.nav-next {
    text-align: right;
}

/* === RELATED POSTS === */
.related-posts-section {
    margin-top: 2.5rem;
}
.related-posts-section h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--slate-deep);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.related-post-card {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(226, 232, 240, 0.5);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s var(--ease-spring);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.related-post-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.06);
}
.related-post-thumb {
    height: 140px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(var(--primary-accent-rgb), 0.08), rgba(var(--neon-purple-rgb), 0.06));
}
.related-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.related-post-card:hover .related-post-thumb img {
    transform: scale(1.06);
}
.related-post-body {
    padding: 14px 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.related-post-body h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    line-height: 1.4;
    margin-bottom: 6px;
}
.related-post-body h6 a {
    color: var(--slate-deep);
    text-decoration: none;
    transition: color 0.2s ease;
}
.related-post-card:hover h6 a {
    color: var(--primary-accent);
}
.related-post-body .related-date {
    font-size: 0.72rem;
    color: #94a3b8;
    margin-top: auto;
}

/* No-thumbnail placeholder for related cards */
.related-post-thumb-placeholder {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--primary-accent-rgb), 0.06), rgba(var(--neon-purple-rgb), 0.05));
}
.related-post-thumb-placeholder i {
    font-size: 2.5rem;
    color: rgba(var(--primary-accent-rgb), 0.15);
}

/* === BACK BUTTON & GLASS BADGE === */
.btn-glass-back {
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.5);
    border-radius: 20px;
    color: #64748b;
    font-weight: 600;
    font-size: 0.82rem;
    padding: 8px 18px;
    transition: all 0.25s ease;
    text-decoration: none;
}
.btn-glass-back:hover {
    background: var(--primary-accent);
    color: #ffffff;
    border-color: var(--primary-accent);
    transform: translateY(-1px);
}
.glass-badge {
    background: linear-gradient(135deg, var(--primary-accent), var(--neon-purple)) !important;
    border: none;
    letter-spacing: 0.5px;
    padding: 6px 12px;
}

/* === SCROLL TO TOP BUTTON === */
.scroll-to-top-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-accent), var(--neon-purple));
    color: #ffffff;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s var(--ease-spring);
    box-shadow: 0 4px 15px rgba(var(--primary-accent-rgb), 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}
.scroll-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-to-top-btn:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 6px 20px rgba(var(--primary-accent-rgb), 0.45);
}

/* ================================================================ */
/* ====== GLASSMORPHIC FOOTER ===================================== */
/* ================================================================ */
.footer-wave-divider {
    display: block;
    width: 100%;
    margin-bottom: -2px;
}
.footer-glass {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #1a1035 100%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-glass::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(var(--primary-accent-rgb), 0.12), transparent 70%);
    top: -100px;
    right: -50px;
    border-radius: 50%;
    pointer-events: none;
}
.footer-glass::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(var(--neon-purple-rgb), 0.08), transparent 70%);
    bottom: -100px;
    left: -50px;
    border-radius: 50%;
    pointer-events: none;
}
.footer-brand-logo span {
    font-family: var(--font-heading);
}
.footer-description {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    line-height: 1.7;
    max-width: 380px;
}
.footer-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 10px;
}
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-accent), var(--neon-purple));
    border-radius: 2px;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links li a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer-links li a:hover {
    color: rgba(255, 255, 255, 0.9);
    transform: translateX(3px);
}
.footer-links li a i {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.25);
    transition: color 0.2s ease;
}
.footer-links li a:hover i {
    color: var(--primary-accent);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 20px;
}
.footer-bottom p {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.78rem;
}
.footer-bottom a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-bottom a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* ================================================================ */
/* ====== CBT MOCK TEST & QUIZ SYSTEM ============================= */
/* ================================================================ */
.quiz-progress-track-bar {
    width: 100%;
    height: 6px;
    background: rgba(30, 41, 59, 0.06);
    border-radius: 10px;
    overflow: hidden;
}
.quiz-progress-fill-layer {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-accent), var(--neon-purple));
    width: 0%;
    transition: width 0.4s var(--ease-smooth), background-color 0.3s ease;
}

/* Exam Tabs */
.custom-exam-tabs .nav-link {
    color: var(--slate-body);
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.25s var(--ease-smooth);
    margin-right: 8px;
    margin-bottom: 8px;
}
.custom-exam-tabs .nav-link:hover {
    background: #ffffff;
    color: var(--primary-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.custom-exam-tabs .nav-link.active {
    background: var(--primary-accent) !important;
    color: #ffffff !important;
    border-color: var(--primary-accent) !important;
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.25);
}

/* Exam Card Hover */
.exam-card-hover {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.75);
}
.exam-card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
    background: #ffffff;
}

/* Glass Inputs */
.custom-input-glass {
    background: rgba(255, 255, 255, 0.85);
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 0.55rem 0.85rem;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}
.custom-input-glass:focus {
    background: #ffffff;
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

/* CBT Sticky Exam Header */
.cbt-sticky-exam-header {
    position: sticky;
    top: 75px;
    z-index: 1020;
    backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

/* Countdown Timer */
.cbt-timer-container {
    background: rgba(241, 245, 249, 0.9);
    border: 1.5px solid #e2e8f0;
    min-width: 140px;
    transition: all 0.3s ease;
}
.timer-warning-pulse {
    background: #fef2f2 !important;
    border-color: #ef4444 !important;
    animation: cbtPulseGlow 1.2s infinite alternate;
}
@keyframes cbtPulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); transform: scale(1); }
    100% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); transform: scale(1.02); }
}

/* CBT Option Card */
.cbt-option-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1.5px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}
.cbt-option-card:hover {
    background: #ffffff;
    border-color: #94a3b8;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}
.cbt-option-card.selected-option {
    background: #eff6ff !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.12);
}
.cbt-option-card.selected-option .cbt-keycap-badge {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
}

/* Keycap Badge */
.cbt-keycap-badge {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* TCS/NTA Question Palette Grid & Pills */
.cbt-question-grid-scroll {
    max-height: 280px;
    overflow-y: auto;
    padding-right: 4px;
}
.cbt-question-grid-scroll::-webkit-scrollbar {
    width: 5px;
}
.cbt-question-grid-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.cbt-palette-pill {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 700;
    font-family: var(--font-monospace, monospace);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.18s ease;
    padding: 0;
}
.cbt-palette-pill:hover {
    transform: scale(1.08);
}
.cbt-pill-active {
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.8) !important;
    transform: scale(1.1);
    z-index: 2;
}

/* Palette Status Colors */
.status-answered, .legend-badge-bubble.status-answered {
    background: #16a34a !important;
    color: #ffffff !important;
    border-color: #15803d !important;
}
.status-not-answered, .legend-badge-bubble.status-not-answered {
    background: #dc2626 !important;
    color: #ffffff !important;
    border-color: #b91c1c !important;
}
.status-marked, .legend-badge-bubble.status-marked {
    background: #7000ff !important;
    color: #ffffff !important;
    border-color: #5b00d6 !important;
}
.status-marked-answered, .legend-badge-bubble.status-marked-answered {
    background: #4f46e5 !important;
    color: #ffffff !important;
    border-color: #4338ca !important;
    position: relative;
}
.status-marked-answered::after {
    content: "★";
    position: absolute;
    top: -2px;
    right: 2px;
    font-size: 0.55rem;
    color: #fbbf24;
}
.status-not-visited, .legend-badge-bubble.status-not-visited {
    background: #f1f5f9 !important;
    color: #64748b !important;
    border-color: #cbd5e1 !important;
}

.legend-badge-bubble {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Solution Review Borders */
.border-start-success {
    border-left: 5px solid #16a34a !important;
}
.border-start-danger {
    border-left: 5px solid #dc2626 !important;
}
.border-start-secondary {
    border-left: 5px solid #94a3b8 !important;
}

/* Print Optimization */
@media print {
    .no-print, header, footer, .cbt-sticky-exam-header, #launchTabs, .glass-bg-glow {
        display: none !important;
    }
    body, main, .glass-panel {
        background: #ffffff !important;
        box-shadow: none !important;
        border: none !important;
    }
    #screenScorecard {
        display: block !important;
    }
}

/* ================================================================ */
/* ====== LANGUAGE SWITCHER (ENGLISH <-> HINDI) =================== */
/* ================================================================ */
.lang-btn, .lang-btn-mobile {
    font-size: 0.72rem;
    color: var(--slate-body);
    transition: all 0.2s ease;
    border: none !important;
}
.lang-btn:hover, .lang-btn-mobile:hover {
    color: var(--primary-accent);
}
.lang-btn.active, .lang-btn-mobile.active {
    background: var(--primary-accent) !important;
    color: #ffffff !important;
}
.lang-select-btn {
    font-size: 0.8rem;
    border: none !important;
    transition: all 0.2s ease;
}
.lang-select-btn.active {
    background: var(--primary-accent) !important;
    color: #ffffff !important;
}

/* ================================================================ */
/* ====== DEDICATED APP STORE PAGE ================================ */
/* ================================================================ */

/* Hero Banner */
.appstore-hero {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.92), rgba(26, 16, 53, 0.95));
    padding: 55px 0 45px 0;
    border-radius: 0 0 28px 28px;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.appstore-hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(var(--primary-accent-rgb), 0.18), transparent 70%);
    top: -100px;
    right: -80px;
    border-radius: 50%;
    pointer-events: none;
}
.appstore-hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(var(--neon-purple-rgb), 0.12), transparent 70%);
    bottom: -80px;
    left: -50px;
    border-radius: 50%;
    pointer-events: none;
}

.appstore-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}
.appstore-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    color: #ffffff;
}
.appstore-hero-subtitle {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.65;
    max-width: 540px;
}

/* Hero Stats */
.appstore-hero-stats {
    display: flex;
    gap: 24px;
}
.appstore-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.appstore-stat-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 4px;
}
.appstore-stat-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* Hero Phone Mockup Visual */
.appstore-hero-visual {
    position: relative;
}
.appstore-phone-mockup {
    width: 160px;
    height: 220px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: rotate(-4deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    animation: phoneMockupFloat 6s ease-in-out infinite;
    will-change: transform;
    position: relative;
    padding: 12px;
}
.appstore-phone-notch {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    position: absolute;
    top: 8px;
}
.appstore-phone-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.appstore-phone-icon {
    font-size: 3rem;
    color: #22c55e;
}
.appstore-phone-text {
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
}
@keyframes phoneMockupFloat {
    0%, 100% { transform: rotate(-4deg) translateY(0); }
    50% { transform: rotate(-4deg) translateY(-8px); }
}

/* Category Filter Bar */
.appstore-filter-bar {
    width: 100%;
}
.appstore-category-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
}
.app-filter-btn {
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 8px 18px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
}
.app-filter-btn .badge-count {
    background: rgba(0, 0, 0, 0.08);
    color: inherit;
    border-radius: 10px;
    padding: 1px 6px;
    font-size: 0.7rem;
    margin-left: 6px;
}
.app-filter-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-accent);
    transform: translateY(-1px);
}
.app-filter-btn.active {
    background: linear-gradient(135deg, var(--primary-accent), #f95959);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(220, 53, 69, 0.25);
}
.app-filter-btn.active .badge-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* App Store Disclaimer Notice Card */
.appstore-disclaimer-card {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(12px) !important;
    border-left: 4px solid var(--primary-accent) !important;
    box-shadow: 0 4px 18px rgba(220, 53, 69, 0.06) !important;
}
.appstore-card-icon[role="button"],
.appstore-card-body[role="button"] {
    cursor: pointer;
}

/* Search Toolbar */
.appstore-toolbar {
    margin-bottom: 1.5rem;
    padding: 16px 20px;
}
.appstore-search-wrap {
    position: relative;
}
.appstore-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.9rem;
    pointer-events: none;
}
.appstore-search-input {
    padding-left: 44px !important;
    padding-right: 36px !important;
    border-radius: 14px !important;
    height: 46px;
    font-size: 0.88rem !important;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    transition: all 0.2s ease;
}
.appstore-search-input:focus {
    background: #ffffff !important;
    border-color: var(--primary-accent) !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15) !important;
}
.appstore-search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 4px 8px;
}
.appstore-search-clear:hover {
    color: var(--primary-accent);
}
.appstore-counter-pill {
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
    background: rgba(255, 255, 255, 0.6);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.7);
}

/* App Cards */
.appstore-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.35s var(--ease-spring);
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.04);
}
.appstore-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.1);
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(var(--primary-accent-rgb), 0.2);
}

/* Card Header */
.appstore-card-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 20px 0 20px;
}
.appstore-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.6);
}
.appstore-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.appstore-card-icon-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-accent), var(--neon-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.35rem;
}
.appstore-card-icon-fallback.icon-color-1 { background: linear-gradient(135deg, #dc2626, #f43f5e); }
.appstore-card-icon-fallback.icon-color-2 { background: linear-gradient(135deg, #0d6efd, #6366f1); }
.appstore-card-icon-fallback.icon-color-3 { background: linear-gradient(135deg, #059669, #10b981); }
.appstore-card-icon-fallback.icon-color-4 { background: linear-gradient(135deg, #7c3aed, #a855f7); }

.appstore-card-header-info {
    flex-grow: 1;
    min-width: 0;
}
.appstore-category-tag {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-accent);
    margin-bottom: 2px;
}
.appstore-card-title {
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--slate-deep);
    margin: 0 0 6px 0;
    line-height: 1.3;
}
.appstore-card-title a {
    color: var(--slate-deep);
    transition: color 0.2s;
}
.appstore-card-title a:hover {
    color: var(--primary-accent);
}
.appstore-card-meta {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.appstore-version-badge,
.appstore-platform-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
}
.appstore-version-badge {
    background: rgba(var(--neon-purple-rgb), 0.08);
    color: var(--neon-purple);
    border: 1px solid rgba(var(--neon-purple-rgb), 0.15);
}
.appstore-platform-badge {
    background: rgba(34, 197, 94, 0.08);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.18);
}

/* Card Body */
.appstore-card-body {
    padding: 12px 20px;
    flex-grow: 1;
}
.appstore-card-desc {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Card Footer */
.appstore-card-footer {
    padding: 0 20px 18px 20px;
    display: flex;
    flex-direction: column;
}
.appstore-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    background: linear-gradient(135deg, var(--primary-accent), #e8203a);
    color: #ffffff !important;
    font-size: 0.82rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    flex-grow: 1;
    transition: all 0.25s ease;
    box-shadow: 0 3px 10px rgba(var(--primary-accent-rgb), 0.2);
}
.appstore-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(var(--primary-accent-rgb), 0.35);
    color: #ffffff !important;
}
.appstore-size-pill {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    padding: 1px 6px;
    font-size: 0.72rem;
}
.appstore-qr-btn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #e2e8f0;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.appstore-qr-btn:hover {
    background: var(--slate-deep);
    color: #ffffff;
    border-color: var(--slate-deep);
}
.appstore-card-subfooter {
    font-size: 0.72rem;
}
.appstore-card-verified {
    color: #16a34a;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}
.appstore-details-link {
    color: #64748b;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}
.appstore-details-link:hover {
    color: var(--primary-accent);
}
.appstore-platform-note {
    color: #94a3b8;
    font-weight: 500;
}

/* Empty State */
.appstore-empty-state {
    border: 2px dashed rgba(226, 232, 240, 0.8);
}
.appstore-empty-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(var(--primary-accent-rgb), 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
.appstore-empty-icon i {
    font-size: 1.8rem;
    color: var(--primary-accent);
}

/* Installation Guide Steps */
.appstore-steps-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.appstore-step-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.appstore-step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-accent), var(--neon-purple));
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.appstore-step-content h6 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--slate-deep);
    margin: 0 0 2px 0;
}
.appstore-step-content p {
    font-size: 0.82rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}
.appstore-security-badge-card {
    background: rgba(22, 163, 74, 0.06);
    border: 1px solid rgba(22, 163, 74, 0.15);
}
.security-shield-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(22, 163, 74, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.8rem;
    color: #16a34a;
}

/* ================================================================ */
/* ====== SINGLE POST & SINGLE PAGE DESIGN SYSTEM ================= */
/* ================================================================ */

/* Top Reading Progress Bar */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3.5px;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-accent), var(--neon-purple), var(--neon-blue));
    z-index: 99999;
    transition: width 0.08s ease;
}

/* Breadcrumbs Glass */
.breadcrumb-glass {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 8px 18px;
    margin: 0 0 1.5rem 0;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    overflow-x: auto;
    max-width: 100%;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.breadcrumb-glass a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb-glass a:hover {
    color: var(--primary-accent);
}
.breadcrumb-glass .separator {
    color: #cbd5e1;
    font-size: 0.65rem;
}
.breadcrumb-glass .active {
    color: var(--slate-deep);
    font-weight: 700;
}

/* Single Post & Page Articles */
.single-post-article,
.single-page-article {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    padding: 32px 36px;
    margin-bottom: 2.5rem;
}

/* Category Badges */
.category-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.category-chip {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(var(--primary-accent-rgb), 0.08);
    color: var(--primary-accent);
    border: 1px solid rgba(var(--primary-accent-rgb), 0.2);
    text-decoration: none;
    transition: all 0.2s ease;
}
.category-chip:hover {
    background: var(--primary-accent);
    color: #ffffff;
    border-color: var(--primary-accent);
    transform: translateY(-1px);
}

/* Titles */
.single-post-title,
.single-page-title,
.single-app-title {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    font-weight: 800;
    color: var(--slate-deep);
    line-height: 1.25;
    margin: 8px 0 14px 0;
    letter-spacing: -0.02em;
}

/* Post Meta */
.single-post-meta,
.single-page-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: #64748b;
    margin-bottom: 16px;
}
.single-post-meta .meta-item,
.single-page-meta .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.single-post-meta .meta-divider {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #cbd5e1;
}
.badge-verified-post {
    background: rgba(22, 163, 74, 0.08);
    color: #16a34a;
    border: 1px solid rgba(22, 163, 74, 0.2);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 600;
}

/* Mobile Reading Toolbar */
.mobile-reading-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 14px;
    margin: 16px 0 24px 0;
}
.font-size-adjuster {
    display: flex;
    align-items: center;
    gap: 4px;
}
.toolbar-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
}
.font-btn {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 0.76rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}
.font-btn:hover {
    background: var(--primary-accent);
    color: #ffffff;
    border-color: var(--primary-accent);
}
.font-btn-reset {
    font-family: monospace;
    font-size: 0.72rem;
    padding: 4px 8px;
}

/* Quick Share Buttons */
.quick-share-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.76rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}
.share-btn-native {
    background: linear-gradient(135deg, var(--primary-accent), var(--neon-purple));
    color: #ffffff !important;
    border: none;
    box-shadow: 0 2px 8px rgba(var(--primary-accent-rgb), 0.25);
}
.share-btn-native:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(var(--primary-accent-rgb), 0.35);
}
.share-btn-whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #15803d !important;
    border-color: rgba(37, 211, 102, 0.25);
}
.share-btn-whatsapp:hover {
    background: #25d366;
    color: #ffffff !important;
    border-color: #25d366;
}
.share-btn-telegram {
    background: rgba(0, 136, 204, 0.1);
    color: #0369a1 !important;
    border-color: rgba(0, 136, 204, 0.25);
}
.share-btn-telegram:hover {
    background: #0088cc;
    color: #ffffff !important;
    border-color: #0088cc;
}
.share-btn-copy {
    background: rgba(100, 116, 139, 0.1);
    color: #475569;
    border-color: rgba(100, 116, 139, 0.2);
}
.share-btn-copy:hover {
    background: var(--slate-deep);
    color: #ffffff;
    border-color: var(--slate-deep);
}

/* Copy Toast */
.copy-toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}
.copy-toast-container.show-toast {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.copy-toast-body {
    background: #1e293b;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.84rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Featured Hero */
.post-featured-hero {
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.6);
    max-height: 420px;
}
.post-featured-hero img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 420px;
}

/* ================================================================ */
/* ====== ENTRY CONTENT RICH STYLING ============================== */
/* ================================================================ */
.entry-content {
    font-size: 1.05rem;
    line-height: 1.78;
    color: #334155;
}
.entry-content p {
    margin-bottom: 1.3rem;
}
.entry-content h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--slate-deep);
    margin: 2rem 0 1rem 0;
    padding-bottom: 6px;
    border-bottom: 2px solid rgba(var(--primary-accent-rgb), 0.15);
}
.entry-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-deep);
    margin: 1.6rem 0 0.8rem 0;
}
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--slate-deep);
    margin: 1.3rem 0 0.6rem 0;
}
.entry-content blockquote {
    background: rgba(255, 255, 255, 0.6);
    border-left: 4px solid var(--primary-accent);
    padding: 16px 20px;
    border-radius: 0 14px 14px 0;
    margin: 1.5rem 0;
    font-style: italic;
    color: #475569;
}
.entry-content table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid #e2e8f0;
}
.entry-content table th {
    background: rgba(var(--primary-accent-rgb), 0.08);
    color: var(--slate-deep);
    font-weight: 700;
    padding: 12px 16px;
    font-size: 0.85rem;
    border-bottom: 1px solid #e2e8f0;
}
.entry-content table td {
    padding: 10px 16px;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    color: #334155;
}
.entry-content table tr:last-child td {
    border-bottom: none;
}
.entry-content pre {
    background: #1e293b;
    color: #f8fafc;
    padding: 16px 20px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 1.5rem 0;
    line-height: 1.5;
    font-family: monospace;
    font-size: 0.88rem;
}
.entry-content code {
    font-family: monospace;
    font-size: 0.88rem;
    background: rgba(0, 0, 0, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--primary-accent);
}
.entry-content pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    margin: 1rem 0;
}
.entry-content ul,
.entry-content ol {
    padding-left: 22px;
    margin-bottom: 1.3rem;
}
.entry-content li {
    margin-bottom: 6px;
}

/* Glass Callouts */
.glass-callout {
    padding: 16px 20px;
    border-radius: 14px;
    margin: 1.5rem 0;
    border: 1px solid transparent;
    backdrop-filter: blur(8px);
}
.callout-info {
    background: rgba(13, 110, 253, 0.06);
    border-color: rgba(13, 110, 253, 0.2);
    color: #0c4a6e;
}
.callout-warning {
    background: rgba(245, 158, 11, 0.06);
    border-color: rgba(245, 158, 11, 0.25);
    color: #78350f;
}
.callout-danger {
    background: rgba(220, 53, 69, 0.06);
    border-color: rgba(220, 53, 69, 0.25);
    color: #7f1d1d;
}
.callout-success {
    background: rgba(16, 185, 129, 0.06);
    border-color: rgba(16, 185, 129, 0.25);
    color: #064e3b;
}

/* Post Tags */
.post-tags-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.tag-pill-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid #e2e8f0;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s ease;
}
.tag-pill-badge:hover {
    background: var(--primary-accent);
    color: #ffffff;
    border-color: var(--primary-accent);
}

/* Post Navigation (Prev / Next) */
.post-navigation-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.post-nav-link {
    display: block;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s var(--ease-spring);
}
.post-nav-link:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: rgba(var(--primary-accent-rgb), 0.2);
}
.nav-direction {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-accent);
    margin-bottom: 4px;
}
.nav-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--slate-deep);
    line-height: 1.3;
}
.post-nav-link.nav-next {
    text-align: right;
}
.btn-glass-back {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid #e2e8f0;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--slate-deep);
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-glass-back:hover {
    background: var(--slate-deep);
    color: #ffffff;
    border-color: var(--slate-deep);
}

/* Related Posts */
.related-posts-section {
    margin-top: 2rem;
}
.related-post-card {
    position: relative;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s var(--ease-spring);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.85);
}
.related-post-link-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
}
.related-post-thumb {
    height: 130px;
    overflow: hidden;
}
.related-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.related-post-card:hover .related-post-thumb img {
    transform: scale(1.06);
}
.related-post-thumb-placeholder {
    height: 130px;
    background: linear-gradient(135deg, rgba(var(--primary-accent-rgb), 0.08), rgba(var(--neon-purple-rgb), 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: rgba(var(--primary-accent-rgb), 0.35);
}
.related-post-body {
    padding: 14px 16px;
}
.related-post-title {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}
.related-post-title a {
    color: var(--slate-deep);
    text-decoration: none;
}

/* ================================================================ */
/* ====== SINGLE APP DETAIL PAGE ================================== */
/* ================================================================ */
.single-app-detail {
    padding: 32px 36px;
}
.app-detail-hero-box {
    width: 100%;
}
.appstore-detail-icon {
    width: 88px;
    height: 88px;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.1);
    border: 1px solid rgba(226, 232, 240, 0.8);
}
.appstore-detail-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.app-download-action-card {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(var(--primary-accent-rgb), 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(var(--primary-accent-rgb), 0); }
}
.app-pulse-btn {
    animation: pulseGlow 2.5s infinite;
}

/* ================================================================ */
/* ====== 1. TOP UTILITY STRIP & STICKY GLASS NAVBAR ============== */
/* ================================================================ */
.header-top-bar {
    background: #0b0f19;
    color: #94a3b8;
    font-size: 0.76rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.top-bar-badge {
    background: rgba(220, 38, 38, 0.15);
    color: #f87171;
    border: 1px solid rgba(220, 38, 38, 0.3);
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.3px;
}
.top-bar-link:hover {
    color: #ffffff !important;
}
.main-glass-navbar {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 2px solid transparent !important;
    border-image: linear-gradient(90deg, #dc2626 0%, #f97316 35%, #0284c7 70%, #7000ff 100%) 1 !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    transition: all 0.25s ease;
    z-index: 1040;
}
.nav-brand-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}
.brand-text-logo {
    font-family: var(--font-heading, "Outfit", sans-serif);
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.5px;
}
.brand-digi {
    color: #dc2626;
}
.brand-mit {
    color: #0f172a;
}
.brand-mit-light {
    color: #ffffff;
}
.brand-mit-white {
    color: #ffffff;
}
.brand-tagline-mini {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #475569; /* Improved contrast: was #64748b */
    margin-top: 2px;
}
.nav-pill-link {
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    color: #334155 !important;
    padding: 7px 14px !important;
    border-radius: 20px;
    transition: all 0.2s ease;
}
.nav-pill-link:hover,
.nav-pill-link.active {
    background: rgba(220, 38, 38, 0.08);
    color: #dc2626 !important;
}
.nav-pulse-badge {
    font-size: 0.55rem;
    padding: 2px 5px;
    border-radius: 8px;
    font-weight: 800;
    margin-left: 4px;
    letter-spacing: 0.3px;
}
.btn-nav-cta {
    background: linear-gradient(135deg, #7000ff 0%, #4f46e5 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 7px 16px;
    border-radius: 20px;
    border: none;
    box-shadow: 0 4px 12px rgba(112, 0, 255, 0.3);
    transition: all 0.2s ease;
}
.btn-nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(112, 0, 255, 0.4);
}
.nav-icon-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-color: #cbd5e1 !important;
    color: #334155 !important;
}
.btn-nav-hamburger {
    background: #f1f5f9;
    color: #0f172a;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

/* ================================================================ */
/* ====== 2. GORGEOUS OFFCANVAS SIDEBAR MENU DRAWER =============== */
/* ================================================================ */
.custom-right-drawer {
    width: 340px !important;
    max-width: 88vw !important;
    background: #f8fafc !important;
    border-left: 1px solid rgba(226, 232, 240, 0.8) !important;
    box-shadow: -10px 0 40px rgba(15, 23, 42, 0.25) !important;
}
.drawer-header-brand {
    background: linear-gradient(135deg, #0b0f19 0%, #1e1b4b 50%, #991b1b 100%);
    color: #ffffff;
    padding: 18px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.drawer-brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #ffffff;
}
.drawer-brand-title {
    font-family: var(--font-heading, "Outfit", sans-serif);
    font-size: 1.3rem;
    font-weight: 900;
    line-height: 1.1;
}
.drawer-brand-subtitle {
    font-size: 0.65rem;
    color: #cbd5e1;
    margin-top: 2px;
}
.drawer-search-input {
    border-radius: 20px !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    font-size: 0.8rem !important;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
}
.drawer-group-title {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin-bottom: 8px;
    margin-top: 4px;
}
.drawer-menu-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.drawer-nav-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    text-decoration: none !important;
    color: #1e293b !important;
    transition: all 0.15s ease;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}
.drawer-nav-card:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    transform: translateX(3px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}
.drawer-nav-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    color: #ffffff;
}
.icon-home { background: linear-gradient(135deg, #0f172a, #334155); }
.icon-appstore { background: linear-gradient(135deg, #0284c7, #0369a1); }
.icon-quiz { background: linear-gradient(135deg, #7000ff, #4f46e5); }
.icon-calc { background: linear-gradient(135deg, #10b981, #059669); }
.icon-forms { background: linear-gradient(135deg, #f59e0b, #d97706); }
.icon-circ { background: linear-gradient(135deg, #dc2626, #b91c1c); }
.icon-apt { background: linear-gradient(135deg, #0284c7, #1d4ed8); }
.icon-finacle { background: linear-gradient(135deg, #10b981, #047857); }
.icon-aadhar { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.icon-tech { background: linear-gradient(135deg, #ea580c, #c2410c); }
.icon-about { background: #64748b; }
.icon-contact { background: #0284c7; }
.icon-privacy { background: #10b981; }
.icon-terms { background: #8b5cf6; }
.icon-disclaimer { background: #f59e0b; }

.drawer-nav-content {
    flex-grow: 1;
    min-width: 0;
}
.drawer-nav-heading {
    font-weight: 700;
    font-size: 0.82rem;
    color: #0f172a;
    line-height: 1.2;
}
.drawer-nav-desc {
    font-size: 0.68rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
}
.drawer-nav-arrow {
    font-size: 0.7rem;
    color: #cbd5e1;
    flex-shrink: 0;
}

/* ================================================================ */
/* ====== 3. VIBRANT MULTI-STOP HERO BANNER & STAT BADGES ========= */
/* ================================================================ */
.front-hero-wrapper {
    position: relative;
    z-index: 5;
}
.front-hero-card {
    background: linear-gradient(135deg, #0b0f19 0%, #1e1b4b 40%, #991b1b 80%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 28px;
    padding: 42px 24px 34px;
    box-shadow: 0 20px 50px -10px rgba(11, 15, 25, 0.4), 0 0 30px rgba(220, 38, 38, 0.15);
    position: relative;
    overflow: hidden;
    color: #ffffff;
}
.hero-ambient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    opacity: 0.5;
    animation: blobFloat 8s infinite alternate;
    will-change: transform;
}
.blob-red {
    top: -40px;
    right: -40px;
    width: 240px;
    height: 240px;
    background: #dc2626;
}
.blob-purple {
    bottom: -50px;
    left: -40px;
    width: 260px;
    height: 260px;
    background: #7000ff;
}
.blob-blue {
    top: 50%;
    left: 45%;
    width: 180px;
    height: 180px;
    background: #0284c7;
    opacity: 0.3;
}
@keyframes blobFloat {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.15) translate(20px, -15px); }
}
.front-hero-title {
    font-family: var(--font-heading, "Outfit", sans-serif);
    font-size: 2.35rem;
    font-weight: 900;
    color: #ffffff !important;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 0.6rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
.front-hero-subtitle {
    font-size: 1.02rem;
    color: #e2e8f0 !important;
    max-width: 680px;
    line-height: 1.55;
    font-weight: 500;
}
.hero-badge-pill {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Hero Quick Navigation Action Buttons */
.hero-action-pill-box {
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.hero-action-pill-box::-webkit-scrollbar {
    display: none;
}
.hero-quick-btn {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: 30px;
    text-decoration: none !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.hero-quick-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.hero-quick-btn.active-hero {
    background: #dc2626;
    border-color: #ef4444;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
}
.hero-quick-btn.btn-blue:hover { background: #0284c7; border-color: #38bdf8; }
.hero-quick-btn.btn-purple:hover { background: #7000ff; border-color: #a855f7; }
.hero-quick-btn.btn-green:hover { background: #10b981; border-color: #34d399; }
.hero-quick-btn.btn-amber:hover { background: #f59e0b; border-color: #fbbf24; }

/* 4 Quick Stat Metric Badges */
.hero-stats-grid {
    margin-top: 1.5rem;
}
.hero-stat-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 12px 14px;
    text-align: center;
    transition: all 0.2s ease;
}
.hero-stat-card:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
}
.hero-stat-card .stat-icon {
    font-size: 1.1rem;
    margin-bottom: 4px;
}
.card-stat-red .stat-icon { color: #f87171; }
.card-stat-purple .stat-icon { color: #c084fc; }
.card-stat-blue .stat-icon { color: #38bdf8; }
.card-stat-green .stat-icon { color: #4ade80; }
.hero-stat-card .stat-num {
    font-family: var(--font-heading, "Outfit", sans-serif);
    font-size: 1.15rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
}
.hero-stat-card .stat-label {
    font-size: 0.68rem;
    color: #cbd5e1;
    font-weight: 600;
    margin-top: 2px;
}

/* Command Search */
.hero-search-wrapper {
    position: relative;
    max-width: 560px;
    z-index: 10;
}
.hero-command-box {
    position: relative;
    width: 100%;
}
.hero-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    pointer-events: none;
}
.hero-search-input {
    background: rgba(255, 255, 255, 0.22) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 30px !important;
    color: #ffffff !important;
    padding: 13px 45px 13px 48px !important;
    font-size: 0.95rem !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
    transition: all 0.25s ease !important;
}
.hero-search-input::placeholder {
    color: rgba(255, 255, 255, 0.75) !important;
}
.hero-search-input:focus {
    background: rgba(255, 255, 255, 0.35) !important;
    border-color: #ffffff !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 0 3px rgba(255, 255, 255, 0.25) !important;
    outline: none;
}
.hero-search-clear {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.2);
    border: none;
    color: #ffffff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    cursor: pointer;
}
.hero-search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    max-height: 340px;
    overflow-y: auto;
    z-index: 1050;
    text-align: left;
    animation: fadeIn 0.2s ease;
}
.hero-search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    text-decoration: none;
    color: #1e293b;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s ease;
}
.hero-search-result-item:hover {
    background: rgba(220, 38, 38, 0.08);
    color: #dc2626;
}
.hero-res-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.hero-res-title {
    font-weight: 600;
    font-size: 0.88rem;
    flex-grow: 1;
}

/* ================================================================ */
/* ====== 4. SCHEME SWITCHER WITH 9 DISTINCT COLOR ACCENTS ======== */
/* ================================================================ */
.scrollable-scheme-row {
    overflow-x: auto;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.scheme-switcher-btn {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: 20px;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}
.scheme-switcher-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
    transform: translateY(-1px);
}
.scheme-switcher-btn.active-scheme.btn-scheme-sb { background: #dc2626; border-color: #dc2626; color: #ffffff; box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3); }
.scheme-switcher-btn.active-scheme.btn-scheme-rd { background: #d97706; border-color: #d97706; color: #ffffff; box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3); }
.scheme-switcher-btn.active-scheme.btn-scheme-td { background: #0284c7; border-color: #0284c7; color: #ffffff; box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3); }
.scheme-switcher-btn.active-scheme.btn-scheme-mis { background: #10b981; border-color: #10b981; color: #ffffff; box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3); }
.scheme-switcher-btn.active-scheme.btn-scheme-scss { background: #8b5cf6; border-color: #8b5cf6; color: #ffffff; box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3); }
.scheme-switcher-btn.active-scheme.btn-scheme-ppf { background: #6366f1; border-color: #6366f1; color: #ffffff; box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3); }
.scheme-switcher-btn.active-scheme.btn-scheme-nsc { background: #06b6d4; border-color: #06b6d4; color: #ffffff; box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3); }
.scheme-switcher-btn.active-scheme.btn-scheme-kvp { background: #ea580c; border-color: #ea580c; color: #ffffff; box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3); }
.scheme-switcher-btn.active-scheme.btn-scheme-mssc { background: #ec4899; border-color: #ec4899; color: #ffffff; box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3); }

/* ================================================================ */
/* ====== 5. CALCULATOR INPUTS & LUXURY DARK RESULT CARDS ========= */
/* ================================================================ */
.calc-input-focus:focus {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15) !important;
    outline: none !important;
}
.btn-preset {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    transition: all 0.15s ease;
}
.btn-preset:hover {
    background: #e2e8f0;
    color: #0f172a;
    border-color: #94a3b8;
}
.inner-glass-result-card {
    background: linear-gradient(145deg, #0b0f19 0%, #1e293b 100%);
    color: #ffffff;
    border: 1px solid #334155 !important;
    box-shadow: 0 10px 30px -4px rgba(11, 15, 25, 0.3);
}
.inner-glass-result-card .display-result {
    font-family: var(--font-heading, "Outfit", sans-serif);
    font-size: 2.2rem;
    font-weight: 900;
    color: #22c55e;
    line-height: 1.1;
    margin: 8px 0 14px;
    letter-spacing: -0.5px;
    text-shadow: 0 0 24px rgba(34, 197, 94, 0.3);
}
.calculator-sub-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px 8px;
}
.calculator-sub-metrics .metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.calculator-sub-metrics .metric-label {
    font-size: 0.65rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 600;
}
.calculator-sub-metrics .metric-val {
    font-family: monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 2px;
}

/* ================================================================ */
/* ====== 6. OPERATIONAL DESKS VIBRANT THEMES ===================== */
/* ================================================================ */
.desk-theme-blue { border-top: 4px solid #0284c7 !important; }
.desk-theme-green { border-top: 4px solid #10b981 !important; }
.desk-theme-purple { border-top: 4px solid #8b5cf6 !important; }
.desk-theme-amber { border-top: 4px solid #f59e0b !important; }
.desk-theme-red { border-top: 4px solid #dc2626 !important; }

.desk-header-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}
.desk-post-card {
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    background: #ffffff;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}
.desk-post-card:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateX(2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}
.desk-post-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    overflow: hidden;
}
.desk-post-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.desk-post-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: #f1f5f9;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.desk-post-title {
    font-size: 0.88rem;
    line-height: 1.35;
}

/* ================================================================ */
/* ====== 7. FOOTER COMPREHENSIVE STYLING ========================= */
/* ================================================================ */
.footer-wave-wrapper {
    margin-bottom: -1px;
    line-height: 0;
}
.footer-wave-divider {
    width: 100%;
    height: 50px;
    display: block;
}
.footer-glass {
    background: #0b0f19;
    color: #cbd5e1;
    padding: 48px 0 28px;
    position: relative;
    overflow: hidden;
}
.footer-ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.25;
}
.footer-glow-1 {
    top: 0;
    left: -100px;
    width: 300px;
    height: 300px;
    background: #dc2626;
}
.footer-glow-2 {
    bottom: -50px;
    right: -100px;
    width: 350px;
    height: 350px;
    background: #7000ff;
}
.footer-brand-glow-circle {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.4);
}
.footer-brand-text {
    font-family: var(--font-heading, "Outfit", sans-serif);
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: -0.5px;
}
.footer-brand-badge {
    font-size: 0.62rem;
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.footer-live-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #4ade80;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}
.status-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.35);
    animation: statusPulse 1.8s infinite;
}
.footer-description {
    font-size: 0.84rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 0;
}
.footer-support-pill {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-size: 0.72rem;
    padding: 4px 10px;
    border-radius: 14px;
    font-weight: 600;
}
.footer-heading {
    color: #ffffff;
    font-family: var(--font-heading, "Outfit", sans-serif);
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: 0.2px;
}
.footer-links {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.footer-links li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.84rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.15s ease, transform 0.15s ease;
}
.footer-links li a:hover {
    color: #ffffff;
    transform: translateX(3px);
}
.footer-desk-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.btn-footer-community {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
    transition: all 0.2s ease;
}
.btn-footer-community:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.45);
}
.footer-legal-links .legal-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.78rem;
    transition: color 0.15s ease;
}
.footer-legal-links .legal-link:hover {
    color: #ffffff;
}

/* ================================================================ */
/* ====== 8. RESPONSIVE MEDIA QUERIES (< 768px) =================== */
/* ================================================================ */
@media (max-width: 767.98px) {
    .front-hero-card {
        padding: 26px 16px 22px;
        border-radius: 20px;
    }
    .front-hero-title {
        font-size: 1.55rem;
    }
    .front-hero-subtitle {
        font-size: 0.88rem;
    }
    .hero-stat-card .stat-num {
        font-size: 1.0rem;
    }
    .inner-glass-result-card .display-result {
        font-size: 1.75rem;
    }
    .hero-search-input {
        padding: 10px 38px 10px 42px !important;
        font-size: 0.88rem !important;
    }
    .hero-search-icon {
        left: 14px;
        font-size: 0.88rem;
    }
    .hero-quick-btn {
        font-size: 0.76rem;
        padding: 5px 12px;
    }
    .scheme-switcher-btn {
        font-size: 0.76rem;
        padding: 5px 12px;
    }
}

/* ================================================================ */
/* ====== COMPACT & MODERN APP STORE DESIGN SYSTEM =============== */
/* ================================================================ */

/* App Store Hero */
.appstore-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #991b1b 100%);
    color: #ffffff;
    padding: 38px 0 28px 0;
    border-radius: 0 0 24px 24px;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}
.appstore-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.4px;
}
.appstore-hero-title {
    font-size: 2.0rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}
.appstore-hero-subtitle {
    font-size: 0.94rem;
    color: #cbd5e1;
    max-width: 640px;
    line-height: 1.5;
    margin-bottom: 0;
}
.appstore-hero-stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.appstore-stat {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 7px 13px;
    display: flex;
    flex-direction: column;
}
.appstore-stat-number {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}
.appstore-stat-label {
    font-size: 0.66rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-weight: 600;
}

/* Category Filter Bar */
.appstore-filter-bar {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}
.appstore-category-pills {
    display: flex;
    gap: 7px;
    flex-wrap: nowrap;
}
.app-filter-btn {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    transition: all 0.2s ease;
    cursor: pointer;
}
.app-filter-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}
.app-filter-btn.active {
    background: #dc2626;
    border-color: #dc2626;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}
.app-filter-btn .badge-count {
    background: rgba(0, 0, 0, 0.08);
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.68rem;
    margin-left: 5px;
}
.app-filter-btn.active .badge-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Toolbar Search & Counter */
.appstore-toolbar {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    padding: 8px 12px !important;
    border-radius: 12px !important;
}
.appstore-search-wrap {
    position: relative;
}
.appstore-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.85rem;
}
.appstore-search-input {
    padding-left: 34px !important;
    padding-right: 30px !important;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    font-size: 0.82rem !important;
    background: #f8fafc !important;
}
.appstore-search-input:focus {
    background: #ffffff !important;
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12) !important;
}
.appstore-search-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.85rem;
}
.appstore-counter-pill {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 600;
}

/* App Store Cards */
.appstore-card {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 16px !important;
    box-shadow: var(--card-shadow) !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
    overflow: hidden;
}
.appstore-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow-hover) !important;
    border-color: #cbd5e1 !important;
}
.appstore-card-header {
    padding: 14px 14px 10px 14px;
    border-bottom: 1px solid #f1f5f9;
}
.appstore-card-icon {
    width: 48px;
    height: 48px;
}
.appstore-card-icon img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    padding: 1.5px;
}
.appstore-card-icon-fallback {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, #dc2626, #0f172a);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 3px 8px rgba(220, 38, 38, 0.2);
}
.appstore-category-tag {
    font-size: 0.66rem;
    font-weight: 700;
    color: #dc2626;
    background: #fef2f2;
    padding: 1.5px 7px;
    border-radius: 10px;
    border: 1px solid #fee2e2;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.appstore-card-title {
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.3;
}
.appstore-card-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.15s ease;
}
.appstore-card-title a:hover {
    color: #dc2626;
}

/* App Store Meta Badges */
.appstore-badge {
    font-family: monospace;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 1.5px 6px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
}
.appstore-version-badge {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
}
.appstore-size-badge {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fee2e2;
}
.appstore-platform-badge {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #dcfce7;
}

/* Card Body */
.appstore-card-body {
    padding: 10px 14px;
    flex-grow: 1;
}
.appstore-card-desc {
    font-size: 0.80rem;
    color: #475569;
    line-height: 1.45;
    margin-bottom: 8px;
}
.appstore-card-features {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 10px;
    margin-bottom: 8px;
}
.appstore-features-heading {
    font-size: 0.70rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.appstore-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.74rem;
    color: #334155;
}
.appstore-features-list li {
    margin-bottom: 3px;
    display: flex;
    align-items: flex-start;
    gap: 5px;
    line-height: 1.35;
}
.appstore-features-list li:last-child {
    margin-bottom: 0;
}
.appstore-package-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.68rem;
    color: #64748b;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}
.appstore-pkg-name code {
    font-size: 0.66rem;
    color: #475569;
    background: #f1f5f9;
    padding: 1px 4px;
    border-radius: 4px;
}

/* Card Footer Actions */
.appstore-card-footer {
    padding: 8px 14px 10px 14px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}
.btn-app-download {
    background: #dc2626;
    color: #ffffff !important;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 16px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 5px rgba(220, 38, 38, 0.25);
    transition: all 0.15s ease;
    border: none;
}
.btn-app-download:hover {
    background: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(220, 38, 38, 0.35);
}
.btn-app-qr {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.80rem;
    cursor: pointer;
    transition: all 0.15s ease;
}
.btn-app-qr:hover {
    background: #fef2f2;
    border-color: #dc2626;
    color: #dc2626;
}
.btn-app-details {
    font-size: 0.76rem;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    transition: color 0.15s ease;
}
.btn-app-details:hover {
    color: #dc2626;
}

/* Single App Detail Page Specifics */
.app-detail-hero-box {
    background: #ffffff;
}
.app-download-action-card {
    background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
    border: 1.5px solid #fee2e2;
    box-shadow: 0 2px 10px rgba(220, 38, 38, 0.06);
}
.app-pulse-btn {
    animation: pulseSubtle 2s infinite;
}
@keyframes pulseSubtle {
    0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

/* ================================================================ */
/* ====== ULTRA-ATTRACTIVE FOOTER DESIGN SYSTEM =================== */

/* Seamless Wave Divider */
.footer-wave-wrapper {
    margin-top: 4.5rem;
    overflow: hidden !important;
    line-height: 0;
    background: transparent;
    width: 100% !important;
    max-width: 100vw !important;
}
.footer-wave-divider {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: 70px;
    fill: #0b0f19;
}

/* Deep Space Glass Footer */
.footer-glass {
    background: #0b0f19;
    color: #94a3b8;
    padding: 60px 0 30px 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
}

/* Footer Ambient Light Accents */
.footer-ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 1;
}
.footer-glow-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #dc2626 0%, transparent 70%);
    top: -100px;
    left: -50px;
}
.footer-glow-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
    bottom: -80px;
    right: -50px;
}

/* Stat Strip Redesigned as Grid/Flex Dashboard Cards */
.footer-stat-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    margin-bottom: 45px;
    position: relative;
    z-index: 2;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.03), 0 10px 30px rgba(0, 0, 0, 0.2);
}
.footer-stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.footer-stat-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.footer-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}
.footer-stat-item:hover .footer-stat-icon {
    transform: scale(1.08) rotate(5deg);
}
.footer-stat-num {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.3px;
}
.footer-stat-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 1px;
}

/* Brand logo circle & Badges */
.footer-brand-glow-circle {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #dc2626, #8b5cf6);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 18px rgba(220, 38, 69, 0.35);
    transition: all 0.3s ease;
}
.footer-brand-logo:hover .footer-brand-glow-circle {
    transform: scale(1.05) rotate(-5deg);
    box-shadow: 0 6px 22px rgba(220, 38, 69, 0.5);
}
.footer-brand-text {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.brand-digi {
    color: #ffffff;
}
.brand-mit-white {
    background: linear-gradient(135deg, #ff4e50, #f9d423);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.footer-brand-badge {
    display: inline-block;
    background: rgba(220, 53, 69, 0.12);
    color: #f87171;
    border: 1px solid rgba(220, 53, 69, 0.25);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 3px 10px;
    border-radius: 10px;
}

/* Status Pill */
.footer-live-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #34d399;
}
.status-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
    animation: statusPulse 2s infinite;
}
@keyframes statusPulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
    70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.footer-description {
    font-size: 0.84rem;
    line-height: 1.6;
    color: #94a3b8;
    margin: 14px 0;
}

.footer-helpline-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}
.footer-support-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #cbd5e1;
    transition: all 0.2s ease;
}
.footer-support-pill:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    transform: translateY(-1.5px);
}

/* Footer Headings */
.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #ffffff;
    margin-bottom: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}
.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, #dc2626, #8b5cf6);
    border-radius: 1px;
}

/* Hover-Interactive link lists */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 3px;
}
.footer-links li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.footer-links li a i {
    font-size: 0.78rem;
    transition: all 0.25s ease;
}
.footer-links li a:hover {
    color: #ffffff;
    transform: translateX(5px);
}
.footer-links li a:hover i {
    transform: scale(1.1) rotate(3deg);
}

.footer-desk-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}
.footer-links li a:hover .footer-desk-bullet {
    transform: scale(1.4);
}

/* Telegram Button & Hover States */
.btn-footer-community {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #0088cc 0%, #00a8ff 100%);
    color: #ffffff !important;
    text-decoration: none;
    padding: 9px 18px;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.35);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.btn-footer-community:hover {
    transform: translateY(-2.5px);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.5);
    color: #ffffff !important;
}

/* Premium bottom copyright & legal links bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 25px;
    margin-top: 35px;
    position: relative;
    z-index: 2;
}
.footer-disclaimer-text {
    font-size: 0.76rem;
    line-height: 1.5;
    color: #64748b;
    background: rgba(220, 38, 38, 0.03);
    border-left: 2.5px solid rgba(220, 38, 38, 0.4);
    padding: 10px 14px;
    border-radius: 0 10px 10px 0;
}
.footer-copyright {
    color: #64748b;
    font-size: 0.74rem;
}
.footer-legal-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
@media (min-width: 992px) {
    .footer-legal-links {
        justify-content: flex-end;
    }
}
.legal-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.78rem;
    transition: all 0.2s ease;
    font-weight: 500;
}
.legal-link:hover {
    color: #dc2626;
}

.footer-admin-link {
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 0.74rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}
.footer-admin-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1.5px);
}
.footer-back-to-top {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #dc2626 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
}
.footer-back-to-top:hover {
    background: #ffffff !important;
    color: #dc2626 !important;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.5);
}

/* Floating Back to Top Button */
.scroll-to-top-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc2626, #991b1b) !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 4px 18px rgba(220, 38, 38, 0.5), 0 2px 8px rgba(15, 23, 42, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.7) translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.scroll-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}
.scroll-to-top-btn:hover {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    color: #ffffff !important;
    transform: scale(1.14) translateY(-4px) !important;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.7), 0 4px 12px rgba(15, 23, 42, 0.25);
}
.scroll-to-top-btn:active {
    transform: scale(0.95) translateY(0) !important;
}

/* ================================================================ */
/* ====== COMPREHENSIVE RESPONSIVE ENGINE ========================= */
/* ================================================================ */

@media (max-width: 991.98px) {
    .hero-title-main {
        font-size: 2rem !important;
    }
    .hero-quick-btn {
        font-size: 0.82rem !important;
        padding: 7px 16px !important;
    }
    .glass-panel, .section-wrapper-unified {
        padding: 22px !important;
        border-radius: 16px !important;
    }
    .appstore-hero {
        padding: 40px 0 35px 0;
    }
    .appstore-hero-stats {
        gap: 20px;
    }
    .single-post-article,
    .single-page-article,
    .single-app-detail {
        padding: 22px !important;
    }
    .post-navigation-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    html, body {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: clip !important;
    }
    .glass-bg-glow, .footer-ambient-glow {
        display: none !important; /* Eliminates background blur bleed on mobile devices */
    }
    .glass-panel, .main-glass-navbar, .section-wrapper-unified {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    .container, .container-fluid {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        overflow-x: clip !important;
    }
    .row, .row[class*="g-"], .row[class*="gx-"] {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .row > * {
        max-width: 100% !important;
    }
    .hero-section-restored {
        padding: 36px 0 28px 0 !important;
        border-radius: 0 0 20px 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
    .hero-title-main {
        font-size: 1.55rem !important;
        line-height: 1.25 !important;
        word-break: break-word !important;
    }
    .hero-tagline-sub {
        font-size: 0.9rem !important;
        margin-bottom: 0.75rem !important;
    }
    .hero-action-pill-box {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        justify-content: flex-start !important;
        padding-bottom: 6px !important;
        -webkit-overflow-scrolling: touch;
        gap: 8px !important;
        margin-top: 0.8rem !important;
        scrollbar-width: none;
    }
    .hero-action-pill-box::-webkit-scrollbar {
        display: none;
    }
    .hero-quick-btn {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
        font-size: 0.78rem !important;
        padding: 6px 14px !important;
    }
    .hero-search-input {
        padding: 10px 36px 10px 38px !important;
        font-size: 0.86rem !important;
    }
    .hero-search-icon {
        left: 12px !important;
        font-size: 0.88rem !important;
    }
    .glass-panel, .section-wrapper-unified {
        padding: 16px 12px !important;
        border-radius: 14px !important;
        margin-bottom: 1.2rem !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
    .section-title-unified {
        font-size: 1.12rem !important;
    }
    .display-result {
        font-size: 1.7rem !important;
        line-height: 1.2 !important;
    }
    .scheme-switcher-btn {
        padding: 6px 12px !important;
        font-size: 0.76rem !important;
    }
    .guide-thumb-unified {
        padding: 11px 12px !important;
    }
    .guide-thumb-unified h6 {
        font-size: 0.88rem !important;
    }
    .appstore-hero {
        padding: 24px 0 18px 0 !important;
        border-radius: 0 0 16px 16px !important;
    }
    .appstore-hero-title {
        font-size: 1.45rem !important;
    }
    .appstore-hero-subtitle {
        font-size: 0.84rem !important;
    }
    .appstore-stat {
        padding: 5px 9px !important;
        border-radius: 8px !important;
    }
    .appstore-stat-number {
        font-size: 0.95rem !important;
    }
    .appstore-stat-label {
        font-size: 0.58rem !important;
    }
    .appstore-card-header {
        padding: 12px 12px 8px 12px !important;
    }
    .appstore-card-body {
        padding: 8px 12px !important;
    }
    .appstore-card-footer {
        padding: 8px 12px 10px 12px !important;
    }
    .btn-app-download {
        font-size: 0.72rem !important;
        padding: 4px 10px !important;
    }
    .btn-app-details {
        font-size: 0.72rem !important;
    }
    .app-filter-btn {
        font-size: 0.72rem !important;
        padding: 5px 11px !important;
    }
    .single-post-article,
    .single-page-article,
    .single-app-detail {
        padding: 16px 12px !important;
        border-radius: 14px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .single-post-title,
    .single-page-title,
    .single-app-title {
        font-size: 1.25rem !important;
        line-height: 1.3 !important;
        word-break: break-word !important;
    }
    .mobile-reading-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .font-size-adjuster {
        justify-content: center;
    }
    .quick-share-toolbar {
        justify-content: center;
    }
    .post-featured-hero {
        margin: -16px -12px 1rem -12px;
        border-radius: 12px 12px 0 0;
        max-height: 220px;
    }
    .post-featured-hero img {
        max-height: 220px;
    }
    .entry-content {
        font-size: 0.95rem !important;
        line-height: 1.65 !important;
        word-break: break-word !important;
    }
    .table-responsive {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .entry-content table, .table {
        font-size: 0.78rem !important;
        margin-bottom: 0 !important;
    }
    .table th, .table td {
        padding: 8px 10px !important;
    }
    .footer-wave-wrapper, .footer-wave-divider {
        width: 100% !important;
        max-width: 100vw !important;
        overflow: hidden !important;
    }
    .footer-glass {
        padding: 32px 0 20px 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
    .footer-links li a {
        min-height: 40px !important;
        font-size: 0.86rem !important;
    }
    .footer-col-links {
        margin-top: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .container, .container-fluid {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    .hero-title-main {
        font-size: 1.35rem !important;
        word-break: break-word !important;
    }
    .hero-quick-btn {
        font-size: 0.72rem !important;
        padding: 4px 9px !important;
    }
    .breadcrumb-glass {
        font-size: 0.70rem;
        padding: 4px 8px;
    }
    .single-post-title {
        font-size: 1.18rem !important;
    }
    .single-post-meta {
        font-size: 0.72rem;
        gap: 6px;
    }
    .appstore-hero-title {
        font-size: 1.35rem;
    }
    .appstore-hero-subtitle {
        font-size: 0.80rem;
    }
    .appstore-stat-number {
        font-size: 1.10rem;
    }
    .app-detail-hero-box {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 10px !important;
    }
    .display-result {
        font-size: 1.50rem !important;
    }
    .scheme-metric-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
    }
    .calculator-sub-metrics {
        grid-template-columns: repeat(3, 1fr) !important;
        padding: 5px 6px !important;
        gap: 3px !important;
    }
    .metric-label {
        font-size: 0.56rem !important;
    }
    .metric-val {
        font-size: 0.72rem !important;
    }
    .btn-preset {
        font-size: 0.70rem !important;
        padding: 2px 7px !important;
    }
    .rates-effective-badge-box {
        margin-top: 2px;
        width: auto;
    }
    .rates-pill-responsive {
        font-size: 0.68rem !important;
        padding: 2.5px 7px !important;
    }
    .forms-category-filter-chips .form-chip {
        font-size: 0.72rem !important;
        padding: 4px 9px !important;
    }
    .footer-col-brand {
        text-align: center;
    }
    .footer-brand-logo {
        justify-content: center;
    }
    .footer-description {
        margin: 8px auto;
    }
    .footer-helpline-pills {
        justify-content: center;
    }
}

/* ================================================================ */
/* ====== ACCESSIBILITY — REDUCED MOTION ========================== */
/* ================================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .glass-bg-glow {
        animation: none !important;
    }
    .reading-progress-bar {
        transition: none;
    }
}

/* ================================================================ */
/* ====== CUSTOM DETAILS SECTION (Single App Page) ================ */
/* ================================================================ */
.app-custom-details-section {
    transition: box-shadow 0.3s var(--ease-smooth), transform 0.3s var(--ease-smooth);
}
.app-custom-details-section:hover {
    box-shadow: 0 8px 24px -4px rgba(13, 110, 253, 0.08);
}

.custom-details-content p {
    margin-bottom: 0.75rem;
    color: #334155;
}
.custom-details-content p:last-child {
    margin-bottom: 0;
}

.custom-details-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    margin: 0.5rem 0;
    transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}
.custom-details-content img:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.custom-details-content ul,
.custom-details-content ol {
    padding-left: 1.25rem;
    margin-bottom: 0.75rem;
}
.custom-details-content ul li {
    list-style: none;
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.35rem;
}
.custom-details-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #dc2626;
}
.custom-details-content ol li {
    margin-bottom: 0.35rem;
}

.custom-details-content a {
    color: #0d6efd;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}
.custom-details-content a:hover {
    color: #dc2626;
}

.custom-details-content blockquote {
    border-left: 4px solid #dc2626;
    background: rgba(220, 53, 69, 0.04);
    padding: 0.75rem 1rem;
    margin: 0.75rem 0;
    border-radius: 0 0.5rem 0.5rem 0;
    font-style: italic;
    color: #475569;
}

.custom-details-content h2,
.custom-details-content h3,
.custom-details-content h4,
.custom-details-content h5,
.custom-details-content h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #0f172a;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.custom-details-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.75rem 0;
    font-size: 0.85rem;
}
.custom-details-content table th,
.custom-details-content table td {
    padding: 0.5rem 0.75rem;
    border: 1px solid #e2e8f0;
    text-align: left;
}
.custom-details-content table th {
    background: #f8fafc;
    font-weight: 600;
    color: #334155;
}
.custom-details-content table tr:hover td {
    background: rgba(13, 110, 253, 0.03);
}

.custom-details-content code {
    background: #f1f5f9;
    padding: 0.15em 0.4em;
    border-radius: 4px;
    font-size: 0.85em;
    color: #dc2626;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}
.custom-details-content pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 0.75rem 0;
    font-size: 0.82rem;
}
.custom-details-content pre code {
    background: none;
    color: inherit;
    padding: 0;
}

/* ================================================================ */
/* ====== ARCHIVE / CATEGORY POST LISTING CARDS =================== */
/* ================================================================ */
.archive-posts-grid {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.archive-post-card {
    border-radius: 0.85rem !important;
    overflow: hidden;
    transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
    border: 1px solid var(--card-border) !important;
}
.archive-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px -6px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(220, 38, 38, 0.06);
}

.archive-post-thumb {
    overflow: hidden;
    border-radius: 0.85rem 0 0 0.85rem;
    min-height: 120px;
}
.archive-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease-smooth);
}
.archive-post-card:hover .archive-post-thumb img {
    transform: scale(1.06);
}

.archive-post-thumb-placeholder {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-radius: 0.85rem 0 0 0.85rem;
    min-height: 120px;
    color: #94a3b8;
    font-size: 2rem;
}

.archive-post-thumb-link {
    text-decoration: none;
}

.archive-post-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.35;
    color: #0f172a;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.archive-post-card:hover .archive-post-title a {
    color: #dc2626 !important;
}

.archive-post-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.82rem;
    line-height: 1.55;
}

.archive-post-meta {
    font-size: 0.75rem;
}

/* Pagination Styling */
.archive-pagination .nav-links {
    display: flex;
    gap: 0.35rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}
.archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.65rem;
    border-radius: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    color: #334155;
    background: #fff;
    border: 1px solid #e2e8f0;
    transition: all 0.2s var(--ease-smooth);
    font-family: var(--font-body);
}
.archive-pagination .page-numbers:hover {
    background: #fef2f2;
    border-color: #fecaca;
    color: #dc2626;
}
.archive-pagination .page-numbers.current {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 3px 10px rgba(220, 38, 38, 0.25);
}
.archive-pagination .page-numbers.dots {
    border: none;
    background: none;
    min-width: auto;
    padding: 0 0.25rem;
    color: #94a3b8;
}
.archive-pagination .prev.page-numbers,
.archive-pagination .next.page-numbers {
    font-weight: 700;
    gap: 0.25rem;
}

/* Mobile refinements for archive cards */
@media (max-width: 575.98px) {
    .archive-post-title {
        font-size: 0.88rem;
    }
    .archive-post-body {
        padding: 0.65rem !important;
    }
    .archive-post-thumb,
    .archive-post-thumb-placeholder {
        min-height: 100px;
    }
}
@media (max-width: 767.98px) {
    .archive-post-excerpt {
        display: none !important;
    }
}

/* ================================================================ */
/* ====== FRONT PAGE: DESK POST CARDS WITH FEATURED IMAGES ======== */
/* ================================================================ */

/* Grid Panel Lift Effect */
.grid-panel-lift {
    transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}
.grid-panel-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px -6px rgba(15, 23, 42, 0.10);
}

/* Desk Post Card (individual post item within a desk panel) */
.desk-post-card {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.4rem 0.55rem;
    border-radius: 0.45rem;
    border: 1px solid transparent;
    transition: all 0.25s var(--ease-smooth);
    margin-bottom: 0.25rem;
    position: relative;
}
.desk-post-card:hover {
    background: #fef2f2;
    border-color: rgba(220, 38, 38, 0.12);
    transform: translateX(3px);
}
.desk-post-card:last-child {
    margin-bottom: 0;
}

/* Featured Image Thumbnail (Small 36×36px) */
.desk-post-thumb {
    width: 36px;
    height: 36px;
    border-radius: 0.4rem;
    overflow: hidden;
    flex-shrink: 0;
}
.desk-post-thumb-img {
    width: 36px !important;
    height: 36px !important;
    object-fit: cover;
    border-radius: 0.4rem;
    border: 1px solid #e2e8f0;
    transition: transform 0.35s var(--ease-smooth);
}
.desk-post-card:hover .desk-post-thumb-img {
    transform: scale(1.08);
}

/* Placeholder when no featured image */
.desk-post-thumb-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 0.4rem;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 0.85rem;
    transition: background 0.3s;
}
.desk-post-card:hover .desk-post-thumb-placeholder {
    background: linear-gradient(135deg, #fecaca, #fef2f2);
    color: #dc2626;
}

/* Post Title */
.desk-post-title {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}
.desk-post-card:hover .desk-post-title {
    color: #dc2626 !important;
}

/* Excerpt */
.desk-post-excerpt {
    font-size: 0.68rem;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Arrow Indicator */
.desk-post-arrow {
    color: #cbd5e1;
    font-size: 0.60rem;
    transition: color 0.2s, transform 0.2s;
}
.desk-post-card:hover .desk-post-arrow {
    color: #dc2626;
    transform: translateX(3px);
}

/* ================================================================ */
/* ====== FRONT PAGE: CIRCULARS TABLE THUMBNAILS ================== */
/* ================================================================ */
.circ-thumb {
    width: 34px;
    height: 34px;
    border-radius: 0.4rem;
    overflow: hidden;
    flex-shrink: 0;
}
.circ-thumb-img {
    width: 34px !important;
    height: 34px !important;
    object-fit: cover;
    border-radius: 0.4rem;
    border: 1px solid #e2e8f0;
}
.circ-thumb-placeholder {
    width: 34px;
    height: 34px;
    border-radius: 0.4rem;
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dc2626;
    font-size: 0.80rem;
}
.circ-row-hover {
    transition: background 0.2s;
}
.circ-row-hover:hover {
    background: rgba(220, 38, 38, 0.03) !important;
}

/* ================================================================ */
/* ====== MOBILE RESPONSIVE IMPROVEMENTS (GLOBAL) ================= */
/* ================================================================ */

/* Desk post cards mobile */
@media (max-width: 575.98px) {
    .desk-post-card {
        padding: 0.35rem 0.45rem;
        gap: 0.45rem;
    }
    .desk-post-thumb,
    .desk-post-thumb-img,
    .desk-post-thumb-placeholder {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.75rem !important;
    }
    .desk-post-title {
        font-size: 0.76rem;
    }
    .desk-post-excerpt {
        display: none !important;
    }

    /* Circulars table mobile */
    .circ-thumb,
    .circ-thumb-img,
    .circ-thumb-placeholder {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.70rem !important;
    }

    /* Section headers mobile spacing */
    .section-wrapper-unified {
        padding: 0.85rem !important;
    }
    .section-title-unified {
        font-size: 0.95rem !important;
    }

    /* Grid panel - full width on mobile */
    #system-modules-desk .col-md-6 {
        padding-left: 0.35rem;
        padding-right: 0.35rem;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .desk-post-thumb,
    .desk-post-thumb-img,
    .desk-post-thumb-placeholder {
        width: 34px !important;
        height: 34px !important;
    }
}

/* ================================================================ */
/* ====== SPEED & SCROLL RENDERING ENGINE PERFORMANCE ============= */
/* ================================================================ */

/* Offscreen Section Rendering Optimization (Faster Initial Paint & 60fps Scroll) */
#calculator-section,
#system-modules-desk,
#exam-section,
#circulars-section,
#app-store-section,
#forms-repo-section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 400px;
}

/* Hardware Acceleration & Paint Containment */
.hero-section-restored,
.glass-panel,
.section-wrapper-unified,
.archive-post-card,
.desk-post-card,
.inner-glass-card-accent {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Mobile Touch Scrolling Polish */
.table-responsive,
.scrollable-scheme-row,
.hero-action-pill-box,
.forms-category-filter-chips {
    -webkit-overflow-scrolling: touch !important;
}

/* ================================================================ */
/* ====== CATEGORY BADGE CHIPS (Fixed White Text Issue) =========== */
/* ================================================================ */
.category-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}
.category-chip {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #dc2626, #991b1b) !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 4px 12px;
    border-radius: 30px;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.25);
    transition: all 0.2s var(--ease-smooth);
    letter-spacing: 0.3px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.category-chip:hover {
    background: linear-gradient(135deg, #0f172a, #1e293b) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.3);
}

/* ================================================================ */
/* ====== COMMENTS SECTION STYLING ================================ */
/* ================================================================ */
.comment-body-card {
    transition: transform 0.2s var(--ease-smooth), box-shadow 0.2s var(--ease-smooth);
}
.comment-body-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08) !important;
}
.comment-list .children {
    padding-left: 1.5rem;
    border-left: 2px solid #fee2e2;
    margin-left: 0.5rem;
    margin-top: 0.75rem;
}
@media (max-width: 575.98px) {
    .comment-list .children {
        padding-left: 0.75rem;
        margin-left: 0.25rem;
    }
}

/* ================================================================ */
/* ====== SINGLE POST PAGE HIGH CONTRAST & TYPOGRAPHY ENGINE ====== */
/* ================================================================ */

/* Post Header Title */
.single-post-title {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 800;
    color: #0f172a !important;
    margin-top: 0.5rem;
    margin-bottom: 0.85rem;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

/* Post Meta Bar */
.single-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    color: #64748b !important;
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}
.single-post-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: #475569 !important;
}
.single-post-meta .meta-divider {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #cbd5e1;
}
.badge-verified-post {
    display: inline-flex;
    align-items: center;
    background: #f0fdf4 !important;
    color: #166534 !important;
    border: 1px solid #bbf7d0 !important;
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
}

/* Reading Utility Toolbar (Font Scaler & Share Buttons) */
.mobile-reading-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    background: #f8fafc !important;
    padding: 0.65rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0 !important;
    margin-bottom: 1.5rem;
}
.font-size-adjuster {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155 !important;
}
.font-btn {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s var(--ease-smooth);
}
.font-btn:hover {
    background: #fee2e2 !important;
    border-color: #fca5a5 !important;
    color: #dc2626 !important;
}
.font-btn-reset {
    background: #f1f5f9 !important;
}

/* Share Buttons */
.quick-share-toolbar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
    font-weight: 600;
    font-size: 0.78rem;
    padding: 5px 12px;
    border-radius: 20px;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.2s var(--ease-smooth);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.share-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
}
.share-btn-native {
    background: #fef2f2 !important;
    color: #dc2626 !important;
    border-color: #fecaca !important;
}
.share-btn-native:hover {
    background: #dc2626 !important;
    color: #ffffff !important;
}
.share-btn-whatsapp {
    background: #f0fdf4 !important;
    color: #166534 !important;
    border-color: #bbf7d0 !important;
}
.share-btn-whatsapp:hover {
    background: #16a34a !important;
    color: #ffffff !important;
}
.share-btn-telegram {
    background: #f0f9ff !important;
    color: #0369a1 !important;
    border-color: #bae6fd !important;
}
.share-btn-telegram:hover {
    background: #0284c7 !important;
    color: #ffffff !important;
}
.share-btn-copy {
    background: #f8fafc !important;
    color: #475569 !important;
    border-color: #cbd5e1 !important;
}
.share-btn-copy:hover {
    background: #0f172a !important;
    color: #ffffff !important;
}

/* Post Article Body Content Typography */
.entry-content {
    color: #334155 !important;
    font-size: 1.05rem;
    line-height: 1.75;
}
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #0f172a !important;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}
.entry-content p {
    color: #334155 !important;
    margin-bottom: 1.25rem;
}
.entry-content strong,
.entry-content b {
    color: #0f172a !important;
    font-weight: 700;
}
.entry-content a {
    color: #0d6efd !important;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.entry-content a:hover {
    color: #dc2626 !important;
}
.entry-content ul,
.entry-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
    color: #334155 !important;
}
.entry-content li {
    margin-bottom: 0.4rem;
}
.entry-content blockquote {
    border-left: 4px solid #dc2626;
    background: #f8fafc !important;
    padding: 1rem 1.25rem;
    margin: 1.25rem 0;
    border-radius: 0 0.75rem 0.75rem 0;
    font-style: italic;
    color: #475569 !important;
}
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    font-size: 0.9rem;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 0.5rem;
    overflow: hidden;
}
.entry-content table th,
.entry-content table td {
    padding: 0.65rem 0.85rem;
    border: 1px solid #e2e8f0;
    text-align: left;
    color: #1e293b !important;
}
.entry-content table th {
    background: #f8fafc !important;
    font-weight: 700;
    color: #0f172a !important;
}
.entry-content table tr:hover td {
    background: rgba(13, 110, 253, 0.03) !important;
}

/* Post Tags */
.tag-pill-badge {
    display: inline-block;
    background: #f1f5f9 !important;
    color: #475569 !important;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 12px;
    text-decoration: none !important;
    border: 1px solid #e2e8f0 !important;
    margin-right: 0.35rem;
    margin-bottom: 0.35rem;
    transition: all 0.2s var(--ease-smooth);
}
.tag-pill-badge:hover {
    background: #fee2e2 !important;
    color: #dc2626 !important;
    border-color: #fecaca !important;
}

/* Post Navigation (Prev / Next Article) */
.post-navigation-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.post-nav-link {
    display: flex;
    flex-direction: column;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    text-decoration: none !important;
    transition: all 0.25s var(--ease-smooth);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.post-nav-link:hover {
    background: #fef2f2 !important;
    border-color: #fecaca !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.08);
}
.nav-direction {
    font-size: 0.72rem;
    font-weight: 700;
    color: #dc2626 !important;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 0.2rem;
}
.nav-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    color: #0f172a !important;
    line-height: 1.35;
}

/* Back to Dashboard Button */
.btn-glass-back {
    display: inline-flex;
    align-items: center;
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #334155 !important;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 7px 18px;
    border-radius: 30px;
    text-decoration: none !important;
    transition: all 0.2s var(--ease-smooth);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.btn-glass-back:hover {
    background: #dc2626 !important;
    color: #ffffff !important;
    border-color: #dc2626 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

/* ==========================================================================
   DIGIMIT UNIFIED DESIGN SYSTEM — SYNCED WITH LOGIN & ADMIN PANEL
   ========================================================================== */

/* ── 1. BREADCRUMBS ── */
.breadcrumb-glass {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    padding: 8px 16px;
    margin: 0 0 1.25rem 0;
    background: #ffffff !important;
    border: 1px solid var(--card-border) !important;
    border-radius: 30px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--slate-muted);
}
.breadcrumb-glass li {
    display: inline-flex;
    align-items: center;
}
.breadcrumb-glass a {
    color: var(--slate-body);
    text-decoration: none;
    transition: color 0.15s ease;
}
.breadcrumb-glass a:hover {
    color: var(--primary-accent);
}
.breadcrumb-glass .separator {
    margin: 0 8px;
    color: #cbd5e1;
    font-size: 0.65rem;
}
.breadcrumb-glass .active {
    color: var(--primary-accent);
    font-weight: 700;
}

/* ── 2. READING PROGRESS BAR ── */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #dc2626, #f97316, #dc2626);
    z-index: 9999;
    width: 0%;
    transition: width 0.1s ease-out;
}

/* ── DESKTOP/MOBILE NAV VISIBILITY (ID-based — immune to Bootstrap cascade conflicts) ── */
#desktopNavMenu {
    display: none !important;
}
#mobileNavControls {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
}
@media (min-width: 992px) {
    #desktopNavMenu {
        display: flex !important;
        justify-content: flex-end;
        align-items: center;
        gap: 0.5rem;
        margin-left: auto;
    }
    #mobileNavControls {
        display: none !important;
    }
}

/* ── 3. TOP NAVBAR & BRAND IDENTITY ── */
.main-glass-navbar {
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
    transition: all 0.3s ease;
    z-index: 1030;
}
.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}
.desktop-horizontal-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}
.desktop-horizontal-menu li a {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    color: #334155 !important;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: 10px;
    text-decoration: none !important;
    transition: all 0.15s ease;
}
.desktop-horizontal-menu li a:hover {
    color: #dc2626 !important;
    background: rgba(220, 38, 38, 0.06);
}
.desktop-horizontal-menu li.current-menu-item a,
.desktop-horizontal-menu li.active a {
    color: #ffffff !important;
    background: #dc2626 !important;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.25);
}

/* Language Switcher Buttons */
.lang-btn, .lang-btn-mobile {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    color: #64748b;
    border: none;
    background: transparent;
    transition: all 0.15s ease;
}
.lang-btn.active, .lang-btn-mobile.active,
.lang-select-btn.active {
    background: #dc2626 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.25);
}

/* ── 4. OFFCANVAS MOBILE DRAWER ── */
.custom-right-drawer {
    width: 320px !important;
    max-width: 85vw !important;
    background: #f8fafc !important;
    border-left: 1px solid #e2e8f0 !important;
}
.custom-right-drawer .offcanvas-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}
.mobile-iconic-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.menu-item-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}
.menu-item-card:hover, .menu-item-card:active {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}
.menu-item-card a {
    text-decoration: none !important;
    display: block;
}
.border-start-home     { border-left: 4px solid #64748b !important; }
.border-start-apt      { border-left: 4px solid #0d6efd !important; }
.border-start-finacle  { border-left: 4px solid #198754 !important; }
.border-start-aadhar   { border-left: 4px solid #0dcaf0 !important; }
.border-start-tech     { border-left: 4px solid #f59e0b !important; }

/* ── 5. APP STORE STYLES ── */
.appstore-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #991b1b 100%) !important;
    color: #ffffff;
    padding: 42px 0 36px 0;
    border-radius: 0 0 24px 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
}
.appstore-hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 0.3px;
    backdrop-filter: blur(8px);
}
.appstore-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 4vw, 2.3rem);
    font-weight: 900;
    letter-spacing: -0.5px;
    color: #ffffff;
    margin-bottom: 0.4rem;
}
.appstore-hero-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 580px;
    line-height: 1.5;
    margin-bottom: 0;
}
.appstore-hero-stats {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.appstore-stat {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 6px 14px;
    display: inline-flex;
    flex-direction: column;
    min-width: 90px;
}
.appstore-stat-number {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
}
.appstore-stat-label {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}
.appstore-phone-mockup {
    width: 140px;
    height: 190px;
    background: #0f172a;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 8px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.appstore-phone-notch {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    margin-bottom: 12px;
}
.appstore-phone-screen {
    flex-grow: 1;
    width: 100%;
    background: linear-gradient(180deg, #1e293b, #0f172a);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.appstore-phone-icon {
    font-size: 2.2rem;
    color: #22c55e;
}
.appstore-phone-text {
    font-size: 0.68rem;
    font-weight: 700;
    color: #ffffff;
}

/* Category Filter Horizontal Pills */
.appstore-filter-bar {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
}
.appstore-category-pills {
    display: flex;
    gap: 8px;
    width: max-content;
}
.app-filter-btn {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: #334155;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 7px 16px;
    border-radius: 30px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
}
.app-filter-btn:hover {
    background: #fee2e2;
    border-color: #dc2626;
    color: #dc2626;
}
.app-filter-btn.active {
    background: #dc2626 !important;
    border-color: #dc2626 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}
.app-filter-btn .badge-count {
    background: rgba(0, 0, 0, 0.12);
    color: inherit;
    font-size: 0.68rem;
    padding: 1px 6px;
    border-radius: 10px;
    margin-left: 6px;
}
.app-filter-btn.active .badge-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* App Search Bar */
.appstore-toolbar {
    padding: 14px 18px;
}
.appstore-search-wrap {
    position: relative;
    width: 100%;
}
.appstore-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.9rem;
}
.appstore-search-input {
    padding-left: 38px !important;
    padding-right: 36px !important;
    font-size: 0.9rem;
    height: 44px;
}
.appstore-search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
}
.appstore-counter-pill {
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
}

/* App Card Layout */
.appstore-card-modern {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--card-shadow);
    transition: all 0.25s var(--ease-smooth);
    position: relative;
}
.appstore-card-modern:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-shadow-hover);
    border-color: #cbd5e1;
}
.appstore-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.70rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}
.appstore-version-badge {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fee2e2;
    font-weight: 700;
}
.appstore-size-badge {
    background: #f0fdf4;
    color: #16a34a;
    border-color: #dcfce7;
}
.app-pulse-btn {
    transition: all 0.2s ease;
}
.app-pulse-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.35) !important;
}

/* ── 6. QUIZ & CBT ENGINE STYLES ── */
.custom-exam-tabs .nav-link {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: #334155;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.15s ease;
}
.custom-exam-tabs .nav-link:hover {
    background: #fee2e2;
    color: #dc2626;
    border-color: #dc2626;
}
.custom-exam-tabs .nav-link.active {
    background: #dc2626 !important;
    color: #ffffff !important;
    border-color: #dc2626 !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.cadre-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 18px;
    padding: 22px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    transition: all 0.2s ease;
}
.cadre-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.09);
    border-color: #dc2626;
}

.cbt-timer-badge {
    background: #0f172a;
    color: #f8fafc;
    font-family: 'Outfit', monospace;
    font-size: 1.15rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
}

.cbt-option-card {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 10px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.15s ease;
}
.cbt-option-card:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}
.cbt-option-card.selected {
    background: #fef2f2;
    border-color: #dc2626;
    box-shadow: 0 0 0 1px #dc2626;
}
.cbt-option-letter {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #0f172a;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
    font-family: var(--font-heading);
}
.cbt-option-card.selected .cbt-option-letter {
    background: #dc2626;
    color: #ffffff;
}

.palette-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    font-weight: 700;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}
.palette-btn.answered {
    background: #22c55e;
    color: #ffffff;
    border-color: #16a34a;
}
.palette-btn.marked {
    background: #a855f7;
    color: #ffffff;
    border-color: #9333ea;
}
.palette-btn.current {
    box-shadow: 0 0 0 2px #dc2626;
}

/* ── 7. FOOTER GLASS ARCHITECTURE ── */
.footer-wave-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-top: 2rem;
}
.footer-wave-divider {
    position: relative;
    display: block;
    width: 100%;
    height: 48px;
}
.footer-glass {
    background: #0f172a !important;
    color: #94a3b8;
    position: relative;
    overflow: hidden;
    padding-top: 2.5rem;
    padding-bottom: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.12;
}
.footer-glow-1 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, #dc2626 0%, transparent 70%);
    top: -50px;
    right: 5%;
}
.footer-glow-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
    bottom: 10px;
    left: 5%;
}
.footer-brand-glow-circle {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
    margin-right: 6px;
}
.footer-brand-badge {
    background: rgba(220, 38, 38, 0.15);
    color: #f87171;
    font-size: 0.65rem;
    font-weight: 700;
    font-family: var(--font-heading);
    padding: 2px 8px;
    border-radius: 20px;
    border: 1px solid rgba(220, 38, 38, 0.3);
    margin-left: 8px;
}
.footer-live-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}
.status-pulse-dot {
    width: 7px;
    height: 7px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.4);
    animation: statusPulse 2s infinite;
}
@keyframes statusPulse {
    0%   { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70%  { transform: scale(1);    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.footer-description {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 0;
}
.footer-support-pill {
    font-size: 0.72rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
}
.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: 0.2px;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.footer-links li a {
    color: #94a3b8;
    font-size: 0.82rem;
    text-decoration: none;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.footer-links li a:hover {
    color: #ffffff;
    transform: translateX(3px);
}
.footer-desk-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.footer-copy-text {
    font-size: 0.82rem;
    color: #cbd5e1;
}
.footer-admin-link {
    color: #cbd5e1;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
}
.footer-admin-link:hover {
    color: #ffffff;
    background: rgba(220, 38, 38, 0.25);
    border-color: #dc2626;
}
.footer-back-to-top, .scroll-to-top-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #dc2626;
    color: #ffffff;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
}
.footer-back-to-top:hover, .scroll-to-top-btn:hover {
    background: #b91c1c;
    transform: translateY(-2px);
}
.scroll-to-top-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1020;
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}
.scroll-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

/* ── 8. UNIVERSAL MOBILE MEDIA QUERIES & ZERO OVERFLOW ── */
@media (max-width: 768px) {
    .glass-panel,
    .section-wrapper-unified,
    .inner-glass-card-accent,
    .inner-glass-result-card {
        padding: 18px 16px !important;
        border-radius: 16px !important;
        margin-bottom: 1.25rem !important;
    }
    
    .single-page-title,
    .single-post-title {
        font-size: 1.45rem !important;
        line-height: 1.3 !important;
    }

    .hero-section-restored {
        padding: 36px 0 30px 0 !important;
        border-radius: 0 0 18px 18px !important;
    }
    
    .hero-title-main {
        font-size: 1.85rem !important;
    }

    .display-result {
        font-size: 1.8rem !important;
    }

    .post-navigation-row {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    .calculator-sub-metrics {
        grid-template-columns: 1fr 1fr !important;
    }

    .footer-glass {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

@media (max-width: 480px) {
    body, html {
        font-size: 14.5px;
    }

    .single-page-title,
    .single-post-title {
        font-size: 1.3rem !important;
    }

    .glass-panel,
    .section-wrapper-unified {
        padding: 15px 12px !important;
        border-radius: 14px !important;
    }

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

    .calculator-sub-metrics {
        grid-template-columns: 1fr !important;
    }

    .btn-glass-back, .footer-admin-link {
        font-size: 0.75rem !important;
        padding: 5px 12px !important;
    }
}

/* ── 9. ULTRA-PREMIUM NATIVE MOBILE APP DOCK & RESPONSIVE DESIGN ── */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 66px;
    z-index: 1050;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.45);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-nav-container {
    display: flex;
    height: 100%;
    width: 100%;
    align-items: center;
    justify-content: space-around;
    padding: 0 6px;
    max-width: 640px;
    margin: 0 auto;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #94a3b8;
    flex: 1;
    height: 100%;
    padding: 5px 0;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
}

.mobile-nav-item:hover,
.mobile-nav-item:focus,
.mobile-nav-item:active {
    color: #cbd5e1;
    text-decoration: none;
    transform: scale(0.96);
}

.mobile-nav-item.active {
    color: #ffffff;
}

.mobile-nav-icon-wrapper {
    width: 44px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.18rem;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid transparent;
}

.mobile-nav-item.active .mobile-nav-icon-wrapper {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.35), rgba(185, 28, 28, 0.25));
    color: #f87171;
    border-color: rgba(220, 38, 38, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.45);
}

.mobile-nav-label {
    font-size: 0.66rem;
    font-weight: 700;
    margin-top: 3px;
    letter-spacing: 0.25px;
    font-family: var(--font-heading);
    line-height: 1;
    transition: color 0.2s ease;
}

.mobile-nav-item.active .mobile-nav-label {
    color: #ffffff;
    font-weight: 800;
}

.mobile-badge-dot {
    position: absolute;
    top: 2px;
    right: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dc2626;
    border: 1.5px solid #0f172a;
    box-shadow: 0 0 8px rgba(220, 38, 38, 0.8);
    animation: statusPulse 2s infinite;
}

@media (min-width: 992px) {
    .mobile-bottom-nav {
        display: none !important;
    }

    body {
        padding-bottom: 0 !important;
    }

    .main-glass-navbar {
        background: rgba(255, 255, 255, 0.92) !important;
        backdrop-filter: blur(16px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
        border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
        box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06) !important;
    }

    .front-hero-card {
        padding: 42px 36px !important;
        border-radius: 28px !important;
        border: 1px solid rgba(255, 255, 255, 0.9) !important;
        box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.08), 0 8px 24px -6px rgba(15, 23, 42, 0.04) !important;
    }

    .front-hero-title {
        font-size: 2.75rem !important;
        line-height: 1.2 !important;
        letter-spacing: -0.5px !important;
    }

    .section-wrapper-unified {
        padding: 32px 30px !important;
        border-radius: 24px !important;
        box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05) !important;
    }

    .hero-stats-grid .col-md-3 {
        flex: 0 0 auto;
        width: 25%;
    }
}

@media (max-width: 991.98px) {
    .mobile-bottom-nav {
        display: flex !important;
    }

    body {
        padding-bottom: 78px !important;
    }
    
    .scroll-to-top-btn {
        bottom: 82px !important;
        right: 16px !important;
        width: 42px !important;
        height: 42px !important;
        font-size: 1rem !important;
        box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4) !important;
    }

    .footer-glass {
        padding-bottom: 6rem !important;
    }
    
    .main-glass-navbar {
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
        box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06) !important;
    }
}

/* Footer Legal Links & Buttons Polish */
.legal-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 500;
    transition: all 0.15s ease;
}

.legal-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.btn-footer-community {
    background: linear-gradient(135deg, #0088cc, #006699);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 136, 204, 0.35);
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-footer-community:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 136, 204, 0.5);
    color: #ffffff !important;
}

/* ═══════════════════════════════════════════════════════════════
   10. COMPLETE MISSING CSS — NAVBAR, HERO, BRAND, NAV PILLS
   All classes used in header.php / front-page.php that were
   previously undefined — ROOT CAUSE OF DESIGN NOT SHOWING.
   ═══════════════════════════════════════════════════════════════ */

/* ── NAVBAR BRAND IDENTITY ── */
.nav-brand-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
    flex-shrink: 0;
}

.brand-text-logo {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.5px;
}

.brand-digi {
    color: #dc2626;
}

.brand-mit {
    color: #0f172a;
}

.brand-mit-light {
    color: #ffffff;
}

.brand-mit-white {
    color: #f1f5f9;
}

.brand-tagline-mini {
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #64748b;
    text-transform: uppercase;
    font-family: var(--font-body);
}

/* ── NAV PILL LINKS (Desktop Menu Items) ── */
.nav-pill-link {
    font-size: 0.88rem;
    font-weight: 700;
    color: #334155 !important;
    text-decoration: none;
    padding: 7px 15px;
    border-radius: 20px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    border: 1px solid transparent;
}

.nav-pill-link:hover {
    background: #fee2e2;
    color: #dc2626 !important;
    border-color: rgba(220, 38, 38, 0.15);
}

.nav-pill-link.active {
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: #ffffff !important;
    border-color: transparent;
    box-shadow: 0 3px 10px rgba(220, 38, 38, 0.3);
}

/* ── NAVBAR CTA BUTTON ── */
.btn-nav-cta {
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 18px;
    border-radius: 20px;
    border: none;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.45);
    color: #ffffff !important;
    background: linear-gradient(135deg, #b91c1c, #7f1d1d);
}

/* ── NAV ICON BUTTON ── */
.nav-icon-btn {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    color: #334155;
}

.nav-icon-btn:hover {
    background: #fee2e2;
    color: #dc2626;
    border-color: rgba(220, 38, 38, 0.2) !important;
}

/* ── NAV HAMBURGER BUTTON (Mobile) ── */
.btn-nav-hamburger {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dc2626, #991b1b) !important;
    color: #ffffff !important;
    border-radius: 50%;
    font-size: 0.95rem;
    box-shadow: 0 3px 10px rgba(220, 38, 38, 0.3);
    transition: all 0.2s ease;
}

.btn-nav-hamburger:hover {
    transform: scale(1.08);
    box-shadow: 0 5px 16px rgba(220, 38, 38, 0.45);
}

/* ── NAV HOT/NEW BADGE PILLS ── */
.nav-pulse-badge {
    font-size: 0.58rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 8px;
    position: absolute;
    top: 2px;
    right: -2px;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.bg-purple {
    background: #8b5cf6 !important;
}

/* ── LANGUAGE SWITCHER BUTTONS ── */
.lang-btn, .lang-btn-mobile {
    font-size: 0.72rem;
    font-weight: 700;
    color: #334155;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.15s ease;
}

.lang-btn.active, .lang-btn-mobile.active {
    background: #dc2626 !important;
    color: #ffffff !important;
}

/* ── TOPBAR STRIP ── */
.header-top-bar {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.82rem;
}

.top-bar-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: #334155;
    background: rgba(220, 38, 38, 0.07);
    padding: 2px 10px;
    border-radius: 12px;
}

.top-bar-link {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    transition: color 0.15s ease;
}

.top-bar-link:hover {
    color: #dc2626;
}

.pulse-dot-live {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.3);
    animation: statusPulse 2s infinite;
    will-change: box-shadow;
    vertical-align: middle;
}

/* ── READING PROGRESS BAR ── */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #dc2626, #f97316);
    z-index: 9999;
    width: 0%;
    transition: width 0.1s ease;
}

/* ═══════════════════════════════════════════════════════════════
   11. HERO SECTION — ALL MISSING CLASSES
   ═══════════════════════════════════════════════════════════════ */

.front-hero-wrapper {
    padding: 16px 0 0 0;
}

.front-hero-card {
    background: linear-gradient(135deg, #991b1b 0%, #dc2626 40%, #1e3a5f 100%);
    border-radius: 24px;
    padding: 40px 28px 36px;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    box-shadow: 0 20px 50px -8px rgba(15, 23, 42, 0.2), 0 8px 24px -4px rgba(220, 38, 38, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 767.98px) {
    .front-hero-card {
        border-radius: 18px;
        padding: 28px 18px 24px;
    }
}

/* Ambient Glow Blobs inside Hero */
.hero-ambient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    opacity: 0.3;
    will-change: transform;
}

.blob-red {
    width: 300px;
    height: 300px;
    background: #dc2626;
    top: -80px;
    right: -60px;
}

.blob-purple {
    width: 200px;
    height: 200px;
    background: #8b5cf6;
    bottom: -50px;
    left: 10%;
    opacity: 0.2;
}

.blob-blue {
    width: 250px;
    height: 250px;
    background: #3b82f6;
    top: 30%;
    left: -60px;
    opacity: 0.15;
}

/* Hero Badge Pill */
.hero-badge-pill {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff;
    font-size: 0.78rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Hero Title */
.front-hero-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 767.98px) {
    .front-hero-title {
        font-size: 1.7rem;
    }
}

/* Hero Subtitle */
.front-hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
    line-height: 1.6;
    font-weight: 400;
}

@media (max-width: 767.98px) {
    .front-hero-subtitle {
        font-size: 0.9rem;
    }
}

/* Hero Quick Button Colors */
.hero-quick-btn.btn-blue {
    background: #dbeafe;
    color: #1d4ed8 !important;
    border-color: #bfdbfe;
}
.hero-quick-btn.btn-blue:hover {
    background: #1d4ed8;
    color: #ffffff !important;
}

.hero-quick-btn.btn-purple {
    background: #ede9fe;
    color: #7c3aed !important;
    border-color: #ddd6fe;
}
.hero-quick-btn.btn-purple:hover {
    background: #7c3aed;
    color: #ffffff !important;
}

.hero-quick-btn.btn-green {
    background: #dcfce7;
    color: #16a34a !important;
    border-color: #bbf7d0;
}
.hero-quick-btn.btn-green:hover {
    background: #16a34a;
    color: #ffffff !important;
}

.hero-quick-btn.btn-amber {
    background: #fef9c3;
    color: #a16207 !important;
    border-color: #fef08a;
}
.hero-quick-btn.btn-amber:hover {
    background: #a16207;
    color: #ffffff !important;
}

/* Hero Search Bar */
.hero-search-wrapper {
    max-width: 580px;
    width: 100%;
}

.hero-command-box {
    position: relative;
}

.hero-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    z-index: 2;
}

.hero-search-input {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 14px !important;
    color: #ffffff !important;
    padding-left: 42px !important;
    padding-right: 110px !important; /* Make room for the inline search button */
    height: 48px;
    font-size: 0.9rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}

.hero-search-input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.hero-search-input:focus {
    background: rgba(255, 255, 255, 0.18) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

.hero-search-clear {
    position: absolute;
    right: 96px; /* Shift left to avoid overlapping the search button */
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 4px;
    z-index: 2;
}

.search-submit-btn {
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    height: 40px;
    border-radius: 10px !important;
    background: #dc2626 !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0 16px;
    z-index: 3;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.search-submit-btn:hover {
    background: #b91c1c !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.5);
    transform: translateY(-0.5px);
}

.hero-search-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
    z-index: 100;
    overflow: hidden;
    max-height: 320px;
    overflow-y: auto;
}

/* Hero Stats Grid */
.hero-stats-grid {
    row-gap: 10px !important;
}

.hero-stat-card {
    border-radius: 16px;
    padding: 14px 12px;
    text-align: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}

.hero-stat-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.18);
}

.hero-stat-card .stat-icon {
    font-size: 1.4rem;
    margin-bottom: 6px;
    display: block;
    opacity: 0.9;
}

.hero-stat-card .stat-num {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 3px;
}

.hero-stat-card .stat-label {
    font-size: 0.68rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-stat-red .stat-icon { color: #fca5a5; }
.card-stat-purple .stat-icon { color: #c4b5fd; }
.card-stat-blue .stat-icon { color: #93c5fd; }
.card-stat-green .stat-icon { color: #86efac; }

/* ═══════════════════════════════════════════════════════════════
   12. ALERT HUB & MARQUEE NOTIFICATION STRIP
   ═══════════════════════════════════════════════════════════════ */

.marquee-glass-container {
    background: linear-gradient(90deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: #ffffff;
    padding: 9px 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.marquee-badge {
    background: rgba(220, 38, 38, 0.2);
    color: #f87171;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 14px;
    border: 1px solid rgba(220, 38, 38, 0.3);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-right: 12px;
}

.marquee-scroll-axis {
    overflow: hidden;
    position: relative;
}

.marquee-link-item {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    display: block;
}

.marquee-moving-text {
    display: inline-block;
    animation: marqueeScroll 28s linear infinite;
    white-space: nowrap;
    font-size: 0.82rem;
    font-weight: 500;
}

@keyframes marqueeScroll {
    0%   { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.alert-hub-glass-card {
    background: #ffffff !important;
}

.alert-icon-avatar {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* ═══════════════════════════════════════════════════════════════
   13. DRAWER SIDEBAR COMPLETE STYLES
   ═══════════════════════════════════════════════════════════════ */

.drawer-header-brand {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 18px;
}

.drawer-brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.drawer-brand-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1;
}

.drawer-brand-subtitle {
    font-size: 0.68rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
    display: flex;
    align-items: center;
}

.drawer-body-custom {
    background: #f8fafc !important;
}

.drawer-search-box {
    position: relative;
}

.drawer-search-input {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding-left: 36px !important;
    font-size: 0.82rem;
}

.drawer-search-input:focus {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}

.drawer-lang-card {
    background: #ffffff;
    border: 1px solid #e2e8f0 !important;
}

.drawer-group-title {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    margin-bottom: 8px;
    padding: 0 4px;
    display: flex;
    align-items: center;
}

.drawer-menu-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.drawer-nav-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    text-decoration: none;
    color: #0f172a;
    transition: all 0.18s ease;
    cursor: pointer;
}

.drawer-nav-card:hover {
    background: #fef2f2;
    border-color: rgba(220, 38, 38, 0.2);
    transform: translateX(3px);
    text-decoration: none;
    color: #0f172a;
}

.drawer-nav-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    color: #ffffff;
}

.icon-home { background: linear-gradient(135deg, #dc2626, #991b1b); }
.icon-appstore { background: linear-gradient(135deg, #16a34a, #15803d); }
.icon-quiz { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.icon-calc { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.icon-forms { background: linear-gradient(135deg, #d97706, #b45309); }
.icon-circ { background: linear-gradient(135deg, #0891b2, #0e7490); }
.icon-apt { background: linear-gradient(135deg, #0284c7, #0369a1); }
.icon-finacle { background: linear-gradient(135deg, #10b981, #059669); }
.icon-aadhar { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.icon-tech { background: linear-gradient(135deg, #f59e0b, #d97706); }
.icon-about { background: linear-gradient(135deg, #64748b, #475569); }
.icon-contact { background: linear-gradient(135deg, #dc2626, #991b1b); }
.icon-privacy { background: linear-gradient(135deg, #0891b2, #0e7490); }
.icon-terms { background: linear-gradient(135deg, #7c3aed, #6d28d9); }
.icon-disclaimer { background: linear-gradient(135deg, #d97706, #b45309); }

.drawer-nav-content {
    flex: 1;
    min-width: 0;
}

.drawer-nav-heading {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.drawer-nav-desc {
    font-size: 0.72rem;
    color: #4b5563; /* Improved contrast: was #64748b */
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.drawer-nav-arrow {
    color: #cbd5e1;
    font-size: 0.75rem;
    flex-shrink: 0;
    transition: transform 0.15s ease;
}

.drawer-nav-card:hover .drawer-nav-arrow {
    transform: translateX(3px);
    color: #dc2626;
}

.drawer-footer-custom {
    border-top: 1px solid #e2e8f0;
    background: #f8fafc !important;
}

/* Lang Select Buttons in Drawer */
.lang-select-btn {
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    background: transparent;
    border: none;
    flex: 1;
    transition: all 0.15s ease;
}
.lang-select-btn.active {
    background: #dc2626 !important;
    color: #ffffff !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   14. PROFESSIONAL FOOTER — Complete Design System
   Dark glassmorphic footer with 4-column grid, trust badges, wave top.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Wave Transition ── */
.footer-wave-wrapper {
    display: block;
    line-height: 0;
    margin-bottom: -2px;
    overflow: hidden;
}

.footer-wave-divider {
    width: 100%;
    height: 70px;
    display: block;
}

@media (max-width: 767.98px) {
    .footer-wave-divider { height: 45px; }
}

/* ── Footer Shell ── */
.footer-glass {
    background: linear-gradient(160deg, #0b0f19 0%, #0f172a 50%, #111827 100%);
    position: relative;
    overflow: hidden;
    padding: 56px 0 28px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Mobile: add padding-bottom for the dock */
@media (max-width: 991.98px) {
    .footer-glass { padding-bottom: 100px; }
}

/* ── Ambient Glow Blobs ── */
.footer-ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    opacity: 0.08;
}

.footer-glow-1 {
    width: 500px;
    height: 500px;
    background: #dc2626;
    top: -120px;
    right: -100px;
}

.footer-glow-2 {
    width: 400px;
    height: 400px;
    background: #3b82f6;
    bottom: 0;
    left: -80px;
}

/* ── Brand Column ── */
.footer-col-brand {}

.footer-brand-logo { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }

.footer-brand-glow-circle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.4);
    flex-shrink: 0;
}

.footer-brand-text {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.5px;
}

.footer-brand-badge {
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 3px 10px;
    border-radius: 12px;
    white-space: nowrap;
}

/* ── Live Status Pill ── */
.footer-live-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #86efac;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

.status-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34,197,94,0.25);
    animation: statusPulse 2s infinite;
    flex-shrink: 0;
    display: inline-block;
}

@keyframes statusPulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.25); }
    50%       { box-shadow: 0 0 0 6px rgba(34,197,94,0.05); }
}

/* ── Footer Description ── */
.footer-description {
    color: rgba(255,255,255,0.5);
    font-size: 0.84rem;
    line-height: 1.7;
    margin: 0;
}

/* ── Trust / Support Pills ── */
.footer-helpline-pills { display: flex; flex-wrap: wrap; gap: 8px; }

.footer-support-pill {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 14px;
    padding: 4px 11px;
    transition: all 0.2s ease;
}

.footer-support-pill:hover {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.85);
}

/* ── Link Column Headers ── */
.footer-col-links { }

.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* ── Footer Link Lists ── */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-links li a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 10px;
    border-radius: 9px;
    font-size: 0.83rem;
    font-weight: 500;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: all 0.18s ease;
    border: 1px solid transparent;
}

.footer-links li a:hover {
    color: #ffffff;
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.08);
    transform: translateX(4px);
}

.footer-links li a i {
    font-size: 0.82rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

/* ── Operational Desk Bullet Indicator ── */
.footer-desk-bullet {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── Community / Telegram Button ── */
.btn-footer-community {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #0088cc, #006699);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 9px 18px;
    border-radius: 20px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0,136,204,0.35);
    transition: all 0.2s ease;
    border: 1px solid rgba(255,255,255,0.15);
}

.btn-footer-community:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0,136,204,0.5);
    color: #ffffff !important;
}

/* ── Footer Bottom Bar ── */
.footer-bottom {
    padding-top: 22px;
    margin-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.07) !important;
}

.footer-disclaimer-text {
    color: rgba(255,255,255,0.38) !important;
    font-size: 0.75rem !important;
    line-height: 1.6 !important;
}

.footer-copyright {
    color: rgba(255,255,255,0.35) !important;
    font-size: 0.7rem !important;
}

/* ── Footer Legal Links ── */
.footer-legal-links {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: center;
}

.legal-link {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: color 0.15s ease;
}

.legal-link:hover {
    color: #f87171;
    text-decoration: underline;
}

/* ── Footer Divider Separator ── */
.footer-section-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.07);
    margin: 24px 0;
}

/* ── Footer NPS/Stat Strip ── */
.footer-stat-strip {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 32px;
}

.footer-stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: #ffffff;
    flex-shrink: 0;
}

.footer-stat-num {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
}

.footer-stat-label {
    font-size: 0.68rem;
    font-weight: 600;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* ═══════════════════════════════════════════════════════════════════════
   15. NATIVE MOBILE BOTTOM DOCK NAVIGATION
   ═══════════════════════════════════════════════════════════════════════ */

.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1050;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(15,23,42,0.1);
    box-shadow: 0 -4px 20px rgba(15,23,42,0.1);
    padding: 6px 0 max(8px, env(safe-area-inset-bottom));
    display: none; /* shown by @media below */
}

@media (max-width: 991.98px) {
    .mobile-bottom-nav {
        display: flex !important;
        flex-direction: column;
    }
}

@media (min-width: 992px) {
    .mobile-bottom-nav {
        display: none !important;
    }
}

.mobile-nav-container {
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    width: 100%;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 3px;
    padding: 4px 2px;
    text-decoration: none;
    color: #64748b;
    cursor: pointer;
    position: relative;
    transition: color 0.18s ease;
    -webkit-tap-highlight-color: transparent;
    min-width: 0;
}

.mobile-nav-item.active,
.mobile-nav-item:active {
    color: #dc2626;
}

.mobile-nav-icon-wrapper {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    transition: all 0.2s ease;
    color: inherit;
}

.mobile-nav-item.active .mobile-nav-icon-wrapper {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
}

.mobile-nav-item:not(.active):hover .mobile-nav-icon-wrapper {
    background: rgba(15,23,42,0.05);
}

.mobile-nav-label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 60px;
    text-align: center;
}

/* Mobile dock active indicator dot */
.mobile-nav-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: #dc2626;
}

/* Mobile badge dot */
.mobile-badge-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #dc2626;
    border: 1.5px solid #ffffff;
    display: block;
}

.mobile-badge-dot.bg-success { background: #16a34a; }

/* ═══════════════════════════════════════════════════════════════════════
   16. FRONT PAGE SECTION ENHANCEMENTS
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Hero Action Pills — Scrollable Container ── */
.hero-action-pill-box {
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.hero-action-pill-box::-webkit-scrollbar { display: none; }

@media (max-width: 767.98px) {
    .hero-action-pill-box {
        justify-content: flex-start !important;
        padding-left: 4px;
    }

    .hero-quick-btn {
        flex-shrink: 0;
        white-space: nowrap;
    }
}

/* ── Main Content Body Padding ── */
.style-glass-layout-grid {
    padding-top: 8px;
    padding-bottom: 32px;
}

/* ── Mobile page body bottom clearance for dock ── */
@media (max-width: 991.98px) {
    body {
        padding-bottom: 72px !important;
    }
}

/* ── Glow-4 / Purpl/* ═══════════════════════════════════════════════════════════════════════
   17. UNIFIED PREMIUM FRONT-PAGE LAYOUT & DESIGN SYSTEM
   Clean light-mode glassmorphic interface with consistent Slate (#0f172a)
   and India Post Red (#dc2626) accents. No clashing colored background blocks.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── PAGE BASE ── */
body {
    background-color: #f8fafc !important;
    background-image: 
        radial-gradient(at 0% 0%, rgba(220, 38, 38, 0.03) 0, transparent 50%),
        radial-gradient(at 50% 0%, rgba(59, 130, 246, 0.02) 0, transparent 50%),
        radial-gradient(at 100% 0%, rgba(139, 92, 246, 0.03) 0, transparent 50%) !important;
    background-attachment: fixed !important;
}

/* ── UNIFIED GLASS PANEL CARD ── */
.section-wrapper-unified {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 18px -4px rgba(15, 23, 42, 0.04), 0 4px 8px -4px rgba(15, 23, 42, 0.03) !important;
    padding: 18px !important;
    margin-bottom: 16px !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease !important;
}

.section-wrapper-unified:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 35px -8px rgba(15, 23, 42, 0.06) !important;
}

/* ── TYPOGRAPHY & HEADER ACCENTS ── */
.accent-pill-indicator {
    background: rgba(220, 38, 38, 0.05) !important;
    color: #dc2626 !important;
    border: 1px solid rgba(220, 38, 38, 0.15) !important;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
}

.section-title-unified {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── STATS BAR OVERLAP ── */
.floating-stats-bar-wrapper {
    position: relative;
    z-index: 10;
    margin-top: -30px;
    margin-bottom: 24px;
}

.floating-stats-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 12px 28px -5px rgba(15, 23, 42, 0.06) !important;
    transition: transform 0.2s ease;
}

.floating-stats-card:hover {
    transform: translateY(-2px);
}

.stats-card-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.stats-card-icon-box.red    { background: rgba(220, 38, 38, 0.08); color: #dc2626; }
.stats-card-icon-box.purple { background: rgba(139, 92, 246, 0.08); color: #8b5cf6; }
.stats-card-icon-box.blue   { background: rgba(59, 130, 246, 0.08); color: #3b82f6; }
.stats-card-icon-box.green  { background: rgba(34, 197, 94, 0.08); color: #22c55e; }

.stats-card-value {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.stats-card-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ── CALCULATOR SECTION ── */
#calculator-section {
    border-top: 4px solid #dc2626 !important;
}

/* Calculator Header layout */
.calc-header-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.rates-effective-badge-box .badge {
    background: rgba(34, 197, 94, 0.08) !important;
    border: 1px solid rgba(34, 197, 94, 0.2) !important;
    color: #16a34a !important;
    font-weight: 700;
    font-size: 0.72rem;
}

/* Horizontal tabs switcher */
.scrollable-scheme-row {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 20px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.scrollable-scheme-row::-webkit-scrollbar {
    display: none;
}

.scheme-switcher-btn {
    flex-shrink: 0;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    padding: 7px 14px !important;
    border-radius: 30px !important;
    transition: all 0.15s ease !important;
}

.scheme-switcher-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.scheme-switcher-btn.active-scheme {
    background: #dc2626 !important;
    border-color: #dc2626 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2) !important;
}

/* Input Card & Results layout */
.calc-input-panel {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
}

.calc-input-focus:focus {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08) !important;
}

/* Unified Results Display */
.inner-glass-result-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    border: none !important;
    border-radius: 14px !important;
    padding: 20px !important;
    color: #ffffff !important;
}

.inner-glass-result-card .display-result {
    font-size: 2.1rem !important;
    font-weight: 900 !important;
    color: #34d399 !important;
    -webkit-text-fill-color: #34d399 !important;
    background: none !important;
    letter-spacing: -0.5px;
    margin: 8px 0;
}

.calculator-sub-metrics {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 10px;
    margin-top: 14px;
}

.calculator-sub-metrics .metric-item {
    text-align: center;
}

.calculator-sub-metrics .metric-label {
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    display: block;
    margin-bottom: 2px;
}

.calculator-sub-metrics .metric-val {
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
    display: block;
}

.calculator-sub-metrics .metric-val.text-success { color: #34d399 !important; }
.calculator-sub-metrics .metric-val.text-danger { color: #f87171 !important; }

/* Preset buttons styling */
.btn-preset {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    transition: all 0.15s ease;
}

.btn-preset:hover {
    background: #fee2e2;
    border-color: #dc2626;
    color: #dc2626;
}

/* ── SCHEMES MATRIX GRID ── */
.matrix-section-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
    margin-bottom: 16px;
    margin-top: 24px;
}

/* Custom premium styling for data tables */
.glass-table-style {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100%;
}
.glass-table-style thead th {
    background: rgba(15, 23, 42, 0.02) !important;
    color: #475569 !important;
    font-family: var(--font-heading);
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 14px 18px !important;
    border-bottom: 2px solid #e2e8f0 !important;
}
.glass-table-style tbody tr td {
    padding: 14px 18px !important;
    font-size: 0.82rem !important;
    border-bottom: 1px solid #f1f5f9 !important;
    transition: all 0.2s ease;
}
.glass-table-style tbody tr {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-table-style tbody tr:hover td {
    background-color: rgba(234, 179, 8, 0.02) !important;
    color: #0f172a;
}
.glass-table-style tbody tr:hover {
    transform: scale(1.002);
}

.badge-form-cat {
    text-transform: uppercase;
    font-size: 0.65rem !important;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 4px 10px !important;
    border-radius: 8px !important;
    display: inline-block;
}
.badge-form-cat.cat-savings {
    background: rgba(34, 197, 94, 0.08) !important;
    color: #16a34a !important;
    border: 1.5px solid rgba(34, 197, 94, 0.15);
}
.badge-form-cat.cat-pli {
    background: rgba(59, 130, 246, 0.08) !important;
    color: #2563eb !important;
    border: 1.5px solid rgba(59, 130, 246, 0.15);
}
.badge-form-cat.cat-delivery {
    background: rgba(139, 92, 246, 0.08) !important;
    color: #7c3aed !important;
    border: 1.5px solid rgba(139, 92, 246, 0.15);
}
.badge-form-cat.cat-admin {
    background: rgba(245, 158, 11, 0.08) !important;
    color: #d97706 !important;
    border: 1.5px solid rgba(245, 158, 11, 0.15);
}

/* ── LDCE CBT EXAM CENTER ── */
#exam-section {
    border-top: 4px solid #8b5cf6 !important;
}

.exam-cadre-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.exam-cadre-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(139, 92, 246, 0.15) !important;
}

/* Custom test generator wrapper */
.custom-test-generator-box {
    background: #faf5ff;
    border: 1px solid #e9d5ff;
    border-radius: 12px;
    padding: 16px 20px;
    margin-top: 20px;
}

/* ── OFFICIAL ANDROID APP STORE ── */
#app-store-section {
    border-top: 4px solid #22c55e !important;
}

.app-store-item-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease;
}

.app-store-item-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(34, 197, 94, 0.12) !important;
}

.appstore-badge {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.appstore-version-badge { background: rgba(34, 197, 94, 0.08); color: #16a34a; }
.appstore-size-badge    { background: rgba(59, 130, 246, 0.08); color: #2563eb; }

.appstore-version-badge { background: rgba(34, 197, 94, 0.08); color: #16a34a; }
.appstore-size-badge    { background: rgba(59, 130, 246, 0.08); color: #2563eb; }

/* App Card Border Glow & High-Tech Look */
.app-card-border-glow {
    position: relative;
    border: 1px solid rgba(15, 118, 110, 0.08) !important;
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.app-card-border-glow:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(34, 197, 94, 0.35) !important;
    box-shadow: 0 12px 28px rgba(34, 197, 94, 0.1), 0 4px 10px rgba(0, 0, 0, 0.03) !important;
}
.app-card-border-glow img, 
.app-card-border-glow .flex-shrink-0 div {
    transition: all 0.3s ease;
}
.app-card-border-glow:hover img,
.app-card-border-glow:hover .flex-shrink-0 div {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 0 4px 10px rgba(34, 197, 94, 0.2) !important;
}

.forms-category-filter-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 2px 8px 2px;
}
.form-chip {
    flex-shrink: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.form-chip:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}
.form-chip.active {
    background: linear-gradient(135deg, #eab308, #ca8a04) !important;
    color: #ffffff !important;
    border-color: #ca8a04 !important;
    box-shadow: 0 4px 12px rgba(234, 179, 8, 0.3) !important;
}

/* ── SIDEBAR URGENT BROADCAST ── */
.broadcast-alert-panel {
    background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%) !important;
    border: 1px solid #fecdd3 !important;
    border-left: 4px solid #e11d48 !important;
}

.broadcast-alert-panel h6 {
    color: #9f1239;
    font-size: 0.85rem;
    font-weight: 800;
}

/* ── SIDEBAR OPERATIONAL DESKS ── */
#sidebar-desks-panel {
    border-top: 4px solid #0f172a !important;
}

.sidebar-desk-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: all 0.15s ease;
    text-decoration: none !important;
    color: #334155;
    margin-bottom: 4px;
}

.sidebar-desk-row:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #0f172a;
}

.sidebar-desk-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.desk-title-text {
    font-size: 0.82rem;
    font-weight: 700;
}

/* ── SIDEBAR CIRCULARS ── */
#sidebar-circulars-panel {
    border-top: 4px solid #06b6d4 !important;
}

.sidebar-circular-item {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.sidebar-circular-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.sidebar-circular-title {
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.4;
    color: #1e293b;
    text-decoration: none !important;
    display: block;
}

.sidebar-circular-title:hover {
    color: #dc2626;
}

.sidebar-circular-meta {
    font-size: 0.68rem;
    color: #94a3b8;
    margin-top: 4px;
    font-family: var(--font-body);
}

/* ── MOBILE CARD GRIDS ── */
@media (max-width: 767.98px) {
    .mobile-scheme-matrix-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Calculator on mobile */
    #postalSchemeCarouselSlider {
        padding: 14px !important;
    }
    .inner-glass-result-card {
        border-radius: 12px !important;
    }
    .display-result { font-size: 1.8rem !important; }

    /* Desks on mobile — full width, not side-by-side */
    #system-modules-desk .desk-post-card {
        padding: 10px 14px !important;
    }

    /* Mobile scheme grid — 2 columns */
    .mobile-scheme-matrix-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    /* App store dark bg on mobile */
    #app-store-section {
        border-radius: 16px !important;
    }

    /* Exam arena on mobile */
    #exam-section {
        border-radius: 16px !important;
    }
    .exam-card-hover {
        margin-bottom: 10px;
    }
}

/* ── INTERACTIVE RANGE SLIDERS CUSTOM STYLING ── */
.custom-range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 4px;
    background: #cbd5e1;
    outline: none;
    transition: background 0.15s ease;
}

.custom-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #dc2626;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.3);
    transition: transform 0.1s ease;
}

.custom-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.custom-range-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border: none;
    border-radius: 50%;
    background: #dc2626;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.3);
    transition: transform 0.1s ease;
}

.custom-range-slider::-moz-range-thumb:hover {
    transform: scale(1.15);
}

/* ── RESULT CARD COMPUTATION PULSE EFFECT ── */
@keyframes resultPulseGlow {
    0% { transform: scale(1); box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.03); }
    50% { transform: scale(1.02); box-shadow: 0 0 16px rgba(52, 211, 153, 0.35); }
    100% { transform: scale(1); box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.03); }
}

.result-pulse-highlight {
    animation: resultPulseGlow 0.3s ease-out !important;
}

/* ── SCHEME DETAILS MODAL IMPROVEMENTS (Bullet lists & clean rows) ── */
.scheme-rule-box p {
    font-size: 0.82rem;
    line-height: 1.55;
    color: #475569;
}

.scheme-modal-header {
    border-bottom: 3px solid #dc2626 !important;
}

/* ── FORM DEDICATED DOWNLOAD BUTTON ── */
.form-download-btn {
    background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 0.95rem;
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.4) !important;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.form-download-btn:hover {
    transform: translateY(-2px);
    color: #ffffff !important;
    box-shadow: 0 8px 22px rgba(220, 38, 38, 0.5) !important;
}

.form-download-btn:active {
    transform: translateY(0);
}
/* ═══════════════════════════════════════════════════════════════════════════════
   REDESIGNED CALCULATOR HUB & PLI / RPLI INSURANCE STYLING SYSTEM
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ── 1. Top Category Switcher Bar ─────────────────────────────────────────── */
.calc-category-nav {
    display: flex;
    gap: 8px;
    padding: 6px;
    background: rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(203, 213, 225, 0.6);
    border-radius: 16px;
    margin-bottom: 24px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.calc-category-nav::-webkit-scrollbar {
    display: none;
}

.calc-category-tab {
    flex: 1;
    min-width: 160px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: #475569;
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    text-decoration: none;
}

.calc-category-tab:hover {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.7);
    transform: translateY(-1px);
}

.calc-category-tab.active {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
}

.calc-category-tab.tab-pli.active {
    background: linear-gradient(135deg, #991b1b, #dc2626);
    box-shadow: 0 8px 22px rgba(220, 38, 38, 0.35);
}

.calc-category-tab.tab-rpli.active {
    background: linear-gradient(135deg, #15803d, #16a34a);
    box-shadow: 0 8px 22px rgba(22, 163, 74, 0.35);
}

.calc-category-tab.tab-matrix.active {
    background: linear-gradient(135deg, #6b21a8, #8b5cf6);
    box-shadow: 0 8px 22px rgba(139, 92, 246, 0.35);
}

.calc-cat-count-badge {
    font-size: 0.65rem;
    padding: 2px 7px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.08);
    color: inherit;
    font-weight: 800;
}
.calc-category-tab.active .calc-cat-count-badge {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

/* ── 2. Insurance Plan Selector Grid ───────────────────────────────────────── */
.insurance-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.insurance-plan-card {
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.insurance-plan-card:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.insurance-plan-card.active {
    border-color: #dc2626;
    background: #fff5f5;
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.12);
}

.insurance-plan-card.active-rpli {
    border-color: #16a34a;
    background: #f0fdf4;
    box-shadow: 0 6px 18px rgba(22, 163, 74, 0.12);
}

.insurance-plan-card-name {
    font-weight: 800;
    font-size: 0.92rem;
    color: #0f172a;
    display: block;
    margin-bottom: 2px;
}

.insurance-plan-card.active .insurance-plan-card-name {
    color: #991b1b;
}

.insurance-plan-card.active-rpli .insurance-plan-card-name {
    color: #15803d;
}

.insurance-plan-card-desc {
    font-size: 0.72rem;
    color: #64748b;
    display: block;
    line-height: 1.3;
}

.insurance-plan-card-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 6px;
}

/* ── 3. Premium Frequency Pill Group ───────────────────────────────────────── */
.premium-freq-nav {
    display: flex;
    gap: 6px;
    padding: 4px;
    background: #f1f5f9;
    border-radius: 10px;
    margin-bottom: 16px;
}

.premium-freq-btn {
    flex: 1;
    padding: 7px 10px;
    border: none;
    border-radius: 8px;
    background: transparent;
    font-size: 0.78rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.premium-freq-btn:hover {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.6);
}

.premium-freq-btn.active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    font-weight: 800;
}

/* ── 4. Breakdown Ratio & Progress Bars ─────────────────────────────────────── */
.calc-ratio-bar-wrapper {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.calc-ratio-bar {
    height: 8px;
    border-radius: 4px;
    display: flex;
    overflow: hidden;
    background: #e2e8f0;
    margin-bottom: 6px;
}

.ratio-bar-principal {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    transition: width 0.4s ease;
}

.ratio-bar-profit {
    background: linear-gradient(90deg, #16a34a, #22c55e);
    transition: width 0.4s ease;
}

.ratio-bar-tax {
    background: linear-gradient(90deg, #dc2626, #f87171);
    transition: width 0.4s ease;
}

.calc-ratio-legend {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 600;
}

/* ── 5. Survival Benefit Timeline ─────────────────────────────────────────── */
.survival-timeline {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    margin-top: 14px;
}

.survival-timeline-title {
    font-size: 0.8rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.survival-step-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.survival-step-item {
    flex: 1;
    min-width: 90px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 8px 10px;
    text-align: center;
}

.survival-step-year {
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748b;
    display: block;
}

.survival-step-val {
    font-size: 0.86rem;
    font-weight: 800;
    color: #16a34a;
}

/* ── 6. Action Toolbar & Quotation Triggers ─────────────────────────────────── */
.quote-actions-toolbar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.quote-action-btn {
    flex: 1;
    min-width: 130px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 10px;
    transition: all 0.2s ease;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-email-quote {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}
.btn-email-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
    color: #ffffff !important;
}

.btn-print-quote {
    background: #ffffff;
    color: #334155 !important;
    border-color: #cbd5e1;
}
.btn-print-quote:hover {
    background: #f8fafc;
    color: #0f172a !important;
    border-color: #94a3b8;
    transform: translateY(-2px);
}

/* ── 7. Rates Matrix Table Styling ─────────────────────────────────────────── */
.matrix-unified-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.85rem;
}
.matrix-unified-table th {
    background: #0f172a;
    color: #ffffff;
    padding: 12px 14px;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.matrix-unified-table th:first-child {
    border-top-left-radius: 10px;
}
.matrix-unified-table th:last-child {
    border-top-right-radius: 10px;
}
.matrix-unified-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}
.matrix-unified-table tbody tr:hover {
    background: #f8fafc;
}
.matrix-unified-table .scheme-name-cell {
    font-weight: 700;
    color: #0f172a;
}

/* ── 8. Print Layout Optimization ──────────────────────────────────────────── */
@media print {
    body {
        background: #ffffff !important;
        color: #000000 !important;
        font-size: 11pt !important;
    }
    .main-glass-navbar,
    .footer-glass,
    .footer-wave-wrapper,
    .mobile-bottom-nav,
    .glass-bg-glow,
    .calc-category-nav,
    .quote-actions-toolbar,
    .modal,
    .scrollable-scheme-row,
    #mobileSchemeSelect,
    .rates-effective-badge-box,
    .custom-range-slider,
    .btn-preset {
        display: none !important;
    }
    .section-wrapper-unified {
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .inner-glass-result-card {
        border: 2px solid #0f172a !important;
        background: #f8fafc !important;
        box-shadow: none !important;
    }
    .display-result {
        color: #dc2626 !important;
        font-size: 22pt !important;
    }
    .container {
        max-width: 100% !important;
        padding: 0 !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   MODERN MINIMALIST & HIGH-CONVERTING CALCULATORS SYSTEM (2025/2026 UI)
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Top Category Switcher */
.calc-nav-container {
    display: flex;
    background: #f1f5f9;
    padding: 5px;
    border-radius: 16px;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.calc-nav-container::-webkit-scrollbar { display: none; }

.calc-nav-btn {
    flex: 1;
    min-width: 130px;
    padding: 10px 14px;
    border-radius: 12px;
    border: none;
    background: transparent;
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    cursor: pointer;
}
.calc-nav-btn:hover {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.7);
}
.calc-nav-btn.active {
    background: #ffffff;
    color: #dc2626;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.calc-nav-btn.active.nav-pli { color: #dc2626; }
.calc-nav-btn.active.nav-rpli { color: #16a34a; }
.calc-nav-btn.active.nav-matrix { color: #8b5cf6; }

/* Scheme Pills Carousel Bar */
.scheme-pills-bar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 4px 2px 10px;
    -webkit-overflow-scrolling: touch;
}
.scheme-pills-bar::-webkit-scrollbar { display: none; }

.scheme-pill-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #334155;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.scheme-pill-item:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    transform: translateY(-1px);
}
.scheme-pill-item.active {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-color: #0f172a;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}
.scheme-pill-rate {
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 12px;
    background: #fef2f2;
    color: #dc2626;
    font-weight: 800;
}
.scheme-pill-item.active .scheme-pill-rate {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Modern Clean Calculator Card */
.calc-main-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}
@media (max-width: 767.98px) {
    .calc-main-card {
        padding: 16px;
        border-radius: 16px;
    }
}

/* Currency Input Field */
.currency-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.currency-input-symbol {
    position: absolute;
    left: 16px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #64748b;
    pointer-events: none;
}
.currency-input-field {
    padding-left: 36px !important;
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    height: 52px;
    border-radius: 12px !important;
    border: 2px solid #e2e8f0 !important;
    transition: all 0.2s ease !important;
}
.currency-input-field:focus {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1) !important;
}

/* Preset Quick Chips */
.quick-chip {
    padding: 4px 10px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s ease;
}
.quick-chip:hover {
    background: #e2e8f0;
    color: #0f172a;
    border-color: #cbd5e1;
}

/* Clean High-Impact Results Card */
.calc-result-box {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius: 18px;
    padding: 24px 20px;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-column: column;
    justify-content: space-between;
}
@media (max-width: 767.98px) {
    .calc-result-box {
        padding: 20px 16px;
        border-radius: 16px;
    }
}
.calc-result-box::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.35), transparent 70%);
    pointer-events: none;
}
.calc-result-box.result-rpli::before {
    background: radial-gradient(circle, rgba(22, 163, 74, 0.35), transparent 70%);
}

.calc-hero-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 4px;
}
.calc-hero-val {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 2.2rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}
@media (max-width: 575.98px) {
    .calc-hero-val { font-size: 1.85rem; }
}

/* 3-Col Metric Grid in Result Box */
.calc-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px 8px;
    margin-bottom: 16px;
}
.calc-metric-col {
    text-align: center;
}
.calc-metric-lbl {
    font-size: 0.68rem;
    color: #94a3b8;
    display: block;
    margin-bottom: 2px;
    font-weight: 600;
}
.calc-metric-num {
    font-size: 0.88rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

/* Progress Ratio Bar */
.calc-ratio-container {
    margin-bottom: 18px;
}
.calc-ratio-track {
    height: 7px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    overflow: hidden;
    margin-bottom: 6px;
}
.calc-ratio-p { background: #38bdf8; transition: width 0.3s ease; }
.calc-ratio-g { background: #4ade80; transition: width 0.3s ease; }
.calc-ratio-legend-clean {
    display: flex;
    justify-content: space-between;
    font-size: 0.68rem;
    color: #cbd5e1;
    font-weight: 600;
}

/* Action Buttons inside Card */
.calc-actions-row {
    display: flex;
    gap: 8px;
}
.calc-btn-action {
    flex: 1;
    padding: 9px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 10px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}
.calc-btn-email {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: #ffffff !important;
}
.calc-btn-email:hover {
    background: linear-gradient(135deg, #b91c1c, #dc2626);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}
.calc-btn-print {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.calc-btn-print:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* Insurance Plan Selector (PLI & RPLI) */
.ins-grid-6 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}
@media (max-width: 575.98px) {
    .ins-grid-6 { grid-template-columns: 1fr; }
}

.ins-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}
.ins-card:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    transform: translateY(-1px);
}
.ins-card.active {
    border-color: #dc2626;
    background: #fff5f5;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.12);
}
.ins-card.active-rpli {
    border-color: #16a34a;
    background: #f0fdf4;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.12);
}

.ins-card-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: #0f172a;
    display: block;
    margin-bottom: 2px;
}
.ins-card.active .ins-card-title { color: #991b1b; }
.ins-card.active-rpli .ins-card-title { color: #15803d; }

.ins-card-sub {
    font-size: 0.72rem;
    color: #64748b;
    display: block;
    line-height: 1.3;
}
.ins-card-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 6px;
}

/* Frequency Toggle Segmented Control */
.segmented-control {
    display: flex;
    background: #f1f5f9;
    padding: 3px;
    border-radius: 10px;
    gap: 4px;
}
.segmented-btn {
    flex: 1;
    padding: 6px 8px;
    border: none;
    background: transparent;
    font-size: 0.76rem;
    font-weight: 700;
    color: #64748b;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
}
.segmented-btn:hover { color: #0f172a; }
.segmented-btn.active {
    background: #ffffff;
    color: #0f172a;
    font-weight: 800;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Clean Accordion for Rules / Limits */
.clean-accordion-btn {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #475569;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 14px;
}
.clean-accordion-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
}


/* ── Scheme Selection Cards (Step 1 Select Flow) ────────────────────────── */
.scheme-select-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 10px;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.scheme-select-card:hover {
    transform: translateY(-2px);
    border-color: #dc2626;
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.08);
}

.scheme-select-card.active {
    background: #fff5f5;
    border-color: #dc2626;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.25), 0 8px 20px rgba(220, 38, 38, 0.12);
}

.scheme-select-card.active-rpli {
    background: #f0fdf4;
    border-color: #16a34a;
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.25), 0 8px 20px rgba(22, 163, 74, 0.12);
}

.scheme-card-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    font-size: 0.62rem;
    padding: 2px 5px;
    border-radius: 10px;
    font-family: var(--font-mono, monospace);
    font-weight: 700;
}

.scheme-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 6px;
    transition: transform 0.2s ease;
}

.scheme-select-card:hover .scheme-card-icon {
    transform: scale(1.08);
}

.scheme-card-icon.red { background: rgba(220, 38, 38, 0.1); color: #dc2626; }
.scheme-card-icon.blue { background: rgba(37, 99, 235, 0.1); color: #2563eb; }
.scheme-card-icon.amber { background: rgba(217, 119, 6, 0.1); color: #d97706; }
.scheme-card-icon.green { background: rgba(22, 163, 74, 0.1); color: #16a34a; }
.scheme-card-icon.purple { background: rgba(124, 58, 237, 0.1); color: #7c3aed; }
.scheme-card-icon.pink { background: rgba(219, 39, 119, 0.1); color: #db2777; }

.scheme-card-name {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-weight: 700;
    font-size: 0.82rem;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 2px;
}

.scheme-select-card.active .scheme-card-name {
    color: #dc2626;
}

.scheme-select-card.active-rpli .scheme-card-name {
    color: #16a34a;
}

.scheme-card-sub {
    font-size: 0.68rem;
    color: #64748b;
    line-height: 1.1;
}

@media (min-width: 992px) {
    .col-lg-2\.4 {
        flex: 0 0 auto;
        width: 20%;
    }
}


/* ── ULTIMATE RESPONSIVE & MOBILE POLISH FOR CALCULATORS & SCHEMES ────────── */
:root {
    --calc-card-bg: #ffffff;
    --calc-card-border: #e2e8f0;
    --calc-hero-dark-bg: linear-gradient(145deg, #0f172a, #1e293b);
    --calc-accent-red: #dc2626;
    --calc-accent-green: #16a34a;
}

/* Fluid Hero Typography */
.calc-hero-val {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: clamp(1.85rem, 5vw, 2.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.5px;
    margin: 4px 0 14px;
}

.calc-hero-label {
    font-size: clamp(0.72rem, 2vw, 0.82rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #94a3b8;
}

/* Modern Card Polish */
.calc-main-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

/* Currency Input Field */
.currency-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-input-symbol {
    position: absolute;
    left: 14px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #dc2626;
    pointer-events: none;
    z-index: 5;
}

.currency-input-field {
    padding-left: 34px !important;
    font-size: clamp(1.15rem, 3.5vw, 1.45rem) !important;
    font-weight: 800 !important;
    font-family: var(--font-mono, monospace) !important;
    color: #0f172a !important;
    height: 52px;
    border-radius: 12px !important;
    border: 1.5px solid #cbd5e1 !important;
    background: #f8fafc !important;
    transition: all 0.2s ease;
}

.currency-input-field:focus {
    background: #ffffff !important;
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15) !important;
}

/* 3-Metrics Grid on Results Card */
.calc-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px 8px;
    margin-bottom: 14px;
    text-align: center;
}

@media (max-width: 480px) {
    .calc-metrics-grid {
        grid-template-columns: repeat(3, 1fr);
        padding: 8px 4px;
        gap: 4px;
    }
    .calc-metric-lbl {
        font-size: 0.65rem !important;
    }
    .calc-metric-num {
        font-size: 0.85rem !important;
    }
}

.calc-metric-lbl {
    font-size: 0.72rem;
    color: #94a3b8;
    display: block;
    margin-bottom: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

.calc-metric-num {
    font-size: 0.98rem;
    font-weight: 800;
    font-family: var(--font-mono, monospace);
    color: #ffffff;
}

/* Mobile Maturity Cards List (for < 768px) */
.maturity-mobile-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.maturity-mobile-card:hover, .maturity-mobile-card.active {
    border-color: #dc2626;
    background: #fff5f5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.12);
}

.maturity-mobile-card.active-rpli {
    border-color: #16a34a;
    background: #f0fdf4;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.12);
}

/* Schemes Tab Bar */
.schemes-tab-btn {
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.schemes-tab-btn:hover {
    border-color: #dc2626;
    color: #dc2626;
}

.schemes-tab-btn.active {
    background: #dc2626;
    border-color: #dc2626;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
}

.schemes-tab-btn.active-rpli {
    background: #16a34a;
    border-color: #16a34a;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.25);
}


/* ── ULTRA-CLEAR TABLE DISPLAY FOR EASY UNDERSTANDING ───────────────────────── */
.table-data-clear {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.table-data-clear th, .table-data-clear td {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.92rem;
    vertical-align: middle;
}

.table-data-clear th {
    background: #f8fafc;
    color: #475569;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-data-clear tr:last-child td {
    border-bottom: none;
}

.table-data-clear tr.highlight-row {
    background: #fef2f2 !important;
}

.table-data-clear tr.highlight-row td {
    color: #991b1b;
    font-weight: 700;
}

.table-data-clear tr:hover td {
    background: #f8fafc;
}

.table-param-lbl {
    font-weight: 700;
    color: #1e293b;
    width: 45%;
}

.table-param-val {
    font-family: var(--font-mono, monospace);
    color: #0f172a;
    font-weight: 600;
}

@media (max-width: 576px) {
    .table-data-clear th, .table-data-clear td {
        padding: 10px 12px;
        font-size: 0.84rem;
    }
    .table-param-lbl {
        width: 50%;
    }
}

/* ================================================================ */
/* ====== POSTAL CIRCULAR & OFFICIAL ORDER POST STYLING =============== */
/* ================================================================ */
.entry-content .cept-circular-meta,
.cept-circular-meta {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 5px solid #dc2626 !important;
    padding: 18px 22px !important;
    border-radius: 14px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04) !important;
}

.entry-content .cept-circular-meta strong,
.cept-circular-meta strong {
    color: #0f172a !important;
}

/* ── PREMIER GLASSMORPHY PDF DOWNLOAD CARD & BUTTON ── */
.entry-content .cept-pdf-box,
.cept-pdf-box,
.entry-content div[style*="1e3a5f"],
.entry-content div[style*="#1e3a5f"] {
    margin: 32px 0 !important;
    padding: 28px 24px !important;
    background: #ffffff !important;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 60%, #f1f5f9 100%) !important;
    border: 1px solid #cbd5e1 !important;
    border-top: 4px solid #dc2626 !important;
    border-radius: 18px !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08) !important;
}

.entry-content .cept-pdf-badge,
.cept-pdf-badge {
    background: #fef2f2 !important;
    color: #dc2626 !important;
    border: 1px solid #fecaca !important;
    padding: 5px 16px !important;
    border-radius: 30px !important;
    font-weight: 800 !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.8px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    text-transform: uppercase !important;
    margin-bottom: 12px !important;
}

.entry-content .cept-pdf-box h3,
.entry-content .cept-pdf-box h3.cept-pdf-title,
.cept-pdf-title,
.entry-content div[style*="1e3a5f"] p[style*="#fff"],
.entry-content div[style*="#1e3a5f"] p[style*="#fff"] {
    color: #0f172a !important;
    font-weight: 800 !important;
    font-size: 1.15rem !important;
    line-height: 1.5 !important;
    margin: 12px 0 20px !important;
}

.entry-content .cept-pdf-btn-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 20px 0 !important;
    width: 100% !important;
}

/* ── HIGH-CONTRAST RESPONSIVE RED BUTTON ── */
.entry-content a.cept-download-btn,
.entry-content .cept-download-btn,
a.cept-download-btn,
.cept-download-btn,
.entry-content div[style*="1e3a5f"] a,
.entry-content div[style*="#1e3a5f"] a,
.entry-content a[style*="background:#dc2626"],
.entry-content a[style*="background: #dc2626"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    color: #ffffff !important;
    fill: #ffffff !important;
    padding: 14px 32px !important;
    border-radius: 40px !important;
    font-weight: 700 !important;
    font-size: 1.02rem !important;
    text-decoration: none !important;
    letter-spacing: 0.3px !important;
    box-shadow: 0 6px 22px rgba(220, 38, 38, 0.38) !important;
    transition: all 0.25s ease !important;
    border: none !important;
    max-width: 100% !important;
    cursor: pointer !important;
}

.entry-content a.cept-download-btn i,
.entry-content .cept-download-btn i,
a.cept-download-btn i,
.cept-download-btn i,
.entry-content a.cept-download-btn *,
.entry-content .cept-download-btn *,
a.cept-download-btn *,
.cept-download-btn *,
.cept-btn-text {
    color: #ffffff !important;
    fill: #ffffff !important;
    text-decoration: none !important;
}

.entry-content a.cept-download-btn:hover,
a.cept-download-btn:hover,
.cept-download-btn:hover,
.entry-content div[style*="1e3a5f"] a:hover,
.entry-content div[style*="#1e3a5f"] a:hover,
.entry-content a[style*="background:#dc2626"]:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: #ffffff !important;
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 10px 28px rgba(220, 38, 38, 0.48) !important;
    text-decoration: none !important;
}

.entry-content a.cept-download-btn:active,
a.cept-download-btn:active,
.cept-download-btn:active {
    transform: translateY(0) scale(0.99) !important;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3) !important;
}

.entry-content .cept-pdf-meta,
.cept-pdf-meta {
    color: #64748b !important;
    font-size: 0.78rem !important;
    margin: 12px 0 0 !important;
    font-weight: 500 !important;
}

.entry-content .cept-note-scanned,
.cept-note-scanned {
    background: #f0f9ff !important;
    border: 1px solid #bae6fd !important;
    border-left: 4px solid #0284c7 !important;
    padding: 16px 20px !important;
    border-radius: 10px !important;
    margin: 20px 0 !important;
    font-size: 0.92rem !important;
    color: #0369a1 !important;
    line-height: 1.6 !important;
}

.entry-content .cept-note-scanned strong,
.cept-note-scanned strong {
    color: #0284c7 !important;
}

.entry-content .cept-note-staff,
.cept-note-staff {
    background: #fffbeb !important;
    border: 1px solid #fde68a !important;
    border-left: 4px solid #d97706 !important;
    padding: 14px 18px !important;
    border-radius: 10px !important;
    margin: 20px 0 !important;
    font-size: 0.88rem !important;
    color: #92400e !important;
    line-height: 1.6 !important;
}

.entry-content .cept-note-staff strong,
.cept-note-staff strong {
    color: #b45309 !important;
}

/* ================================================================ */
/* ====== ULTRA-STRICT OVERRIDES FOR EXISTING POSTS =============== */
/* ================================================================ */
.entry-content div[style*="1e3a5f"],
.entry-content div[style*="#1e3a5f"] {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-top: 4px solid #dc2626 !important;
    border-radius: 16px !important;
    padding: 28px 24px !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
    color: #0f172a !important;
    text-align: center !important;
}

.entry-content div[style*="1e3a5f"] p,
.entry-content div[style*="#1e3a5f"] p {
    color: #0f172a !important;
}

.entry-content div[style*="1e3a5f"] p[style*="#94a3b8"],
.entry-content div[style*="#1e3a5f"] p[style*="#94a3b8"] {
    color: #dc2626 !important;
    font-weight: 800 !important;
    font-size: 0.78rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
}

.entry-content div[style*="1e3a5f"] p[style*="#fff"],
.entry-content div[style*="#1e3a5f"] p[style*="#fff"] {
    color: #0f172a !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    line-height: 1.5 !important;
}

.entry-content div[style*="1e3a5f"] a,
.entry-content div[style*="#1e3a5f"] a,
.entry-content a[style*="background:#dc2626"],
.entry-content a[style*="background: #dc2626"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    color: #ffffff !important;
    fill: #ffffff !important;
    padding: 13px 32px !important;
    border-radius: 30px !important;
    font-weight: 700 !important;
    font-size: 0.98rem !important;
    text-decoration: none !important;
    letter-spacing: 0.3px !important;
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.35) !important;
    border: none !important;
}

.entry-content div[style*="1e3a5f"] a:hover,
.entry-content div[style*="#1e3a5f"] a:hover,
.entry-content a[style*="background:#dc2626"]:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-2px) !important;
}

/* Postal Forms Directory Pagination */
.forms-directory-pagination .pagination .page-item .page-link {
    color: #475569;
    border: 1px solid #e2e8f0;
    padding: 6px 14px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.2s ease;
    background: #ffffff;
}

.forms-directory-pagination .pagination .page-item.active .page-link,
.forms-directory-pagination .pagination .page-item .page-link:hover {
    background: #dc2626 !important;
    color: #ffffff !important;
    border-color: #dc2626 !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

/* ================================================================ */
/* ====== MOBILE VIEW REDUCED MARGINS & EDGE-TO-EDGE SECTIONS ===== */
/* ================================================================ */
@media (max-width: 767.98px) {
    /* 1. Reduce main container horizontal padding on mobile */
    .container,
    .container-fluid,
    main.container,
    header .container,
    footer .container {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    /* 2. Reduce section card inner padding and side margins on mobile */
    .section-wrapper-unified,
    .glass-panel,
    .inner-glass-card-accent,
    .postbox,
    .card,
    .appstore-disclaimer-card {
        padding: 12px 10px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 12px !important;
    }

    /* 3. Tighten row gutters on mobile */
    .row,
    .row[class*="g-"],
    .row[class*="gx-"] {
        margin-left: -4px !important;
        margin-right: -4px !important;
    }
    .row > * {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }

    /* 4. Marquee notice strip edge-to-edge on mobile */
    .marquee-glass-container {
        padding-left: 4px !important;
        padding-right: 4px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 0 !important;
    }

    /* 5. Mobile tables and card lists full width */
    .table-responsive {
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 8px !important;
    }

    /* 6. Form filter chips & Category pills container edge-to-edge */
    .forms-category-filter-chips,
    .appstore-category-pills,
    #appCategoryFilterPills {
        padding-left: 2px !important;
        padding-right: 2px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 575.98px) {
    /* Extra tight margins on small mobile screens (<576px) */
    .container,
    .container-fluid,
    main.container {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }

    .section-wrapper-unified,
    .glass-panel,
    .inner-glass-card-accent {
        padding: 10px 8px !important;
    }
}




/* ═══════════════════════════════════════════════════════════════════════════════
   DIGIMIT 2026 BULLETPROOF MOBILE RESPONSIVE ENGINE & SEO DESIGN SYSTEM
   ═══════════════════════════════════════════════════════════════════════════════ */

/* 1. Complete Horizontal Overflow Prevention */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
    position: relative;
    -webkit-text-size-adjust: 100%;
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* 2. Responsive Typography & Fluid Headings */
h1, .h1 { font-size: clamp(1.65rem, 4vw, 2.4rem) !important; line-height: 1.25 !important; }
h2, .h2 { font-size: clamp(1.35rem, 3.2vw, 1.85rem) !important; line-height: 1.3 !important; }
h3, .h3 { font-size: clamp(1.15rem, 2.5vw, 1.45rem) !important; line-height: 1.35 !important; }

/* 3. Unified Mobile Bottom Dock (iOS/Android Native Style) */
.mobile-bottom-nav {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 64px !important;
    z-index: 1030 !important;
    background: rgba(15, 23, 42, 0.94) !important;
    backdrop-filter: blur(18px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(190%) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.35) !important;
    padding: 0 4px env(safe-area-inset-bottom, 0px) !important;
    display: none;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease !important;
}

@media (max-width: 991.98px) {
    .mobile-bottom-nav {
        display: flex !important;
        align-items: center !important;
    }
    body {
        padding-bottom: 74px !important;
    }
    body.modal-open .mobile-bottom-nav,
    body.offcanvas-open .mobile-bottom-nav {
        transform: translateY(100%) !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    
    /* Mobile Header Layout */
    .main-glass-navbar {
        padding: 8px 12px !important;
    }
    .brand-text-logo {
        font-size: 1.25rem !important;
    }
    .brand-tagline-mini {
        font-size: 0.50rem !important;
        letter-spacing: 0.8px !important;
    }
    .nav-brand-icon-box {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.95rem !important;
        border-radius: 8px !important;
    }
}

@media (min-width: 992px) {
    .mobile-bottom-nav {
        display: none !important;
    }
    body {
        padding-bottom: 0 !important;
    }
}

.mobile-nav-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-around !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 600px !important;
    margin: 0 auto !important;
}

.mobile-nav-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 !important;
    height: 100% !important;
    text-decoration: none !important;
    color: #94a3b8 !important;
    padding: 4px 2px !important;
    transition: all 0.2s ease !important;
    border-radius: 8px !important;
    -webkit-tap-highlight-color: transparent !important;
}

.mobile-nav-item:active,
.mobile-nav-item.active {
    color: #f87171 !important;
}

.mobile-nav-item.active .mobile-nav-icon-wrapper {
    background: rgba(220, 38, 38, 0.2) !important;
    color: #ef4444 !important;
    transform: translateY(-2px) !important;
}

.mobile-nav-icon-wrapper {
    width: 32px !important;
    height: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.05rem !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
}

.mobile-nav-label {
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px !important;
    line-height: 1 !important;
    margin-top: 2px !important;
}

/* 4. Touch Targets & Responsive Elements */
button, a, input, select {
    touch-action: manipulation;
}

.btn-nav-hamburger {
    width: 44px !important;
    height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* 5. Fluid Responsive Containers & Cards */
@media (max-width: 575.98px) {
    .container, main.container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    
    .section-wrapper-unified,
    .calc-main-card,
    .ins-main-card {
        padding: 18px 14px !important;
        border-radius: 16px !important;
        margin-bottom: 20px !important;
    }

    .front-hero-card {
        padding: 24px 14px !important;
        border-radius: 20px !important;
    }

    .hero-quick-btn {
        font-size: 0.74rem !important;
        padding: 6px 12px !important;
        white-space: nowrap !important;
    }

    .hero-action-pill-box {
        display: flex !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        padding-bottom: 6px !important;
        justify-content: flex-start !important;
    }
    .hero-action-pill-box::-webkit-scrollbar {
        display: none !important;
    }

    /* Sliders and Currency inputs full width */
    .currency-input-field {
        font-size: 1.15rem !important;
        padding-left: 32px !important;
    }
    .currency-input-symbol {
        font-size: 1.15rem !important;
        left: 12px !important;
    }

    /* Floating stat cards on mobile */
    .floating-stats-card {
        padding: 12px 10px !important;
    }
    .stats-card-value {
        font-size: 0.95rem !important;
    }
    .stats-card-label {
        font-size: 0.65rem !important;
    }
}

/* 6. Robust Responsive Tables */
.table-responsive {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border-radius: 12px !important;
    margin-bottom: 1rem !important;
}

.table-responsive::-webkit-scrollbar {
    height: 6px !important;
}
.table-responsive::-webkit-scrollbar-track {
    background: #f1f5f9 !important;
    border-radius: 4px !important;
}
.table-responsive::-webkit-scrollbar-thumb {
    background: #cbd5e1 !important;
    border-radius: 4px !important;
}
.table-responsive::-webkit-scrollbar-thumb:hover {
    background: #94a3b8 !important;
}

/* 7. Modern FAQ Accordion UI for Google Featured Snippets */
.faq-modern-wrapper {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.faq-card-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px !important;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
    transition: all 0.22s ease;
}

.faq-card-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.faq-question-btn {
    width: 100%;
    background: transparent;
    border: none;
    padding: 16px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 0.95rem;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    transition: color 0.18s ease;
}

.faq-question-btn:hover {
    color: #dc2626;
}

.faq-question-btn:not(.collapsed) {
    color: #dc2626;
    background: #fef2f2;
    border-bottom: 1px solid #fee2e2;
}

.faq-chevron-icon {
    font-size: 0.82rem;
    color: #94a3b8;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.faq-question-btn:not(.collapsed) .faq-chevron-icon {
    transform: rotate(180deg);
    color: #dc2626;
}

.faq-answer-body {
    padding: 16px 20px;
    color: #475569;
    font-size: 0.90rem;
    line-height: 1.6;
    background: #ffffff;
}

.faq-answer-body strong {
    color: #0f172a;
}

/* 8. Scheme detail comparison badges */
.tax-badge-pill {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.tax-badge-pill.exempt {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.tax-badge-pill.sec80c {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}
.tax-badge-pill.taxable {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

/* 9. Social Share Buttons (WhatsApp, Telegram, Copy) */
.social-share-strip {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin: 16px 0;
}
.btn-social-share {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.80rem;
    font-weight: 700;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}
.btn-share-whatsapp {
    background: #25d366;
    color: #ffffff !important;
}
.btn-share-whatsapp:hover {
    background: #1ebd5b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}
.btn-share-telegram {
    background: #0088cc;
    color: #ffffff !important;
}
.btn-share-telegram:hover {
    background: #0077b5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}
.btn-share-copy {
    background: #0f172a;
    color: #ffffff !important;
}
.btn-share-copy:hover {
    background: #334155;
    transform: translateY(-1px);
}
/* === POSTALHUB COMPACT VIEW REDESIGN EXTENSION === */
/* ==========================================================================
   POSTALHUB LIGHT, ACCESSIBLE & COMPACT DESIGN SYSTEM
   Theme: PostalHub (itsakrd)
   ========================================================================== */

:root {
    --ph-primary: #dc2626;
    --ph-primary-dark: #b91c1c;
    --ph-primary-light: #fef2f2;
    --ph-primary-border: #fecaca;
    --ph-slate-900: #0f172a;
    --ph-slate-800: #1e293b;
    --ph-slate-700: #334155;
    --ph-slate-600: #475569;
    --ph-slate-500: #64748b;
    --ph-slate-200: #e2e8f0;
    --ph-slate-100: #f1f5f9;
    --ph-slate-50: #f8fafc;
    --ph-card-bg: #ffffff;
    --ph-border: #e2e8f0;
    --ph-radius-sm: 8px;
    --ph-radius-md: 12px;
    --ph-radius-lg: 16px;
    --ph-shadow-subtle: 0 1px 3px rgba(15, 23, 42, 0.04);
    --ph-shadow-card: 0 2px 8px -1px rgba(15, 23, 42, 0.05);
    --ph-shadow-hover: 0 6px 16px -2px rgba(15, 23, 42, 0.08);
}

/* 1. Global Light Aesthetics */
body {
    background-color: #f8fafc !important;
    color: #334155 !important;
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
    -webkit-font-smoothing: antialiased;
}

@media (max-width: 991.98px) {
    body {
        padding-bottom: 64px !important;
    }
}

.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1240px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
}

.section-wrapper-unified {
    margin-bottom: 1.75rem !important;
}

.section-title-unified {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: var(--ph-slate-900) !important;
    margin-top: 4px !important;
    margin-bottom: 0 !important;
    letter-spacing: -0.3px !important;
}

.accent-pill-indicator {
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    padding: 2px 8px !important;
    border-radius: 6px !important;
    letter-spacing: 0.3px !important;
}

/* 2. Compact Header & Navbar */
.header-top-bar {
    padding: 3px 0 !important;
    font-size: 0.74rem !important;
    min-height: 26px !important;
    background: #f8fafc !important;
    border-bottom: 1px solid var(--ph-border) !important;
}

.header-top-bar .top-bar-badge {
    font-size: 0.70rem !important;
    padding: 1px 8px !important;
    border-radius: 6px !important;
}

.header-top-bar .top-bar-link {
    font-size: 0.74rem !important;
    font-weight: 600 !important;
}

.main-glass-navbar {
    padding: 5px 0 !important;
    min-height: 52px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-bottom: 1px solid var(--ph-border) !important;
    box-shadow: 0 1px 6px rgba(15, 23, 42, 0.04) !important;
}

.nav-brand-icon-box {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    font-size: 0.95rem !important;
    background: linear-gradient(135deg, var(--ph-primary), var(--ph-primary-dark)) !important;
    box-shadow: 0 2px 8px rgba(185, 28, 28, 0.25) !important;
}

.brand-text-logo {
    font-size: 1.22rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: -0.4px !important;
}

.brand-digi {
    color: var(--ph-primary) !important;
}

.brand-mit {
    color: var(--ph-slate-900) !important;
}

.brand-tagline-mini {
    font-size: 0.50rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.8px !important;
    color: var(--ph-slate-500) !important;
    margin-top: 1px !important;
}

.desktop-horizontal-menu {
    gap: 3px !important;
}

.nav-pill-link {
    padding: 5px 9px !important;
    font-size: 0.80rem !important;
    font-weight: 600 !important;
    border-radius: 7px !important;
    color: #334155 !important;
    border: 1px solid transparent !important;
    transition: all 0.15s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.nav-pill-link:hover {
    background: var(--ph-slate-100) !important;
    color: var(--ph-primary) !important;
    border-color: transparent !important;
}

.nav-pill-link.active {
    background: var(--ph-primary-light) !important;
    color: var(--ph-primary) !important;
    border-color: rgba(185, 28, 28, 0.2) !important;
    box-shadow: none !important;
}

.nav-pulse-badge {
    font-size: 0.50rem !important;
    padding: 1px 4px !important;
    border-radius: 4px !important;
    font-weight: 800 !important;
    margin-left: 3px !important;
}

.btn-nav-cta {
    padding: 5px 12px !important;
    font-size: 0.78rem !important;
    border-radius: 7px !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, var(--ph-primary), var(--ph-primary-dark)) !important;
    box-shadow: 0 2px 6px rgba(185, 28, 28, 0.25) !important;
}

.nav-icon-btn {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.85rem !important;
}

/* 3. Compact Flash Notice Strip */
.marquee-glass-container {
    padding: 3px 0 !important;
    min-height: 28px !important;
    background: #ffffff !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.marquee-badge {
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    padding: 2px 7px !important;
    border-radius: 5px !important;
}

.marquee-moving-text {
    font-size: 0.78rem !important;
    font-weight: 500 !important;
    color: var(--ph-slate-700) !important;
}

/* 4. Light, Friendly Hero Banner */
.front-hero-wrapper {
    padding: 10px 0 6px !important;
}

.front-hero-card {
    background: #ffffff !important;
    border: 1px solid #fee2e2 !important;
    border-top: 3.5px solid #dc2626 !important;
    border-radius: 14px !important;
    padding: 20px 20px 16px !important;
    color: #0f172a !important;
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05) !important;
    position: relative !important;
}

.hero-ambient-blob {
    display: none !important;
}

.hero-badge-pill {
    background: #fef2f2 !important;
    color: #b91c1c !important;
    border: 1px solid #fecaca !important;
    font-size: 0.70rem !important;
    font-weight: 700 !important;
    padding: 3px 10px !important;
    margin-bottom: 8px !important;
}

.hero-badge-pill .pulse-dot-live {
    background: #dc2626 !important;
    box-shadow: 0 0 0 rgba(220, 38, 38, 0.4) !important;
}

.front-hero-title {
    color: #0f172a !important;
    font-size: 1.55rem !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    margin-bottom: 5px !important;
    letter-spacing: -0.4px !important;
}

.front-hero-subtitle {
    color: #475569 !important;
    font-size: 0.84rem !important;
    line-height: 1.45 !important;
    margin-bottom: 12px !important;
    max-width: 640px !important;
}

/* Light Command Search Bar */
.hero-search-wrapper {
    margin: 8px auto 12px !important;
    max-width: 580px !important;
}

.hero-command-box {
    height: 42px !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 9px !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04) !important;
    transition: all 0.2s ease !important;
}

.hero-command-box:focus-within {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12) !important;
}

.hero-search-input {
    font-size: 0.85rem !important;
    color: #0f172a !important;
    padding: 6px 12px 6px 36px !important;
}

.hero-search-input::placeholder {
    color: #94a3b8 !important;
}

.hero-search-icon {
    font-size: 0.82rem !important;
    left: 12px !important;
    color: #64748b !important;
}

.search-submit-btn {
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    padding: 4px 12px !important;
    border-radius: 6px !important;
    background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
    color: #ffffff !important;
}

/* Light Hero Quick Buttons */
.hero-action-pill-box {
    gap: 6px !important;
    margin-top: 10px !important;
}

.hero-quick-btn {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    padding: 5px 11px !important;
    border-radius: 7px !important;
    background: #f8fafc !important;
    color: #334155 !important;
    border: 1px solid #e2e8f0 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: all 0.15s ease !important;
}

.hero-quick-btn:hover {
    background: #fee2e2 !important;
    color: #b91c1c !important;
    border-color: #fecaca !important;
}

.hero-quick-btn.active-hero {
    background: #fef2f2 !important;
    color: #b91c1c !important;
    border-color: #fecaca !important;
}

/* 5. MOBILE QUICK ACCESS APP GRID (4x2) */
.mobile-app-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 10px 8px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 14px 10px !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
    margin: 4px 0 16px !important;
}

.mobile-app-tile {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    padding: 4px 2px !important;
    -webkit-tap-highlight-color: transparent !important;
    transition: transform 0.15s ease !important;
}

.mobile-app-tile:active {
    transform: scale(0.95) !important;
}

.mobile-app-icon {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.25rem !important;
    margin-bottom: 5px !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
    border: 1px solid transparent !important;
}

.mobile-app-label {
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    color: #334155 !important;
    text-align: center !important;
    line-height: 1.15 !important;
    letter-spacing: -0.1px !important;
}

/* Cheerful Pastel Icon Themes */
.icon-posb      { background: #fef2f2 !important; color: #dc2626 !important; border-color: #fee2e2 !important; }
.icon-pli       { background: #eff6ff !important; color: #2563eb !important; border-color: #dbeafe !important; }
.icon-quiz      { background: #f5f3ff !important; color: #7c3aed !important; border-color: #ede9fe !important; }
.icon-apps      { background: #f0fdf4 !important; color: #16a34a !important; border-color: #dcfce7 !important; }
.icon-forms     { background: #fffbeb !important; color: #d97706 !important; border-color: #fef3c7 !important; }
.icon-schemes   { background: #ecfdf5 !important; color: #059669 !important; border-color: #d1fae5 !important; }
.icon-circulars { background: #ecfeff !important; color: #0891b2 !important; border-color: #cffafe !important; }
.icon-pincode   { background: #fff1f2 !important; color: #e11d48 !important; border-color: #ffe4e6 !important; }

/* 6. STICKY MOBILE BOTTOM NAVIGATION DOCK */
.mobile-bottom-nav {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1045 !important;
    height: 56px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-top: 1px solid #e2e8f0 !important;
    box-shadow: 0 -2px 10px rgba(15, 23, 42, 0.05) !important;
    display: flex !important;
    align-items: center !important;
}

.mobile-nav-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-around !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 500px !important;
    margin: 0 auto !important;
}

.mobile-nav-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 !important;
    height: 100% !important;
    text-decoration: none !important;
    color: #64748b !important;
    padding: 3px 0 !important;
    transition: all 0.15s ease !important;
    -webkit-tap-highlight-color: transparent !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
}

.mobile-nav-item:active,
.mobile-nav-item.active {
    color: #dc2626 !important;
}

.mobile-nav-item.active .mobile-nav-icon-wrapper {
    background: #fef2f2 !important;
    color: #dc2626 !important;
    border-radius: 8px !important;
}

.mobile-nav-icon-wrapper {
    width: 30px !important;
    height: 26px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.10rem !important;
    border-radius: 6px !important;
    transition: all 0.15s ease !important;
}

.mobile-nav-label {
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    margin-top: 2px !important;
    letter-spacing: 0.1px !important;
}

/* 7. LIGHT THEME FOR OFFCANVAS DRAWER MENU */
.custom-right-drawer {
    background: #ffffff !important;
}

.drawer-header-brand {
    background: #ffffff !important;
    border-bottom: 2px solid #dc2626 !important;
    padding: 14px 16px !important;
}

.drawer-header-brand .drawer-brand-title {
    color: #0f172a !important;
    font-weight: 800 !important;
}

.drawer-header-brand .brand-mit-light {
    color: #0f172a !important;
}

.drawer-header-brand .drawer-brand-subtitle {
    color: #64748b !important;
}

.drawer-header-brand .btn-close-white {
    filter: none !important;
}

.drawer-body-custom {
    background: #f8fafc !important;
}

.drawer-nav-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03) !important;
    border-radius: 10px !important;
    padding: 10px 12px !important;
    margin-bottom: 8px !important;
}

.drawer-nav-heading {
    color: #0f172a !important;
    font-weight: 700 !important;
    font-size: 0.86rem !important;
}

.drawer-nav-desc {
    color: #64748b !important;
    font-size: 0.74rem !important;
}

.drawer-group-title {
    color: #475569 !important;
    font-weight: 800 !important;
    font-size: 0.74rem !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    margin: 16px 0 8px !important;
}

/* 8. LIGHT & CRISP CONTENT CARDS ACROSS ALL PAGES */
.inner-glass-card-accent,
.calc-card-unified,
.exam-track-card,
.app-card-unified,
.post-card-unified,
.desk-feed-card,
.compact-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04) !important;
    border-radius: 12px !important;
}

.inner-glass-card-accent h3,
.calc-card-unified h3,
.exam-track-card h3 {
    color: #0f172a !important;
}

/* 9. LIGHT SUBPAGE HERO BANNERS */
.appstore-header-banner,
.ins-hero-banner,
.calc-hero-banner,
.schemes-hero-banner,
.page-hero-banner,
.desk-header-wrapper {
    background: #ffffff !important;
    border: 1px solid #fee2e2 !important;
    border-top: 3px solid #dc2626 !important;
    color: #0f172a !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

.appstore-main-title,
.ins-hero-title,
.calc-main-title,
.schemes-main-title {
    color: #0f172a !important;
}

.appstore-main-sub,
.ins-hero-sub,
.calc-main-sub,
.schemes-main-sub {
    color: #475569 !important;
}

/* 10. COMPACT FLOATING STATS OVERLAP BAR */
.floating-stats-bar-wrapper {
    margin-top: -8px !important;
    margin-bottom: 16px !important;
    position: relative !important;
    z-index: 10 !important;
}

.floating-stats-card {
    padding: 8px 12px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    background: #ffffff !important;
    border: 1px solid var(--ph-border) !important;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04) !important;
    min-height: 48px !important;
    transition: all 0.15s ease !important;
}

.floating-stats-card:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08) !important;
    border-color: #cbd5e1 !important;
}

.stats-card-icon-box {
    width: 30px !important;
    height: 30px !important;
    font-size: 0.88rem !important;
    border-radius: 6px !important;
    flex-shrink: 0 !important;
}

.stats-card-value {
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    color: var(--ph-slate-900) !important;
}

.stats-card-label {
    font-size: 0.68rem !important;
    font-weight: 600 !important;
    color: var(--ph-slate-500) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
}

/* 11. MOBILE RESPONSIVE POLISH (< 768px) */
@media (max-width: 767.98px) {
    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    .front-hero-card {
        padding: 16px 14px 14px !important;
        border-radius: 12px !important;
    }
    .front-hero-title {
        font-size: 1.30rem !important;
    }
    .front-hero-subtitle {
        font-size: 0.78rem !important;
    }
    .floating-stats-card {
        padding: 7px 10px !important;
        min-height: 44px !important;
    }
    .floating-stats-bar-wrapper {
        margin-top: 4px !important;
        margin-bottom: 14px !important;
    }
    .section-title-unified {
        font-size: 1.10rem !important;
    }
}


/* === ULTRA CLEAN MOBILE REDESIGN 2026 === */
:root{--primary-accent:#dc2626;--secondary-accent:#0f172a;--font-heading:"Outfit",sans-serif;--font-body:"Inter",sans-serif} body{margin:0;font-family:"Inter",system-ui,sans-serif;background:#f8fafc;color:#0f172a;} body.css-loaded{visibility:visible}  /* Critical Layout & Grid Fallbacks */ .d-none{display:none!important} .d-block{display:block!important} .d-flex{display:flex!important} .d-inline-flex{display:inline-flex!important} @media(min-width:576px){.d-sm-block{display:block!important}} @media(min-width:768px){.d-md-block{display:block!important}.d-md-none{display:none!important}.d-md-flex{display:flex!important}} @media(min-width:992px){.d-lg-flex{display:flex!important}.d-lg-none{display:none!important}.d-lg-inline{display:inline!important}} .align-items-center{align-items:center!important} .justify-content-between{justify-content:space-between!important} .justify-content-center{justify-content:center!important} .justify-content-end{justify-content:flex-end!important} .flex-nowrap{flex-wrap:nowrap!important} .gap-1{gap:.25rem!important} .gap-2{gap:.5rem!important} .gap-3{gap:1rem!important} .ms-auto{margin-left:auto!important} .me-1{margin-right:.25rem!important} .me-1\.5{margin-right:.375rem!important} .mb-0{margin-bottom:0!important} .mb-2{margin-bottom:.5rem!important} .mb-3{margin-bottom:1rem!important} .mx-auto{margin-left:auto!important;margin-right:auto!important} .text-center{text-align:center!important} .text-muted{color:#64748b!important} .text-danger{color:#dc2626!important} .text-primary{color:#2563eb!important} .text-success{color:#16a34a!important} .text-white{color:#fff!important} .text-decoration-none{text-decoration:none!important} .fw-bold{font-weight:700!important} .rounded-pill{border-radius:50rem!important} .rounded-circle{border-radius:50%!important} .position-relative{position:relative!important} .container{width:100%;padding-right:12px;padding-left:12px;margin-right:auto;margin-left:auto} @media(min-width:576px){.container{max-width:540px}} @media(min-width:768px){.container{max-width:720px}} @media(min-width:992px){.container{max-width:960px}} @media(min-width:1200px){.container{max-width:1140px}} @media(min-width:1400px){.container{max-width:1320px}}  /* Modern Glass Navbar & 1-Row Mobile Layout */ .main-glass-navbar{position:sticky;top:0;z-index:1040;background:rgba(255,255,255,.98)!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid #e2e8f0;box-shadow:0 2px 8px rgba(15,23,42,.04);padding-top:.45rem!important;padding-bottom:.45rem!important} .main-glass-navbar .container{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important} .navbar-brand{padding:0;margin:0;font-size:1.25rem;text-decoration:none;display:inline-flex;align-items:center;gap:8px;flex-shrink:0} .brand-text-logo{font-family:"Outfit",sans-serif;font-size:1.24rem;font-weight:800;line-height:1;letter-spacing:-0.4px} .brand-digi{color:#dc2626!important}.brand-mit{color:#0f172a!important}.brand-mit-white{color:#fff} .brand-tagline-mini{font-size:.52rem;font-weight:700;letter-spacing:1.2px;color:#64748b;text-transform:uppercase;margin-top:2px} .nav-brand-icon-box{width:34px;height:34px;border-radius:9px;background:linear-gradient(135deg,#dc2626,#b91c1c);color:#fff;display:flex;align-items:center;justify-content:center;font-size:0.95rem;box-shadow:0 2px 8px rgba(220,38,38,.25);flex-shrink:0}  /* Top utility strip */ .header-top-bar{background:#f8fafc;border-bottom:1px solid #e2e8f0;font-size:.74rem;padding:3px 0} .top-bar-link{font-size:.78rem;font-weight:600;color:#64748b;text-decoration:none;transition:color .15s} .top-bar-link:hover{color:#dc2626}  /* Desktop Horizontal Menu */ .desktop-horizontal-menu{display:flex;align-items:center;list-style:none;gap:3px;margin:0;padding:0} .nav-pill-link{font-size:.80rem;font-weight:600;color:#334155!important;text-decoration:none;padding:5px 9px;border-radius:7px;transition:all .15s;display:inline-flex;align-items:center;gap:4px;border:1px solid transparent} .nav-pill-link:hover{background:#fee2e2;color:#dc2626!important;border-color:rgba(220,38,38,.15)} .nav-pill-link.active{background:linear-gradient(135deg,#dc2626,#991b1b);color:#fff!important;box-shadow:0 3px 10px rgba(220,38,38,.3)} .btn-nav-cta{background:linear-gradient(135deg,#b91c1c,#991b1b);color:#fff!important;font-weight:700;font-size:.78rem;padding:5px 12px;border-radius:7px;border:none;box-shadow:0 2px 6px rgba(185,28,28,.25);text-decoration:none;display:inline-block}  /* Bulletproof Mobile Controls (Clean, Sleek, Accessible, No Huge Red Squares) */ #desktopNavMenu{display:none!important} #mobileNavControls{display:flex!important;align-items:center!important;gap:7px!important;margin-left:auto!important;flex-shrink:0!important} @media(min-width:992px){   #desktopNavMenu{display:flex!important;justify-content:flex-end;align-items:center;gap:.5rem;margin-left:auto}   #mobileNavControls{display:none!important} }  .btn-nav-mobile-search{width:35px!important;height:35px!important;border-radius:9px!important;background:#f8fafc!important;border:1px solid #e2e8f0!important;color:#475569!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:.88rem!important;cursor:pointer!important;padding:0!important;transition:all .15s} .btn-nav-mobile-search:active{background:#f1f5f9!important;transform:scale(.95)}  .mobile-lang-pill-wrap{display:inline-flex!important;align-items:center!important;background:#f1f5f9!important;border:1px solid #e2e8f0!important;border-radius:20px!important;padding:2px!important;gap:2px!important} .lang-btn-mobile{font-size:.70rem!important;font-weight:700!important;color:#475569!important;border:none!important;background:transparent!important;padding:2px 7px!important;border-radius:14px!important;cursor:pointer!important;line-height:1.2!important;transition:all .15s} .lang-btn-mobile.active{background:#dc2626!important;color:#ffffff!important;box-shadow:0 1px 4px rgba(220,38,38,.25)!important}  .btn-nav-hamburger{width:35px!important;height:35px!important;border-radius:9px!important;background:#f8fafc!important;border:1px solid #e2e8f0!important;color:#0f172a!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:.95rem!important;box-shadow:none!important;cursor:pointer!important;padding:0!important;transition:all .15s} .btn-nav-hamburger:active{background:#f1f5f9!important;transform:scale(.95)}  /* Mobile Search Drawer */ .mobile-search-drawer{display:none;background:#fff;border-bottom:1px solid #e2e8f0;padding:10px 0;box-shadow:0 4px 12px rgba(15,23,42,.06)} .mobile-search-drawer.is-open{display:block!important}  /* Hero Section (Light, Clean, High Contrast) */ .front-hero-wrapper{padding:14px 0 10px!important} .front-hero-card{background:#ffffff!important;border:1px solid #e2e8f0!important;border-top:3.5px solid #dc2626!important;border-radius:16px!important;padding:18px 14px 14px!important;color:#0f172a!important;box-shadow:0 4px 16px -2px rgba(15,23,42,.05)!important;position:relative!important;overflow:hidden!important} .hero-ambient-blob{display:none!important} .hero-badge-pill{display:inline-flex!important;align-items:center!important;gap:6px!important;padding:4px 12px!important;border-radius:30px!important;background:#fef2f2!important;color:#b91c1c!important;border:1px solid #fecaca!important;font-size:.76rem!important;font-weight:700!important;letter-spacing:.2px!important} .pulse-dot-live{width:7px;height:7px;border-radius:50%;background:#10b981;display:inline-block;box-shadow:0 0 0 2px rgba(16,185,129,.25)}  .front-hero-title{font-family:"Outfit",sans-serif!important;font-size:1.45rem!important;font-weight:800!important;color:#0f172a!important;line-height:1.25!important;letter-spacing:-0.4px!important;margin-bottom:6px!important;text-shadow:none!important} @media(min-width:768px){.front-hero-title{font-size:2.15rem!important}} .front-hero-subtitle{font-size:.85rem!important;color:#475569!important;max-width:620px!important;line-height:1.45!important;margin-bottom:12px!important;font-weight:500!important}  .hero-search-wrapper{max-width:560px!important;width:100%!important;margin:8px auto!important} .hero-command-box{position:relative!important;width:100%!important;height:44px!important;background:#ffffff!important;border:1.5px solid #cbd5e1!important;border-radius:10px!important;display:flex!important;align-items:center!important;box-shadow:0 2px 6px rgba(15,23,42,.04)!important;transition:all .2s ease!important} .hero-command-box:focus-within{border-color:#dc2626!important;box-shadow:0 0 0 3px rgba(220,38,38,.12)!important} .hero-search-icon{position:absolute!important;left:14px!important;top:50%!important;transform:translateY(-50%)!important;color:#94a3b8!important;font-size:.88rem!important;pointer-events:none!important} .hero-search-input{width:100%!important;height:100%!important;border:none!important;outline:none!important;background:transparent!important;padding:0 95px 0 38px!important;font-size:.86rem!important;color:#0f172a!important;font-family:inherit!important} .hero-search-input::placeholder{color:#94a3b8!important} .search-submit-btn{position:absolute!important;right:5px!important;top:5px!important;bottom:5px!important;border:none!important;border-radius:7px!important;background:linear-gradient(135deg,#dc2626,#b91c1c)!important;color:#ffffff!important;font-size:.78rem!important;font-weight:700!important;padding:0 14px!important;display:inline-flex!important;align-items:center!important;cursor:pointer!important;box-shadow:0 2px 6px rgba(220,38,38,.3)!important}  .hero-action-pill-box{display:flex!important;justify-content:center!important;gap:6px!important;margin-top:10px!important;overflow-x:auto!important;padding-bottom:2px!important} .hero-quick-btn{font-size:.74rem!important;font-weight:600!important;padding:5px 12px!important;border-radius:8px!important;background:#f8fafc!important;color:#334155!important;border:1px solid #e2e8f0!important;text-decoration:none!important;white-space:nowrap!important;display:inline-flex!important;align-items:center!important;transition:all .15s ease!important} .hero-quick-btn.active-hero{background:#fef2f2!important;color:#b91c1c!important;border-color:#fecaca!important} .hero-quick-btn.btn-blue{background:#eff6ff!important;color:#1d4ed8!important;border-color:#dbeafe!important} .hero-quick-btn.btn-purple{background:#f5f3ff!important;color:#6d28d9!important;border-color:#ede9fe!important} .hero-quick-btn.btn-green{background:#f0fdf4!important;color:#15803d!important;border-color:#dcfce7!important} .hero-quick-btn.btn-amber{background:#fffbeb!important;color:#b45309!important;border-color:#fef3c7!important}  /* Mobile Quick Access App Grid (4x2 Compact Clean Grid) */ .mobile-app-grid{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:10px 6px!important;background:#ffffff!important;border:1px solid #e2e8f0!important;border-radius:14px!important;padding:12px 6px!important;box-shadow:0 2px 8px rgba(15,23,42,.04)!important;margin:4px 0 16px!important} .mobile-app-tile{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-decoration:none!important;padding:4px 2px!important;background:transparent!important;border:none!important;-webkit-tap-highlight-color:transparent!important;transition:transform .15s ease!important} .mobile-app-tile:active{transform:scale(.93)!important} .mobile-app-icon{width:42px!important;height:42px!important;border-radius:12px!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:1.2rem!important;margin-bottom:5px!important;border:1px solid transparent!important;box-shadow:0 1px 3px rgba(15,23,42,.04)!important;flex-shrink:0!important} .mobile-app-label{font-size:.68rem!important;font-weight:700!important;color:#334155!important;text-align:center!important;line-height:1.15!important;letter-spacing:-0.1px!important;text-decoration:none!important} .ph-tile-posb{background:#fef2f2!important;color:#dc2626!important;border-color:#fee2e2!important} .ph-tile-pli{background:#eff6ff!important;color:#2563eb!important;border-color:#dbeafe!important} .ph-tile-quiz{background:#f5f3ff!important;color:#7c3aed!important;border-color:#ede9fe!important} .ph-tile-apps{background:#f0fdf4!important;color:#16a34a!important;border-color:#dcfce7!important} .ph-tile-forms{background:#fffbeb!important;color:#d97706!important;border-color:#fef3c7!important} .ph-tile-schemes{background:#ecfdf5!important;color:#059669!important;border-color:#d1fae5!important} .ph-tile-circulars{background:#ecfeff!important;color:#0891b2!important;border-color:#cffafe!important} .ph-tile-pincode{background:#fff1f2!important;color:#e11d48!important;border-color:#ffe4e6!important}  /* Sticky Mobile Bottom Navigation Dock */ @media(max-width:991.98px){   body{padding-bottom:66px!important}   .mobile-bottom-nav{display:block!important;position:fixed!important;bottom:0!important;left:0!important;right:0!important;background:rgba(255,255,255,.98)!important;backdrop-filter:blur(14px)!important;-webkit-backdrop-filter:blur(14px)!important;border-top:1px solid #e2e8f0!important;box-shadow:0 -4px 16px rgba(15,23,42,.06)!important;z-index:1030!important;padding-bottom:env(safe-area-inset-bottom,4px)!important}   .mobile-nav-container{display:flex!important;align-items:center!important;justify-content:space-around!important;height:56px!important;max-width:600px!important;margin:0 auto!important;padding:0 4px!important}   .mobile-nav-item{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-decoration:none!important;color:#64748b!important;flex:1!important;height:100%!important;padding:4px 0!important;-webkit-tap-highlight-color:transparent!important;transition:color .15s ease!important}   .mobile-nav-item:active{transform:scale(.94)!important}   .mobile-nav-item.active{color:#dc2626!important}   .mobile-nav-icon-wrapper{font-size:1.15rem!important;height:22px!important;display:flex!important;align-items:center!important;justify-content:center!important;margin-bottom:2px!important}   .mobile-nav-label{font-size:.65rem!important;font-weight:700!important;letter-spacing:-0.2px!important;line-height:1!important} }


/* === INLINE NAV PULSE BADGES (PREVENTS TEXT OVERLAP) === */
.nav-pulse-badge {
    position: static !important;
    display: inline-block !important;
    font-size: 0.58rem !important;
    font-weight: 800 !important;
    padding: 1.5px 5.5px !important;
    border-radius: 6px !important;
    margin-left: 5px !important;
    line-height: 1.1 !important;
    vertical-align: middle !important;
    letter-spacing: 0.3px !important;
    top: auto !important;
    right: auto !important;
}

/* Ensure handy chips never display raw unstyled links */
.handy-quick-chips-wrapper {
    display: none !important;
}


/* === FLOATING STATS BAR RESILIENT LAYOUT === */
.floating-stats-bar-wrapper {
    position: relative !important;
    z-index: 10 !important;
    margin-top: 14px !important;
    margin-bottom: 24px !important;
    width: 100% !important;
}
.floating-stats-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 14px 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    height: 100% !important;
    min-height: 64px !important;
}
.floating-stats-card:hover {
    transform: translateY(-2px) !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.08) !important;
}
.stats-card-value {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.2 !important;
}
.stats-card-label {
    font-size: 0.72rem !important;
    color: #64748b !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
}
@media (max-width: 575.98px) {
    .floating-stats-card {
        padding: 10px 12px !important;
        gap: 8px !important;
    }
    .stats-card-value {
        font-size: 0.92rem !important;
    }
    .stats-card-label {
        font-size: 0.65rem !important;
    }
}
