﻿@charset "UTF-8";

:root {
    --color-background: #020814;
    --color-background-2: #061329;
    --color-surface: rgba(9, 22, 46, 0.72);
    --color-surface-solid: #08162f;
    --color-primary: #1268ff;
    --color-primary-2: #00aaff;
    --color-accent: #eaf4ff;
    --color-text: #f7fbff;
    --color-muted: #a8b8d3;
    --color-soft: #65789c;
    --color-border: rgba(110, 171, 255, 0.24);
    --color-focus: #65c8ff;
    --shadow-soft: 0 24px 80px rgba(0, 8, 24, 0.5);
    --shadow-blue: 0 0 40px rgba(18, 104, 255, 0.35);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --max-width: 1180px;
    --header-height: 76px;
    --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--color-background);
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    color: var(--color-text);
    background:
        radial-gradient(circle at 20% 10%, rgba(18, 104, 255, 0.2), transparent 28rem),
        radial-gradient(circle at 80% 0%, rgba(0, 170, 255, 0.12), transparent 24rem),
        linear-gradient(180deg, #020814 0%, #041126 42%, #020814 100%);
    font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
    line-height: 1.5;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

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

button {
    font: inherit;
}

:focus-visible {
    outline: 3px solid var(--color-focus);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    left: 16px;
    top: 16px;
    z-index: 1000;
    transform: translateY(-140%);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    background: var(--color-text);
    color: #031129;
    font-weight: 800;
    transition: transform 180ms var(--ease-out);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: var(--header-height);
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 0 clamp(18px, 4vw, 56px);
    background: linear-gradient(180deg, rgba(2, 8, 20, 0.88), rgba(2, 8, 20, 0.24));
    border-bottom: 1px solid transparent;
    transition: background 220ms var(--ease-out), border-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}

.site-header.is-scrolled {
    background: rgba(3, 11, 27, 0.86);
    border-color: var(--color-border);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(20px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    font-weight: 800;
}

.brand-mark {
    display: grid;
    width: 72px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 10px;
    background: rgba(2, 8, 20, 0.72);
    box-shadow: var(--shadow-blue);
    overflow: hidden;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.brand strong,
.brand small {
    display: block;
    line-height: 1;
}

.brand strong {
    text-transform: uppercase;
}

.brand small {
    margin-top: 5px;
    color: var(--color-muted);
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-left: auto;
    color: var(--color-muted);
    font-size: 0.94rem;
    font-weight: 700;
}

.desktop-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    transition: color 180ms var(--ease-out);
}

.desktop-nav a:hover {
    color: var(--color-text);
}

.nav-cta,
.button,
.floating-cta {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 800;
    transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out), border-color 180ms var(--ease-out), background 180ms var(--ease-out);
}

.nav-cta,
.button.primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-2));
    color: white;
    box-shadow: 0 14px 34px rgba(18, 104, 255, 0.34);
}

.nav-cta {
    padding: 0 18px;
}

.button {
    padding: 0 22px;
}

.button.large {
    min-height: 58px;
    padding-inline: 32px;
    font-size: 1.04rem;
}

.button.full {
    width: 100%;
}

.button.secondary {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--color-border);
    color: var(--color-text);
    backdrop-filter: blur(14px);
}

.nav-cta:hover,
.button:hover,
.floating-cta:hover {
    transform: translateY(-2px);
}

.nav-cta:active,
.button:active,
.floating-cta:active {
    transform: translateY(0) scale(0.98);
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 180ms var(--ease-out), opacity 180ms var(--ease-out);
}

.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
    position: fixed;
    inset: var(--header-height) 16px auto;
    z-index: 99;
    display: none;
    padding: 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: rgba(4, 14, 33, 0.96);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(22px);
}

.mobile-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    border-radius: var(--radius-sm);
    color: var(--color-muted);
    font-weight: 800;
}

.mobile-nav a:not(.button) {
    padding: 0 12px;
}

.hero {
    min-height: 100dvh;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: calc(var(--header-height) + 36px) 20px 72px;
}

.hero-bg,
.hero-overlay,
.particle-field {
    position: absolute;
    inset: 0;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    filter: saturate(1.08) contrast(1.08);
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(2, 8, 20, 0.72), rgba(2, 8, 20, 0.28), rgba(2, 8, 20, 0.78)),
        linear-gradient(180deg, rgba(2, 8, 20, 0.18), rgba(2, 8, 20, 0.9));
}

.particle-field {
    opacity: 0.55;
    background-image:
        radial-gradient(circle, rgba(116, 201, 255, 0.7) 0 1px, transparent 1px),
        linear-gradient(115deg, transparent 0 45%, rgba(0, 170, 255, 0.16) 46%, transparent 48%);
    background-size: 92px 92px, 100% 100%;
    mask-image: linear-gradient(180deg, transparent, black 18%, black 72%, transparent);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(860px, 100%);
    text-align: center;
}

.hero-logo {
    width: min(340px, 86vw);
    height: auto;
    margin: 0 auto 20px;
    filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.55));
}

.eyebrow {
    margin: 0 0 14px;
    color: #79c9ff;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 22px;
    font-size: clamp(2.65rem, 7vw, 6.35rem);
    line-height: 0.94;
    text-wrap: balance;
    letter-spacing: 0;
}

.hero-copy {
    width: min(720px, 100%);
    margin: 0 auto 32px;
    color: #d9e8ff;
    font-size: clamp(1rem, 2.4vw, 1.25rem);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: min(640px, 100%);
    margin: 38px auto 0;
}

.hero-stats div {
    min-height: 94px;
    padding: 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: rgba(3, 13, 31, 0.58);
    backdrop-filter: blur(14px);
}

.hero-stats dt {
    color: white;
    font-size: 1.55rem;
    font-weight: 900;
}

.hero-stats dd {
    margin: 4px 0 0;
    color: var(--color-muted);
    font-size: 0.86rem;
    text-transform: uppercase;
}

.scroll-cue {
    position: absolute;
    bottom: 28px;
    left: 50%;
    z-index: 3;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    transform: translateX(-50%);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
}

.scroll-cue span {
    width: 9px;
    height: 9px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg) translate(-2px, -2px);
}

.section {
    width: min(var(--max-width), calc(100% - 40px));
    margin: 0 auto;
    padding: 112px 0;
}

.section-heading {
    width: min(760px, 100%);
    margin: 0 auto 42px;
    text-align: center;
}

.section-heading.narrow {
    margin-inline: 0;
    text-align: left;
}

.section-heading h2,
.cta-panel h2 {
    margin-bottom: 16px;
    font-size: clamp(2rem, 4.6vw, 4rem);
    line-height: 1.02;
    text-wrap: balance;
}

.section-heading p,
.cta-panel p {
    color: var(--color-muted);
    font-size: 1.04rem;
}

.feature-grid,
.rule-grid,
.social-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.feature-card,
.rule-card,
.social-card,
.benefit,
.timeline li {
    border: 1px solid var(--color-border);
    background: linear-gradient(180deg, rgba(12, 29, 61, 0.78), rgba(5, 15, 34, 0.78));
    box-shadow: 0 18px 56px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(16px);
    transition: transform 200ms var(--ease-out), border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}

.feature-card:hover,
.rule-card:hover,
.social-card:hover,
.benefit:hover {
    transform: translateY(-5px);
    border-color: rgba(101, 200, 255, 0.58);
    box-shadow: var(--shadow-blue);
}

.feature-card {
    min-height: 250px;
    padding: 28px;
    border-radius: var(--radius-md);
}

.feature-card h3,
.rule-card h3,
.timeline h3 {
    margin-bottom: 10px;
    font-size: 1.16rem;
}

.feature-card p,
.rule-card p,
.timeline p,
.social-card small {
    margin-bottom: 0;
    color: var(--color-muted);
}

.icon {
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
    margin-bottom: 22px;
    border-radius: 14px;
    background: rgba(18, 104, 255, 0.18);
    border: 1px solid rgba(101, 200, 255, 0.35);
}

.icon::before,
.icon::after {
    content: "";
    position: absolute;
    inset: 14px;
    border: 2px solid #8dd8ff;
    border-radius: 4px;
}

.icon.jobs::before { border-radius: 999px; }
.icon.jobs::after { inset: 24px 12px 12px; border-radius: 4px; }
.icon.factions::before { transform: rotate(45deg); }
.icon.police::before { border-radius: 999px 999px 5px 5px; }
.icon.hospital::before { inset: 23px 13px; }
.icon.hospital::after { inset: 13px 23px; }
.icon.performance::before { border-radius: 999px; border-top-color: transparent; }

.split {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    align-items: center;
    gap: 48px;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.benefit {
    min-height: 64px;
    display: flex;
    align-items: center;
    padding: 18px 18px 18px 46px;
    border-radius: var(--radius-sm);
    color: #eaf4ff;
    font-weight: 800;
    position: relative;
}

.benefit::before {
    content: "";
    position: absolute;
    left: 18px;
    width: 14px;
    height: 8px;
    border-left: 2px solid #79c9ff;
    border-bottom: 2px solid #79c9ff;
    transform: rotate(-45deg);
}

.timeline {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.timeline li {
    min-height: 230px;
    padding: 24px;
    border-radius: var(--radius-md);
    position: relative;
}

.timeline li::after {
    content: "";
    position: absolute;
    top: 38px;
    right: -13px;
    width: 22px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), transparent);
}

.timeline li:last-child::after {
    content: none;
}

.timeline span {
    display: inline-flex;
    margin-bottom: 36px;
    color: #79c9ff;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.rule-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.rule-card {
    min-height: 180px;
    padding: 22px;
    border-radius: var(--radius-md);
}

.center {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.discord-cta {
    width: min(var(--max-width), calc(100% - 40px));
    margin: 0 auto;
    padding: 44px 0;
}

.cta-panel {
    min-height: 420px;
    display: grid;
    place-items: center;
    align-content: center;
    padding: clamp(32px, 7vw, 86px);
    text-align: center;
    border: 1px solid rgba(101, 200, 255, 0.38);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(135deg, rgba(18, 104, 255, 0.34), rgba(2, 8, 20, 0.74)),
        url("../images/journey-official-banner.png") center / cover;
    box-shadow: var(--shadow-soft), var(--shadow-blue);
    overflow: hidden;
    position: relative;
}

.cta-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(2, 8, 20, 0.64);
}

.cta-panel > * {
    position: relative;
    z-index: 1;
}

.social-card {
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    border-radius: var(--radius-md);
}

.social-card span {
    margin-bottom: 8px;
    font-size: 1.32rem;
    font-weight: 900;
}

.accordion {
    width: min(820px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.accordion-item {
    width: 100%;
    min-height: 64px;
    padding: 0 22px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text);
    background: rgba(9, 22, 46, 0.78);
    text-align: left;
    cursor: pointer;
}

.accordion-item span {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 900;
}

.accordion-item span::after {
    content: "+";
    color: #79c9ff;
    font-size: 1.4rem;
}

.accordion-item[aria-expanded="true"] span::after {
    content: "-";
}

.accordion-item p {
    max-height: 0;
    margin: 0;
    color: var(--color-muted);
    transition: max-height 220ms var(--ease-out), padding-bottom 220ms var(--ease-out);
}

.accordion-item[aria-expanded="true"] p {
    max-height: 140px;
    padding-bottom: 20px;
}

.site-footer {
    width: min(var(--max-width), calc(100% - 40px));
    margin: 0 auto;
    padding: 46px 0 34px;
    display: flex;
    align-items: center;
    gap: 28px;
    border-top: 1px solid var(--color-border);
    color: var(--color-muted);
}

.footer-links {
    display: flex;
    gap: 18px;
    margin-left: auto;
    font-weight: 700;
}

.site-footer p {
    margin: 0;
}

.floating-cta {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 90;
    padding: 0 18px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-2));
    box-shadow: var(--shadow-blue);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(8px);
    transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out), filter 520ms var(--ease-out);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

@media (max-width: 1024px) {
    .desktop-nav,
    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .mobile-nav.is-open {
        display: grid;
    }

    .feature-grid,
    .social-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split,
    .timeline {
        grid-template-columns: 1fr;
    }

    .timeline li::after {
        top: auto;
        right: auto;
        left: 32px;
        bottom: -12px;
        width: 2px;
        height: 22px;
        background: linear-gradient(180deg, var(--color-primary), transparent);
    }

    .rule-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-links {
        margin-left: 0;
        flex-wrap: wrap;
    }
}

@media (max-width: 680px) {
    .site-header {
        padding-inline: 16px;
    }

    .brand small {
        letter-spacing: 0.1em;
    }

    .brand-mark {
        width: 64px;
    }

    .hero {
        padding-inline: 16px;
    }

    .hero-bg {
        object-position: center top;
    }

    .hero-actions,
    .button {
        width: 100%;
    }

    .hero-stats,
    .feature-grid,
    .benefit-grid,
    .rule-grid,
    .social-grid {
        grid-template-columns: 1fr;
    }

    .section,
    .discord-cta,
    .site-footer {
        width: min(100% - 32px, var(--max-width));
    }

    .section {
        padding: 82px 0;
    }

    .section-heading,
    .section-heading.narrow {
        text-align: left;
    }

    .floating-cta {
        left: 16px;
        right: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

