/* ══════════════════════════════════════════════════
   Buurman — Shared Styles (all pages)
   ══════════════════════════════════════════════════ */

/* ── Satoshi Font ────────────────────────────────── */
@font-face {
    font-family: 'Satoshi';
    src: url('../fonts/Satoshi-Variable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../fonts/Satoshi-VariableItalic.woff2') format('woff2');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

/* ── Reset & Base ────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #0284c7;
    --primary-dark: #0369a1;
    --primary-darker: #075985;
    --primary-light: #38bdf8;
    --primary-lighter: #7dd3fc;
    --primary-50: #f0f9ff;
    --primary-100: #e0f2fe;
    --accent: #f59e0b;
    --success: #10b981;
    --success-dark: #059669;
    --bg: #fafaf9;
    --bg-dark: #0c0d14;
    --surface: #ffffff;
    --surface-dark: #1c1917;
    --text: #1c1917;
    --text-secondary: #57534e;
    --text-muted: #78716c;
    --text-light: #44403c;
    --border: #e7e5e4;
    --border-light: #f5f5f4;
    --radius: 0.75rem;
    --radius-lg: 1.25rem;
    --radius-xl: 1.5rem;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--text);
    line-height: 1.6;
    background: var(--surface);
}

/* ── Utility ─────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.container-wide { max-width: 1320px; margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 2rem; }

/* Animations respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}

/* ── Buttons ─────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.45);
}

.btn-secondary {
    background: var(--surface);
    color: var(--primary);
    border: 2px solid var(--border);
}
.btn-secondary:hover {
    border-color: var(--primary);
    background: var(--primary-50);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
}
.btn-ghost:hover { color: var(--primary); }

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.0625rem;
    border-radius: var(--radius-lg);
}

.btn-disabled {
    background: var(--border);
    color: var(--text-muted);
    box-shadow: none;
    cursor: default;
    pointer-events: none;
}

.btn-success {
    background: linear-gradient(135deg, var(--success) 0%, var(--success-dark) 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}
.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

/* ── Header ──────────────────────────────────────── */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s;
}
.logo-link:hover { opacity: 0.85; }
.logo-link img { height: 40px; width: auto; }

.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
    padding: 0.5rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: all 0.2s;
}
.nav-link:hover { color: var(--primary); background: var(--primary-50); }

/* Mobile menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--text);
}

@media (max-width: 768px) {
    .nav { display: none; }
    .menu-toggle { display: flex; }
    .header-inner { height: 64px; }

    .header.menu-open .nav {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        padding: 1rem 2rem;
        gap: 0.5rem;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    }
    .header.menu-open .nav .nav-link {
        padding: 0.75rem 1rem;
        width: 100%;
    }
}

/* ── Icon Colors ─────────────────────────────────── */
.icon-blue { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.icon-green { background: linear-gradient(135deg, var(--success), var(--success-dark)); }
.icon-amber { background: linear-gradient(135deg, #f59f00, #e67700); }
.icon-gradient { background: linear-gradient(135deg, var(--primary), #f59f00, var(--success)); }

/* ── Gradient Text ───────────────────────────────── */
.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary-lighter) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── CTA Section ─────────────────────────────────── */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--primary-darker) 100%);
    color: white;
    text-align: center;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}
.cta-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.cta-orb-1 { top: -80px; left: -80px; width: 300px; height: 300px; }
.cta-orb-2 { bottom: -60px; right: -60px; width: 250px; height: 250px; }

.cta-content { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.cta h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 900;
    color: white;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}
.cta p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2rem;
    line-height: 1.7;
}
.cta .btn-primary {
    background: white;
    color: var(--primary-dark);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.cta .btn-primary:hover {
    background: var(--primary-50);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}
.cta .btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}
.cta .btn-secondary:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

@media (max-width: 640px) {
    .cta { padding: 3.5rem 1.5rem; }
    .cta-buttons { flex-direction: column; }
    .cta-buttons .btn { width: 100%; }
}

/* ── Footer ──────────────────────────────────────── */
.footer {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--surface-dark) 100%);
    color: #a8a29e;
    padding: 4rem 0 2rem;
    position: relative;
}
.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(2, 132, 199, 0.4), transparent);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand { max-width: 320px; }
.footer-brand-name { font-size: 1.25rem; font-weight: 800; color: #f5f5f4; margin-bottom: 0.75rem; }
.footer-tagline {
    font-size: 0.9375rem;
    color: #a8a29e;
    line-height: 1.7;
}

.footer-col h4 {
    color: #f5f5f4;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.25rem;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.625rem; }
.footer-links a {
    color: #a8a29e;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--primary-lighter); }

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-copy { font-size: 0.875rem; color: #78716c; }
.footer-status { display: flex; align-items: center; opacity: 0.85; transition: opacity 0.2s; }
.footer-status:hover { opacity: 1; }
.footer-contact a {
    font-size: 0.875rem;
    color: #78716c;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-contact a:hover { color: var(--primary-lighter); }

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 2rem; }
}
@media (max-width: 640px) {
    .footer-grid { grid-template-columns: 1fr !important; }
    .footer-brand { max-width: 100%; }
    .footer-bottom { flex-direction: column; text-align: center; }
}


/* ── Scroll Reveal ───────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
