@import url('index.css');

body {
    background: radial-gradient(120% 120% at 0% 0%, rgba(241, 117, 106, 0.1), rgba(8, 11, 17, 0.96));
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(8, 11, 17, 0.88);
    border-bottom: 1px solid rgba(247, 247, 247, 0.05);
    z-index: 100;
    backdrop-filter: blur(14px);
}

.nav-container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 1.4rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: inherit;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(76, 201, 240, 0.28);
    background: rgba(76, 201, 240, 0.16);
    font-family: var(--font-heading);
}

.brand-name {
    font-family: var(--font-heading);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.nav-link {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.32em;
    font-size: 0.65rem;
    text-decoration: none;
}

.nav-link:hover {
    color: var(--accent-teal);
}

.page-header {
    position: relative;
    padding: 150px 0 110px;
    margin-top: 90px;
    overflow: hidden;
}

.overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(110% 140% at 75% 20%, rgba(76, 201, 240, 0.16), rgba(8, 11, 17, 0.92));
}

.header-inner {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    font-size: 0.75rem;
    color: var(--accent-gold);
    margin-bottom: 1.2rem;
}

.header-inner h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 4vw, 3rem);
    margin-bottom: 1.2rem;
}

.header-inner p {
    color: var(--text-muted);
    line-height: 1.8;
}

.page {
    padding: 80px 0 120px;
}

.layout {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.8rem;
}

.toc {
    position: sticky;
    top: 110px;
    align-self: start;
    background: rgba(10, 13, 20, 0.85);
    border-radius: 22px;
    border: 1px solid rgba(76, 201, 240, 0.18);
    padding: 2rem 1.8rem;
    box-shadow: var(--shadow-card);
}

.toc h2 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 1.4rem;
}

.toc ul {
    list-style: none;
    display: grid;
    gap: 0.9rem;
}

.toc a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.toc a:hover {
    color: var(--accent-teal);
}

.content {
    background: rgba(8, 11, 17, 0.78);
    border-radius: 24px;
    padding: 3rem;
    border: 1px solid rgba(241, 117, 106, 0.18);
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 2.4rem;
}

section h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

section p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

ul {
    margin-left: 1.2rem;
    display: grid;
    gap: 0.7rem;
    color: var(--text-muted);
}

.footer {
    padding: 60px 0;
    text-align: center;
    color: rgba(247, 247, 247, 0.6);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.7rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.footer-links {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.28em;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent-teal);
}

@media (max-width: 900px) {
    .layout {
        grid-template-columns: 1fr;
    }

    .toc {
        position: static;
        display: grid;
        gap: 1rem;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 600px) {
    .content {
        padding: 2.2rem;
    }

    .toc {
        grid-template-columns: 1fr;
    }
}
