/* 
   Navpath Design System: Main Layout & Components 
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--surface);
    color: var(--on-surface);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, .font-headline {
    font-family: var(--font-headline);
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
}

/* Tonal Architecture */
.section-low { background-color: var(--surface-container-low); }
.section-base { background-color: var(--surface); }

.card-lowest {
    background-color: var(--surface-container-lowest);
    border-radius: 1.5rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Glass & Gradient */
.glass-hud {
    background: rgba(218, 226, 253, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.cta-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
    color: white;
}

/* Innovation Signal */
.text-signal { color: var(--tertiary); }
.bg-signal { background-color: var(--tertiary); }

.active-accent {
    position: relative;
}
.active-accent::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--tertiary);
    border-radius: 4px;
}

/* Ambient Shadows */
.ambient-shadow, .float-shadow {
    box-shadow: 0 8px 24px rgba(19, 27, 46, 0.06);
}

/* Editorial Scale Typography */
.display-sm { font-size: 3.5rem; line-height: 1.1; }
.headline-lg { font-size: 2.5rem; line-height: 1.2; }
.label-md { 
    font-size: 0.875rem; 
    letter-spacing: 0.05em; 
    text-transform: uppercase; 
    font-weight: 600; 
    color: var(--secondary); 
}

/* Custom Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.js-reveal {
    opacity: 0;
    visibility: hidden;
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .display-sm { font-size: 2.5rem; }
    .headline-lg { font-size: 1.875rem; }
}
