:root {
    --site-primary: #0b1020;
    --site-primary-soft: #151c33;
    --site-accent: #5451f0;
    --site-accent-hover: #423ed8;
    --site-cyan: #22b8cf;
    --site-text: #15213a;
    --site-muted: #64708a;
    --site-border: #dfe4ee;
    --site-surface: #fff;
    --site-background: #f6f8fc;
    --site-radius: 18px;
    --site-shadow: 0 18px 55px rgba(27, 38, 73, .10);
}
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--site-text); background: var(--site-background); font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font-family: inherit; }
a { color: inherit; }
img { max-width: 100%; }
section[id] { scroll-margin-top: 76px; }
::selection { color: #fff; background: var(--site-accent); }
:focus-visible { outline: 3px solid rgba(34, 184, 207, .8); outline-offset: 3px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1100; padding: .7rem 1rem; color: #fff; background: var(--site-accent); border-radius: 10px; transform: translateY(-150%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
.site-topbar { min-height: 72px; padding: .75rem 0; background: rgba(11, 16, 32, .96); border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(16px); transition: box-shadow .2s ease, background .2s ease; }
.site-topbar.is-scrolled { background: rgba(11,16,32,.985); box-shadow: 0 8px 28px rgba(4, 8, 20, .22); }
.site-brand { display: inline-flex; align-items: center; gap: .6rem; color: #fff !important; font-size: 1.25rem; font-weight: 800; letter-spacing: -.03em; text-decoration: none; }
.site-brand img { width: auto; max-height: 40px; object-fit: contain; }
.site-logo-fallback { display: inline-flex; align-items: center; gap: .6rem; }
.site-logo-fallback[hidden] { display: none; }
.brand-mark { display: inline-flex; width: 2.15rem; height: 2.15rem; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, var(--site-accent), var(--site-cyan)); border-radius: 10px; box-shadow: 0 8px 22px rgba(84, 81, 240, .35); }
.site-topbar .nav-link { padding: .55rem .75rem !important; color: rgba(255,255,255,.73); font-size: .88rem; font-weight: 600; border-radius: 8px; transition: color .18s ease, background .18s ease; }
.site-topbar .nav-link:hover, .site-topbar .nav-link.active { color: #fff; background: rgba(255,255,255,.08); }
.site-topbar .navbar-toggler { border-color: rgba(255,255,255,.22); }
.site-topbar .navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(84,81,240,.35); }
.btn-site-cta, .btn-site-login { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: .55rem 1rem; font-size: .88rem; font-weight: 700; border-radius: 10px; text-decoration: none; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.btn-site-cta { color: #fff; background: var(--site-accent); border: 1px solid var(--site-accent); box-shadow: 0 9px 24px rgba(84,81,240,.25); }
.btn-site-cta:hover { color: #fff; background: var(--site-accent-hover); border-color: var(--site-accent-hover); transform: translateY(-1px); }
.btn-site-login { color: #fff; border: 1px solid rgba(255,255,255,.28); }
.btn-site-login:hover { color: #fff; background: rgba(255,255,255,.09); }
.site-footer { padding: 68px 0 24px; color: rgba(255,255,255,.65); background: var(--site-primary); }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 3rem; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; }
.footer-grid p { max-width: 350px; margin: .45rem 0 0; line-height: 1.75; }
.footer-grid strong { margin-bottom: .25rem; color: #fff; font-size: .9rem; }
.footer-grid a:not(.site-brand) { color: rgba(255,255,255,.68); font-size: .88rem; text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-brand { margin-bottom: .4rem; }
.footer-brand img { width: auto; max-width: 180px; height: 44px; object-fit: contain; object-position: left center; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .78rem; }
@media (max-width: 991.98px) {
    .site-topbar .navbar-collapse { margin-top: .8rem; padding: .8rem; background: var(--site-primary-soft); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; box-shadow: 0 20px 40px rgba(0,0,0,.22); }
    .site-topbar .navbar-nav { align-items: stretch !important; }
    .site-topbar .nav-link { padding: .7rem .8rem !important; }
    .site-topbar .btn { width: 100%; margin-top: .35rem; }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-grid > div:last-child { grid-column: 2; }
}
@media (max-width: 767.98px) {
    section[id] { scroll-margin-top: 70px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .footer-grid > div:last-child { grid-column: auto; }
    .footer-bottom { flex-direction: column; }
}
@media (max-width: 479.98px) { .footer-grid { grid-template-columns: 1fr; } .footer-grid > div:first-child { grid-column: auto; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
