@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    /* Brand Colors */
    --background: #ffffff;
    --foreground: #111827;
    --muted: #f8fafc;
    --border: #e2e8f0;
    --primary: #0f4c81;
    --primary-light: #1e6091;
    --secondary: #334155;
    --accent: #0f766e;
    --heritage: #6b3a00;
    
    /* Text Colors */
    --text-primary: #111827;
    --text-secondary: #334155;
    --text-muted: #64748b;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
    --spacing-2xl: 6rem;
    --spacing-3xl: 10rem;
    
    /* Layout */
    --max-width: 1920px;
    --content-width: 1400px;
    --border-radius: 12px;
    --header-height: 80px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

code, pre {
    font-family: 'JetBrains Mono', monospace;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

p {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.text-sm { font-size: 1rem; }
.text-lg { font-size: 1.5rem; }
.text-muted { color: var(--text-muted); }

/* Layout Components */
.container {
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 5%; /* Fluid padding that scales with screen size */
}

@media (min-width: 1920px) {
    .container {
        padding: 0 var(--spacing-xl); /* Consistent margin on ultra-wide */
    }
}

section {
    padding: var(--spacing-2xl) 0;
}

.section-muted {
    background-color: var(--muted);
}

/* Navigation */
header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-link img {
    height: 32px; /* Fixed height for consistency */
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: var(--transition-fast);
}

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

.nav-cta {
    flex-shrink: 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 76, 129, 0.2);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: var(--muted);
    border-color: var(--text-primary);
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--spacing-lg);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 768px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .nav-links { display: none; } /* Add mobile menu logic later */
}

/* Cards */
.card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    transition: var(--transition-slow);
}

.card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: calc(100vh - var(--header-height));
    padding: var(--spacing-xl) 0;
}

.hero-content {
    flex: 1;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.eyebrow {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    margin-bottom: var(--spacing-sm);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    padding: var(--spacing-2xl) 0;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.footer-col h4 {
    margin-bottom: var(--spacing-lg);
    font-size: 1rem;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
}
