:root {
    --brand-navy: #03306e;
    --brand-primary: #03306e;
    --brand-blue: #022653;
    --brand-indigo: #4f46e5;
    --brand-accent: #0b4b98;
    --brand-emerald: #10b981;
    --bg-light: #ffffff;
    --bg-slate: #f8fafc;
    --text-heading: #0f172a;
    --color-text-body: #475569;
    --line-subtle: #e2e8f0;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    color-scheme: light;
}

body {
    margin: 0;
    background-color: #ffffff;
    overflow-x: hidden;
}



body.modal-open {
    overflow: hidden;
}

/* Custom Sleek Light Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #03306e;
}

/* Royal Blue & Indigo Gradient Utilities (Clean & Modern SaaS Style) */
.gradient-blue-indigo-text {
    background: linear-gradient(135deg, #022653 0%, #03306e 50%, #4f46e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient-blue-indigo {
    background: linear-gradient(135deg, #022653 0%, #03306e 60%, #4f46e5 100%);
}

.shadow-glow-blue {
    box-shadow: 0 10px 25px -4px rgba(3, 48, 110, 0.35), 0 4px 10px -2px rgba(3, 48, 110, 0.2);
}

/* Glassmorphism helpers for Light Theme */
.glass-nav-light {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(226, 232, 240, 0.85);
}

.glass-card-light {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

/* Subtle light-blue grid used behind page heroes. */
.hero-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-size: 56px 56px;
    background-image: 
        linear-gradient(to right, rgba(49, 117, 245, 0.09) 0.75px, transparent 0.75px),
        linear-gradient(to bottom, rgba(49, 117, 245, 0.09) 0.75px, transparent 0.75px);
    pointer-events: none;
}

@media (max-width: 980px) {
    .hero-grid-bg {
        background-size: 36px 36px;
    }
}

@media (max-width: 639px) {
    .hero-ambient-glow,
    .footer-ambient-glow,
    .mobile-navy-glow {
        display: none;
    }

    .mobile-flat-navy {
        background-color: #03306e !important;
        background-image: none !important;
    }
}

/* Rotating Hero Headline Badge */
.hero-rotating-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #eff6ff;
    color: #022653;
    border: 1.5px solid #bfdbfe;
    border-radius: 9999px;
    padding: 2px 16px;
    box-shadow: 0 2px 8px -1px rgba(3, 48, 110, 0.12);
    min-height: 1.35em;
    vertical-align: middle;
}

#hero-rotating-word {
    display: inline-block;
    transition: opacity 0.25s ease, transform 0.25s ease;
    white-space: nowrap;
}

/* Soft Mesh Background Patterns */
.bg-mesh-light {
    background-image: 
        radial-gradient(at 10% 10%, rgba(3, 48, 110, 0.08) 0px, transparent 50%),
        radial-gradient(at 90% 10%, rgba(79, 70, 229, 0.08) 0px, transparent 50%),
        radial-gradient(at 50% 90%, rgba(16, 185, 129, 0.05) 0px, transparent 50%);
}

.bg-dot-pattern {
    background-image: radial-gradient(rgba(0, 43, 102, 0.15) 1.2px, transparent 1.2px);
    background-size: 24px 24px;
}

/* Skip to main content link for a11y */
.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 9999;
    padding: 10px 16px;
    background: #03306e;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    border-radius: 12px;
    transform: translateY(-180%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

/* Pulse animation for live badge */
@keyframes softPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

.animate-soft-pulse {
    animation: softPulse 2.5s infinite ease-in-out;
}

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

@media (max-width: 639px) {
    .footer-bottom {
        text-align: center;
    }

    .footer-tagline {
        width: fit-content;
        max-width: min(100%, 300px);
        justify-content: center;
    }

    .footer-tagline > span:first-child {
        flex: 0 0 8px;
    }

    .footer-tagline > span:last-child {
        max-width: 280px;
        text-align: center;
    }
}
