.page-nav {
    display: block;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--card-border);
}

.page-nav .nav-links a[aria-current="page"] {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.page-hero {
    padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 6vw, 4rem);
}

.page-kicker {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1rem;
}

.page-hero h1 {
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 300;
    letter-spacing: -0.01em;
    line-height: 1.1;
    max-width: 800px;
    animation: heroEntrance 1s ease both;
}

.page-hero h1 strong {
    font-weight: 800;
    background: var(--gradient);
    background-size: 300% 300%;
    animation: animatedgradient 15s ease alternate infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-lead {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 640px;
    margin-top: 1.5rem;
    animation: heroEntrance 1s ease 0.15s both;
}

.page-cta {
    display: flex;
    gap: 8px;
    max-width: 420px;
    margin-top: 2rem;
    animation: heroEntrance 1s ease 0.3s both;
}

.page-section {
    padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.page-section h2 {
    margin-bottom: 1.5rem;
}

.page-section > .container > p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 720px;
    margin-bottom: 1rem;
}

.page-section .services-grid {
    margin-top: 0;
}

.page-steps {
    list-style: none;
    counter-reset: step;
    display: grid;
    gap: 1.5rem;
}

.page-steps li {
    counter-increment: step;
    position: relative;
    padding-left: 3.5rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

.page-steps li::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 800;
    font-size: 1.1rem;
    background: var(--gradient);
    background-size: 300% 300%;
    animation: animatedgradient 15s ease alternate infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-steps strong {
    display: block;
    color: var(--text);
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.page-games {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.page-games .project-image {
    aspect-ratio: 16 / 9;
}

.page-faq details {
    border-bottom: 1px solid var(--card-border);
    padding: 1.25rem 0;
}

.page-faq summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.page-faq summary::-webkit-details-marker {
    display: none;
}

.page-faq summary::after {
    content: '+';
    color: var(--accent);
    font-weight: 300;
    font-size: 1.3rem;
    line-height: 1;
    transition: transform 0.3s;
}

.page-faq details[open] summary::after {
    transform: rotate(45deg);
}

.page-faq details p {
    margin-top: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 720px;
}

.page-final {
    text-align: center;
}

.page-final h2 {
    margin-bottom: 0.75rem;
}

.page-final p {
    color: var(--muted);
}

@media (min-width: 640px) {
    .page-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 3rem;
    }

    .page-games {
        grid-template-columns: repeat(4, 1fr);
    }

    .page-section .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .page-nav .nav-logo {
        display: none;
    }

    .page-nav .nav-links {
        padding-left: 0;
    }
}

a.project-card,
a.project-card:hover {
    color: var(--text);
}
