:root {
    --bg-dark: #0a0a0c;
    --bg-light: #fafafa;
    --bg-card: #121216;
    --accent-glow: #ffffff;
    --text-bright: #ffffff;
    --text-dark: #111111;
    --text-muted: #8e8e93;
    --border-dark: #1f1f24;
    --border-light: #e5e5ea;
}

/* Smooth Scroll Enablement */
html {
    scroll-behavior: smooth;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-muted);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Floating Navigation Matrix */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-dark);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-logo img {
    height: 32px;
    width: auto;
}

.nav-links a {
    color: var(--text-bright);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-left: 2rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text-muted);
}

/* Full Screen Section Panels */
.panel {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 6rem 2rem 4rem 2rem;
    overflow: hidden;
}

.panel-content {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    z-index: 2;
}

/* Section Specific Background States */
.hero-panel {
    background-color: #020203;
    align-items: center;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    z-index: 1;
    filter: grayscale(100%) contrast(110%);
}

.dark-panel {
    background-color: var(--bg-dark);
    border-bottom: 1px solid var(--border-dark);
}

.light-panel {
    background-color: #ffffff;
    color: var(--text-dark);
}

.light-panel h2 {
    color: var(--text-dark) !important;
}

/* Design Components & Typography */
h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.15;
    color: var(--text-bright);
    margin-bottom: 2rem;
}

.highlight {
    color: transparent;
    -webkit-text-stroke: 1px var(--text-bright);
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--text-bright);
    margin-bottom: 1.5rem;
}

p.lead-text {
    font-size: 1.25rem;
    color: var(--text-bright);
    font-weight: 300;
}

.badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    border: 1px solid var(--border-dark);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.light-panel .badge {
    border-color: var(--border-light);
    color: #555;
}

.text-center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

/* Timeline UI element */
.timeline {
    border-left: 1px solid var(--border-dark);
    padding-left: 2rem;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item:last-child { margin-bottom: 0; }

.time-marker {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 0.5rem;
}

.highlight-item h3 {
    color: var(--text-bright);
}

/* Regional Features */
.card-feature {
    max-width: 800px;
    margin: 0 auto;
}

.uta-callout {
    margin-top: 2.5rem;
    padding: 2rem;
    border-left: 3px solid var(--text-dark);
    background-color: var(--bg-light);
    font-size: 1.1rem;
}

/* Family Structure Elements */
.family-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    padding: 3rem;
    margin-top: 2rem;
}

.family-info h3 {
    color: var(--text-bright);
    margin-bottom: 1rem;
}

/* Interactive Button Suite */
.link-group { display: flex; gap: 1.5rem; margin-top: 2rem; }
.flex-center { justify-content: center; }

.button-flash {
    background-color: var(--text-bright);
    color: var(--text-dark);
    padding: 1rem 2.5rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    border: 1px solid var(--text-bright);
}

.button-flash:hover {
    background-color: transparent;
    color: var(--text-bright);
}

.button-flash-secondary {
    background-color: transparent;
    color: var(--text-bright);
    padding: 1rem 2.5rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid var(--border-dark);
    transition: all 0.3s;
}

.button-flash-secondary:hover {
    border-color: var(--text-bright);
}

.scroll-indicator {
    margin-top: 4rem;
    display: inline-block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.arrow { display: block; font-size: 1.5rem; margin-top: 0.5rem; animation: bounce 2s infinite; }

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

/* Footer elements */
.final-panel { padding-bottom: 0; }
footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 0;
    border-top: 1px solid var(--border-dark);
    font-size: 0.8rem;
}

/* Fluid Responsive Breakpoints */
@media (max-width: 900px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .grid-2 { grid-template-columns: 1fr; gap: 3rem; }
    .nav-links { display: none; } /* Keeps it clean on small screens */
    .panel { min-height: auto; padding: 6rem 1.5rem; }
}
