/* AARU Explains - Premium Light Theme Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg-light: #F8FAFC;
    --bg-card: #FFFFFF;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --color-purple: #7C3AED;
    --color-purple-hover: #6D28D9;
    --color-purple-light: #EDE9FE;
    --color-blue: #2563EB;
    --color-blue-light: #DBEAFE;
    --border-color: #E2E8F0;
    
    /* Glow Colors */
    --glow-purple: rgba(124, 58, 237, 0.4);
    --glow-blue: rgba(37, 99, 235, 0.4);
    
    /* Dark contrast section variables (testimonials & footer) */
    --bg-dark: #090E1A;
    --bg-dark-card: #151D30;
    --border-dark: #222E4A;
}

/* Base Body Styles */
body {
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Sticky Nav Scrolled shadow state */
.glass-nav-scrolled {
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
    border-color: var(--border-color);
    background: rgba(248, 250, 252, 0.9) !important;
}

/* Active links bottom bars */
.nav-link-active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2.5px;
    background: var(--color-purple);
    border-radius: 2px;
}

/* Premium Card hover zooms and transitions */
.hover-premium-zoom {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
}

.hover-premium-zoom:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.08);
}

.hover-img-zoom img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-img-zoom:hover img {
    transform: scale(1.04);
}

/* Cinematic Video Modal Theater */
.modal-theater-container {
    width: 100%;
    max-width: 960px;
    background: #05050A;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
    position: relative;
    overflow: hidden;
}

.modal-ambient-glow {
    position: absolute;
    inset: -50px;
    background: radial-gradient(circle at center, var(--glow-purple) 0%, transparent 60%);
    filter: blur(60px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.8s ease-in-out;
    z-index: -1;
}

.modal-theater-container iframe {
    aspect-ratio: 16 / 9;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-tag {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.3);
    color: #C084FC;
    padding: 3px 10px;
    border-radius: 6px;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 50;
    backdrop-filter: blur(8px);
}

.modal-close-btn:hover {
    background: #EF4444;
    border-color: transparent;
    transform: scale(1.05);
}

/* Utility layouts for search visibility states */
.hidden-by-search {
    display: none !important;
}

/* Sidebar tab active layout states */
.sidebar-tab-active {
    background: var(--color-purple-light);
    color: var(--color-purple) !important;
}

/* Mobile responsive fixes */
@media (max-width: 640px) {
    .modal-theater-container {
        border-radius: 12px;
    }
}