/* EduRemarks Premium SaaS Redesign Styles */
@import url('jakarta-poppins.css');
@import url('responsive.css');

:root {
    --primary-blue: #1E5EFF; /* Primary Blue from mockup */
    --dark-blue: #163A8B; /* Dark Blue from mockup */
    --accent-gold: #F5B301; /* Accent Gold from mockup */
    --bg-light: #F8FAFF; /* Background from mockup */
    --white: #FFFFFF;
    --dark-text: #16213E; /* Dark Text from mockup */
    --gray-text: #667085; /* Gray Text from mockup */
    --border-color: rgba(30, 94, 255, 0.08); /* Border from mockup */
    --shadow-premium: 0 20px 60px rgba(20, 50, 120, 0.08); /* Shadow from mockup */
    --shadow-soft: 0 10px 40px rgba(30, 94, 255, 0.04);
    --shadow-hover: 0 25px 70px rgba(30, 94, 255, 0.12);
    --border-radius: 20px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --success-green: #10B981;
    --header-height: 80px;
    --header-height-mobile: 70px;
}

/* Global Responsive Base */
html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

@media (max-width: 480px) {
    html { font-size: 15.5px; }
}

.no-break { white-space: nowrap; }
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2; /* Standard property */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Mobile App Layout Utilities */
@media (max-width: 576px) {
    .flex-mobile-column { flex-direction: column !important; align-items: flex-start !important; gap: 15px !important; }
    .w-mobile-100 { width: 100% !important; }
    .text-mobile-center { text-align: center !important; }
}

/* Utilities */
.pulse-green {
    width: 8px;
    height: 8px;
    background-color: var(--success-green);
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.icon-box-sm {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

@media (max-width: 576px) {
    .icon-box-sm {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
}

.shadow-hover-sm {
    transition: var(--transition-smooth);
}

.shadow-hover-sm:hover {
    box-shadow: 0 5px 15px rgba(31, 60, 136, 0.05);
}

.hover-bg-white:hover {
    background-color: #fff !important;
}

html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 10px;
    border: 3px solid var(--bg-light);
}

::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

/* ══════════════════════════════════════════════════
   PREMIUM MINIMAL PRELOADER — World-Class Loading
   ══════════════════════════════════════════════════ */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0b0f19; /* Solid dark background matching premium dashboards */
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                visibility 0.35s, 
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

/* Ambient glow orb behind content */
#preloader::before {
    content: '';
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(30, 94, 255, 0.08) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    animation: preContentIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes preContentIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* App Icon style logo wrapper */
.pre-logo-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 22px;
    background: #ffffff;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.08);
    animation: preLogoPulse 1.2s ease-in-out infinite;
    overflow: hidden;
}

@keyframes preLogoPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3); }
    50% { transform: scale(1.03); box-shadow: 0 20px 48px rgba(30, 94, 255, 0.15); }
}

.loader-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Minimal Progress Indicator */
.pre-progress-container {
    width: 140px;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 28px;
    position: relative;
}

.pre-progress-bar {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #1E5EFF, #F5B301, #1E5EFF);
    background-size: 200% 100%;
    animation: preLoading 0.8s infinite cubic-bezier(0.65, 0.05, 0.36, 1);
}

@keyframes preLoading {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(0%); }
    100% { transform: translateX(100%); }
}

/* Minimalist label style */
.pre-text {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    animation: preTextFade 1.5s ease-in-out infinite alternate;
}

@keyframes preTextFade {
    from { opacity: 0.5; }
    to { opacity: 0.9; }
}

/* Exit Transition */
#preloader.loaded {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.04);
    pointer-events: none;
}


/* Background Clouds / Blobs (Enhanced) */
.bg-blobs {
    display: none !important;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
    animation: floating-clouds 25s infinite alternate ease-in-out;
}

.blob-1 {
    width: 700px;
    height: 700px;
    background: var(--primary-blue);
    top: -10%;
    right: -5%;
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: var(--secondary-blue);
    bottom: -5%;
    left: -5%;
    animation-delay: -7s;
}

.blob-3 {
    width: 450px;
    height: 450px;
    background: var(--accent-gold);
    top: 30%;
    left: 15%;
    opacity: 0.06;
    animation-delay: -12s;
}

.blob-4 {
    width: 300px;
    height: 300px;
    background: var(--primary-blue);
    bottom: 20%;
    right: 10%;
    opacity: 0.05;
    animation-delay: -15s;
}

@keyframes floating-clouds {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* SVG Clouds (Crisp Atmospheric Layer) */
.svg-cloud {
    position: absolute;
    fill: rgba(255, 255, 255, 0.4);
    pointer-events: none;
    z-index: 0;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.02));
}

.cloud-drift-slow {
    animation: drift 60s infinite linear;
}

.cloud-drift-med {
    animation: drift 45s infinite linear;
}

.cloud-drift-fast {
    animation: drift 30s infinite linear;
}

@keyframes drift {
    from {
        transform: translateX(-10vw);
    }

    to {
        transform: translateX(110vw);
    }
}

/* Elite CTA Buttons */
.btn-premium-gold {
    background: linear-gradient(135deg, var(--accent-gold), #FFD700);
    color: var(--dark-text);
    border: none;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(244, 180, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 50px;
}

.btn-premium-gold:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(244, 180, 0, 0.5);
    color: var(--dark-text);
}

.btn-premium-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    font-weight: 600;
    backdrop-filter: blur(5px);
    border-radius: 50px;
    transition: all 0.4s ease;
}

.btn-premium-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-5px);
}

/* Rising Stack SVG Animation */
.rising-stack {
    width: 100%;
    max-width: 400px;
    height: auto;
}

.stack-block {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal.reveal-visible .stack-block {
    opacity: 1;
    transform: translateY(0);
}

.stack-block-gold {
    fill: var(--accent-gold);
}

.stack-block-blue {
    fill: var(--primary-blue);
}

.stack-block-1 {
    transition-delay: 0.1s;
}

.stack-block-2 {
    transition-delay: 0.2s;
}

.stack-block-3 {
    transition-delay: 0.3s;
}

.stack-block-4 {
    transition-delay: 0.4s;
}

.stack-block-5 {
    transition-delay: 0.5s;
}

/* Micro-Screen Optimizations (Tiny Devices) */
@media (max-width: 380px) {
    .hero-title {
        font-size: 1.8rem !important;
    }

    .hero-subtitle {
        font-size: 0.9rem !important;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .btn {
        padding: 10px 20px !important;
        font-size: 0.85rem !important;
    }

    .glass-card {
        padding: 20px !important;
    }
}

@media (max-width: 320px) {
    .hero-title {
        font-size: 1.5rem !important;
    }

    .section-title {
        font-size: 1.4rem !important;
    }
}

/* Hero 3D Slideshow (Tech Standard Flip) */
.hero-img-wrapper {
    perspective: 2000px;
    position: relative;
    padding: 10px;
}

.hero-slideshow {
    position: relative;
    width: 100%;
    height: 550px;
    transform-style: preserve-3d;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center 30%;
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 28px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18), inset 0 0 80px rgba(255, 255, 255, 0.03);
    animation: heroFadeZoom 15s infinite ease-in-out;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 35px;
    overflow: hidden;
    transition: var(--transition-smooth);
    opacity: 0;
}

@media (max-width: 991px) {
    .hero-slideshow {
        height: 420px;
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .hero-slideshow {
        height: 280px;
    }
    .hero-slide {
        background-size: 85% auto;
        background-position: center 20%;
        padding-bottom: 15px;
        border-radius: 18px;
    }
}

.hero-slide:nth-child(1) {
    animation-delay: 0s;
}

.hero-slide:nth-child(2) {
    animation-delay: 5s;
}

.hero-slide:nth-child(3) {
    animation-delay: 10s;
}

@keyframes heroFadeZoom {
    0% {
        opacity: 0;
        transform: scale(1.06);
        filter: blur(4px);
    }

    4% {
        opacity: 1;
        transform: scale(1.02);
        filter: blur(0);
    }

    29% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }

    33.3% {
        opacity: 0;
        transform: scale(0.95);
        filter: blur(4px);
    }

    100% {
        opacity: 0;
    }
}

.hero-caption {
    background: rgba(31, 60, 136, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    border-left: 4px solid var(--accent-gold);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-slide[style*="opacity: 1"] .hero-caption {
    transform: translateY(0);
    opacity: 1;
}

.hero-slide .hero-caption {
    animation: captionFade 15s infinite ease-in-out;
}

.hero-slide:nth-child(1) .hero-caption {
    animation-delay: 0s;
}

.hero-slide:nth-child(2) .hero-caption {
    animation-delay: 5s;
}

.hero-slide:nth-child(3) .hero-caption {
    animation-delay: 10s;
}

@keyframes captionFade {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }

    10% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    28% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    33% {
        opacity: 0;
        transform: translateY(-20px) scale(1.05);
    }

    100% {
        opacity: 0;
    }
}

/* Glassmorphism */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

/* Premium Trust Badges and Text Styles */
.trust-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 6px 16px;
    color: var(--white);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.trust-badge .badge-gold {
    background: var(--accent-gold);
    color: var(--dark-text);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 30px;
}

.trust-badge .trust-text {
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.9;
    letter-spacing: 0.3px;
}

.text-gradient-gold {
    background: linear-gradient(135deg, #FFF59D 0%, var(--accent-gold) 50%, #FFA000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--accent-gold); /* Fallback */
}

/* Premium Buttons & Button Group */
.hero-btns-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (min-width: 992px) {
    .hero-btns-group {
        justify-content: flex-start;
    }
}

@media (max-width: 576px) {
    .hero-btns-group {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        width: 100%;
        padding: 0 15px;
    }
    .hero-btns-group .btn {
        width: 100% !important;
        display: block;
        margin-right: 0 !important;
        text-align: center;
    }
}

.btn-explore {
    background: transparent;
    color: var(--white) !important;
    border: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    border-radius: 50px;
}

.btn-explore:hover {
    color: var(--accent-gold) !important;
    transform: translateY(-3px);
}

.animate-bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-6px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* Floating Badges Style */
.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50px;
    padding: 8px 18px;
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
    animation: floatUpDown 6s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.badge-top-left {
    top: 30px;
    left: -35px;
    animation-delay: 0s;
}

.badge-mid-right {
    top: 45%;
    right: -35px;
    transform: translateY(-50%);
    animation-delay: 2s;
}

.badge-bottom-left {
    bottom: 40px;
    left: -20px;
    animation-delay: 4s;
}

.floating-badge .stars {
    color: var(--accent-gold);
    letter-spacing: 1px;
}

@keyframes floatUpDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Hide or adjust floating badges on layouts */
@media (max-width: 1200px) {
    .badge-top-left { left: -10px; }
    .badge-mid-right { right: -10px; }
    .badge-bottom-left { left: 0px; }
}

@media (max-width: 991px) {
    .floating-badge {
        padding: 6px 12px;
        font-size: 0.7rem;
    }
    .badge-top-left { left: 10px; top: 15px; }
    .badge-mid-right { right: 10px; top: 50%; }
    .badge-bottom-left { left: 10px; bottom: 15px; }
}

@media (max-width: 768px) {
    .floating-badge {
        display: none; /* Hide on smaller tablets to keep layout clean and simple */
    }
}

body {
    font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
    color: var(--dark-text);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--dark-text);
}

section {
    padding: 80px 0;
}

/* Navbar */
.navbar {
    height: 90px;
    background: #FFFFFF !important;
    box-shadow: 0 4px 30px rgba(20, 50, 120, 0.04) !important;
    border-bottom: 1px solid rgba(30, 94, 255, 0.04);
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
    z-index: 1000;
}

.navbar-brand img {
    height: 40px !important;
    width: auto;
    transition: var(--transition-smooth);
}

.nav-link {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-text) !important;
    margin: 0 12px;
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-blue) !important;
}

/* Ensure active tab in nav pills has white text and matches the primary blue background */
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background-color: var(--primary-blue) !important;
    color: #ffffff !important;
}

/* Hover state for inactive nav-pills to feel dynamic */
.nav-pills .nav-link:not(.active):hover {
    background-color: rgba(30, 94, 255, 0.05) !important;
    color: var(--primary-blue) !important;
}

/* Navbar actions */
.mob-nav-btns .btn-primary-outline {
    border: 1.5px solid rgba(30, 94, 255, 0.15);
    color: var(--dark-text) !important;
    background: transparent;
    border-radius: 50px !important;
    padding: 10px 28px !important;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mob-nav-btns .btn-primary-outline:hover {
    background: #F8FAFF;
    border-color: var(--primary-blue);
    color: var(--primary-blue) !important;
}

.mob-nav-btns .btn-gold {
    background: var(--accent-gold) !important;
    color: var(--dark-text) !important;
    border-radius: 50px !important;
    padding: 10px 28px !important;
    font-weight: 600;
    font-size: 14px;
    border: none;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 14px rgba(245, 179, 1, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mob-nav-btns .btn-gold:hover {
    background: #E0A300 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 179, 1, 0.35);
}

@media (max-width: 991px) {
    .navbar {
        height: auto !important;
        min-height: 70px;
        padding: 10px 0 !important;
    }
    .nav-link {
        padding: 12px 10px !important;
        margin: 0 !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.02);
    }
    .nav-link:last-child {
        border-bottom: none;
    }
    .mob-nav-btns {
        flex-direction: column !important;
        gap: 12px !important;
        margin-top: 15px !important;
    }
    .mob-nav-btns .btn {
        width: 100% !important;
        margin: 0 !important;
    }
}

/* Hero Section */
.hero-section {
    background: var(--bg-light);
    padding: 160px 0 120px;
    color: var(--dark-text);
    position: relative;
    overflow: hidden;
}

.hero-title-mockup {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 60px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    color: var(--dark-text);
}

.hero-desc-mockup {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    color: var(--gray-text);
    line-height: 1.6;
    max-width: 550px;
}

@media (min-width: 1200px) {
    .hero-title-mockup {
        font-size: 72px;
    }
}

/* Cards */
/* Premium Spacing & Titles */
.section-title-mockup {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-text);
    letter-spacing: -1.5px;
}

@media (min-width: 992px) {
    .section-title-mockup {
        font-size: 48px;
    }
}

.section-subtitle-mockup {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    color: var(--gray-text);
    max-width: 600px;
    margin: 0 auto;
}

/* Mockup Features Section */
.premium-feature-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.premium-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 70px rgba(20, 50, 120, 0.12);
    border-color: rgba(30, 94, 255, 0.12);
}

.premium-card-icon {
    width: 56px;
    height: 56px;
    background: rgba(30, 94, 255, 0.05);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 22px;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.premium-feature-card:hover .premium-card-icon {
    background: var(--primary-blue);
    color: var(--white);
}

.premium-feature-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 12px;
}

.premium-feature-card p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    color: var(--gray-text);
    line-height: 1.6;
    margin: 0;
}

/* Timeline / How it works */
.step-container {
    position: relative;
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}

/* Pricing Section redone for premium look */
.pricing-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 50px 40px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
    text-align: center;
    position: relative;
}

.pricing-card.featured {
    border: 2px solid var(--primary-blue);
    box-shadow: 0 30px 80px rgba(30, 94, 255, 0.12);
    transform: scale(1.03);
    z-index: 5;
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark-text);
    margin: 20px 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.price span {
    font-size: 1rem;
    color: var(--gray-text);
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    text-align: center;
    border-radius: var(--border-radius-xl);
    padding: 80px 40px;
    box-shadow: 0 30px 70px rgba(30, 94, 255, 0.15);
}

/* Footer Polish & Newsletter */
.footer-section {
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.footer-newsletter .form-control {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 50px 0 0 50px;
    padding: 12px 25px;
}

.footer-newsletter .btn {
    border-radius: 0 50px 50px 0;
    padding: 12px 25px;
}

/* Premium Redesign Mockup Elements */
.hero-badge {
    display: inline-flex;
    background: rgba(30, 94, 255, 0.05);
    border: 1px solid rgba(30, 94, 255, 0.12);
    border-radius: 100px;
    padding: 8px 18px;
    margin-bottom: 24px;
}

.hero-badge span {
    color: var(--primary-blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.hero-btns-mockup {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-premium-blue-mockup {
    background: var(--primary-blue);
    color: var(--white) !important;
    font-weight: 600;
    font-size: 16px;
    padding: 16px 36px;
    border-radius: 12px;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 25px rgba(30, 94, 255, 0.25);
    border: 1px solid var(--primary-blue);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-premium-blue-mockup:hover {
    background: var(--dark-blue);
    border-color: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(30, 94, 255, 0.35);
}

.btn-premium-white-mockup {
    background: var(--white);
    color: var(--dark-text) !important;
    font-weight: 600;
    font-size: 16px;
    padding: 16px 36px;
    border-radius: 12px;
    border: 1px solid rgba(30, 94, 255, 0.15);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(20, 50, 120, 0.04);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-premium-white-mockup:hover {
    background: #F8FAFF;
    border-color: rgba(30, 94, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(20, 50, 120, 0.08);
}

.hero-trust-indicators {
    display: flex;
    gap: 28px;
    align-items: center;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-text);
    font-size: 15px;
    font-weight: 500;
}

.trust-item i {
    color: var(--primary-blue);
    font-size: 18px;
}

/* Hero Right Illustration Styling */
.hero-illustration-wrapper {
    position: relative;
    z-index: 2;
    padding: 10px;
}

.hero-illustration-img {
    position: relative;
    z-index: 3;
    filter: drop-shadow(0 20px 50px rgba(20, 50, 120, 0.1));
    animation: floatIllustration 6s ease-in-out infinite;
    max-width: 100%;
    height: auto;
}

.hero-glow-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
    opacity: 0.12;
}

.circle-1 {
    width: 320px;
    height: 320px;
    background: var(--primary-blue);
    top: 15%;
    right: 5%;
}

.circle-2 {
    width: 280px;
    height: 280px;
    background: var(--accent-gold);
    bottom: 15%;
    left: 5%;
}

@keyframes floatIllustration {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Statistics Gradient Banner */
.stats-gradient-card {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    border-radius: var(--border-radius-xl);
    padding: 70px 60px;
    color: var(--white);
    box-shadow: 0 30px 85px rgba(20, 50, 120, 0.15);
    position: relative;
    overflow: hidden;
}

.stats-gradient-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 75%);
    border-radius: 50%;
    pointer-events: none;
}

.stats-title {
    color: var(--white);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 16px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.stats-subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 17px;
    line-height: 1.6;
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.stat-item-mockup {
    padding: 15px 10px;
    position: relative;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.stat-label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Built for Every Educational Need Cards */
.target-card-mockup {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 35px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
    height: 100%;
}

.target-card-mockup:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 65px rgba(20, 50, 120, 0.1);
    border-color: rgba(30, 94, 255, 0.15);
}

.target-icon {
    width: 52px;
    height: 52px;
    background: rgba(30, 94, 255, 0.05);
    color: var(--primary-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.target-card-mockup:hover .target-icon {
    background: var(--primary-blue);
    color: var(--white);
}

.target-card-mockup h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.target-card-mockup p {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.65;
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Responsiveness overrides for new layout elements */
@media (max-width: 991px) {
    .stats-gradient-card {
        padding: 50px 30px;
    }
    .stats-title {
        font-size: 28px;
    }
    .stat-number {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .hero-btns-mockup {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .hero-btns-mockup .btn {
        width: 100%;
        text-align: center;
    }
    .hero-trust-indicators {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .stats-gradient-card {
        padding: 40px 20px;
    }
    .stat-item-mockup {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 20px;
    }
    .stat-item-mockup:last-child {
        border-bottom: none;
    }
}

@media (max-width: 991px) {
    .hero-content {
        text-align: center !important;
    }
    .hero-btns-mockup {
        justify-content: center !important;
    }
    .hero-trust-indicators {
        justify-content: center !important;
        align-items: center !important;
    }
    .hero-desc-mockup {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--white);
    color: var(--primary-blue);
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-5px);
}

/* Professional FAQ Accordion */
.faq-accordion .accordion-item {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px !important;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.faq-accordion .accordion-button {
    background: transparent;
    color: var(--dark-text);
    font-weight: 600;
    padding: 20px 25px;
    border: none;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--primary-blue);
    background: rgba(31, 60, 136, 0.05);
}

.faq-accordion .accordion-body {
    padding: 0 25px 25px;
    color: var(--muted-text);
    line-height: 1.7;
}

.faq-accordion .accordion-button::after {
    background-size: 1rem;
}

/* Footer */
footer {
    background: #0d1a3a;
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px;
}

footer h5 {
    color: var(--white);
    margin-bottom: 25px;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-smooth);
}

footer a:hover {
    color: var(--accent-gold);
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
}

/* Authentication Pages */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    padding: 20px;
}

.auth-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-soft);
    width: 100%;
    max-width: 500px;
}

.form-control {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #e1e5ee;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(45, 108, 223, 0.1);
    border-color: var(--secondary-blue);
}

/* Table Mobile Polish */
@media (max-width: 768px) {
    .table thead { display: none; }
    .table tr { display: block; margin-bottom: 1rem; border: 1px solid #eee; border-radius: 12px; padding: 10px; background: #fff; }
    .table td { display: flex; justify-content: space-between; align-items: center; padding: 8px 5px !important; border: none !important; text-align: right !important; }
    .table td::before { content: attr(data-label); font-weight: 700; text-transform: uppercase; font-size: 0.65rem; color: #94a3b8; text-align: left; }
    .table td.text-end, .table td.text-center { text-align: right !important; justify-content: space-between; }
}

/* Responsive Utilities */
@media (max-width: 991px) {
    .pricing-card.featured {
        transform: none;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-section {
        padding: 90px 0 50px !important;
    }

    .hero-subtitle {
        font-size: 1rem !important;
        margin-bottom: 20px !important;
    }

    .trust-badge {
        padding: 4px 12px !important;
        gap: 6px !important;
        margin-bottom: 15px !important;
    }

    .trust-badge .trust-text {
        font-size: 0.75rem !important;
    }

    .section {
        padding: 50px 0;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }
}

/* Tiny screen optimization (Advanced) */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-section {
        padding: 80px 0 40px !important;
    }

    .hero-subtitle {
        font-size: 0.9rem !important;
    }

    .trust-badge {
        padding: 3px 8px !important;
    }

    .trust-badge .trust-text {
        font-size: 0.7rem !important;
    }

    .dash-top-nav {
        padding: 0 12px !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .school-switcher {
        width: 100%;
        justify-content: space-between;
    }

    .main-content {
        padding: 15px;
    }

    .stat-card {
        padding: 15px;
    }

    .sidebar {
        width: 240px;
    }

    .glass-card {
        padding: 20px !important;
    }
}

@media (max-width: 320px) {
    .header-avatar {
        width: 32px !important;
        height: 32px !important;
    }

    .stat-card .h3 {
        font-size: 1.2rem;
    }

    .sidebar-menu i {
        margin-right: 10px;
        font-size: 1rem;
    }

    .menu-item {
        padding: 12px 20px;
        font-size: 0.8rem;
    }
}

@media (max-width: 320px) {
    .hero-title {
        font-size: 1.3rem !important;
    }

    .hero-section {
        padding: 70px 0 30px !important;
    }

    .hero-subtitle {
        font-size: 0.85rem !important;
    }

    .btn {
        padding: 8px 16px !important;
        font-size: 0.8rem !important;
    }

    .navbar-brand {
        font-size: 0.9rem !important;
    }

    .navbar-brand img {
        height: 30px !important;
    }
}

/* ================================================================
   WORLD-CLASS DASHBOARD CSS - EduRemarks Management Suite
   ================================================================ */

/* Dashboard wrapper */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
    background: #EEF2FB;
    font-family: 'Inter', sans-serif;
}

/* ---- SIDEBAR ---- */
.sidebar {
    width: 260px;
    background: #0f172a;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100dvh;
    /* Dynamic viewport height for mobile browsers */
    z-index: 1200;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scroll lock when sidebar is active on mobile */
body.sidebar-open {
    overflow: hidden !important;
}

/* Sidebar header / logo area */
.sidebar-header {
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-logo-container {
    padding: 20px 20px 16px;
    text-align: center;
    background: rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

/* School logo when uploaded - professional compact size */
.sidebar-school-logo {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid rgba(244, 180, 0, 0.65);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), 0 0 0 4px rgba(244, 180, 0, 0.1);
    background: white;
    transition: transform 0.3s ease;
}

.sidebar-school-logo:hover {
    transform: scale(1.05);
}

/* Default EduRemarks logo */
.sidebar-default-logo {
    max-height: 34px;
    max-width: 130px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

/* School info block */
.school-info-sidebar {
    margin: 10px 14px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    border-left: 3px solid #F4B400;
}

.school-info-sidebar .s-name {
    font-weight: 700;
    font-size: 0.8rem;
    display: block;
    color: #fff;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.school-info-sidebar .s-id {
    font-size: 0.68rem;
    color: #F4B400;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

/* Sidebar navigation */
.sidebar-menu {
    padding: 8px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

/* ── Premium Sidebar Scrollbar ── */
.sidebar-menu {
    scrollbar-width: thin;
    scrollbar-color: rgba(244, 180, 0, 0.35) transparent;
}
.sidebar-menu::-webkit-scrollbar {
    width: 6px;
}
.sidebar-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    margin: 8px 0;
}
.sidebar-menu::-webkit-scrollbar-thumb {
    background: rgba(244, 180, 0, 0.35);
    border-radius: 10px;
    transition: background 0.25s ease;
}
.sidebar-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(244, 180, 0, 0.65);
    box-shadow: 0 0 6px rgba(244, 180, 0, 0.4);
}

.menu-item {
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 3px 14px;
}

.menu-item i {
    width: 18px;
    font-size: 0.95rem;
    text-align: center;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.25s ease;
}

.menu-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(4px);
}

.menu-item:hover i {
    color: #fff;
}

.menu-item.active {
    color: #fff;
    background: linear-gradient(135deg, #1F3C88 0%, #2D6CDF 100%);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(31, 60, 136, 0.35);
}

.menu-item.active i {
    color: #fff;
}

/* Mobile sidebar overlay */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1000;
    display: none;
    backdrop-filter: blur(3px);
    pointer-events: none;
}

@media (max-width: 991px) {
    .sidebar.active+.sidebar-overlay {
        display: block;
    }
}

/* ---- MAIN CONTENT ---- */
.main-content {
    flex: 1;
    margin-left: 260px;
    padding: 110px 30px 30px !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* ---- TOP NAVIGATION ---- */
.dash-top-nav {
    position: fixed !important;
    top: 0 !important;
    left: 260px !important;
    right: 0 !important;
    height: var(--header-height, 80px) !important;
    background: #ffffff !important;
    padding: 0 30px !important;
    border-radius: 0 !important;
    margin-bottom: 0 !important;
    border-bottom: 1px solid rgba(31, 60, 136, 0.08) !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    box-shadow: 0 4px 20px rgba(31, 60, 136, 0.04) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    z-index: 1020 !important;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease, height 0.3s ease;
}

/* Header Avatar Sizing */
.header-avatar {
    width: 42px !important;
    height: 42px !important;
    transition: all 0.3s ease;
}

.school-switcher {
    background: #F4F7FF;
    border: 1px solid #dde5ff;
    border-radius: 50px;
    padding: 7px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    color: #1E1E2F;
    transition: all 0.2s ease;
}

.school-switcher:hover {
    background: #e5eaff;
    border-color: #2D6CDF;
}

/* ---- STAT CARDS ---- */
.stat-card {
    background: #fff;
    padding: 22px 24px;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(31, 60, 136, 0.07);
    border: 1px solid rgba(31, 60, 136, 0.05);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #1F3C88, #2D6CDF);
    border-radius: 0 2px 2px 0;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(31, 60, 136, 0.13);
}

/* ---- GLASS / CONTENT CARDS ---- */
.glass-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(31, 60, 136, 0.07);
    border: 1px solid rgba(31, 60, 136, 0.07);
}

/* ---- LOGO UPLOAD WIDGET ---- */
.logo-upload-wrapper {
    position: relative;
    width: 138px;
    height: 138px;
    margin: 0 auto 12px;
    background: #F4F7FF;
    border: 2px dashed #c0d0f5;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.28s ease;
}

.logo-upload-wrapper:hover {
    border-color: #F4B400;
    background: rgba(244, 180, 0, 0.05);
    transform: scale(1.02);
    box-shadow: 0 0 0 4px rgba(244, 180, 0, 0.12);
}

.logo-upload-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.logo-upload-wrapper .upload-placeholder {
    text-align: center;
    color: #94a3b8;
    pointer-events: none;
}

.logo-upload-wrapper input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

/* ---- DASHBOARD FOOTER ---- */
.dash-footer {
    margin-top: auto !important;
    padding: 20px 0;
    border-top: 1px solid rgba(31, 60, 136, 0.08);
    font-size: 0.75rem;
    color: #94a3b8;
    width: 100%;
}

/* ---- SUCCESS CHECKMARK - BRAND COLORS ---- */
.brand-checkmark-ring {
    fill: none;
    stroke: #1F3C88;
    stroke-width: 2.5;
    stroke-dasharray: 157;
    stroke-dashoffset: 157;
    animation: draw-ring 0.65s ease forwards 0.15s;
}

.brand-checkmark-tick {
    fill: none;
    stroke: #F4B400;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 36;
    stroke-dashoffset: 36;
    animation: draw-tick 0.45s ease forwards 0.8s;
}

@keyframes draw-ring {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes draw-tick {
    to {
        stroke-dashoffset: 0;
    }
}

/* ---- SPINNER ---- */
#processing-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 60, 0.88);
    backdrop-filter: blur(8px);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    color: white;
}

.spinner-box {
    width: 72px;
    height: 72px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: #F4B400;
    border-bottom-color: #2D6CDF;
    border-radius: 50%;
    animation: spin-complex 1.2s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

@keyframes spin-complex {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.1);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

.processing-text {
    margin-top: 20px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    animation: pulse-opacity 1.4s ease infinite;
}

@keyframes pulse-opacity {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* ---- SUCCESS TOAST ICON ---- */
@keyframes checkmark-pulse {
    0% {
        transform: scale(0.7);
        opacity: 0.4;
    }

    60% {
        transform: scale(1.15);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-icon-animated {
    animation: checkmark-pulse 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    display: inline-block;
}

/* ---- RESPONSIVE - TABLET (<=992px) ---- */
@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0 !important;
        padding: calc(var(--header-height-mobile, 70px) + 20px) 16px 20px !important;
    }

    .dash-top-nav {
        left: 0 !important;
        height: var(--header-height-mobile, 70px) !important;
        padding: 0 20px !important;
    }

    .header-avatar {
        width: 38px !important;
        height: 38px !important;
    }
}

/* ---- RESPONSIVE - SMALL MOBILE (<=576px) ---- */
@media (max-width: 576px) {
    .main-content {
        padding: calc(var(--header-height-mobile, 70px) + 16px) 16px 20px !important;
    }

    .stat-card {
        padding: 14px 16px;
    }

    .glass-card {
        border-radius: 12px;
        padding: 16px !important;
    }

    .dash-top-nav {
        flex-direction: row !important;
        left: 0 !important;
        right: 0 !important;
        height: var(--header-height-mobile, 70px) !important;
        padding: 0 16px !important;
        gap: 12px !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .header-avatar {
        width: 36px !important;
        height: 36px !important;
    }

    .school-switcher {
        width: auto !important;
        padding: 5px 8px !important;
        font-size: 0.75rem !important;
        border-radius: 30px;
    }

    .sidebar {
        width: 250px;
    }

    .sidebar-school-logo {
        width: 44px;
        height: 44px;
    }

    /* Buttons Mobile optimization */
    .btn-modern, .btn-modern-primary, .btn-gold {
        padding: 8px 14px !important;
        font-size: 0.75rem !important;
        white-space: nowrap;
    }

    .h3, h3 { font-size: 1.25rem !important; }
    .h4, h4 { font-size: 1.15rem !important; }
    .h5, h5 { font-size: 1rem !important; }
    .h2, h2 { font-size: 1.5rem !important; }
}

/* ---- RESPONSIVE - TINY (<=375px) ---- */
@media (max-width: 375px) {
    .sidebar-school-logo {
        width: 38px;
        height: 38px;
        border-radius: 8px;
    }

    .menu-item {
        padding: 9px 14px;
        font-size: 0.8rem;
    }

    .stat-card .h3 {
        font-size: 1.2rem;
    }

    .main-content {
        padding: 10px 6px;
    }

    .logo-upload-wrapper {
        width: 100px;
        height: 100px;
    }

    .responsive-greeting {
        font-size: 0.85rem !important;
        max-width: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .btn-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.9rem !important;
    }
}

/* ---- RESPONSIVE - MICRO (<=320px) ---- */
@media (max-width: 320px) {
    .sidebar {
        width: 210px;
    }

    .menu-item {
        padding: 8px 12px;
        font-size: 0.75rem;
    }

    .main-content {
        padding: calc(var(--header-height-mobile, 70px) + 12px) 12px 15px !important;
    }

    .dash-top-nav {
        padding: 0 12px !important;
        gap: 8px !important;
    }

    .header-avatar {
        width: 32px !important;
        height: 32px !important;
    }

    .school-info-sidebar {
        padding: 6px 8px;
        margin: 6px 8px;
    }

    .btn {
        padding: 5px 10px !important;
        font-size: 0.7rem !important;
    }

    .stat-card {
        padding: 12px 14px;
    }

    .tiny-text {
        font-size: 0.6rem !important;
    }
}

/* --- Phase 15: Security UI & Input Enhancements --- */
.input-group-text {
    background: #f8faff;
    border-color: #e1e5ee;
    color: var(--primary-blue);
    padding-left: 15px;
    padding-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-group .form-control:focus+.input-group-text,
.input-group .form-control:focus~.input-group-text {
    border-color: var(--primary-blue);
    background: #f0f4ff;
}

.password-toggle {
    cursor: pointer;
    transition: 0.2s;
    background: #f8faff;
    z-index: 5;
}

.password-toggle:hover {
    color: var(--accent-gold);
    background: #f0f4ff;
}

.form-control {
    border-color: #e1e5ee;
}

.input-icon-box {
    color: var(--primary-blue);
    opacity: 0.7;
    width: 20px;
    text-align: center;
}

/* Success Overlay Checkmark Animation */
#checkmarkCircle {
    display: flex;
    justify-content: center;
    align-items: center;
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: var(--primary-blue);
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: var(--primary-blue);
    stroke-miterlimit: 10;
    margin: 0 auto 20px;
    box-shadow: inset 0px 0px 0px var(--primary-blue);
    animation: fill-check .4s ease-in-out .4s forwards, scale-check .3s ease-in-out .9s both;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale-check {

    0%,
    100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.05, 1.05, 1);
    }
}

@keyframes fill-check {
    100% {
        box-shadow: inset 0px 0px 0px 30px rgba(31, 60, 136, 0.05);
    }
}

/* Header UX Refinements */
.avatar-container {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(31, 60, 136, 0.12);
    background: white;
    padding: 4px !important;
}

.avatar-container:hover,
.avatar-container[aria-expanded="true"] {
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(31, 60, 136, 0.15);
}

.no-caret::after {
    display: none !important;
}

@media (max-width: 992px) {
    .user-profile .text-end {
        display: none !important;
    }
}

/* UI Utilities */
.opacity-05 { opacity: 0.05 !important; }
.opacity-10 { opacity: 0.1 !important; }
.opacity-15 { opacity: 0.15 !important; }
.opacity-20 { opacity: 0.2 !important; }
.opacity-30 { opacity: 0.3 !important; }
.text-premium-gold { color: #F4B400 !important; }
.bg-premium-gold { background-color: #F4B400 !important; }
.bg-gradient-brand { background: linear-gradient(135deg, #1F3C88 0%, #2D6CDF 100%) !important; }
.tracking-1 { letter-spacing: 1px; }
.tracking-2 { letter-spacing: 2px; }
.fw-800 { font-weight: 800; }
.fw-900 { font-weight: 900; }
.uppercase { text-transform: uppercase; }
.font-poppins { font-family: 'Poppins', sans-serif !important; }
.bg-opacity-05 { background-color: rgba(0,0,0,0.05) !important; }
.bg-opacity-02 { background-color: rgba(0,0,0,0.02) !important; }
.border-fine { border: 1px solid rgba(0,0,0,0.05) !important; }
.shadow-premium { box-shadow: 0 10px 30px rgba(31, 60, 136, 0.08) !important; }

.hover-scale { transition: transform 0.3s ease; }


.hover-scale:hover { transform: scale(1.03); }

.pulse-green {
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    position: relative;
}
.pulse-green::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #10B981;
    border-radius: 50%;
    animation: pulse-ring 1.5s infinite;
}
@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3); opacity: 0; }
}

/* ============================================================
   PREMIUM LANDING PAGE REDESIGN
   ============================================================ */

/* --- Layout --- */
.er-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.er-section {
  padding: 100px 0;
}

/* --- Reveal Animation --- */
.er-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.er-reveal.er-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Section Header --- */
.er-section-header {
  text-align: center;
  margin-bottom: 60px;
}

.er-section-title {
  font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--dark-text, #16213E);
  line-height: 1.15;
  margin-bottom: 16px;
}

.er-section-subtitle {
  font-size: 18px;
  color: var(--gray-text, #667085);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

.er-text-gradient {
  background: linear-gradient(135deg, #1E5EFF, #2D6CDF, #F5B301);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.er-hero {
  padding: 60px 0 80px;
  background: #FFFFFF;
  overflow: hidden;
}

.er-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.er-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.er-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 94, 255, 0.06);
  border: 1px solid rgba(30, 94, 255, 0.12);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--primary-blue, #1E5EFF);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.er-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--primary-blue, #1E5EFF);
  border-radius: 50%;
  animation: er-pulse 2s ease infinite;
}

@keyframes er-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.er-hero-title {
  font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
  font-size: 62px;
  font-weight: 800;
  color: var(--dark-text, #16213E);
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.er-hero-desc {
  font-size: 18px;
  color: var(--gray-text, #667085);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 500px;
}

.er-hero-btns {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.er-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.er-btn-primary {
  background: var(--primary-blue, #1E5EFF);
  color: #fff;
  box-shadow: 0 4px 20px rgba(30, 94, 255, 0.25);
}

.er-btn-primary:hover {
  background: var(--dark-blue, #163A8B);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(30, 94, 255, 0.35);
  color: #fff;
}

.er-btn-white {
  background: #fff;
  color: var(--dark-text, #16213E);
  border: 1px solid rgba(30, 94, 255, 0.12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.er-btn-white:hover {
  background: var(--primary-blue, #1E5EFF);
  color: #fff;
  border-color: var(--primary-blue, #1E5EFF);
  transform: translateY(-2px);
}

.er-btn-gold {
  background: linear-gradient(135deg, #F5B301, #FFD700);
  color: var(--dark-text, #16213E);
  box-shadow: 0 4px 20px rgba(245, 179, 1, 0.3);
}

.er-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 179, 1, 0.45);
  color: var(--dark-text, #16213E);
}

.er-btn-white-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.er-btn-white-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

.er-btn-full {
  width: 100%;
  justify-content: center;
}

/* --- Trust Row --- */
.er-trust-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.er-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-text, #667085);
}

.er-trust-item i {
  color: var(--primary-blue, #1E5EFF);
  font-size: 16px;
}

.er-trust-divider {
  width: 1px;
  height: 20px;
  background: rgba(30, 94, 255, 0.15);
}

/* --- Hero Illustration --- */
.er-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.er-illustration-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 480px;
}

.er-illus-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.er-illus-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.er-c1 {
  width: 350px;
  height: 350px;
  background: rgba(30, 94, 255, 0.08);
  top: 10%;
  left: 10%;
  animation: er-float 8s ease-in-out infinite;
}

.er-c2 {
  width: 250px;
  height: 250px;
  background: rgba(245, 179, 1, 0.06);
  bottom: 10%;
  right: 5%;
  animation: er-float 10s ease-in-out infinite reverse;
}

.er-c3 {
  width: 180px;
  height: 180px;
  background: rgba(30, 94, 255, 0.05);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: er-float 12s ease-in-out infinite;
}

@keyframes er-float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(15px, -20px); }
}

.er-illus-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(30, 94, 255, 0.15) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.4;
}

.er-illus-student {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.er-student-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 20px 40px rgba(30, 94, 255, 0.15));
  animation: er-student-float 6s ease-in-out infinite;
  border-radius: 32px;
  mask-image: radial-gradient(circle, black 65%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle, black 65%, transparent 100%);
}

@keyframes er-student-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* --- Floating Cards --- */
.er-float-card {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 12px 40px rgba(20, 50, 120, 0.12);
  z-index: 10;
  animation: er-card-float 5s ease-in-out infinite;
  border: 1px solid rgba(30, 94, 255, 0.06);
}

@keyframes er-card-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.er-fc-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-text, #16213E);
}

.er-fc-header i {
  color: var(--primary-blue, #1E5EFF);
}

/* CBT Timer Card */
.er-float-cbt {
  top: 40px;
  left: -20px;
  width: 200px;
  animation-delay: 0s;
}

.er-fc-timer {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-blue, #1E5EFF);
  font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
}

.er-fc-progress {
  width: 100%;
  height: 6px;
  background: rgba(30, 94, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 4px;
}

.er-fc-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-blue, #1E5EFF), #2D6CDF);
  border-radius: 10px;
  transition: width 1.5s ease;
}

.er-fc-progress-label {
  font-size: 11px;
  color: var(--gray-text, #667085);
  font-weight: 600;
  margin-bottom: 10px;
}

.er-fc-submit {
  width: 100%;
  padding: 8px;
  background: var(--primary-blue, #1E5EFF);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s;
}

.er-fc-submit:hover {
  background: var(--dark-blue, #163A8B);
}

/* Analytics Card */
.er-float-analytics {
  top: 60px;
  right: -10px;
  width: 190px;
  animation-delay: 1.5s;
}

.er-fc-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.er-fc-metric-label {
  font-size: 12px;
  color: var(--gray-text, #667085);
}

.er-fc-metric-value {
  font-size: 13px;
  font-weight: 700;
}

.er-text-green {
  color: #10B981;
}

.er-fc-mini-chart {
  width: 100%;
  height: 40px;
}

.er-fc-mini-chart svg {
  width: 100%;
  height: 100%;
}

/* Security Card */
.er-float-security {
  bottom: 60px;
  left: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation-delay: 3s;
}

.er-fc-security-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-blue, #1E5EFF), #2D6CDF);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
}

.er-fc-security-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--dark-text, #16213E);
}

.er-fc-security-sub {
  font-size: 11px;
  color: var(--gray-text, #667085);
  font-weight: 600;
}

/* ============================================================
   WHY CHOOSE / FEATURES
   ============================================================ */
.er-why {
  background: #fff;
}

.er-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.er-feature-card {
  background: #fff;
  border: 1px solid rgba(30, 94, 255, 0.06);
  border-radius: 20px;
  padding: 36px 32px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.er-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue, #1E5EFF), var(--accent-gold, #F5B301));
  opacity: 0;
  transition: opacity 0.4s;
}

.er-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(30, 94, 255, 0.1);
  border-color: rgba(30, 94, 255, 0.12);
}

.er-feature-card:hover::before {
  opacity: 1;
}

.er-feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(30, 94, 255, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: var(--primary-blue, #1E5EFF);
  transition: all 0.3s;
}

.er-feature-card:hover .er-feature-icon {
  background: var(--primary-blue, #1E5EFF);
  color: #fff;
  transform: scale(1.05);
}

.er-feature-card h3 {
  font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-text, #16213E);
  margin-bottom: 10px;
}

.er-feature-card p {
  font-size: 15px;
  color: var(--gray-text, #667085);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   STATISTICS
   ============================================================ */
.er-stats-section {
  background: #fff;
}

.er-stats-card {
  background: linear-gradient(135deg, #1E5EFF 0%, #163A8B 50%, #0F2366 100%);
  border-radius: 28px;
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
}

.er-stats-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 179, 1, 0.15), transparent 70%);
  top: -100px;
  right: -100px;
  border-radius: 50%;
  pointer-events: none;
}

.er-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.er-stats-title {
  font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}

.er-stats-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.er-stats-right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.er-stat-item {
  text-align: center;
  padding: 24px 16px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: transform 0.3s, background 0.3s;
}

.er-stat-item:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
}

.er-stat-number {
  font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  display: inline;
  line-height: 1;
}

.er-stat-suffix {
  font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-gold, #F5B301);
  display: inline;
}

.er-stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 8px;
  font-weight: 500;
}

/* ============================================================
   BUILT FOR EVERY NEED
   ============================================================ */
.er-needs {
  background: var(--bg-light, #F8FAFF);
}

.er-needs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.er-need-card {
  background: #fff;
  border: 1px solid rgba(30, 94, 255, 0.06);
  border-radius: 20px;
  padding: 36px 32px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.er-need-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(30, 94, 255, 0.1);
  border-color: rgba(30, 94, 255, 0.12);
}

.er-need-icon {
  width: 64px;
  height: 64px;
  background: rgba(30, 94, 255, 0.08);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: var(--primary-blue, #1E5EFF);
  transition: all 0.3s;
}

.er-need-card:hover .er-need-icon {
  background: var(--primary-blue, #1E5EFF);
  color: #fff;
  transform: scale(1.08) rotate(-3deg);
}

.er-need-card h3 {
  font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-text, #16213E);
  margin-bottom: 10px;
}

.er-need-card p {
  font-size: 15px;
  color: var(--gray-text, #667085);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   PRICING
   ============================================================ */
/* ============================================================
   PRICING — PREMIUM DESIGN
   ============================================================ */
.er-pricing {
  background: linear-gradient(180deg, var(--bg-light, #F8FAFF) 0%, #FFFFFF 50%, var(--bg-light, #F8FAFF) 100%);
  position: relative;
  overflow: hidden;
}

.er-pricing-bg-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(30, 94, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Badge Inline */
.er-badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 94, 255, 0.06);
  border: 1px solid rgba(30, 94, 255, 0.12);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--primary-blue, #1E5EFF);
  margin-bottom: 20px;
}

/* Billing Toggle */
.er-pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 52px;
  position: relative;
  z-index: 2;
}

.er-pricing-toggle-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-text, #667085);
  cursor: pointer;
  transition: color 0.3s ease;
  user-select: none;
}

.er-pricing-toggle-label.active {
  color: var(--dark-text, #16213E);
  font-weight: 700;
}

.er-pricing-toggle-switch {
  position: relative;
  width: 52px;
  height: 28px;
}

.er-pricing-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.er-pricing-toggle-slider {
  position: absolute;
  inset: 0;
  background: #d1d5db;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.er-pricing-toggle-slider::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.er-pricing-toggle-switch input:checked + .er-pricing-toggle-slider {
  background: var(--primary-blue, #1E5EFF);
}

.er-pricing-toggle-switch input:checked + .er-pricing-toggle-slider::before {
  transform: translateX(24px);
}

.er-pricing-save-badge {
  display: inline-block;
  background: linear-gradient(135deg, #10B981, #059669);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  margin-left: 4px;
  vertical-align: middle;
}

/* Grid */
.er-pricing .er-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
  position: relative;
  z-index: 2;
}

/* Card */
.er-pricing .er-pricing-card {
  background: #FFFFFF;
  border: 1px solid rgba(30, 94, 255, 0.06);
  border-radius: 28px;
  padding: 44px 32px 36px;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 24px rgba(30, 94, 255, 0.04);
}

.er-pricing .er-pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(30, 94, 255, 0.12);
}

/* Card Icon */
.er-pricing-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
  background: rgba(30, 94, 255, 0.06);
  color: var(--primary-blue, #1E5EFF);
  transition: var(--transition-smooth);
}

.er-pricing-card-icon-gold {
  background: linear-gradient(135deg, rgba(245, 179, 1, 0.15), rgba(245, 179, 1, 0.06));
  color: #D97706;
}

.er-pricing-card-icon-dark {
  background: linear-gradient(135deg, rgba(22, 58, 139, 0.12), rgba(22, 58, 139, 0.04));
  color: var(--dark-blue, #163A8B);
}

.er-pricing-card:hover .er-pricing-card-icon {
  transform: scale(1.08);
}

/* Featured Card */
.er-pricing .er-pricing-featured {
  border: 2px solid var(--primary-blue, #1E5EFF);
  box-shadow: 0 16px 48px rgba(30, 94, 255, 0.14);
  transform: scale(1.04);
  z-index: 3;
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(30, 94, 255, 0.015) 100%);
}

.er-pricing .er-pricing-featured:hover {
  transform: scale(1.04) translateY(-8px);
  box-shadow: 0 28px 72px rgba(30, 94, 255, 0.18);
}

/* Badge */
.er-pricing .er-pricing-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary-blue, #1E5EFF), #2D6CDF);
  color: #fff;
  padding: 8px 24px;
  border-radius: 0 0 14px 14px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(30, 94, 255, 0.25);
}

/* Enterprise Card */
.er-pricing .er-pricing-enterprise {
  background: linear-gradient(165deg, #0f172a 0%, #1e3a8a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.25);
}

.er-pricing .er-pricing-enterprise:hover {
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.35);
}

.er-pricing .er-pricing-enterprise h3 {
  color: #fff;
}

.er-pricing .er-pricing-enterprise .er-pricing-desc {
  color: rgba(255, 255, 255, 0.6);
}

.er-pricing .er-pricing-enterprise .er-pricing-credits {
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.1);
}

.er-pricing .er-pricing-enterprise .er-pricing-credits i {
  color: var(--accent-gold, #F5B301);
}

.er-pricing .er-pricing-enterprise .er-pricing-features li {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.06);
}

.er-pricing .er-pricing-enterprise .er-pricing-features li i {
  color: var(--accent-gold, #F5B301);
}

/* Card Title */
.er-pricing .er-pricing-card h3 {
  font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--dark-text, #16213E);
  margin-bottom: 6px;
}

/* Card Desc */
.er-pricing .er-pricing-desc {
  font-size: 14px;
  color: var(--gray-text, #667085);
  margin-bottom: 28px;
}

/* Price */
.er-pricing .er-pricing-price {
  font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
  font-size: 46px;
  font-weight: 800;
  color: var(--dark-text, #16213E);
  margin-bottom: 8px;
  line-height: 1.1;
  min-height: 56px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.er-pricing .er-pricing-currency {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-blue, #1E5EFF);
  align-self: flex-start;
  margin-top: 6px;
}

.er-pricing .er-pricing-period {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-text, #667085);
  display: block;
  margin-top: 4px;
}

.er-pricing-custom-text {
  font-size: 38px;
  font-weight: 800;
  background: linear-gradient(135deg, #F5B301, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Credits */
.er-pricing .er-pricing-credits {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-text, #16213E);
  padding: 12px 0;
  margin-bottom: 24px;
  border-top: 1px solid rgba(30, 94, 255, 0.06);
  border-bottom: 1px solid rgba(30, 94, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.er-pricing .er-pricing-credits i {
  color: var(--accent-gold, #F5B301);
  font-size: 14px;
}

/* Features List */
.er-pricing .er-pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  text-align: left;
  flex-grow: 1;
}

.er-pricing .er-pricing-features li {
  padding: 11px 0;
  font-size: 14px;
  color: var(--dark-text, #16213E);
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(30, 94, 255, 0.04);
}

.er-pricing .er-pricing-features li:last-child {
  border-bottom: none;
}

.er-pricing .er-pricing-features li i {
  color: var(--primary-blue, #1E5EFF);
  font-size: 13px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 94, 255, 0.06);
  border-radius: 50%;
  flex-shrink: 0;
}

/* CTA Buttons */
.er-pricing-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
  letter-spacing: 0.3px;
}

.er-pricing-btn-outline {
  background: transparent;
  border: 2px solid rgba(30, 94, 255, 0.15);
  color: var(--primary-blue, #1E5EFF);
}

.er-pricing-btn-outline:hover {
  background: rgba(30, 94, 255, 0.04);
  border-color: var(--primary-blue, #1E5EFF);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 94, 255, 0.12);
}

.er-pricing-btn-gold {
  background: linear-gradient(135deg, var(--accent-gold, #F5B301), #f59e0b);
  color: #1e3a5f;
  box-shadow: 0 4px 16px rgba(245, 179, 1, 0.3);
}

.er-pricing-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245, 179, 1, 0.4);
  background: linear-gradient(135deg, #f59e0b, var(--accent-gold, #F5B301));
}

.er-pricing-btn-dark {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  backdrop-filter: blur(8px);
}

.er-pricing-btn-dark:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Trust Strip */
.er-pricing-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 52px;
  padding: 20px 32px;
  background: rgba(30, 94, 255, 0.025);
  border: 1px solid rgba(30, 94, 255, 0.06);
  border-radius: 16px;
  position: relative;
  z-index: 2;
}

.er-pricing-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-text, #667085);
}

.er-pricing-trust-item i {
  color: var(--primary-blue, #1E5EFF);
  font-size: 14px;
}

.er-pricing-trust-divider {
  width: 1px;
  height: 20px;
  background: rgba(30, 94, 255, 0.12);
}

/* Note */
.er-pricing .er-pricing-note {
  text-align: center;
  font-size: 14px;
  color: var(--gray-text, #667085);
  margin-top: 32px;
  position: relative;
  z-index: 2;
}

.er-pricing .er-pricing-note a {
  color: var(--primary-blue, #1E5EFF);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.er-pricing .er-pricing-note a:hover {
  color: var(--dark-blue, #163A8B);
  text-decoration: underline;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.er-testimonials {
  background: var(--bg-light, #F8FAFF);
}

.er-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.er-testimonial-card {
  background: #fff;
  border: 1px solid rgba(30, 94, 255, 0.06);
  border-radius: 20px;
  padding: 36px 32px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.er-testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(30, 94, 255, 0.08);
}

.er-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  color: #F5B301;
  font-size: 16px;
}

.er-testimonial-card p {
  font-size: 16px;
  color: var(--dark-text, #16213E);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
}

.er-testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.er-ta-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-blue, #1E5EFF), #2D6CDF);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  flex-shrink: 0;
}

.er-testimonial-author strong {
  display: block;
  font-size: 15px;
  color: var(--dark-text, #16213E);
  font-weight: 700;
}

.er-testimonial-author span {
  font-size: 13px;
  color: var(--gray-text, #667085);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.er-cta-section {
  background: #fff;
  padding-bottom: 120px;
}

.er-cta-card {
  background: linear-gradient(135deg, #1E5EFF 0%, #163A8B 50%, #0F2366 100%);
  border-radius: 32px;
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.er-cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.er-cta-circle {
  position: absolute;
  border-radius: 50%;
}

.er-cta-c1 {
  width: 300px;
  height: 300px;
  background: rgba(245, 179, 1, 0.08);
  top: -80px;
  left: -60px;
}

.er-cta-c2 {
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.04);
  bottom: -50px;
  right: -40px;
}

.er-cta-content {
  position: relative;
  z-index: 1;
}

.er-cta-content h2 {
  font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.er-cta-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 36px;
}

.er-cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   RESPONSIVE: TABLET
   ============================================================ */
@media (max-width: 1024px) {
  .er-hero-title {
    font-size: 48px;
  }

  .er-section-title {
    font-size: 40px;
  }

  .er-features-grid,
  .er-needs-grid,
  .er-testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .er-pricing .er-pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .er-pricing .er-pricing-featured {
    transform: none;
  }

  .er-stats-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .er-stats-card {
    padding: 48px 36px;
  }

  .er-stats-title {
    font-size: 28px;
  }

  .er-cta-content h2 {
    font-size: 34px;
  }

  .er-float-cbt {
    left: -10px;
  }

  .er-float-analytics {
    right: 0;
  }
}

/* Reusable Premium Background Accent Decorations */
.er-section {
  position: relative;
  z-index: 1;
}

.er-section-bg-decorations {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.er-section-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
  pointer-events: none;
}

.er-section-circle.er-sc-blue {
  width: 320px;
  height: 320px;
  background: rgba(30, 94, 255, 0.08);
  animation: er-float 8s ease-in-out infinite;
}

.er-section-circle.er-sc-gold {
  width: 260px;
  height: 260px;
  background: rgba(245, 179, 1, 0.06);
  animation: er-float 10s ease-in-out infinite reverse;
}

.er-section-dots {
  position: absolute;
  background-image: radial-gradient(circle, rgba(30, 94, 255, 0.12) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  opacity: 0.55;
  pointer-events: none;
}


/* ============================================================
   ABOUT PAGE REDESIGN
   ============================================================ */

/* Story Timeline */
.er-about-timeline {
  position: relative;
  padding-left: 40px;
}

.er-about-timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-blue, #1E5EFF), var(--accent-gold, #F5B301));
  border-radius: 2px;
}

.er-timeline-item {
  position: relative;
  padding-bottom: 36px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.er-timeline-item:last-child {
  padding-bottom: 0;
}

.er-tl-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid var(--primary-blue, #1E5EFF);
  position: absolute;
  left: -40px;
  top: 2px;
  z-index: 2;
  transition: all 0.3s;
}

.er-tl-dot.active {
  background: var(--primary-blue, #1E5EFF);
  box-shadow: 0 0 0 6px rgba(30, 94, 255, 0.15);
}

.er-tl-dot.gold {
  border-color: var(--accent-gold, #F5B301);
  background: var(--accent-gold, #F5B301);
  box-shadow: 0 0 0 6px rgba(245, 179, 1, 0.15);
}

.er-tl-year {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-blue, #1E5EFF);
  display: block;
  margin-bottom: 4px;
}

.er-tl-content h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-text, #16213E);
  margin: 0;
}

/* Mission & Vision Glass Cards */
.er-about-glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(30, 94, 255, 0.08);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 20px 60px rgba(20, 50, 120, 0.06);
  height: 100%;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.er-about-glass-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 70px rgba(20, 50, 120, 0.1);
}

.er-agc-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(30, 94, 255, 0.08);
  color: var(--primary-blue, #1E5EFF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
}

.er-agc-icon.gold {
  background: rgba(245, 179, 1, 0.1);
  color: var(--accent-gold, #F5B301);
}

.er-about-glass-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--dark-text, #16213E);
  margin-bottom: 16px;
}

.er-about-glass-card p {
  font-size: 16px;
  color: var(--gray-text, #667085);
  line-height: 1.7;
  margin: 0;
}

/* Comparison Table */
.er-comparison-table {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(30, 94, 255, 0.08);
  box-shadow: 0 20px 60px rgba(20, 50, 120, 0.06);
}

.er-comparison-table table {
  width: 100%;
  border-collapse: collapse;
  background: #FFFFFF;
}

.er-comparison-table thead th {
  padding: 20px 28px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
}

.er-comparison-table thead th:first-child {
  background: #F8FAFF;
  color: var(--dark-text, #16213E);
}

.er-comparison-table thead th.er-ct-old {
  background: #FFF5F5;
  color: #D32F2F;
}

.er-comparison-table thead th.er-ct-new {
  background: rgba(30, 94, 255, 0.06);
  color: var(--primary-blue, #1E5EFF);
}

.er-comparison-table tbody td {
  padding: 16px 28px;
  font-size: 15px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.er-comparison-table tbody td:first-child {
  font-weight: 600;
  color: var(--dark-text, #16213E);
}

.er-comparison-table tbody td.er-ct-old {
  color: var(--gray-text, #667085);
}

.er-comparison-table tbody td.er-ct-new {
  color: var(--dark-text, #16213E);
  font-weight: 600;
}

.er-comparison-table tbody td i {
  margin-right: 8px;
}

/* Process Grid */
.er-process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.er-process-step {
  text-align: center;
  padding: 32px 16px;
  background: #FFFFFF;
  border: 1px solid rgba(30, 94, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(20, 50, 120, 0.04);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.er-process-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(20, 50, 120, 0.08);
}

.er-ps-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: rgba(30, 94, 255, 0.08);
  margin-bottom: 12px;
  line-height: 1;
}

.er-ps-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(30, 94, 255, 0.06);
  color: var(--primary-blue, #1E5EFF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 16px;
  transition: all 0.3s;
}

.er-process-step:hover .er-ps-icon {
  background: var(--primary-blue, #1E5EFF);
  color: #FFFFFF;
}

.er-process-step h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-text, #16213E);
  margin-bottom: 8px;
}

.er-process-step p {
  font-size: 13px;
  color: var(--gray-text, #667085);
  line-height: 1.5;
  margin: 0;
}

/* About page responsive */
@media (max-width: 991px) {
  .er-process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .er-comparison-table {
    overflow-x: auto;
  }
}

@media (max-width: 576px) {
  .er-process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .er-about-glass-card {
    padding: 28px;
  }
  .er-about-glass-card h3 {
    font-size: 22px;
  }
  .er-comparison-table thead th,
  .er-comparison-table tbody td {
    padding: 12px 14px;
    font-size: 13px;
  }
  .er-about-timeline {
    padding-left: 36px;
  }
}

/* ============================================================
   FEATURES PAGE REDESIGN
   ============================================================ */

/* Feature Showcase Badge */
.er-feat-showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(30, 94, 255, 0.06);
  color: var(--primary-blue, #1E5EFF);
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.er-feat-showcase-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--dark-text, #16213E);
  margin-bottom: 16px;
  line-height: 1.2;
}

.er-feat-showcase-desc {
  font-size: 17px;
  color: var(--gray-text, #667085);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Feature Checklist */
.er-feat-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.er-fc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--dark-text, #16213E);
  font-weight: 500;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.er-fc-item i {
  color: var(--primary-blue, #1E5EFF);
  font-size: 16px;
  flex-shrink: 0;
}

/* Feature Showcase Visual (Dashboard Mockup) */
.er-feat-showcase-visual {
  perspective: 1000px;
}

.er-fsv-card {
  background: #FFFFFF;
  border: 1px solid rgba(30, 94, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(20, 50, 120, 0.08);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.er-fsv-card:hover {
  transform: translateY(-6px);
}

.er-fsv-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: #F8FAFF;
  border-bottom: 1px solid rgba(30, 94, 255, 0.06);
}

.er-fsv-dots {
  display: flex;
  gap: 6px;
}

.er-fsv-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #E2E8F0;
}

.er-fsv-dots span:first-child { background: #FF6B6B; }
.er-fsv-dots span:nth-child(2) { background: #FBBF24; }
.er-fsv-dots span:last-child { background: #34D399; }

.er-fsv-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-text, #667085);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.er-fsv-body {
  padding: 24px 20px;
}

.er-fsv-stat-row {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.er-fsv-stat {
  flex: 1;
  text-align: center;
  padding: 12px;
  background: #F8FAFF;
  border-radius: 12px;
}

.er-fsv-stat-num {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-blue, #1E5EFF);
  line-height: 1;
  margin-bottom: 4px;
}

.er-fsv-stat-label {
  display: block;
  font-size: 11px;
  color: var(--gray-text, #667085);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.er-fsv-progress-bar {
  height: 6px;
  background: #F1F5F9;
  border-radius: 3px;
  margin-bottom: 20px;
  overflow: hidden;
}

.er-fsv-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-blue, #1E5EFF), #6EA8FE);
  border-radius: 3px;
  animation: progressGrow 2s ease-out;
}

.er-fsv-progress.gold {
  background: linear-gradient(90deg, var(--accent-gold, #F5B301), #FCD34D);
}

@keyframes progressGrow {
  from { width: 0; }
}

.er-fsv-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.er-fsv-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark-text, #16213E);
  padding: 8px 12px;
  background: rgba(248, 250, 255, 0.6);
  border-radius: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.er-fsv-item i {
  font-size: 14px;
  flex-shrink: 0;
}

/* Pipeline Visual */
.er-fsv-pipeline {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 12px;
}

.er-fsv-pipe-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 10px;
  background: #F8FAFF;
  border-radius: 12px;
  border: 1px solid rgba(30, 94, 255, 0.06);
  min-width: 64px;
  transition: all 0.3s;
}

.er-fsv-pipe-step i {
  font-size: 16px;
  color: #B0BEC5;
}

.er-fsv-pipe-step span {
  font-size: 10px;
  font-weight: 700;
  color: var(--gray-text, #667085);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.er-fsv-pipe-step.done {
  background: rgba(30, 94, 255, 0.06);
  border-color: rgba(30, 94, 255, 0.15);
}

.er-fsv-pipe-step.done i { color: var(--primary-blue, #1E5EFF); }

.er-fsv-pipe-step.active {
  background: var(--primary-blue, #1E5EFF);
  border-color: var(--primary-blue, #1E5EFF);
}

.er-fsv-pipe-step.active i,
.er-fsv-pipe-step.active span { color: #FFFFFF; }

.er-fsv-pipe-arrow {
  color: #D1D5DB;
  font-size: 10px;
}

/* AI Cards */
.er-feat-ai-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px 24px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.er-feat-ai-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.er-fai-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(245, 179, 1, 0.15);
  color: var(--accent-gold, #F5B301);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.er-feat-ai-card h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.er-feat-ai-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin: 0;
}

/* Features Page Responsive */
@media (max-width: 991px) {
  .er-feat-showcase-title {
    font-size: 28px;
  }
  .er-fsv-pipeline {
    gap: 6px;
  }
  .er-fsv-pipe-step {
    min-width: 56px;
    padding: 10px 8px;
  }
}

@media (max-width: 576px) {
  .er-feat-showcase-title {
    font-size: 24px;
  }
  .er-feat-showcase-desc {
    font-size: 15px;
  }
  .er-fsv-stat-row {
    flex-direction: column;
    gap: 10px;
  }
  .er-fsv-stat-num {
    font-size: 18px;
  }
  .er-fsv-pipeline {
    flex-direction: column;
    align-items: stretch;
  }
  .er-fsv-pipe-step {
    flex-direction: row;
    justify-content: center;
  }
  .er-fsv-pipe-arrow {
    transform: rotate(90deg);
    text-align: center;
  }
  .er-feat-ai-card {
    padding: 24px 20px;
  }
  .er-docs-caps-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ============================================================
   DOCUMENTATION PAGE REDESIGN
   ============================================================ */

/* Search Bar */
.er-docs-search-bar {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid rgba(30, 94, 255, 0.12);
  border-radius: 16px;
  padding: 6px 8px 6px 20px;
  box-shadow: 0 10px 40px rgba(20, 50, 120, 0.06);
  transition: all 0.3s;
}

.er-docs-search-bar:focus-within {
  border-color: var(--primary-blue, #1E5EFF);
  box-shadow: 0 10px 40px rgba(30, 94, 255, 0.12);
}

.er-dss-icon {
  font-size: 18px;
  color: #B0BEC5;
  margin-right: 14px;
  flex-shrink: 0;
}

.er-docs-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--dark-text, #16213E);
  background: transparent;
  padding: 12px 0;
}

.er-docs-search-input::placeholder {
  color: #B0BEC5;
}

.er-dss-filter {
  flex-shrink: 0;
}

.er-docs-category-select {
  border: 1px solid rgba(30, 94, 255, 0.1);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  color: var(--primary-blue, #1E5EFF);
  background: rgba(30, 94, 255, 0.04);
  cursor: pointer;
  outline: none;
}

/* Category Grid */
.er-docs-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.er-docs-cat-card {
  display: block;
  text-decoration: none;
  background: #FFFFFF;
  border: 1px solid rgba(30, 94, 255, 0.06);
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 8px 30px rgba(20, 50, 120, 0.04);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.er-docs-cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(20, 50, 120, 0.1);
  border-color: rgba(30, 94, 255, 0.15);
  text-decoration: none;
}

.er-dcc-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(30, 94, 255, 0.06);
  color: var(--primary-blue, #1E5EFF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
  transition: all 0.3s;
}

.er-dcc-icon.blue {
  background: rgba(30, 94, 255, 0.06);
  color: var(--primary-blue, #1E5EFF);
}

.er-docs-cat-card:hover .er-dcc-icon {
  background: var(--primary-blue, #1E5EFF);
  color: #FFFFFF;
}

.er-docs-cat-card h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-text, #16213E);
  margin-bottom: 8px;
}

.er-docs-cat-card p {
  font-size: 14px;
  color: var(--gray-text, #667085);
  line-height: 1.6;
  margin: 0;
}

/* Capabilities Grid */
.er-docs-caps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.er-docs-cap-card {
  background: #FFFFFF;
  border: 1px solid rgba(30, 94, 255, 0.06);
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 8px 30px rgba(20, 50, 120, 0.04);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.er-docs-cap-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(20, 50, 120, 0.1);
}

.er-docs-cap-card h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-text, #16213E);
  margin-bottom: 8px;
}

.er-docs-cap-card p {
  font-size: 14px;
  color: var(--gray-text, #667085);
  line-height: 1.6;
  margin: 0;
}

/* Architecture Diagram */
.er-arch-diagram {
  background: linear-gradient(135deg, #F8FAFF 0%, #EEF2FF 100%);
  border: 1px solid rgba(30, 94, 255, 0.08);
  border-radius: 24px;
  padding: 40px 24px;
}

.er-arch-layer {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.er-arch-node {
  background: #FFFFFF;
  border: 1px solid rgba(30, 94, 255, 0.1);
  border-radius: 14px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-text, #16213E);
  box-shadow: 0 4px 16px rgba(20, 50, 120, 0.04);
  transition: all 0.3s;
}

.er-arch-node:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(20, 50, 120, 0.08);
}

.er-arch-node i {
  color: var(--primary-blue, #1E5EFF);
  font-size: 16px;
}

.er-arch-node.primary {
  background: var(--primary-blue, #1E5EFF);
  color: #FFFFFF;
  border-color: var(--primary-blue, #1E5EFF);
}

.er-arch-node.primary i {
  color: #FFFFFF;
}

.er-arch-connector {
  text-align: center;
  padding: 10px 0;
  color: var(--primary-blue, #1E5EFF);
  font-size: 18px;
  opacity: 0.4;
}

.er-arch-spec-tag {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-text, #16213E);
  padding: 10px 0;
}

.er-arch-spec-tag i {
  margin-right: 8px;
}

/* Documentation Accordion */
.er-docs-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.er-docs-acc-item {
  background: #FFFFFF;
  border: 1px solid rgba(30, 94, 255, 0.06);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(20, 50, 120, 0.03);
  transition: all 0.3s;
}

.er-docs-acc-item:hover {
  box-shadow: 0 8px 30px rgba(20, 50, 120, 0.06);
}

.er-docs-acc-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: all 0.3s;
}

.er-dab-left {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-text, #16213E);
}

.er-dab-left i {
  color: var(--primary-blue, #1E5EFF);
  font-size: 18px;
}

.er-dab-arrow {
  color: var(--gray-text, #667085);
  font-size: 14px;
  transition: transform 0.3s;
}

.er-docs-acc-item.active .er-dab-arrow {
  transform: rotate(180deg);
}

.er-docs-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s;
  padding: 0 24px;
}

.er-docs-acc-item.active .er-docs-acc-body {
  max-height: 600px;
  padding: 0 24px 24px;
}

.er-docs-acc-body p {
  font-size: 15px;
  color: var(--gray-text, #667085);
  line-height: 1.7;
  margin-bottom: 12px;
}

.er-docs-acc-body p:last-child {
  margin-bottom: 0;
}

.er-docs-acc-body ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.er-docs-acc-body li {
  font-size: 15px;
  color: var(--gray-text, #667085);
  line-height: 1.7;
  margin-bottom: 6px;
}

.er-docs-acc-body code {
  background: rgba(30, 94, 255, 0.06);
  color: var(--primary-blue, #1E5EFF);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 13px;
  font-family: 'Fira Code', 'Consolas', monospace;
}

/* API Cards */
.er-api-card {
  background: #FFFFFF;
  border: 1px solid rgba(30, 94, 255, 0.08);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(20, 50, 120, 0.04);
  height: 100%;
  transition: all 0.3s;
}

.er-api-card:hover {
  box-shadow: 0 15px 40px rgba(20, 50, 120, 0.08);
}

.er-api-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.er-api-method {
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Fira Code', 'Consolas', monospace;
}

.er-api-method.get {
  background: #ECFDF5;
  color: #059669;
}

.er-api-method.post {
  background: #EEF2FF;
  color: var(--primary-blue, #1E5EFF);
}

.er-api-header code {
  font-size: 14px;
  font-family: 'Fira Code', 'Consolas', monospace;
  color: var(--dark-text, #16213E);
  font-weight: 600;
}

.er-api-desc {
  font-size: 14px;
  color: var(--gray-text, #667085);
  line-height: 1.6;
  margin-bottom: 16px;
}

.er-api-code {
  background: #1B1F2D;
  border-radius: 14px;
  overflow: hidden;
}

.er-api-code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.er-api-code-header span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  font-family: 'Fira Code', 'Consolas', monospace;
}

.er-api-copy {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 13px;
  transition: all 0.2s;
}

.er-api-copy:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.er-api-code pre {
  margin: 0;
  padding: 16px;
  overflow-x: auto;
}

.er-api-code code {
  font-family: 'Fira Code', 'Consolas', monospace;
  font-size: 13px;
  line-height: 1.7;
  color: #E2E8F0;
}

/* Module Grid */
.er-docs-module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.er-docs-module-card {
  background: #FFFFFF;
  border: 1px solid rgba(30, 94, 255, 0.06);
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 8px 30px rgba(20, 50, 120, 0.04);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.er-docs-module-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(20, 50, 120, 0.1);
}

.er-dmc-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(30, 94, 255, 0.06);
  color: var(--primary-blue, #1E5EFF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
  transition: all 0.3s;
}

.er-docs-module-card:hover .er-dmc-icon {
  background: var(--primary-blue, #1E5EFF);
  color: #FFFFFF;
}

.er-docs-module-card h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-text, #16213E);
  margin-bottom: 8px;
}

.er-docs-module-card p {
  font-size: 14px;
  color: var(--gray-text, #667085);
  line-height: 1.6;
  margin-bottom: 16px;
}

.er-dmc-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-blue, #1E5EFF);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s;
}

.er-dmc-link:hover {
  gap: 10px;
}

/* Roadmap Timeline */
.er-docs-roadmap {
  position: relative;
  padding-left: 60px;
}

.er-docs-roadmap::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-blue, #1E5EFF), var(--accent-gold, #F5B301));
  border-radius: 2px;
}

.er-docs-roadmap-item {
  position: relative;
  padding-bottom: 40px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.er-docs-roadmap-item:last-child {
  padding-bottom: 0;
}

.er-drm-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #FFFFFF;
  background: var(--primary-blue, #1E5EFF);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: -60px;
  top: 0;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(30, 94, 255, 0.2);
  flex-shrink: 0;
}

.er-drm-content {
  background: #FFFFFF;
  border: 1px solid rgba(30, 94, 255, 0.06);
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 8px 30px rgba(20, 50, 120, 0.04);
  flex: 1;
  transition: all 0.3s;
}

.er-drm-content:hover {
  box-shadow: 0 12px 40px rgba(20, 50, 120, 0.08);
}

.er-drm-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(30, 94, 255, 0.06);
  color: var(--primary-blue, #1E5EFF);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 12px;
}

.er-drm-content h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-text, #16213E);
  margin-bottom: 8px;
}

.er-drm-content p {
  font-size: 14px;
  color: var(--gray-text, #667085);
  line-height: 1.6;
  margin-bottom: 12px;
}

.er-drm-duration {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-blue, #1E5EFF);
  background: rgba(30, 94, 255, 0.06);
  padding: 4px 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Specs Grid */
.er-docs-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.er-docs-spec-card {
  background: #FFFFFF;
  border: 1px solid rgba(30, 94, 255, 0.06);
  border-radius: 16px;
  padding: 28px 20px;
  box-shadow: 0 6px 24px rgba(20, 50, 120, 0.03);
  text-align: center;
  transition: all 0.3s;
}

.er-docs-spec-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(20, 50, 120, 0.08);
}

.er-dsc-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(30, 94, 255, 0.06);
  color: var(--primary-blue, #1E5EFF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin: 0 auto 14px;
}

.er-docs-spec-card h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark-text, #16213E);
  margin-bottom: 8px;
}

.er-docs-spec-card p {
  font-size: 13px;
  color: var(--gray-text, #667085);
  line-height: 1.5;
  margin: 0;
}

/* Security Visual */
.er-docs-security-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
  position: relative;
}

.er-dsv-shield {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue, #1E5EFF), #163A8B);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: #FFFFFF;
  z-index: 2;
  box-shadow: 0 10px 40px rgba(30, 94, 255, 0.3);
  animation: securityPulse 3s ease-in-out infinite;
}

@keyframes securityPulse {
  0%, 100% { box-shadow: 0 10px 40px rgba(30, 94, 255, 0.3); }
  50% { box-shadow: 0 10px 60px rgba(30, 94, 255, 0.5); }
}

.er-dsv-orbit-ring {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px dashed rgba(30, 94, 255, 0.12);
  animation: orbitSpin 30s linear infinite;
}

@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.er-dsv-orbit-item {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid rgba(30, 94, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--primary-blue, #1E5EFF);
  box-shadow: 0 4px 16px rgba(20, 50, 120, 0.06);
  top: 50%;
  left: 50%;
  transform: rotate(var(--angle)) translateX(160px) rotate(calc(-1 * var(--angle)));
  animation: orbitCounterSpin 30s linear infinite;
}

@keyframes orbitCounterSpin {
  from { transform: rotate(var(--angle)) translateX(160px) rotate(calc(-1 * var(--angle))); }
  to { transform: rotate(calc(var(--angle) - 360deg)) translateX(160px) rotate(calc(-1 * (var(--angle) - 360deg))); }
}

/* Security List */
.er-docs-security-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.er-dsl-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.er-dsl-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(30, 94, 255, 0.06);
  color: var(--primary-blue, #1E5EFF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.er-dsl-item h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-text, #16213E);
  margin-bottom: 4px;
}

.er-dsl-item p {
  font-size: 14px;
  color: var(--gray-text, #667085);
  line-height: 1.5;
  margin: 0;
}

/* Download Grid */
.er-docs-download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.er-docs-dl-card {
  background: #FFFFFF;
  border: 1px solid rgba(30, 94, 255, 0.06);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 8px 30px rgba(20, 50, 120, 0.04);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.er-docs-dl-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(20, 50, 120, 0.1);
}

.er-dl-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(30, 94, 255, 0.06);
  color: var(--primary-blue, #1E5EFF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 16px;
}

.er-docs-dl-card h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--dark-text, #16213E);
  margin-bottom: 8px;
}

.er-docs-dl-card p {
  font-size: 14px;
  color: var(--gray-text, #667085);
  line-height: 1.5;
  margin-bottom: 16px;
}

.er-dl-meta {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 12px;
  color: var(--gray-text, #667085);
  font-weight: 600;
}

.er-btn-sm {
  padding: 10px 24px !important;
  font-size: 14px !important;
}

/* Documentation Responsive */
@media (max-width: 1200px) {
  .er-docs-category-grid,
  .er-docs-caps-grid,
  .er-docs-module-grid,
  .er-docs-specs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .er-docs-category-grid,
  .er-docs-caps-grid,
  .er-docs-module-grid,
  .er-docs-specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .er-docs-download-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .er-docs-roadmap {
    padding-left: 50px;
  }
  .er-docs-security-visual {
    height: 300px;
  }
  .er-dsv-orbit-ring {
    width: 240px;
    height: 240px;
  }
  .er-dsv-orbit-item {
    transform: rotate(var(--angle)) translateX(120px) rotate(calc(-1 * var(--angle)));
  }
}

@media (max-width: 576px) {
  .er-docs-category-grid,
  .er-docs-caps-grid,
  .er-docs-module-grid,
  .er-docs-specs-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .er-docs-download-grid {
    grid-template-columns: 1fr;
  }
  .er-docs-search-bar {
    flex-direction: column;
    padding: 12px;
    gap: 10px;
  }
  .er-dss-icon {
    display: none;
  }
  .er-docs-search-input {
    width: 100%;
    padding: 10px;
  }
  .er-dss-filter {
    width: 100%;
  }
  .er-docs-category-select {
    width: 100%;
  }
  .er-docs-roadmap {
    padding-left: 40px;
  }
  .er-drm-number {
    width: 40px;
    height: 40px;
    font-size: 12px;
    left: -48px;
  }
  .er-docs-roadmap::before {
    left: 17px;
  }
  .er-drm-content {
    padding: 20px;
  }
  .er-api-card {
    padding: 20px;
  }
  .er-api-header code {
    font-size: 12px;
    word-break: break-all;
  }
  .er-api-code pre {
    padding: 12px;
  }
  .er-api-code code {
    font-size: 11px;
  }
  .er-docs-security-visual {
    height: 260px;
  }
  .er-dsv-shield {
    width: 70px;
    height: 70px;
    font-size: 28px;
  }
  .er-dsv-orbit-ring {
    width: 200px;
    height: 200px;
  }
  .er-dsv-orbit-item {
    width: 36px;
    height: 36px;
    font-size: 14px;
    transform: rotate(var(--angle)) translateX(100px) rotate(calc(-1 * var(--angle)));
  }
  .er-docs-dl-card {
    padding: 24px 20px;
  }
  .er-dab-left span {
    font-size: 14px;
  }
}

/* Print Styles */
@media print {
  @page { size: A4; margin: 1cm; }
  .no-print, .navbar, footer, #support-chat-widget, .er-docs-search-bar,
  .er-section-bg-decorations, .er-illus-bg, .er-cta-card { display: none !important; }
  .er-contact-hero { padding: 20px 0 !important; background: white !important; }
  .er-section { padding: 30px 0 !important; }
  .er-docs-cat-card, .er-docs-cap-card, .er-docs-module-card, .er-docs-spec-card,
  .er-docs-dl-card, .er-api-card, .er-drm-content {
    box-shadow: none !important;
    break-inside: avoid;
  }
  .er-docs-acc-body { max-height: none !important; padding: 0 24px 24px !important; }
}

/* ============================================================
   CONTACT PAGE REDESIGN
   ============================================================ */
.er-contact-hero {
  padding: 80px 0 80px;
  background: #FFFFFF;
  position: relative;
  z-index: 1;
}

.er-contact-title {
  font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
  font-size: 64px;
  font-weight: 800;
  color: var(--dark-text, #16213E);
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.er-contact-desc {
  font-size: 18px;
  color: var(--gray-text, #667085);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 36px;
}

.er-contact-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 20px 40px rgba(30, 94, 255, 0.12));
  animation: er-student-float 6s ease-in-out infinite;
  border-radius: 32px;
  mask-image: radial-gradient(circle, black 65%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle, black 65%, transparent 100%);
}

.er-contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.er-contact-card {
  background: #FFFFFF;
  border: 1px solid rgba(30, 94, 255, 0.08);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 10px 30px rgba(20, 50, 120, 0.04);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.er-contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(20, 50, 120, 0.08);
  border-color: rgba(30, 94, 255, 0.15);
}

.er-cc-icon {
  width: 48px;
  height: 48px;
  background: rgba(30, 94, 255, 0.06);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue, #1E5EFF);
  font-size: 20px;
  margin-bottom: 20px;
  transition: all 0.3s;
}

.er-contact-card:hover .er-cc-icon {
  background: var(--primary-blue, #1E5EFF);
  color: #FFFFFF;
}

.er-contact-card h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-text, #16213E);
  margin-bottom: 8px;
}

.er-contact-card p {
  font-size: 14px;
  color: var(--gray-text, #667085);
  line-height: 1.5;
  margin: 0;
}

.er-contact-card a {
  color: var(--primary-blue, #1E5EFF);
  text-decoration: none;
  font-weight: 600;
}

/* Contact Form & Side Card Layout */
.er-contact-main-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  margin-bottom: 80px;
}

.er-contact-form-card {
  background: #FFFFFF;
  border: 1px solid rgba(30, 94, 255, 0.08);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 20px 60px rgba(20, 50, 120, 0.06);
}

.er-contact-form-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--dark-text, #16213E);
  margin-bottom: 32px;
}

.er-form-group-custom {
  position: relative;
  margin-bottom: 28px;
}

.er-form-group-custom input,
.er-form-group-custom select,
.er-form-group-custom textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid rgba(30, 94, 255, 0.12);
  border-radius: 12px;
  font-size: 15px;
  background: transparent;
  color: var(--dark-text, #16213E);
  outline: none;
  transition: all 0.3s;
}

.er-form-group-custom input:focus,
.er-form-group-custom select:focus,
.er-form-group-custom textarea:focus {
  border-color: var(--primary-blue, #1E5EFF);
  box-shadow: 0 0 0 4px rgba(30, 94, 255, 0.08);
}

.er-form-group-custom label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: #FFFFFF;
  padding: 0 6px;
  color: var(--gray-text, #667085);
  font-size: 15px;
  pointer-events: none;
  transition: all 0.3s;
}

.er-form-group-custom input:focus ~ label,
.er-form-group-custom input:not(:placeholder-shown) ~ label,
.er-form-group-custom select:focus ~ label,
.er-form-group-custom select:valid ~ label,
.er-form-group-custom textarea:focus ~ label,
.er-form-group-custom textarea:not(:placeholder-shown) ~ label {
  top: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-blue, #1E5EFF);
}

.er-form-group-custom textarea {
  height: 140px;
  resize: none;
}

.er-form-group-custom.er-textarea-group label {
  top: 24px;
}

.er-form-group-custom.er-textarea-group textarea:focus ~ label,
.er-form-group-custom.er-textarea-group textarea:not(:placeholder-shown) ~ label {
  top: 0;
}

.er-checkbox-custom {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 32px;
  cursor: pointer;
}

.er-checkbox-custom input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid rgba(30, 94, 255, 0.2);
  accent-color: var(--primary-blue, #1E5EFF);
}

.er-checkbox-custom span {
  font-size: 14px;
  color: var(--gray-text, #667085);
  line-height: 1.4;
}

.er-checkbox-custom a {
  color: var(--primary-blue, #1E5EFF);
  text-decoration: none;
  font-weight: 600;
}

/* Info Side Card */
.er-contact-info-side {
  background: linear-gradient(135deg, #163A8B 0%, #0F2366 100%);
  border-radius: 24px;
  padding: 48px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(20, 50, 120, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.er-contact-info-side h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 24px;
  color: #FFFFFF;
}

.er-info-bullets {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 20px;
}

.er-info-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.er-ibi-icon {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold, #F5B301);
  font-size: 16px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.er-ibi-text h5 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #FFFFFF;
}

.er-ibi-text p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin: 0;
}

/* Live Support Section */
.er-contact-live-support {
  background: linear-gradient(135deg, rgba(30, 94, 255, 0.04), rgba(245, 179, 1, 0.02));
  border: 1px solid rgba(30, 94, 255, 0.08);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 80px;
}

.er-ls-left h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--dark-text, #16213E);
  margin-bottom: 8px;
}

.er-ls-left p {
  color: var(--gray-text, #667085);
  margin: 0;
  font-size: 15px;
}

.er-ls-btns {
  display: flex;
  gap: 16px;
}

/* Map Section */
.er-contact-map-section {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: 450px;
  margin-bottom: 80px;
  border: 1px solid rgba(30, 94, 255, 0.08);
  box-shadow: 0 20px 60px rgba(20, 50, 120, 0.04);
}

.er-contact-map-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.er-map-overlay-card {
  position: absolute;
  top: 30px;
  left: 30px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(30, 94, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  width: 320px;
  box-shadow: 0 15px 35px rgba(20, 50, 120, 0.08);
  z-index: 10;
}

.er-map-overlay-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-text, #16213E);
  margin-bottom: 6px;
}

.er-map-overlay-card p {
  font-size: 13px;
  color: var(--gray-text, #667085);
  line-height: 1.5;
  margin-bottom: 15px;
}

.er-map-overlay-card .btn {
  font-size: 13px;
  font-weight: 600;
}

/* Accordion FAQ custom spacing */
.er-contact-faq-section {
  margin-bottom: 80px;
}

@media (max-width: 991px) {
  .er-contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .er-contact-main-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .er-contact-live-support {
    flex-direction: column;
    text-align: center;
    padding: 32px;
  }
  .er-ls-btns {
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
  }
}

@media (max-width: 576px) {
  .er-contact-hero {
    padding: 40px 0 30px;
  }
  .er-contact-title {
    font-size: 28px;
    letter-spacing: -0.5px;
    line-height: 1.2;
  }
  .er-contact-desc {
    font-size: 15px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
  }
  .er-contact-hero .er-hero-btns {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 24px !important;
  }
  .er-contact-hero .er-hero-btns .er-btn {
    justify-content: center;
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
  }
  .er-contact-hero .hero-trust-indicators {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
  }
  .er-contact-hero .hero-trust-indicators .trust-item {
    font-size: 13px;
  }
  .er-contact-hero .er-illustration-wrapper {
    max-width: 280px;
    margin: 0 auto;
  }
  .er-contact-hero .er-contact-img {
    max-width: 260px;
  }
  .er-contact-hero .er-illus-bg {
    display: none;
  }
  .er-contact-cards-grid {
    grid-template-columns: 1fr;
  }
  .er-contact-form-card,
  .er-contact-info-side {
    padding: 24px;
  }
  .er-contact-form-card h3 {
    font-size: 22px;
  }
  .er-contact-info-side h3 {
    font-size: 22px;
  }
  .er-contact-live-support {
    flex-direction: column;
    text-align: center;
    padding: 24px;
    gap: 20px;
  }
  .er-ls-btns {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .er-ls-btns .er-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 14px;
  }
  .er-map-overlay-card {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    margin-bottom: 20px;
  }
  .er-contact-map-section {
    height: auto;
  }
  .er-contact-map-iframe {
    height: 300px;
  }
  .er-contact-faq-section {
    margin-bottom: 40px;
  }
}

/* ============================================================
   RESPONSIVE: MOBILE & TABLET LANDING PAGES
   ============================================================ */
@media (max-width: 768px) {
  .er-section {
    padding: 56px 0;
  }

  .er-hero {
    padding: 48px 0 40px;
    overflow: hidden;
  }

  .er-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .er-hero-title {
    font-size: clamp(1.85rem, 5.5vw, 2.6rem);
    line-height: 1.16;
    letter-spacing: -0.5px;
    margin-bottom: 18px;
  }

  .er-hero-desc {
    font-size: 1rem;
    line-height: 1.65;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 28px;
  }

  .er-hero-btns {
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin-bottom: 32px;
  }

  .er-hero-btns .er-btn {
    flex: 1 1 auto;
    min-width: 180px;
    justify-content: center;
  }

  .er-trust-row {
    justify-content: center;
    gap: 14px 20px;
    flex-wrap: wrap;
  }

  .er-trust-divider {
    display: none;
  }

  .er-trust-item {
    font-size: 0.88rem;
  }

  .er-section-title {
    font-size: clamp(1.5rem, 4vw, 2.1rem);
    line-height: 1.25;
    margin-bottom: 12px;
  }

  .er-section-subtitle {
    font-size: 0.98rem;
    line-height: 1.5;
    margin-bottom: 32px;
  }

  .er-features-grid,
  .er-needs-grid,
  .er-testimonials-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .er-feature-card,
  .er-need-card,
  .er-pricing-card,
  .er-testimonial-card {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .er-pricing .er-pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .er-illustration-wrapper {
    max-width: 320px;
    min-height: 280px;
    height: auto;
    margin: 0 auto;
  }

  .er-student-img,
  .er-contact-img {
    max-width: 100%;
    height: auto;
  }

  .er-stats-card {
    padding: 32px 20px;
    border-radius: 20px;
  }

  .er-stats-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .er-stats-left {
    text-align: center;
  }

  .er-stats-title {
    font-size: clamp(1.4rem, 3.8vw, 1.85rem);
    line-height: 1.25;
  }

  .er-stats-right {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .er-stat-item {
    padding: 16px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
  }

  .er-stat-number {
    font-size: clamp(1.75rem, 4.5vw, 2.25rem);
    font-weight: 800;
  }

  .er-stat-suffix {
    font-size: 1.1rem;
    font-weight: 700;
  }

  .er-stat-label {
    font-size: 0.85rem;
    font-weight: 500;
  }

  .er-cta-card {
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
  }

  .er-cta-content h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    line-height: 1.25;
  }

  .er-cta-content p {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .er-cta-btns {
    justify-content: center;
    gap: 12px;
    width: 100%;
  }

  .er-btn {
    padding: 14px 24px;
    font-size: 0.95rem;
    border-radius: 12px;
    min-height: 48px;
  }
}

@media (max-width: 480px) {
  .er-hero-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .er-hero-btns .er-btn {
    width: 100%;
    justify-content: center;
  }

  .er-cta-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .er-cta-btns .er-btn {
  }

  .er-feature-card,
  .er-need-card,
  .er-pricing-card,
  .er-testimonial-card {
    padding: 28px 20px;
  }
}

/* ================================================================
   GLOBAL DASHBOARD LAYOUT SYSTEM — Single Source of Truth
   Loaded last to override all conflicting rules.
   ================================================================ */

:root {
    --layout-sidebar-width: 260px;
    --layout-staff-sidebar-width: 200px;
    --layout-header-height: 80px;
    --layout-header-height-sm: 70px;
}

/* Sidebar — All Types */
.sidebar,
.sa-sidebar,
.stu-sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: var(--layout-sidebar-width) !important;
    height: 100vh !important;
    overflow-y: auto;
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #0f172a !important;
    border-right: 1px solid rgba(255, 255, 255, 0.06) !important;
    color: white !important;
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.25) !important;
}

/* Dashboard Wrapper — Admin Flex Container */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Top Header Bar — starts flush with sidebar edge */
.sa-header {
    position: fixed !important;
    top: 0 !important;
    left: var(--layout-sidebar-width) !important;
    right: 0 !important;
    z-index: 1050 !important;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Main Content — Admin pattern */
.dashboard-wrapper .main-content {
    margin-left: var(--layout-sidebar-width) !important;
    flex: 1;
    padding: 110px 30px 30px !important;
    min-height: 100vh;
    max-width: calc(100% - var(--layout-sidebar-width)) !important;
    overflow-x: hidden;
}

/* Main Content — Super Admin / Staff / Support pattern */
.sa-main-content {
    margin-left: var(--layout-sidebar-width) !important;
    padding: clamp(16px, 3vw, 28px) !important;
    min-height: 100vh !important;
    max-width: calc(100% - var(--layout-sidebar-width)) !important;
    overflow-x: hidden;
}

/* Main Content — Standalone .main-content (support agent etc) */
body > main.main-content,
main.main-content:not(.dashboard-wrapper main) {
    margin-left: var(--layout-sidebar-width) !important;
    padding: 94px 30px 30px !important;
    min-height: 100vh !important;
    max-width: calc(100% - var(--layout-sidebar-width)) !important;
    overflow-x: hidden;
}

/* Student Content */
.stu-main {
    margin-left: var(--layout-sidebar-width) !important;
    padding: 20px !important;
    min-height: 100vh;
    max-width: calc(100% - var(--layout-sidebar-width)) !important;
    overflow-x: hidden;
}

/* Page Wrapper pattern */
.page-wrapper .main-content {
    margin-left: var(--layout-sidebar-width) !important;
    max-width: calc(100% - var(--layout-sidebar-width)) !important;
}

/* Mobile Sidebar Overlay */
.sa-sidebar-overlay,
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    backdrop-filter: blur(3px);
    pointer-events: none;
}
@media (max-width: 991px) {
    .sa-sidebar-overlay.active,
    .sidebar-overlay.active {
        display: block;
    }
}

/* ---- RESPONSIVE — Tablet (<=991px) ---- */
@media (max-width: 991px) {
    .sidebar,
    .sa-sidebar,
    .stu-sidebar {
        transform: translateX(-100%) !important;
        width: 280px !important;
        max-width: 85vw !important;
    }

    .sidebar.active,
    .sidebar.open,
    .sa-sidebar.active,
    .sa-sidebar.open,
    .stu-sidebar.active,
    .stu-sidebar.open {
        transform: translateX(0) !important;
    }

    .sa-header {
        left: 0 !important;
        padding-left: 16px !important;
    }

    .dashboard-wrapper .main-content,
    .sa-main-content,
    main.main-content,
    .stu-main,
    .page-wrapper .main-content {
        margin-left: 0 !important;
        max-width: 100% !important;
        padding: 90px 16px 100px !important;
    }
}

/* ---- RESPONSIVE — Mobile (<=576px) ---- */
@media (max-width: 576px) {
    .dashboard-wrapper .main-content,
    .sa-main-content,
    main.main-content,
    .stu-main,
    .page-wrapper .main-content {
        padding: 86px 16px 100px !important;
    }
}

/* ---- RESPONSIVE — Extra Small (<=375px) ---- */
@media (max-width: 375px) {
    .dashboard-wrapper .main-content,
    .sa-main-content,
    main.main-content,
    .stu-main {
        padding: 80px 10px 100px !important;
        padding-bottom: 100px !important;
    }
}

/* ================================================================
   UNIFIED NOTIFICATION SYSTEM — Bell, Dropdown, Toast
   ================================================================ */

/* Wrapper */
.er-notif-wrapper {
    position: relative;
    display: inline-block;
    z-index: 1060;
}

/* Bell Button */
.er-notif-bell {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
    flex-shrink: 0;
}
.er-notif-bell:hover {
    background: rgba(255,255,255,0.15);
    transform: scale(1.05);
}
.er-notif-bell i {
    font-size: 1.15rem;
    color: #fff;
    transition: transform 0.3s;
}
/* Light background variant (auto-detected via data-theme="light") */
.er-notif-wrapper[data-theme="light"] .er-notif-bell {
    background: rgba(31,60,136,0.06);
}
.er-notif-wrapper[data-theme="light"] .er-notif-bell:hover {
    background: rgba(31,60,136,0.12);
}
.er-notif-wrapper[data-theme="light"] .er-notif-bell i {
    color: #1F3C88;
}
/* Dropdown positioning for light theme */
.er-notif-wrapper[data-theme="light"] .er-notif-dropdown {
    background: #fff;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.04);
}
.er-notif-bell.active i {
    animation: bellRing 0.4s ease;
}
@keyframes bellRing {
    0% { transform: rotate(0); }
    20% { transform: rotate(14deg); }
    40% { transform: rotate(-12deg); }
    60% { transform: rotate(8deg); }
    80% { transform: rotate(-4deg); }
    100% { transform: rotate(0); }
}

/* Badge */
.er-notif-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    background: #EF4444;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #fff;
    transform: scale(0);
    transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
    z-index: 5;
}
.er-notif-badge.visible {
    transform: scale(1);
}
.er-notif-badge.pulse {
    animation: badgePulse 1.5s ease infinite;
}
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.4); }
    50% { box-shadow: 0 0 0 6px rgba(239,68,68,0); }
}

/* Dropdown Panel */
.er-notif-dropdown {
    position: fixed;
    top: 60px;
    right: 20px;
    width: 400px;
    max-height: 520px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.04);
    z-index: 9999;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: notifSlideIn 0.25s cubic-bezier(0.16,1,0.3,1);
}
.er-notif-dropdown.open {
    display: flex;
}
@keyframes notifSlideIn {
    from { opacity: 0; transform: translateY(-8px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Dropdown Header */
.er-notif-header {
    padding: 18px 20px 14px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.er-notif-header h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}
.er-notif-header .er-notif-mark-all {
    font-size: 0.78rem;
    font-weight: 600;
    color: #1F3C88;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 8px;
    transition: all 0.2s;
}
.er-notif-header .er-notif-mark-all:hover {
    background: rgba(31,60,136,0.08);
}

/* Filter Tabs */
.er-notif-filters {
    display: flex;
    gap: 4px;
    padding: 10px 20px 0;
}
.er-notif-filter-btn {
    padding: 6px 14px;
    border-radius: 20px;
    border: none;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    background: #f1f5f9;
    color: #64748b;
}
.er-notif-filter-btn.active {
    background: #1F3C88;
    color: #fff;
}
.er-notif-filter-btn:hover:not(.active) {
    background: #e2e8f0;
}

/* List */
.er-notif-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
}
.er-notif-list::-webkit-scrollbar { width: 4px; }
.er-notif-list::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }

/* Item */
.er-notif-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}
.er-notif-item:hover {
    background: #f8fafc;
}
.er-notif-item.unread {
    background: rgba(31,60,136,0.03);
}
.er-notif-item.unread::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1F3C88;
}
.er-notif-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.85rem;
}
.er-notif-icon.support { background: rgba(31,60,136,0.1); color: #1F3C88; }
.er-notif-icon.system { background: rgba(100,116,139,0.1); color: #64748b; }
.er-notif-icon.result { background: rgba(16,185,129,0.1); color: #10b981; }
.er-notif-icon.fee { background: rgba(245,158,11,0.1); color: #f59e0b; }
.er-notif-icon.attendance { background: rgba(99,102,241,0.1); color: #6366f1; }
.er-notif-icon.academic { background: rgba(59,130,246,0.1); color: #3b82f6; }
.er-notif-icon.warning { background: rgba(239,68,68,0.1); color: #ef4444; }
.er-notif-icon.info { background: rgba(31,60,136,0.08); color: #1F3C88; }

.er-notif-content {
    flex: 1;
    min-width: 0;
}
.er-notif-content .er-notif-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.er-notif-content .er-notif-msg {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.er-notif-time {
    font-size: 0.68rem;
    color: #94a3b8;
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 2px;
}
.er-notif-delete {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    transition: all 0.2s;
}
.er-notif-item:hover .er-notif-delete { display: flex; }
.er-notif-delete:hover { background: #fee2e2; color: #ef4444; }

/* Empty State */
.er-notif-empty {
    text-align: center;
    padding: 40px 20px;
    color: #94a3b8;
}
.er-notif-empty i { font-size: 2rem; margin-bottom: 10px; display: block; opacity: 0.4; }
.er-notif-empty p { font-size: 0.85rem; margin: 0; }

/* Dropdown Footer */
.er-notif-footer {
    padding: 12px 20px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}
.er-notif-footer a {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1F3C88;
    text-decoration: none;
}
.er-notif-footer a:hover { text-decoration: underline; }

/* ================================================================
   TOAST NOTIFICATION SYSTEM (upgraded)
   ================================================================ */
.er-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}
.er-toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    min-width: 300px;
    max-width: 420px;
    animation: toastIn 0.35s cubic-bezier(0.16,1,0.3,1);
    border-left: 4px solid;
}
.er-toast.success { border-color: #10b981; }
.er-toast.error { border-color: #ef4444; }
.er-toast.warning { border-color: #f59e0b; }
.er-toast.info { border-color: #3b82f6; }
.er-toast-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.85rem;
}
.er-toast.success .er-toast-icon { background: rgba(16,185,129,0.1); color: #10b981; }
.er-toast.error .er-toast-icon { background: rgba(239,68,68,0.1); color: #ef4444; }
.er-toast.warning .er-toast-icon { background: rgba(245,158,11,0.1); color: #f59e0b; }
.er-toast.info .er-toast-icon { background: rgba(59,130,246,0.1); color: #3b82f6; }
.er-toast-body { flex: 1; }
.er-toast-body strong { display: block; font-size: 0.85rem; color: #1e293b; margin-bottom: 1px; }
.er-toast-body span { font-size: 0.78rem; color: #64748b; }
.er-toast-close {
    width: 28px; height: 28px; border-radius: 8px; border: none;
    background: transparent; color: #94a3b8; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}
.er-toast-close:hover { background: #f1f5f9; color: #475569; }
.er-toast.removing { animation: toastOut 0.3s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(30px); } }

/* ================================================================
   COOKIE CONSENT BANNER
   ================================================================ */
.er-cookie-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.4);
    backdrop-filter: blur(4px);
    z-index: 99998;
    display: none;
    align-items: flex-end;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}
.er-cookie-overlay.visible { display: flex; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.er-cookie-banner {
    width: 100%;
    max-width: 100%;
    background: #fff;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -10px 60px rgba(0,0,0,0.12);
    padding: 0;
    animation: slideUpBanner 0.5s cubic-bezier(0.16,1,0.3,1);
    overflow: hidden;
}
@keyframes slideUpBanner { from { transform: translateY(100%); } to { transform: translateY(0); } }

.er-cookie-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 36px 40px;
}
.er-cookie-top {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
}
.er-cookie-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1F3C88, #2D6CDF);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 1.3rem;
}
.er-cookie-text h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 6px;
}
.er-cookie-text p {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Cookie Categories */
.er-cookie-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}
.er-cookie-cat {
    padding: 16px;
    border-radius: 14px;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    transition: all 0.2s;
}
.er-cookie-cat.active { border-color: #1F3C88; background: rgba(31,60,136,0.03); }
.er-cookie-cat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}
.er-cookie-cat-header h5 {
    font-size: 0.82rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.er-cookie-cat-header h5 i { font-size: 0.75rem; color: #1F3C88; }
.er-cookie-toggle {
    width: 38px;
    height: 22px;
    border-radius: 11px;
    background: #cbd5e1;
    border: none;
    cursor: pointer;
    position: relative;
    transition: all 0.25s;
}
.er-cookie-toggle::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    transition: all 0.25s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.er-cookie-toggle.active { background: #1F3C88; }
.er-cookie-toggle.active::after { left: 19px; }
.er-cookie-toggle:disabled { opacity: 0.5; cursor: not-allowed; }
.er-cookie-cat p {
    font-size: 0.72rem;
    color: #94a3b8;
    line-height: 1.4;
    margin: 0;
}

/* Cookie Buttons */
.er-cookie-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.er-cookie-actions-left {
    display: flex;
    gap: 10px;
}
.er-btn-cookie {
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.er-btn-cookie-primary {
    background: linear-gradient(135deg, #1F3C88, #2D6CDF);
    color: #fff;
    box-shadow: 0 4px 15px rgba(31,60,136,0.25);
}
.er-btn-cookie-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(31,60,136,0.35); }
.er-btn-cookie-secondary {
    background: #f1f5f9;
    color: #475569;
}
.er-btn-cookie-secondary:hover { background: #e2e8f0; }
.er-btn-cookie-outline {
    background: transparent;
    color: #1F3C88;
    border: 1.5px solid rgba(31,60,136,0.2);
}
.er-btn-cookie-outline:hover { background: rgba(31,60,136,0.04); }
.er-cookie-policy-link {
    font-size: 0.75rem;
    color: #94a3b8;
}
.er-cookie-policy-link a { color: #1F3C88; text-decoration: none; }
.er-cookie-policy-link a:hover { text-decoration: underline; }

/* Responsive Cookie */
@media (max-width: 768px) {
    .er-cookie-inner { padding: 24px 20px; }
    .er-cookie-categories { grid-template-columns: repeat(2, 1fr); }
    .er-cookie-actions { flex-direction: column; align-items: stretch; }
    .er-cookie-actions-left { flex-direction: column; }
    .er-btn-cookie { justify-content: center; }
    .er-notif-dropdown { width: calc(100vw - 20px); right: 10px; }
}
@media (max-width: 480px) {
    .er-cookie-categories { grid-template-columns: 1fr; }
    .er-cookie-top { flex-direction: column; text-align: center; align-items: center; }
}

/* Bottom Offcanvas Z-Index Overrides for Mobile Bottom Nav Compatibility */
.offcanvas.offcanvas-bottom {
    z-index: 2050 !important;
}
.offcanvas-backdrop {
    z-index: 2040 !important;
}