/**
 * Study Lattice - Layouts CSS
 * Grid Systems, Navigation, Page Layouts
 * Glass Morphism Design System
 */

/* ============================================
   APP CONTAINER
   ============================================ */
.app-container {
    position: relative;
    z-index: var(--z-base);
    width: 100%;
    min-height: 100vh;
}

.app-content {
    position: relative;
    z-index: 10;
    width: 100%;
    min-height: 100vh;
    padding: var(--space-lg);
}


/* ============================================
   PARTICLES CANVAS
   ============================================ */
#particles-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}


/* ============================================
   CONTAINER WIDTHS
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container-sm { max-width: 640px; }
.container-md { max-width: 900px; }
.container-lg { max-width: 1200px; }
.container-xl { max-width: 1400px; }
.container-full { max-width: none; }


/* ============================================
   PAGE LAYOUTS (Legacy - use .page-grid instead)
   ============================================ */

/* Centered Content Layout */
.layout-centered {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: var(--space-lg);
}

/* Full Page with Header/Footer */
.layout-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.layout-page-content {
    flex: 1;
    padding: var(--space-xl) var(--space-lg);
}

/* Dashboard Layout */
.layout-dashboard {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: var(--space-lg);
}


/* ============================================
   PAGE GRID SYSTEM
   Standard full-page layouts with consistent
   header/main/footer placement.
   ============================================ */

/**
 * Base Page Grid
 * 3-row grid: header (auto) | main (1fr) | footer (auto)
 * All page types extend this base structure.
 */
.page-grid {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 100vw;
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
        "header"
        "main"
        "footer";
    overflow-x: hidden;
}

.page-grid__header { grid-area: header; }
.page-grid__main { grid-area: main; }
.page-grid__footer { grid-area: footer; }

/* Standard footer styling within page-grid */
.page-grid .legal-footer {
    grid-area: footer;
    position: static;
    padding: 16px 0;
    justify-content: center;
    z-index: 50;
    background: transparent;
}

/**
 * Landing Page Grid (index.html style)
 * 2-column layout: hero on left, toggle/stats on right
 * Footer spans full width at bottom
 */
.page-grid--landing {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 1fr auto auto;
    grid-template-areas:
        "hero toggle"
        "hero ."
        "hero stats"
        "footer footer";
    padding: 6vh 8vw 0 8vw;
}

.page-grid--landing .page-grid__hero { grid-area: hero; align-self: start; }
.page-grid--landing .page-grid__toggle { grid-area: toggle; justify-self: end; align-self: start; }
.page-grid--landing .page-grid__stats { grid-area: stats; justify-self: end; align-self: end; }

/* Landing - Tablet */
@media (max-width: 900px) {
    .page-grid--landing {
        padding: 10vh 6vw 0 6vw;
    }
}

/* Landing - Portrait Mobile */
@media (max-width: 768px) and (orientation: portrait) {
    .page-grid--landing {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto 1fr auto auto;
        grid-template-areas:
            "hero toggle"
            "hero ."
            ". ."
            "stats stats"
            "footer footer";
        padding: 5vh 6vw 0 6vw;
        gap: 3vh;
    }
    .page-grid--landing .page-grid__stats { justify-self: end; align-self: end; }
}

/* Landing - Landscape Desktop */
@media (orientation: landscape) and (min-width: 769px) {
    .page-grid--landing {
        padding: 6vh 8vw 0 8vw;
        align-items: start;
    }
    .page-grid--landing .page-grid__stats { padding-bottom: 20px; }
}

/* Landing - Small Height Landscape */
@media (orientation: landscape) and (max-height: 500px) {
    .page-grid--landing {
        padding: 4vh 5vw 0 5vw;
        gap: 1vh;
    }
}

/**
 * Auth Page Grid (login, register, forgot-password)
 * Brand top-left, toggle top-right, centered card in middle
 * Footer at bottom
 */
.page-grid--auth {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
        "brand toggle"
        "main main"
        "footer footer";
    padding: 6vh 8vw 0 8vw;
}

.page-grid--auth .page-grid__brand { grid-area: brand; }
.page-grid--auth .page-grid__toggle { grid-area: toggle; justify-self: end; align-self: start; }
.page-grid--auth .page-grid__main {
    grid-area: main;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 5vh 0;
}

/* Auth - Tablet */
@media (max-width: 768px) {
    .page-grid--auth {
        gap: 24px;
    }
}

/* Auth - Portrait / Mobile */
@media (max-width: 480px), (orientation: portrait) {
    .page-grid--auth {
        padding: 5vh 6vw 0 6vw;
        gap: 3vh;
    }
}

/* Auth - Landscape */
@media (orientation: landscape) {
    .page-grid--auth {
        grid-template-rows: auto 1fr auto;
        padding: 6vh 8vw 0 8vw;
    }
    .page-grid--auth .page-grid__main {
        align-items: flex-start;
        padding-top: 2vh;
    }
}

/* Auth - Small Height */
@media (max-height: 500px) {
    .page-grid--auth {
        padding: 4vh 5vw 0 5vw;
    }
}

/**
 * Viewport Fit - Disable scroll when content fits
 * Applied via JavaScript when footer is at/below viewport bottom
 */
html.fit-viewport,
html.fit-viewport body {
    height: 100vh;
    height: 100dvh;
    min-height: unset;
    overflow: hidden;
}

html.fit-viewport .app-container,
html.fit-viewport .app-content {
    height: 100vh;
    height: 100dvh;
    min-height: unset;
    overflow: hidden;
}


/* ============================================
   BENTO GRID
   ============================================ */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

.bento-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: var(--blur-md) saturate(180%);
    -webkit-backdrop-filter: var(--blur-md) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md), inset 0 1px 1px rgba(255, 255, 255, 0.05);
    transition: all var(--transition-normal);
}

.day-mode .bento-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%);
    box-shadow: var(--shadow-md), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.bento-card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.day-mode .bento-card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.15) 100%);
}

/* Bento Spans */
.bento-span-2 { grid-column: span 2; }
.bento-span-3 { grid-column: span 3; }
.bento-span-4 { grid-column: span 4; }
.bento-row-2 { grid-row: span 2; }

/* Responsive Bento */
@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-span-3,
    .bento-span-4 { grid-column: span 2; }
}

@media (max-width: 500px) {
    .bento-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    .bento-span-2,
    .bento-span-3,
    .bento-span-4 { grid-column: span 1; }
    .bento-row-2 { grid-row: span 1; }
}


/* ============================================
   PILL NAVIGATION
   ============================================ */
.pill-nav {
    position: fixed;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    background: var(--glass-bg);
    backdrop-filter: var(--blur-lg);
    -webkit-backdrop-filter: var(--blur-lg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    padding: var(--space-sm);
    display: flex;
    gap: var(--space-xs);
    z-index: var(--z-sticky);
}

.pill-nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    text-decoration: none;
    transition: all var(--transition-normal);
    position: relative;
}

.pill-nav-item:hover {
    background: var(--accent);
}

.pill-nav-item:hover .pill-nav-icon {
    stroke: var(--text-inverse);
}

.pill-nav-item.active {
    background: var(--accent-soft);
}

.pill-nav-item.active .pill-nav-icon {
    stroke: var(--accent);
}

.pill-nav-icon {
    width: 20px;
    height: 20px;
    stroke: var(--text-secondary);
    stroke-width: 1.5;
    fill: none;
    transition: stroke var(--transition-normal);
}

/* Pill Nav Expand Button */
.pill-nav-expand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md) var(--space-sm) var(--space-sm);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.pill-nav-expand:hover {
    background: var(--glass-hover);
}

.pill-nav-expand-text {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Responsive Pill Nav */
@media (max-width: 600px) {
    .pill-nav {
        padding: var(--space-xs);
        gap: 2px;
    }
    .pill-nav-item {
        width: 42px;
        height: 42px;
    }
    .pill-nav-icon {
        width: 18px;
        height: 18px;
    }
    .pill-nav-expand {
        padding: var(--space-xs) var(--space-sm);
    }
    .pill-nav-expand-text {
        font-size: 0.7rem;
    }
}


/* ============================================
   THEME TOGGLE
   ============================================ */
.theme-toggle {
    position: fixed;
    left: var(--space-lg);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    z-index: var(--z-sticky);
}

.theme-toggle-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: var(--blur-md);
    -webkit-backdrop-filter: var(--blur-md);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
}

/* No hover state - only day/night states */

.theme-toggle-btn svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-secondary);
    stroke-width: 1.5;
    fill: none;
}

.theme-toggle-key {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

@media (max-width: 600px) {
    .theme-toggle {
        left: var(--space-sm);
    }
}


/* ============================================
   MENU OVERLAY
   ============================================ */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: var(--blur-lg);
    -webkit-backdrop-filter: var(--blur-lg);
    z-index: var(--z-overlay);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-slower);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    padding: var(--space-xl);
}

.menu-link {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    padding: var(--space-lg) var(--space-xl);
    text-align: center;
    transition: all var(--transition-normal);
}

.menu-link:hover {
    color: var(--accent);
    transform: scale(1.05);
}

.menu-close {
    position: absolute;
    top: var(--space-xl);
    right: var(--space-xl);
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.menu-close:hover {
    border-color: var(--accent);
    background: var(--accent);
}

.menu-close:hover svg {
    stroke: var(--text-inverse);
}

.menu-close svg {
    width: 20px;
    height: 20px;
    stroke: white;
    stroke-width: 1.5;
    fill: none;
}

@media (max-width: 900px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .menu-link {
        font-size: 2rem;
        padding: var(--space-md) var(--space-lg);
    }
}

@media (max-width: 500px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }
    .menu-link {
        font-size: 1.8rem;
    }
}


/* ============================================
   HEADER
   ============================================ */
.header {
    position: relative;
    padding: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.header-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.75rem;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.header-logo span {
    color: var(--accent);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.header-nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.header-nav-link:hover,
.header-nav-link.active {
    color: var(--accent);
}


/* ============================================
   SIDEBAR LAYOUT
   ============================================ */
.layout-sidebar {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

.sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: var(--space-lg);
    background: var(--glass-bg);
    border-right: 1px solid var(--glass-border);
    overflow-y: auto;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.sidebar-nav-item:hover {
    background: var(--glass-hover);
    color: var(--text-primary);
}

.sidebar-nav-item.active {
    background: var(--accent-soft);
    color: var(--accent);
}

.sidebar-nav-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

@media (max-width: 900px) {
    .layout-sidebar {
        grid-template-columns: 1fr;
    }
    .sidebar {
        display: none;
    }
}


/* ============================================
   CONTENT SECTIONS
   ============================================ */
.section {
    padding: var(--space-2xl) 0;
}

.section-header {
    margin-bottom: var(--space-xl);
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    color: var(--text-secondary);
    max-width: 600px;
}


/* ============================================
   GRID CONTENT (Legacy Support)
   ============================================ */
.grid-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-lg);
    overflow-y: auto;
    overflow-x: hidden;
}

.grid-content-wide {
    max-width: 1200px;
}


/* ============================================
   CARD GRID
   ============================================ */
.card-grid {
    display: grid;
    gap: var(--space-lg);
}

.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
    .card-grid-3,
    .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .card-grid-2,
    .card-grid-3,
    .card-grid-4 { grid-template-columns: 1fr; }
}


/* ============================================
   FLOATING ELEMENTS (Index Page)
   ============================================ */
.float-container {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
}

.float-hero {
    position: absolute;
    top: 12%;
    left: 8%;
}

.float-stats {
    position: absolute;
    bottom: 15%;
    right: 8%;
    text-align: right;
}

.float-date {
    position: absolute;
    top: 15%;
    right: 8%;
    text-align: right;
}

.float-tagline {
    position: absolute;
    left: 8%;
    bottom: 35%;
    max-width: 280px;
}

@media (max-width: 900px) {
    .float-hero { top: 10%; left: 6%; }
    .float-stats { bottom: 20%; right: 6%; }
    .float-date { top: 10%; right: 6%; }
    .float-tagline { display: none; }
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-md);
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--accent);
}


/* ============================================
   SCROLL INDICATOR
   ============================================ */
.scroll-indicator {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    backdrop-filter: var(--blur-sm);
    -webkit-backdrop-filter: var(--blur-sm);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 1rem;
    z-index: var(--z-sticky);
    animation: bounce 2s infinite;
}

.scroll-indicator.visible {
    display: flex;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}


/* ============================================
   DATE DISPLAY
   ============================================ */
.date-display {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.date-day {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    color: var(--text-muted);
    line-height: 1;
}

.date-rest {
    font-family: 'Manrope', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}


/* ============================================
   HOME BUTTON
   ============================================ */
.home-btn {
    position: fixed;
    top: var(--space-lg);
    left: var(--space-lg);
    width: 48px;
    height: 48px;
    background: var(--glass-bg);
    backdrop-filter: var(--blur-md);
    -webkit-backdrop-filter: var(--blur-md);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    z-index: var(--z-sticky);
    text-decoration: none;
}

.home-btn:hover {
    background: var(--glass-hover);
    transform: translateY(-2px);
}

.home-btn svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-secondary);
    stroke-width: 1.5;
    fill: none;
}

.home-btn:hover svg {
    stroke: var(--accent);
}

/* Notification Badge */
.home-btn-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}


/* ============================================
   NAV BUTTONS - Unified home + theme toggle
   ============================================ */
.nav-buttons {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: var(--z-sticky);
    display: flex;
    gap: 12px;
}

.nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    cursor: pointer;
    text-decoration: none;
}

.day-mode .nav-btn {
    border-color: rgba(0, 0, 0, 0.15);
}

.nav-btn:hover,
.nav-btn:focus,
.nav-btn:active {
    background: var(--glass-bg);
    transform: none;
    outline: none;
    box-shadow: none;
}

.nav-btn svg {
    width: 22px;
    height: 22px;
    stroke: var(--text-primary);
    stroke-width: 2;
    fill: none;
}

/* Theme toggle icon states */
.nav-btn .theme-icon-moon {
    fill: var(--text-primary);
    stroke: none;
}

.theme-icon-sun { display: none; }
.theme-icon-moon { display: block; }
.day-mode .theme-icon-sun { display: block; }
.day-mode .theme-icon-moon { display: none; }

/* Nav button notification badge */
.nav-btn-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Responsive - Tablet */
@media (max-width: 768px) {
    .nav-buttons {
        gap: 10px;
    }

    .nav-btn {
        width: 44px;
        height: 44px;
    }

    .nav-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* Responsive - Mobile */
@media (max-width: 480px) {
    .nav-buttons {
        top: 16px;
        right: 16px;
        gap: 8px;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
    }

    .nav-btn svg {
        width: 18px;
        height: 18px;
    }
}


/* ============================================
   PAGE HERO - Reusable header section
   ============================================ */
.page-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: clamp(24px, 4vw, 40px);
    padding-bottom: clamp(16px, 3vw, 24px);
    border-bottom: 1px solid var(--glass-border);
}

.hero-brand {
    display: flex;
    flex-direction: column;
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 400;
    color: var(--text-primary);
    line-height: 0.85;
    letter-spacing: 0.02em;
}

.hero-title span {
    color: var(--accent);
}

.hero-subtitle {
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-stats {
    display: flex;
    gap: clamp(16px, 3vw, 32px);
}

.stat-item {
    text-align: right;
}

.stat-value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--accent);
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
}

@media (max-width: 480px) {
    .page-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-stats {
        width: 100%;
        justify-content: flex-start;
    }

    .stat-item {
        text-align: left;
    }
}
