/* ========================================
   Ledger Botje — Shared public styles
   ======================================== */

:root {
    --primary: #1a56db;
    --primary-dark: #1442a8;
    --primary-light: #e8eefb;
    --secondary: #047857;
    --accent: #7c3aed;
    --dark: #111827;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-400: #9ca3af;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --white: #ffffff;
    --radius: 12px;
    --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 10px 10px -5px rgba(0,0,0,.04);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Navigation */
.nav {
    position: fixed; top: 0; left: 0; right: 0;
    background: rgba(255,255,255,.95); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200); z-index: 1000;
    transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: var(--shadow-lg); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { font-size: 1.5rem; font-weight: 800; color: var(--primary); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.nav-logo span { color: var(--dark); }
.nav-links { display: flex; gap: 32px; align-items: center; list-style: none; }
.nav-links a { text-decoration: none; color: var(--gray-600); font-weight: 500; font-size: .95rem; transition: color .2s; }
.nav-links a:hover { color: var(--primary); }
.nav-dropdown { position: relative; }
.nav-dropdown-toggle svg { vertical-align: middle; margin-left: 2px; transition: transform .2s; }
.nav-dropdown.open .nav-dropdown-toggle svg { transform: rotate(180deg); }
.nav-dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: var(--white); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.12); padding: 8px 0; min-width: 200px; z-index: 100; list-style: none; }
.nav-dropdown-menu li { margin: 0; list-style: none; }
.nav-dropdown-menu a { display: block; padding: 10px 20px; color: var(--gray-700) !important; font-size: .9rem; white-space: nowrap; }
.nav-dropdown-menu a:hover { background: var(--primary-light); color: var(--primary) !important; }
.nav-dropdown.open .nav-dropdown-menu { display: block; }
@media (hover: hover) { .nav-dropdown:hover .nav-dropdown-menu { display: block; } .nav-dropdown:hover .nav-dropdown-toggle svg { transform: rotate(180deg); } }
.nav-cta { background: var(--primary); color: var(--white) !important; padding: 10px 24px; border-radius: 8px; font-weight: 600 !important; transition: background .2s, transform .1s; }
.nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 28px; height: 28px; color: var(--dark); }

/* Breadcrumb */
.breadcrumb { padding: 16px 0 0; font-size: .9rem; }
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--gray-400); margin: 0 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: 10px; font-size: 1rem; font-weight: 600; text-decoration: none; transition: all .2s; border: none; cursor: pointer; }
.btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 4px 14px rgba(26,86,219,.35); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,86,219,.4); }
.btn-secondary { background: var(--white); color: var(--dark); border: 2px solid var(--gray-200); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }
.btn-white { background: var(--white); color: var(--primary); box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.btn-block { width: 100%; justify-content: center; }

/* CTA section */
.cta-section { padding: 80px 0; background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); color: var(--white); text-align: center; }
.cta-section h2 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
.cta-section p { font-size: 1.1rem; opacity: .9; margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* Footer */
.site-footer { background: var(--dark); color: #d1d5db; padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand { font-size: 1.3rem; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.footer-brand span { color: #60a5fa; }
.footer-socials { display: flex; gap: 12px; margin-top: 16px; }
.footer-socials a { color: #9ca3af; transition: color .2s; }
.footer-socials a:hover { color: var(--white); }
.site-footer p { font-size: .9rem; line-height: 1.7; }
.site-footer h3 { color: var(--white); font-size: .95rem; font-weight: 700; margin-bottom: 16px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #d1d5db; text-decoration: none; font-size: .9rem; transition: color .2s; }
.site-footer a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid var(--gray-800); padding-top: 24px; display: flex; justify-content: space-between; font-size: .85rem; }

/* Responsive — shared */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.active { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); padding: 24px; border-bottom: 1px solid var(--gray-200); box-shadow: var(--shadow-lg); gap: 16px; }
    .nav-toggle { display: block; }
    .nav-dropdown-menu { position: static; box-shadow: none; background: transparent; padding: 0 0 0 16px; }
    .nav-dropdown-menu a { color: var(--gray-600) !important; padding: 8px 0; }
    .nav-dropdown.open .nav-dropdown-menu { display: block; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; }
}
@media (max-width: 480px) {
    .container { padding: 0 16px; }
}
