@font-face {
    font-family: 'Techna Sans';
    src: url('../fonts/TechnaSans-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/Manrope-Light.ttf') format('truetype');
    font-weight: 300;
}
@font-face {
    font-family: 'Manrope';
    src: url('../fonts/Manrope-Regular.ttf') format('truetype');
    font-weight: 400;
}
@font-face {
    font-family: 'Manrope';
    src: url('../fonts/Manrope-Medium.ttf') format('truetype');
    font-weight: 500;
}
@font-face {
    font-family: 'Manrope';
    src: url('../fonts/Manrope-SemiBold.ttf') format('truetype');
    font-weight: 600;
}
@font-face {
    font-family: 'Manrope';
    src: url('../fonts/Manrope-Bold.ttf') format('truetype');
    font-weight: 700;
}
@font-face {
    font-family: 'Manrope';
    src: url('../fonts/Manrope-ExtraBold.ttf') format('truetype');
    font-weight: 800;
}

:root {
    --black: #0a0a0a;
    --dark: #141414;
    --grey-dark: #2b2b2b;
    --grey: #6b6b6b;
    --grey-light: #b8b8b8;
    --white: #f5f5f5;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--black);
    color: var(--white);
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 3rem;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--grey-dark);
}

.logo {
    font-family: 'Techna Sans', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.03em;
    text-transform: lowercase;
    color: var(--white);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-menu a {
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    color: var(--grey-light);
    transition: color 0.2s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--white);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: var(--white);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
}

/* Main */
main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
}

.coming-soon h1 {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 6vw, 4rem);
    letter-spacing: 0.02em;
    color: var(--white);
    margin-bottom: 1rem;
}

.coming-soon p {
    color: var(--grey-light);
    font-weight: 300;
    font-size: 1.1rem;
}

.page-title {
    font-weight: 800;
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin-bottom: 1rem;
}

.page-sub {
    color: var(--grey-light);
    font-weight: 300;
    font-size: 1.1rem;
    max-width: 600px;
}

/* About Us */
.about-main {
    display: block;
    text-align: left;
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem 5rem;
    width: 100%;
}

.about-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 4rem;
}

.page-title.brand {
    font-family: 'Techna Sans', sans-serif;
    font-weight: 400;
    text-transform: lowercase;
    letter-spacing: 0.03em;
}

.about-bio {
    text-align: left;
    margin-top: 2rem;
}

.bio-heading {
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.about-bio p {
    color: var(--grey-light);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.1rem;
}

.about-bio p:last-child {
    margin-bottom: 0;
}

.team-section {
    margin-bottom: 3.5rem;
}

.section-label {
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--grey-dark);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.team-card {
    position: relative;
    background: var(--dark);
    border: 1px solid var(--grey-dark);
    border-radius: 10px;
    padding: 1.75rem;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.team-card:hover {
    border-color: var(--grey);
    transform: translateY(-2px);
}

.team-social {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
}

.social-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--grey-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--grey-light);
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social-btn:hover {
    color: var(--white);
    border-color: var(--grey-light);
    background: var(--grey-dark);
}

.team-name {
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--grey-light);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.9rem;
}

.team-desc {
    color: var(--grey-light);
    font-weight: 300;
    font-size: 0.92rem;
    line-height: 1.55;
}

@media (max-width: 720px) {
    .about-main {
        padding: 3rem 1.5rem 4rem;
    }
}

/* Scenery */
.scenery-main {
    display: block;
    text-align: left;
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem 5rem;
    width: 100%;
}

.scenery-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.store-section {
    margin-bottom: 4rem;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 560px;
    margin: 0 auto;
}

.store-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--dark);
    border: 1px solid var(--grey-dark);
    border-radius: 8px;
    padding: 1.1rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.01em;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.store-btn:hover {
    border-color: var(--grey-light);
    background: var(--grey-dark);
    transform: translateY(-2px);
}

.store-note {
    margin-top: 1.5rem;
    color: var(--grey-light);
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 640px;
}

.airport-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem 2rem;
}

.airport-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1.1rem;
    background: var(--dark);
    border: 1px solid var(--grey-dark);
    border-radius: 8px;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.airport-row:hover {
    border-color: var(--grey-light);
    background: var(--grey-dark);
    transform: translateY(-2px);
}

.airport-name {
    font-weight: 500;
    font-size: 0.95rem;
}

.airport-platforms {
    color: var(--grey-light);
    font-weight: 300;
    font-size: 0.85rem;
    white-space: nowrap;
}

@media (max-width: 720px) {
    .scenery-main {
        padding: 3rem 1.5rem 4rem;
    }

    .store-grid {
        max-width: 100%;
    }

    .airport-list {
        grid-template-columns: 1fr;
    }

    .airport-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }
}

/* C212 */
.c212-main {
    display: block;
    width: 100%;
    padding: 0;
}

.c212-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.c212-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(0.15) brightness(0.6);
}

.c212-hero-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.1) 0%, rgba(10,10,10,0.35) 55%, rgba(10,10,10,0.85) 82%, var(--black) 100%);
    pointer-events: none;
}

.c212-hero-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.c212-hero-text .store-btn {
    margin-top: 1.5rem;
}

.scroll-indicator {
    position: absolute;
    right: 2.5rem;
    bottom: 6rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--grey-light);
}

.scroll-label {
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}

.scroll-chevrons {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 0.8;
}

.scroll-chevrons span {
    display: block;
    font-size: 1.1rem;
    transform: rotate(90deg);
    animation: chevron-pulse 1.6s ease-in-out infinite;
}

.scroll-chevrons span:nth-child(1) { animation-delay: 0s; }
.scroll-chevrons span:nth-child(2) { animation-delay: 0.1s; }
.scroll-chevrons span:nth-child(3) { animation-delay: 0.2s; }
.scroll-chevrons span:nth-child(4) { animation-delay: 0.3s; }
.scroll-chevrons span:nth-child(5) { animation-delay: 0.4s; }

@keyframes chevron-pulse {
    0%, 100% { opacity: 0.25; }
    50% { opacity: 1; }
}

@media (max-width: 720px) {
    .scroll-indicator {
        right: 1.5rem;
        bottom: 4rem;
    }
}

/* Article sections */
.article-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 5rem 2rem;
    text-align: left;
}

.article-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 5rem;
}

.article-row:last-child {
    margin-bottom: 0;
}

.article-row.reverse .article-text {
    order: 2;
}

.article-row.reverse .article-images {
    order: 1;
}

.article-heading {
    font-weight: 800;
    font-size: clamp(1.6rem, 3.5vw, 2.25rem);
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--grey-dark);
}

.article-text p {
    color: var(--grey-light);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.7;
    margin-top: 1.1rem;
}

.article-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.article-images img {
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--grey-dark);
    display: block;
}

.article-images.single {
    grid-template-columns: 1fr;
}

.article-images.single img {
    aspect-ratio: 16 / 10;
}

.article-row.text-only {
    grid-template-columns: 1fr;
}

.article-text.wide {
    max-width: 720px;
}

.article-row.centered {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
}

.article-row.centered .article-text.wide {
    margin: 0 auto;
}

/* Compare slider */
.compare-wrap {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.compare-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--grey-dark);
    user-select: none;
}

.compare-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.compare-after {
    clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.compare-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--pos);
    width: 2px;
    background: var(--white);
    transform: translateX(-1px);
    pointer-events: none;
}

.compare-handle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--white);
    transform: translate(-50%, -50%);
}

.compare-handle::after {
    content: '\2039' '\203A';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--black);
    font-size: 0.9rem;
    font-weight: 700;
}

.compare-range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: ew-resize;
    -webkit-appearance: none;
    appearance: none;
}

@media (max-width: 860px) {
    .article-row,
    .article-row.reverse .article-text,
    .article-row.reverse .article-images {
        order: initial;
    }

    .article-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3.5rem;
    }

    .article-section {
        padding: 3.5rem 1.5rem;
    }
}

.gallery-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 2rem 5rem;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    justify-content: center;
}

.gallery-item {
    background: var(--dark);
    border: 1px solid var(--grey-dark);
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16 / 9;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.gallery-item:hover {
    border-color: var(--grey-light);
    transform: translateY(-2px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 720px) {
    .c212-hero {
        height: 50vh;
    }

    .gallery-section {
        padding: 3rem 1.5rem 4rem;
    }
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 10, 0.95);
    padding: 2rem;
}

.lightbox.open {
    display: flex;
}

.lightbox-img {
    max-width: min(90vw, 1200px);
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 1rem;
}

.lightbox-prev {
    left: 0.5rem;
}

.lightbox-next {
    right: 0.5rem;
}

@media (max-width: 720px) {
    .lightbox-nav {
        font-size: 1.1rem;
        padding: 0.5rem;
    }
}

/* Manuals modal */
.nav-doc-btn {
    background: none;
    border: none;
    padding: 0;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    color: var(--grey-light);
    cursor: pointer;
    transition: color 0.2s ease;
}

.nav-doc-btn:hover {
    color: var(--white);
}

.manuals-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 10, 0.85);
    padding: 1.5rem;
}

.manuals-overlay.open {
    display: flex;
}

.manuals-modal {
    width: 100%;
    max-width: 380px;
    background: var(--dark);
    border: 1px solid var(--grey-dark);
    border-radius: 10px;
    padding: 2rem;
}

.manuals-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.manuals-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.manuals-item {
    display: block;
    padding: 0.85rem 1.1rem;
    border-radius: 8px;
    border: 1px solid var(--grey-dark);
    text-align: center;
    font-weight: 500;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.manuals-item:hover {
    border-color: var(--grey-light);
    background: var(--grey-dark);
    transform: translateY(-2px);
}

.manuals-close {
    display: block;
    width: 100%;
    padding: 0.75rem 1.1rem;
    border-radius: 8px;
    border: 1px solid var(--grey-dark);
    background: none;
    color: var(--grey-light);
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.manuals-close:hover {
    border-color: var(--grey-light);
    color: var(--white);
}

/* Support */
.support-main {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 4rem 2rem;
    width: 100%;
    min-height: 50vh;
}

.support-intro.centered {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.support-intro .page-sub {
    max-width: 480px;
    margin-top: 1rem;
}

.discord-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 2rem;
    background: var(--white);
    color: var(--black);
    border-radius: 8px;
    padding: 0.9rem 2rem;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.discord-cta:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

@media (max-width: 720px) {
    .support-main {
        padding: 3rem 1.5rem;
    }
}

/* Footer */
.site-footer {
    padding: 2.5rem 3rem;
    border-top: 1px solid var(--grey-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.site-footer .logo {
    font-size: 1.1rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-text {
    color: var(--grey);
    font-size: 0.85rem;
    font-weight: 300;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.footer-social {
    display: flex;
    gap: 0.6rem;
}

.footer-email {
    color: var(--grey-light);
    font-size: 0.85rem;
    font-weight: 300;
    transition: color 0.2s ease;
}

.footer-email:hover {
    color: var(--white);
}

@media (max-width: 720px) {
    .site-header {
        padding: 1.25rem 1.5rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--dark);
        border-bottom: 1px solid var(--grey-dark);
        padding: 1.5rem;
        gap: 1.25rem;
        display: none;
    }

    .nav-menu.open {
        display: flex;
    }

    .site-footer {
        flex-direction: column;
        text-align: center;
    }

    .footer-brand,
    .footer-contact {
        align-items: center;
    }
}
