:root {
    --bg: #0b1120;
    --surface: rgba(30, 41, 59, 0.65);
    --border: rgba(148, 163, 184, 0.15);
    --text: #f8fafc;
    --muted: #94a3b8;
    --accent: #38bdf8;
    --accent-hover: #0ea5e9;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}
a { color: var(--accent); }
img { max-width: 100%; display: block; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--accent);
    color: var(--bg);
    padding: .75rem 1rem;
    z-index: 999;
}
.skip-link:focus { left: 1rem; top: 1rem; }

#bg-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 17, 32, .82);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: -.02em;
}
.logo span { color: var(--accent); }
nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}
nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: .95rem;
    font-weight: 500;
    transition: color .2s;
}
nav a:hover, nav a[aria-current="page"] { color: var(--text); }
.btn-outline, .btn-primary {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    border-radius: 10px;
    transition: .2s;
}
.btn-outline {
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: .45rem 1rem;
}
.btn-outline:hover { background: var(--accent); color: var(--bg); }
.btn-primary {
    background: var(--accent);
    color: var(--bg);
    padding: .85rem 1.8rem;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-lg { padding: .85rem 1.8rem; border-radius: 10px; }
.menu-toggle {
    display: none;
    background: none;
    border: 0;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
}

main {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}
.hero {
    text-align: center;
    max-width: 820px;
    margin: 2rem auto 4rem;
}
.badge {
    display: inline-block;
    padding: .35rem .9rem;
    margin-bottom: 1.5rem;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, .3);
    background: rgba(56, 189, 248, .12);
    color: var(--accent);
    font-size: .85rem;
    font-weight: 600;
}
h1 {
    font-size: clamp(2.2rem, 5vw, 3.75rem);
    line-height: 1.15;
    letter-spacing: -.03em;
    margin-bottom: 1.5rem;
}
.hero p, .page-hero p {
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 2rem;
}
.cta-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.card, .panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(8px);
    transition: transform .25s, border-color .25s;
}
.card:hover { transform: translateY(-5px); border-color: rgba(56, 189, 248, .4); }
.card h3, .panel h2, .panel h3 { margin-bottom: .75rem; }
.card p, .panel p, .content p { color: var(--muted); }
.tag {
    display: inline-block;
    margin-top: 1rem;
    color: var(--accent);
    font-size: .8rem;
    font-weight: 600;
}

.page-hero {
    max-width: 820px;
    margin-bottom: 3rem;
}
.breadcrumbs {
    color: var(--muted);
    font-size: .9rem;
    margin-bottom: 1rem;
}
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }
.content { margin-top: 2rem; }
.split {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: start;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.check-list { list-style: none; color: var(--muted); }
.check-list li { padding-left: 1.4rem; position: relative; margin-bottom: .6rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); }

.site-footer {
    border-top: 1px solid var(--border);
    background: rgba(11, 17, 32, .9);
    padding: 2.5rem 1.5rem;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--muted);
    font-size: .9rem;
}
.footer-links { display: flex; gap: 1rem; }
.footer-links a, .footer-container a { color: var(--muted); text-decoration: none; }
.footer-links a:hover, .footer-container a:hover { color: var(--accent); }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
        padding: 1.5rem;
        background: #0f172a;
        border-bottom: 1px solid var(--border);
    }
    nav ul.active { display: flex; }
    .split { grid-template-columns: 1fr; }
}