/**
 * ==========================================================================
 * BHALOI REVIEWS — MODERN LIGHT BASE & FOUNDATIONS
 * Clean, bright, legible daylight styling with high contrast
 * ==========================================================================
 */

@import url('tokens.css');
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@600;700;800&family=Space+Mono:wght@400;700&display=swap');

/* Hide CodeIgniter debug toolbar from public view */
#toolbarContainer,
.ci-debug-bar,
.ci-debug-toolbar,
.kint-rich,
.kint-rich-script,
.kint-rich-style,
#debug-bar {
    display: none !important;
}

/* --------------------------------------------------------------------------
   1. GLOBAL RESET & BASE DEFAULTS
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-bengali);
    background-color: var(--bg-0);
    color: var(--text-hi);
    line-height: var(--lh-body);
    font-size: var(--text-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Subtle clean ambient hero glow */
.hero-ambient-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 480px;
    background: radial-gradient(ellipse at center, rgba(255, 119, 1, 0.07) 0%, rgba(10, 43, 102, 0.04) 45%, rgba(248, 250, 252, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

/* --------------------------------------------------------------------------
   2. STICKY SCROLL PROGRESS BAR
   -------------------------------------------------------------------------- */
.scroll-progress-line {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #FF7701 0%, #001941 100%);
    z-index: 1050;
    transition: width 0.08s linear;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY & HEADLINES
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--text-hi);
    font-weight: 800;
    line-height: var(--lh-heading);
    letter-spacing: -0.015em;
    margin-top: 0;
}

p {
    color: var(--text-mid);
    line-height: var(--lh-body);
}

/* Clean highlight underline */
.marker-highlight {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.marker-highlight::after {
    content: '';
    position: absolute;
    left: -4px;
    right: -4px;
    bottom: 2px;
    height: 10px;
    background-color: #FFD2B0;
    z-index: -1;
    border-radius: 3px;
    transform: rotate(-0.8deg);
}

/* Clean section divider */
.clean-divider {
    border-top: 1px solid var(--border-subtle);
    margin: 3.5rem 0;
}

/* --------------------------------------------------------------------------
   4. ACCESSIBILITY FOCUS & REDUCED MOTION
   -------------------------------------------------------------------------- */
:focus-visible {
    outline: 2px solid var(--emerald-core);
    outline-offset: 2px;
    border-radius: var(--radius-xs);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
