/* ============================================
   Blueprint Design System — shared across pages
   ============================================ */

:root {
    --primary-color: #1e40af;
    --secondary-color: #2563eb;
    --accent-color: #1e3a8a;
    --text-primary: #1a1a1a;
    --text-secondary: #666;
    --bg-primary: #ffffff;
    --bg-dark: #0c1425;
    --gradient-primary: linear-gradient(135deg, #1e40af, #2563eb);
    --shadow-elegant: 0 2px 8px rgba(0, 0, 0, 0.04), 0 8px 32px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --blueprint: #1a2744;
    --line: rgba(96, 165, 250, 0.09);
    --line-bright: rgba(96, 165, 250, 0.14);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* Header */
header {
    position: fixed; top: 0; width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    z-index: 1000; border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

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

.logo {
    font-size: 1.2rem; font-weight: 700;
    background: var(--gradient-primary); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; background-clip: text;
    text-decoration: none; letter-spacing: -0.02em;
}

.nav-links { display: flex; list-style: none; gap: 2.5rem; }

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

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

.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after { width: 100%; }

/* Blueprint background layer */
.blueprint-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.blueprint-bg svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    min-width: 1400px;
    min-height: 900px;
}

/* Blueprint grid — reusable on any hero section */
.blueprint-hero {
    position: relative;
    background: var(--blueprint);
    overflow: hidden;
}

.blueprint-hero::before {
    content: ''; position: absolute; inset: 0;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.blueprint-hero::after {
    content: ''; position: absolute; inset: 0;
    background-image:
        linear-gradient(var(--line-bright) 1px, transparent 1px),
        linear-gradient(90deg, var(--line-bright) 1px, transparent 1px);
    background-size: 200px 200px;
    pointer-events: none;
}

/* Footer */
footer {
    background: var(--blueprint); color: white; padding: 3rem 0 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem; text-align: center; color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

/* Responsive base */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .blueprint-bg svg { width: 200%; min-width: 800px; }
}
