/**
 * Login Glassmorphism Theme
 * Deep blue liquid glass effect with animated starfield background
 */

/* ===========================
   Global Font Family
   =========================== */

* {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
}

/* ===========================
   Background & Canvas
   =========================== */

body.login {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: url('/images/backgrounds/bg-login.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
    height: 100vh;
    position: relative;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
}

/* Dark overlay for better contrast */
body.login::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 10, 30, 0.4);
    z-index: 1;
    pointer-events: none;
}

/* ===========================
   Container & Layout
   =========================== */

.login-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* ===========================
   Glassmorphism Form Box
   =========================== */

.glass-box {
    background: rgba(15, 35, 80, 0.25);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-radius: 24px;
    border: 1px solid rgba(100, 150, 255, 0.2);
    box-shadow:
        0 8px 32px 0 rgba(0, 20, 60, 0.37),
        0 0 0 1px rgba(100, 150, 255, 0.1) inset,
        0 2px 12px 0 rgba(31, 80, 180, 0.2);
    padding: 3rem 2.5rem;
    max-width: 450px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Glow on hover effect - DISABLED */
/* No hover effect on login container */

/* ===========================
   Logo Glass Container
   =========================== */

.logo-glass-container {
    padding-bottom: 0.5rem;
}

.logo-glass-container img {
    display: block;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 2px 8px rgba(100, 150, 255, 0.3));
}

/* ===========================
   Typography
   =========================== */

.glass-box h2 {
    color: #ffffff;
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 0 2px 12px rgba(100, 150, 255, 0.3);
}

.glass-box label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    display: block;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* ===========================
   Input Fields with Animations
   =========================== */

.glass-input {
    width: 100%;
    background: rgba(15, 30, 70, 0.4);
    border: 1.5px solid rgba(100, 150, 255, 0.25);
    border-radius: 16px;
    padding: 0.875rem 1rem;
    color: rgba(220, 235, 255, 0.95);
    font-size: 0.9375rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        0 2px 8px rgba(0, 10, 30, 0.3) inset,
        0 0 0 0 rgba(100, 150, 255, 0);
    display: block;
    box-sizing: border-box;
}

.glass-input::placeholder {
    color: rgba(180, 200, 240, 0.55);
}

.glass-input:focus {
    background: rgba(20, 40, 90, 0.5);
    border-color: rgba(120, 170, 255, 0.6);
    box-shadow:
        0 2px 12px rgba(0, 15, 40, 0.4) inset,
        0 0 0 4px rgba(100, 150, 255, 0.15),
        0 4px 16px rgba(50, 100, 200, 0.3);
    transform: translateY(-1px);
}

.glass-input:hover:not(:focus) {
    border-color: rgba(110, 160, 255, 0.4);
    background: rgba(20, 40, 90, 0.55);
}

/* Error state - red glowing border */
.glass-input.error {
    border-color: rgba(239, 68, 68, 0.8);
    background: rgba(60, 20, 20, 0.3);
    box-shadow:
        0 2px 12px rgba(60, 10, 10, 0.4) inset,
        0 0 0 4px rgba(239, 68, 68, 0.2),
        0 0 20px rgba(220, 38, 38, 0.6);
    animation: error-glow 1.5s ease-in-out infinite;
}

.glass-input.error:focus {
    border-color: rgba(239, 68, 68, 0.9);
    box-shadow:
        0 2px 12px rgba(60, 10, 10, 0.5) inset,
        0 0 0 4px rgba(239, 68, 68, 0.25),
        0 0 24px rgba(220, 38, 38, 0.7);
}

/* Pulsing glow animation for error fields */
@keyframes error-glow {
    0%, 100% {
        box-shadow:
            0 2px 12px rgba(60, 10, 10, 0.4) inset,
            0 0 0 4px rgba(239, 68, 68, 0.2),
            0 0 20px rgba(220, 38, 38, 0.6);
    }
    50% {
        box-shadow:
            0 2px 12px rgba(60, 10, 10, 0.4) inset,
            0 0 0 4px rgba(239, 68, 68, 0.3),
            0 0 30px rgba(220, 38, 38, 0.8);
    }
}

/* ===========================
   Select Dropdown Styling
   =========================== */

select.glass-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 2.75rem;
    cursor: pointer;
    background-color: rgba(15, 30, 70, 0.4) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(180, 200, 240, 0.8)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: calc(100% - 1rem) center !important;
    background-size: 16px 16px !important;
}

select.glass-input:hover:not(:focus) {
    background-color: rgba(20, 40, 90, 0.55) !important;
}

select.glass-input:focus {
    background-color: rgba(20, 40, 90, 0.5) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(120, 170, 255, 0.9)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
}

select.glass-input option {
    background: rgba(15, 30, 70, 0.95);
    color: rgba(220, 235, 255, 0.95);
    padding: 0.5rem;
}

select.glass-input.error {
    background-color: rgba(60, 20, 20, 0.3) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(239, 68, 68, 0.8)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
}

select.glass-input.error:focus {
    background-color: rgba(60, 20, 20, 0.3) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(239, 68, 68, 0.9)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
}

/* ===========================
   Checkbox Styling
   =========================== */

.glass-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.glass-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 1.5px solid rgba(100, 150, 255, 0.4);
    border-radius: 4px;
    background: rgba(15, 30, 70, 0.4);
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    position: relative;
}

.glass-checkbox input[type="checkbox"]:checked {
    background: rgba(80, 130, 220, 0.6);
    border-color: rgba(120, 170, 255, 0.8);
}

.glass-checkbox input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
}

.glass-checkbox label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    margin: 0;
    cursor: pointer;
}

/* ===========================
   Links
   =========================== */

.glass-link {
    color: rgba(150, 190, 255, 0.9);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.glass-link:hover {
    color: rgba(180, 210, 255, 1);
    text-shadow: 0 0 8px rgba(100, 150, 255, 0.5);
}

/* ===========================
   Buttons with Ripple Effect
   =========================== */

.glass-button {
    width: 100%;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    box-sizing: border-box;
}

.glass-button-primary {
    background: linear-gradient(135deg, rgba(60, 110, 200, 0.8) 0%, rgba(40, 80, 160, 0.9) 100%);
    color: #ffffff;
    box-shadow:
        0 4px 16px rgba(40, 80, 160, 0.4),
        0 0 0 1px rgba(120, 170, 255, 0.3) inset;
    border: 1px solid rgba(100, 150, 255, 0.3);
}

.glass-button-primary:hover {
    background: linear-gradient(135deg, rgba(70, 120, 210, 0.9) 0%, rgba(50, 90, 170, 1) 100%);
    box-shadow:
        0 6px 24px rgba(50, 100, 200, 0.5),
        0 0 0 1px rgba(140, 190, 255, 0.4) inset;
    transform: translateY(-2px);
}

.glass-button-primary:active {
    transform: translateY(0);
    box-shadow:
        0 2px 8px rgba(40, 80, 160, 0.4),
        0 0 0 1px rgba(100, 150, 255, 0.3) inset;
}

.glass-button-secondary {
    background: rgba(30, 50, 90, 0.4);
    color: rgba(200, 220, 255, 0.9);
    border: 1px solid rgba(100, 150, 255, 0.25);
    box-shadow: 0 2px 8px rgba(0, 10, 30, 0.3);
}

.glass-button-secondary:hover {
    background: rgba(40, 60, 100, 0.5);
    border-color: rgba(120, 170, 255, 0.4);
    box-shadow: 0 4px 16px rgba(0, 20, 50, 0.4);
    transform: translateY(-1px);
}

/* Sign up button as link */
a.glass-button {
    display: block;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

/* Ripple effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transform: scale(0);
    animation: ripple-animation 0.8s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ===========================
   Floating Particles
   =========================== */

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(150, 190, 255, 0.8) 0%, rgba(100, 150, 255, 0) 70%);
    border-radius: 50%;
    opacity: 0.6;
    animation: float-particle 8s ease-in-out infinite;
    filter: blur(1px);
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 7s;
}

.particle:nth-child(2) {
    left: 85%;
    animation-delay: 2s;
    animation-duration: 9s;
}

.particle:nth-child(3) {
    left: 30%;
    animation-delay: 4s;
    animation-duration: 8s;
}

.particle:nth-child(4) {
    left: 70%;
    animation-delay: 1s;
    animation-duration: 10s;
}

.particle:nth-child(5) {
    left: 50%;
    animation-delay: 3s;
    animation-duration: 7.5s;
}

.particle:nth-child(6) {
    left: 20%;
    animation-delay: 5s;
    animation-duration: 8.5s;
}

@keyframes float-particle {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    50% {
        transform: translateY(-80vh) translateX(20px);
        opacity: 0.8;
    }
    90% {
        opacity: 0.6;
    }
}

/* ===========================
   Copyright Notice
   =========================== */

.login-copyright {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    z-index: 10;
    width: 100%;
}

/* ===========================
   Welcome Page Specific Styles
   =========================== */

/* Welcome page layout */
body.welcome-page {
    margin: 0;
    padding: 0;
    padding-top: 100px; /* Account for fixed navbar with margin */
    overflow: auto;
    background: url('/images/backgrounds/bg-login.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
    height: auto;
    position: relative;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
}

/* Dark overlay for welcome page */
body.welcome-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 10, 30, 0.4);
    z-index: 1;
    pointer-events: none;
}

/* Glass Navigation Bar */
.glass-navbar {
    position: fixed;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 100;
    background: rgba(15, 35, 80, 0.35);
    backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(100, 150, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 1rem 0;
}

.glass-navbar-container {
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.glass-navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.glass-navbar-logo img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(100, 150, 255, 0.3));
}

.glass-navbar-logo span {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(100, 150, 255, 0.3);
}

.glass-navbar-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.glass-nav-button {
    padding: 0.5rem 1.25rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    display: inline-block;
}

.glass-nav-button-primary {
    background: linear-gradient(135deg, rgba(60, 110, 200, 0.8) 0%, rgba(40, 80, 160, 0.9) 100%);
    color: rgba(255, 255, 255, 0.95);
    border-color: rgba(80, 130, 220, 0.4);
    box-shadow: 0 2px 8px rgba(60, 110, 200, 0.3);
}

.glass-nav-button-primary:hover {
    background: linear-gradient(135deg, rgba(70, 120, 210, 0.9) 0%, rgba(50, 90, 170, 1) 100%);
    box-shadow: 0 4px 12px rgba(60, 110, 200, 0.5);
    transform: translateY(-1px);
}

.glass-nav-button-secondary {
    background: rgba(30, 50, 90, 0.4);
    color: rgba(220, 235, 255, 0.9);
    border-color: rgba(100, 150, 255, 0.25);
}

.glass-nav-button-secondary:hover {
    background: rgba(40, 60, 100, 0.6);
    border-color: rgba(120, 170, 255, 0.4);
    color: rgba(240, 248, 255, 1);
    box-shadow: 0 2px 8px rgba(100, 150, 255, 0.2);
}

/* Welcome page hero container - First viewport */
.welcome-hero {
    position: relative;
    z-index: 10;
    min-height: calc(100vh - 100px); /* Account for navbar with margin */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

/* Welcome hero card - Large card with background */
.welcome-hero-card {
    width: 100%;
    max-width: 1200px;
    height: 70vh;
    max-height: none;
    min-height: 600px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

/* Frosted overlay for hero card */
.welcome-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 35, 80, 0.28);
    backdrop-filter: blur(6px) saturate(140%);
    -webkit-backdrop-filter: blur(6px) saturate(140%);
    z-index: 1;
}

/* Content above frosted overlay */
.welcome-hero-card > * {
    position: relative;
    z-index: 2;
}

/* Beta notice responsive styles */
.welcome-hero-card a {
    transition: all 0.3s ease;
}

.welcome-hero-card a:hover {
    color: rgba(180, 220, 255, 1) !important;
    text-shadow: 0 2px 12px rgba(100, 150, 255, 0.6) !important;
}

/* Welcome features section - Second viewport */
.welcome-features {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Welcome benefits section - Third viewport */
.welcome-benefits {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Welcome additional sections (beta notice, etc) */
.welcome-section {
    position: relative;
    z-index: 10;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* Welcome feature cards grid */
.welcome-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    width: 100%;
}

/* Welcome copyright */
.welcome-copyright {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 2rem 2rem 40px 2rem;
}

/* Glass Content Wrapper - for public pages */
.glass-content-wrapper {
    position: relative;
    z-index: 10;
    margin: 0 1rem;
    padding: 1rem 0;
    min-height: calc(100vh - 150px);
}

/* Glass Content Box - main content container for public pages */
.glass-content-box {
    background: rgba(15, 35, 80, 0.25);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-radius: 24px;
    border: 1px solid rgba(100, 150, 255, 0.2);
    box-shadow:
        0 8px 32px 0 rgba(0, 20, 60, 0.37),
        0 0 0 1px rgba(100, 150, 255, 0.1) inset,
        0 2px 12px 0 rgba(31, 80, 180, 0.2);
    padding: 3rem 2.5rem;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.glass-content-box h1 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 12px rgba(100, 150, 255, 0.3);
}

.glass-content-box h2 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 12px rgba(100, 150, 255, 0.3);
}

.glass-content-box h3 {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 8px rgba(100, 150, 255, 0.3);
}

.glass-content-box p {
    color: rgba(220, 235, 255, 0.9);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.glass-content-box ul, .glass-content-box ol {
    color: rgba(220, 235, 255, 0.9);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.glass-content-box li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Responsive adjustments for welcome page */
@media (max-width: 968px) {
    .welcome-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .glass-navbar-container {
        padding: 0 1.5rem;
    }

    .glass-navbar-logo span {
        font-size: 1.1rem;
    }

    .glass-navbar-links {
        gap: 0.5rem;
    }

    .glass-nav-button {
        padding: 0.4rem 1rem;
        font-size: 0.875rem;
    }

    .welcome-hero-card {
        width: 100%;
        height: 65vh;
        min-height: 550px;
        margin: 0 auto;
    }

    .welcome-hero-card h1 {
        font-size: 2.5rem !important;
    }

    .welcome-hero-card p {
        font-size: 1.1rem !important;
    }

    .welcome-hero-card img[alt="Worldwide Virtual Logo"] {
        height: 90px !important;
    }

    .welcome-hero-card div[style*="border: 2px solid"] p {
        font-size: 1.05rem !important;
    }
}

@media (max-width: 720px) {
    body.welcome-page {
        padding-top: 120px; /* Increased to account for taller navbar when wrapped */
    }

    .glass-navbar {
        top: 0.5rem;
        left: 0.5rem;
        right: 0.5rem;
        padding: 0.75rem 0;
        border-radius: 16px;
    }

    .glass-navbar-container {
        padding: 0 1rem;
        flex-direction: column;
        gap: 0.75rem;
    }

    .glass-navbar-logo {
        gap: 0.5rem;
    }

    .glass-navbar-logo img {
        height: 32px;
    }

    .glass-navbar-logo span {
        font-size: 1rem;
    }

    .glass-navbar-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.4rem;
    }

    .glass-nav-button {
        padding: 0.35rem 0.85rem;
        font-size: 0.8rem;
    }

    .welcome-hero {
        min-height: calc(100vh - 160px); /* Updated to match new padding */
        padding: 0.5rem;
    }

    .welcome-hero-card {
        width: 100%;
        height: 60vh;
        min-height: 450px;
        max-height: none;
        margin: 0 auto;
    }

    .welcome-hero-card h1 {
        font-size: 2rem !important;
    }

    .welcome-hero-card p {
        font-size: 1rem !important;
    }

    .welcome-hero-card img[alt="Worldwide Virtual Logo"] {
        height: 70px !important;
    }

    .welcome-hero-card div[style*="border: 2px solid"] {
        padding: 1rem 1.25rem !important;
        font-size: 0.95rem !important;
    }

    .welcome-hero-card div[style*="border: 2px solid"] strong {
        font-size: 1rem !important;
    }

    .welcome-features,
    .welcome-benefits {
        min-height: auto;
        padding: 1rem;
    }

    .welcome-section {
        padding: 0 1rem;
        margin: 1.5rem auto;
    }

    .welcome-features-grid {
        gap: 1rem;
    }

    .welcome-copyright {
        padding: 1rem;
    }

    .glass-content-wrapper {
        margin: 0 0.5rem;
        padding: 1rem 0;
        min-height: calc(100vh - 200px); /* Adjusted for taller navbar */
    }

    .glass-content-box {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }

    .glass-content-box h1 {
        font-size: 2rem;
    }

    .glass-content-box h2 {
        font-size: 1.5rem;
    }

    .glass-content-box h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 440px) {
    body.welcome-page {
        padding-top: 160px; /* Increased to account for taller navbar when wrapped */
    }
}

@media (max-width: 290px) {
    body.welcome-page {
        padding-top: 220px; /* Increased to account for taller navbar when wrapped */
    }
}

/* ===========================
   Utility Classes
   =========================== */

.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1rem !important;
}

.mb-6 {
    margin-bottom: 1.5rem !important;
}

.mt-4 {
    margin-top: 1rem !important;
}

.mt-6 {
    margin-top: 1.5rem !important;
}

.flex {
    display: flex !important;
}

.justify-between {
    justify-content: space-between !important;
}

.items-center {
    align-items: center !important;
}

.gap-4 {
    gap: 1rem !important;
}

.block {
    display: block !important;
}

.w-full {
    width: 100% !important;
}

.space-y-2 > * + * {
    margin-top: 0.5rem !important;
}

/* ===========================
   Smooth Scroll Behavior
   =========================== */

html {
    scroll-behavior: smooth;
}

/* ===========================
   Scroll Indicator
   =========================== */

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(60, 110, 200, 0.3);
    border: 2px solid rgba(100, 150, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    z-index: 10;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.5rem;
}

.scroll-indicator:hover {
    background: rgba(60, 110, 200, 0.5);
    border-color: rgba(120, 170, 255, 0.6);
    box-shadow: 0 0 20px rgba(100, 150, 255, 0.4);
    transform: translateX(-50%) translateY(-5px);
}

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

/* ===========================
   Features Section
   =========================== */

.features-section {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

.features-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

/* Features Header */
.features-header {
    text-align: center;
    margin-bottom: 4rem;
}

.features-header h2 {
    color: rgba(255, 255, 255, 0.98);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 2px 12px rgba(100, 150, 255, 0.4);
    line-height: 1.2;
}

.features-header p {
    color: rgba(220, 235, 255, 0.9);
    font-size: 1.25rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    font-weight: 400;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
}

/* Feature Card */
.feature-card {
    background: rgba(15, 35, 80, 0.25);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-radius: 24px;
    border: 1px solid rgba(100, 150, 255, 0.2);
    box-shadow:
        0 8px 32px 0 rgba(0, 20, 60, 0.37),
        0 0 0 1px rgba(100, 150, 255, 0.1) inset,
        0 2px 12px 0 rgba(31, 80, 180, 0.2);
    padding: 3rem 2.5rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 12px 40px 0 rgba(0, 20, 60, 0.5),
        0 0 0 1px rgba(120, 170, 255, 0.3) inset,
        0 4px 20px 0 rgba(60, 110, 200, 0.4);
    border-color: rgba(120, 170, 255, 0.4);
}

/* Feature Icon */
.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(60, 110, 200, 0.3);
    border: 2px solid rgba(100, 150, 255, 0.4);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: rgba(60, 110, 200, 0.5);
    border-color: rgba(120, 170, 255, 0.6);
    box-shadow: 0 0 30px rgba(100, 150, 255, 0.5);
    transform: scale(1.1);
}

.feature-icon i {
    color: rgba(255, 255, 255, 0.95);
    font-size: 2rem;
}

/* Feature Card Text */
.feature-card h3 {
    color: rgba(255, 255, 255, 0.98);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 0 2px 12px rgba(100, 150, 255, 0.3);
}

.feature-card p {
    color: rgba(220, 235, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ACARS Container - Wider than standard features */
.acars-container {
    max-width: 1600px !important;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ACARS Section Two-Column Layout */
.acars-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    align-items: stretch;
    min-height: 600px;
}

/* ACARS Image Styling */
.acars-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    border-radius: 24px;
    border: 1px solid rgba(100, 150, 255, 0.3);
    box-shadow:
        0 8px 32px 0 rgba(0, 20, 60, 0.5),
        0 0 0 1px rgba(100, 150, 255, 0.15) inset,
        0 2px 12px 0 rgba(31, 80, 180, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.acars-image:hover {
    transform: translateY(-4px);
    border-color: rgba(120, 170, 255, 0.5);
    box-shadow:
        0 12px 48px 0 rgba(0, 20, 60, 0.6),
        0 0 0 1px rgba(120, 170, 255, 0.3) inset,
        0 4px 20px 0 rgba(60, 110, 200, 0.5);
}

/* ACARS Text Card - matches feature card styling */
.acars-text-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.acars-text-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 12px 40px 0 rgba(0, 20, 60, 0.5),
        0 0 0 1px rgba(120, 170, 255, 0.3) inset,
        0 4px 20px 0 rgba(60, 110, 200, 0.4);
    border-color: rgba(120, 170, 255, 0.4);
}

/* ACARS Text Container - ensure icon inherits proper styling */
.acars-text-card .feature-icon {
    transition: all 0.3s ease;
}

.acars-text-card:hover .feature-icon {
    background: rgba(60, 110, 200, 0.5);
    border-color: rgba(120, 170, 255, 0.6);
    box-shadow: 0 0 30px rgba(100, 150, 255, 0.5);
    transform: scale(1.1);
}

/* Responsive: Features Section */
@media (max-width: 968px) {
    .features-section {
        padding: 3rem 1.5rem;
    }

    .features-header h2 {
        font-size: 2.5rem;
    }

    .features-header p {
        font-size: 1.1rem;
    }

    .features-grid {
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2.5rem 2rem;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
    }

    .feature-icon i {
        font-size: 1.75rem;
    }

    .feature-card h3 {
        font-size: 1.5rem;
    }

    .feature-card p {
        font-size: 1rem;
    }

    /* Adjust ACARS on medium screens */
    .acars-container {
        padding: 0 1.5rem;
    }

    .acars-grid {
        gap: 2rem;
        min-height: 500px;
        grid-template-columns: 1.15fr 0.85fr;
    }

    .acars-image {
        max-height: 500px;
    }
}

@media (max-width: 720px) {
    .features-section {
        padding: 2rem 1rem;
        min-height: auto;
    }

    .features-header {
        margin-bottom: 2.5rem;
    }

    .features-header h2 {
        font-size: 2rem;
    }

    .features-header p {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1.25rem;
    }

    .feature-icon i {
        font-size: 1.5rem;
    }

    .feature-card h3 {
        font-size: 1.35rem;
    }

    .feature-card p {
        font-size: 0.95rem;
    }

    .scroll-indicator {
        width: 45px;
        height: 45px;
        bottom: 1.5rem;
    }

    .scroll-indicator i {
        font-size: 1.25rem;
    }

    /* Stack ACARS grid vertically on mobile */
    .acars-container {
        padding: 0 1rem;
    }

    .acars-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        min-height: auto;
    }

    .acars-image {
        max-height: 400px;
        border-radius: 20px;
    }
}

@media (max-width: 440px) {
    .features-section {
        padding: 1.5rem 0.75rem;
    }

    .features-header {
        margin-bottom: 2rem;
    }

    .features-header h2 {
        font-size: 1.75rem;
    }

    .features-header p {
        font-size: 0.95rem;
    }

    .features-grid {
        gap: 1.25rem;
    }

    .feature-card {
        padding: 1.75rem 1.25rem;
        border-radius: 20px;
    }

    .feature-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 1rem;
    }

    .feature-icon i {
        font-size: 1.35rem;
    }

    .feature-card h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .feature-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .scroll-indicator {
        width: 40px;
        height: 40px;
        bottom: 1rem;
    }

    .scroll-indicator i {
        font-size: 1.1rem;
    }

    /* Smaller ACARS grid gap on tiny screens */
    .acars-container {
        padding: 0 0.75rem;
    }

    .acars-grid {
        gap: 1.25rem;
        min-height: auto;
    }

    .acars-image {
        max-height: 300px;
        border-radius: 16px;
    }
}

/* ===========================
   Testimonials Section
   =========================== */

/* Testimonial Card Container */
.testimonial-card {
    position: relative;
    width: 100%;
    height: 700px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(100, 150, 255, 0.2);
    box-shadow:
        0 8px 32px 0 rgba(0, 20, 60, 0.37),
        0 0 0 1px rgba(100, 150, 255, 0.1) inset,
        0 2px 12px 0 rgba(31, 80, 180, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 12px 40px 0 rgba(0, 20, 60, 0.5),
        0 0 0 1px rgba(120, 170, 255, 0.3) inset,
        0 4px 20px 0 rgba(60, 110, 200, 0.4);
    border-color: rgba(120, 170, 255, 0.4);
}

/* Background Image */
.testimonial-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
    z-index: 1;
}

/* Frosted Overlay */
.testimonial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 35, 80, 0.28);
    backdrop-filter: blur(6px) saturate(140%);
    -webkit-backdrop-filter: blur(6px) saturate(140%);
    z-index: 2;
}

/* Content Container - Offset to Left */
.testimonial-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 4rem;
    max-width: 800px;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

/* Quote Icon */
.testimonial-quote-icon {
    margin-bottom: 2rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(60, 110, 200, 0.3);
    border: 2px solid rgba(100, 150, 255, 0.4);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-quote-icon {
    background: rgba(60, 110, 200, 0.5);
    border-color: rgba(120, 170, 255, 0.6);
    box-shadow: 0 0 30px rgba(100, 150, 255, 0.5);
    transform: scale(1.1);
}

.testimonial-quote-icon i {
    color: rgba(255, 255, 255, 0.95);
    font-size: 2rem;
}

/* Testimonial Text */
.testimonial-text {
    margin-bottom: 2rem;
}

.testimonial-text p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.5rem;
    line-height: 1.8;
    margin: 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 2px 12px rgba(100, 150, 255, 0.4);
    font-weight: 400;
    font-style: italic;
}

/* Testimonial Author */
.testimonial-author p {
    color: rgba(220, 235, 255, 0.9);
    font-size: 1.25rem;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.testimonial-author strong {
    color: rgba(150, 200, 255, 1);
    font-weight: 600;
}

/* Responsive: Testimonials */
@media (max-width: 968px) {
    .testimonial-card {
        height: 600px;
    }

    .testimonial-content {
        padding: 3rem;
    }

    .testimonial-quote-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
    }

    .testimonial-quote-icon i {
        font-size: 1.75rem;
    }

    .testimonial-text p {
        font-size: 1.3rem;
    }

    .testimonial-author p {
        font-size: 1.15rem;
    }
}

@media (max-width: 720px) {
    .testimonial-card {
        height: 500px;
        border-radius: 20px;
    }

    .testimonial-content {
        padding: 2.5rem 2rem;
    }

    .testimonial-quote-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1.25rem;
    }

    .testimonial-quote-icon i {
        font-size: 1.5rem;
    }

    .testimonial-text p {
        font-size: 1.15rem;
    }

    .testimonial-author p {
        font-size: 1rem;
    }
}

@media (max-width: 440px) {
    .testimonial-card {
        height: 400px;
        border-radius: 16px;
    }

    .testimonial-content {
        padding: 2rem 1.5rem;
    }

    .testimonial-quote-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 1rem;
    }

    .testimonial-quote-icon i {
        font-size: 1.35rem;
    }

    .testimonial-text p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .testimonial-author p {
        font-size: 0.95rem;
    }
}

/* ===========================
   Responsive Design
   =========================== */

@media (max-height: 800px) {
    body.login {
        height: auto;
        overflow: auto;
        background-attachment: fixed;
    }

    .login-container {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        padding: 2rem;
        min-height: calc(100vh - 100px);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .login-copyright {
        position: relative;
        bottom: auto;
        padding: 1rem 2rem 20px 2rem;
    }
}

@media (max-width: 640px) {
    body.login {
        height: auto;
        overflow: auto;
        background-attachment: fixed;
    }

    .login-container {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        padding: 2rem 1rem;
        min-height: calc(100vh - 80px);
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .login-copyright {
        position: relative;
        bottom: auto;
        padding: 1rem;
    }

    .glass-box {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }

    .glass-box h2 {
        font-size: 1.5rem;
    }

    .logo-glass-container {
        padding: 1rem 1.5rem;
    }

    /* Modal responsive */
    #terms-modal.modal {
        padding: 0.75rem;
    }

    .modal-dialog {
        width: calc(100vw - 1.5rem);
        max-width: calc(100vw - 1.5rem);
        margin: 0;
    }

    .modal-dialog.modal-lg {
        width: calc(100vw - 1.5rem);
        max-width: calc(100vw - 1.5rem);
    }

    .glass-modal-content {
        max-height: 90vh;
        width: 100%;
    }

    .glass-modal-header {
        padding: 1rem;
    }

    .glass-modal-header h3 {
        font-size: 1.25rem !important;
    }

    .glass-modal-body {
        padding: 1rem;
    }

    .glass-modal-body h1 {
        font-size: 1.5rem;
    }

    .glass-modal-body h2 {
        font-size: 1.25rem;
    }

    .glass-modal-footer {
        padding: 1rem;
    }
}

@media (max-width: 400px) {
    .glass-box {
        padding: 1.5rem 1rem;
    }

    .glass-input {
        padding: 0.75rem 0.875rem;
        font-size: 0.875rem;
    }

    .glass-button {
        padding: 0.75rem 1.25rem;
        font-size: 0.9375rem;
    }

    /* Modal extra small screens */
    #terms-modal.modal {
        padding: 0.5rem;
    }

    .modal-dialog {
        width: calc(100vw - 1rem);
        max-width: calc(100vw - 1rem);
    }

    .modal-dialog.modal-lg {
        width: calc(100vw - 1rem);
        max-width: calc(100vw - 1rem);
    }

    .glass-modal-header {
        padding: 0.75rem;
    }

    .glass-modal-body {
        padding: 0.75rem;
    }

    .glass-modal-footer {
        padding: 0.75rem;
    }

    .glass-modal-body h1 {
        font-size: 1.25rem;
    }

    .glass-modal-body h2 {
        font-size: 1.125rem;
    }

    .glass-modal-body h3 {
        font-size: 1rem;
    }
}

/* ===========================
   Glass Modal Styles
   =========================== */

/* Modal Overlay - blur everything behind */
#terms-modal.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 10, 30, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 1rem;
    box-sizing: border-box;
}

/* Modal Dialog Container */
.modal-dialog {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.modal-dialog.modal-lg {
    max-width: 800px;
}

.modal-content {
    box-sizing: border-box;
}

/* Glass Modal Content */
.glass-modal-content {
    background: rgba(15, 35, 80, 0.3);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-radius: 24px;
    border: 1px solid rgba(100, 150, 255, 0.2);
    box-shadow:
        0 8px 32px 0 rgba(0, 20, 60, 0.37),
        0 0 0 1px rgba(100, 150, 255, 0.1) inset,
        0 2px 12px 0 rgba(31, 80, 180, 0.2);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

/* Glass Modal Header */
.glass-modal-header {
    color: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-bottom: 1px solid rgba(100, 150, 255, 0.15);
    flex-shrink: 0;
}

/* Glass Modal Body - Scrollable content */
.glass-modal-body {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1.5rem;
    color: rgba(220, 235, 255, 0.9);
    line-height: 1.6;
    min-height: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

/* Ensure all content inside modal body wraps properly */
.glass-modal-body * {
    box-sizing: border-box;
    max-width: 100%;
}

/* Style HTML content inside modal */
.glass-modal-body h1,
.glass-modal-body h2,
.glass-modal-body h3,
.glass-modal-body h4,
.glass-modal-body h5,
.glass-modal-body h6 {
    color: rgba(255, 255, 255, 0.95);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.glass-modal-body h1:first-child,
.glass-modal-body h2:first-child,
.glass-modal-body h3:first-child {
    margin-top: 0;
}

.glass-modal-body h1 {
    font-size: 1.75rem;
    font-weight: 700;
}

.glass-modal-body h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

.glass-modal-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.glass-modal-body p {
    margin-top: 0;
    margin-bottom: 1rem;
    color: rgba(220, 235, 255, 0.9);
}

.glass-modal-body p:last-child {
    margin-bottom: 0;
}

.glass-modal-body ul,
.glass-modal-body ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: rgba(220, 235, 255, 0.9);
}

.glass-modal-body li {
    margin-bottom: 0.5rem;
}

.glass-modal-body strong,
.glass-modal-body b {
    color: rgba(255, 255, 255, 0.95);
}

.glass-modal-body a {
    color: rgba(150, 190, 255, 0.9);
    text-decoration: underline;
}

.glass-modal-body a:hover {
    color: rgba(180, 210, 255, 1);
}

.glass-modal-body img {
    max-width: 100%;
    height: auto;
}

.glass-modal-body table {
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

.glass-modal-body pre,
.glass-modal-body code {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
}

/* Custom scrollbar for glass theme */
.glass-modal-body::-webkit-scrollbar {
    width: 8px;
}

.glass-modal-body::-webkit-scrollbar-track {
    background: rgba(15, 30, 70, 0.3);
    border-radius: 4px;
}

.glass-modal-body::-webkit-scrollbar-thumb {
    background: rgba(100, 150, 255, 0.3);
    border-radius: 4px;
}

.glass-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(120, 170, 255, 0.5);
}

/* Glass Modal Footer */
.glass-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(100, 150, 255, 0.15);
    text-align: center;
    flex-shrink: 0;
}

/* ===========================
   Dark Mode Override
   =========================== */

@media (prefers-color-scheme: dark) {
    /* Already optimized for dark - no changes needed */
}
