:root {
    --dark-navy: #0a192f;
    --light-navy: #112240;
    --lightest-navy: #233554;
    --slate: #8892b0;
    --light-slate: #a8b2d1;
    --lightest-slate: #ccd6f6;
    --white: #e6f1ff;
    --cyan: #64ffda;
}

body {
    background-color: var(--dark-navy);
    color: var(--light-slate);
    font-family: 'IBM Plex Mono', monospace;
    margin: 0;
    padding: 2rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    --cursor-x: 50%;
    --cursor-y: 50%;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at var(--cursor-x) var(--cursor-y), rgba(100, 255, 218, 0.04), transparent 40%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

h1, h2, h3, p, li {
    margin: 0;
}

h1 {
    font-size: 3rem;
    color: var(--lightest-slate);
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--cyan);
    text-shadow: 0 0 5px rgba(100, 255, 218, 0.3);
    transition: color 0.3s ease, text-shadow 0.3s ease, letter-spacing 0.3s ease;
}

h2:hover {
    color: var(--cyan);
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.7);
    letter-spacing: 1px;
}

h3 {
    font-size: 1.2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--light-slate);
    font-weight: 700;
    transition: color 0.3s ease, letter-spacing 0.3s ease;
}

h3:hover {
    color: var(--cyan);
    letter-spacing: 1px;
}

ul {
    list-style-type: '» ';
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

header {
    text-align: center;
    margin-bottom: 4rem;
}

header p {
    font-size: 1.2rem;
    color: var(--cyan);
}

nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
    padding: 1rem 0;
}

nav a {
    color: var(--light-slate);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

nav a:hover {
    color: var(--cyan);
    transform: translateY(-3px);
}

section a {
    color: var(--cyan);
    text-decoration: none;
    position: relative;
}

section a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--cyan);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

section a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

strong {
    color: var(--lightest-slate);
    font-weight: 700;
}

section {
    margin-bottom: 3rem;
}

footer {
    text-align: center;
    margin-top: 4rem;
    padding-top: 1rem;
}

footer p {
    color: var(--slate);
    font-size: 1rem;
}

@media (max-width: 768px) {
    body {
        padding: 1rem;
    }

    .container {
        padding: 1rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    header, nav {
        margin-bottom: 2rem;
    }

    nav {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}
