/*
 * Highland Engineering Custom Stylesheet
 * Aesthetic: Sleek Engineering Glassmorphism with Bento Architecture
 * Color Palette: Deep Forest (#0a382c), Tech Emerald (#10b981), Amber (#f59e0b), Canvas (#f1f3f4)
 * Strict Constraints: Zero emojis, zero em dashes.
 */

:root {
    --brand-dark: #0a382c;
    --brand-emerald: #10b981;
    --brand-emerald-dark: #D41F26;
    --brand-amber: #f59e0b;
    --brand-canvas: #f1f3f4;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.7);
    --glass-dark-bg: rgba(10, 56, 44, 0.92);
    --glass-dark-border: rgba(16, 185, 129, 0.25);
}

html {
    scroll-behavior: smooth;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--brand-canvas);
    color: #1f2937;
}

body {
    background-color: var(--brand-canvas);
    color: #1f2937;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Sleek Glassmorphism Classes */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem; /* rounded-3xl */
    box-shadow: 0 10px 30px -5px rgba(10, 56, 44, 0.06), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 18px 35px -8px rgba(10, 56, 44, 0.12), 0 6px 12px -3px rgba(0, 0, 0, 0.04);
}

.glass-card-dark {
    background: var(--glass-dark-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-dark-border);
    border-radius: 1.5rem; /* rounded-3xl */
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.35);
}

/* Floating Pill Navigation */
.glass-nav {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 25px -5px rgba(10, 56, 44, 0.08);
}

/* Soft Ambient Lighting Background Elements */
.ambient-glow {
    position: absolute;
    border-radius: 9999px;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

.glow-emerald {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.35) 0%, rgba(16, 185, 129, 0) 70%);
}

.glow-amber {
    background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, rgba(245, 158, 11, 0) 70%);
}

.glow-dark {
    background: radial-gradient(circle, rgba(10, 56, 44, 0.3) 0%, rgba(10, 56, 44, 0) 70%);
}

/* Minimum Touch Targets (44px) */
.touch-target {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Focus Accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #10b981;
    outline-offset: 2px;
}

/* Custom Webkit Scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #0a382c;
    border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #10b981;
}

/* Modal Backdrops with Blur */
.modal-backdrop {
    background: rgba(10, 30, 24, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
