@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
    --shell-bg: #ffffff;
    --shell-text: #1f2933;
    --shell-muted: #5b6777;
    --shell-border: #e2e8f0;
    --shell-accent: #4caf50;
    --shell-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    --shell-font: "Space Grotesk", "Trebuchet MS", sans-serif;
}

.site-header {
    background: linear-gradient(120deg, #ffffff 0%, #f4f8ff 45%, #ecfdf3 100%);
    border-bottom: 1px solid var(--shell-border);
    position: sticky;
    top: 0;
    z-index: 2000;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 12% 20%, rgba(76, 175, 80, 0.12), transparent 55%),
        radial-gradient(circle at 85% 10%, rgba(56, 189, 248, 0.1), transparent 55%);
    pointer-events: none;
}

.site-header .shell-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.site-header,
.site-footer {
    font-family: var(--shell-font);
}

.site-header .site-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    letter-spacing: 0.2px;
    color: var(--shell-text);
    text-decoration: none;
    font-size: 18px;
}

.site-header .site-brand span {
    color: var(--shell-accent);
}

.site-header .site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.site-header .nav-item {
    position: relative;
}

.site-header .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--shell-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s ease, color 0.2s ease;
}

.site-header .nav-link:hover {
    background: #f1f5f9;
}

.site-header .nav-link svg {
    width: 16px;
    height: 16px;
}

.site-header .dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 230px;
    background: #ffffff;
    border: 1px solid var(--shell-border);
    border-radius: 12px;
    box-shadow: var(--shell-shadow);
    padding: 8px;
    display: none;
    z-index: 2200;
}

.site-header .nav-item.open > .dropdown {
    display: block;
}

.site-header .dropdown-link {
    display: block;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--shell-text);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.site-header .dropdown-link:hover {
    background: #f1f5f9;
}

.site-header .nav-toggle {
    display: none;
    border: 1px solid var(--shell-border);
    background: #ffffff;
    color: var(--shell-text);
    padding: 6px 10px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.site-footer {
    background: linear-gradient(120deg, #f8fafc 0%, #eff6ff 45%, #ecfdf3 100%);
    border-top: 1px solid var(--shell-border);
    margin-top: 40px;
    position: relative;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 20%, rgba(76, 175, 80, 0.08), transparent 60%),
        radial-gradient(circle at 90% 20%, rgba(59, 130, 246, 0.08), transparent 60%);
    pointer-events: none;
}

.site-footer .shell-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 20px 20px;
    position: relative;
    z-index: 1;
}

.site-footer .footer-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.site-footer .footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--shell-text);
    margin-bottom: 10px;
}

.site-footer .footer-link {
    display: block;
    color: var(--shell-muted);
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 8px;
}

.site-footer .footer-link:hover {
    color: var(--shell-text);
}

.site-footer .footer-bottom {
    margin-top: 18px;
    font-size: 12px;
    color: var(--shell-muted);
    border-top: 1px solid var(--shell-border);
    padding-top: 12px;
    text-align: center;
}

@media (max-width: 980px) {
    .site-header .nav-toggle {
        display: inline-flex;
    }

    .site-header .site-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .site-header .site-nav.open {
        display: flex;
    }

    .site-header .nav-item {
        width: 100%;
    }

    .site-header .nav-link {
        width: 100%;
        justify-content: space-between;
    }

    .site-header .dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
        border-radius: 10px;
        margin-top: 6px;
    }
}
