:root {
    --bg: #000000;
    --panel: #0b0b0b;
    --panel2: #111111;
    --border: rgba(255, 255, 255, .10);
    --text: rgba(255, 255, 255, .94);
    --muted: rgba(255, 255, 255, .65);
    --muted2: rgba(255, 255, 255, .45);
    --accent: #4fc3f7;
    --radius: 18px;
    --max: 1100px;
    --shadow: 0 15px 40px rgba(0, 0, 0, .45);
}


/* GLOBAL */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    background:
        radial-gradient(
            1000px 500px at 50% -100px,
            rgba(79, 195, 247, .15),
            transparent 70%
        ),
        var(--bg);

    color: var(--text);

    font-family:
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    line-height: 1.55;
}

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

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 24px;
}


/* HEADER */

.site-header {
    border-bottom: 1px solid var(--border);
    background: rgba(0, 0, 0, .7);
    backdrop-filter: blur(12px);

    position: sticky;
    top: 0;
    z-index: 20;
}

.header-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 16px 24px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.site-name {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: .03em;
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: center;
}

.nav-links a {
    color: var(--muted);
    font-size: .95rem;

    transition: color .2s ease;
}

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


/* HOMEPAGE INTRO */

.hero {
    padding: 35px 0 15px;
    text-align: center;
}

.hero p {
    max-width: 620px;
    margin: 0 auto;

    color: var(--muted);
    font-size: 1.1rem;
}


/* APP CARDS */

.app-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 22px;

    margin: 20px 0 35px;
}

.app-card {
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .045),
            rgba(255, 255, 255, .015)
        );

    border: 1px solid var(--border);
    border-radius: var(--radius);

    padding: 30px;

    text-align: center;

    box-shadow: var(--shadow);

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.app-card:hover {
    transform: translateY(-4px);

    border-color: rgba(79, 195, 247, .35);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, .5),
        0 0 25px rgba(79, 195, 247, .08);
}

.app-logo {
    width: 100%;
    max-width: 210px;
    height: 210px;

    object-fit: contain;

    margin: 0 auto 22px;

    display: block;
}

.app-card h2 {
    margin: 0 0 10px;

    font-size: 1.65rem;
}

.app-card p {
    color: var(--muted);

    min-height: 74px;
}


/* MAIN JOE'S GARAGE LOGO */

.main-logo-section {
    text-align: center;

    padding: 10px 0 25px;
}

.main-logo {
    width: 210px;
    height: 210px;

    object-fit: contain;

    display: block;

    margin: 0 auto;
}


/* BUTTONS */

.btn {
    display: inline-block;

    padding: 12px 20px;

    border-radius: 12px;

    border: 1px solid rgba(79, 195, 247, .35);

    background: rgba(79, 195, 247, .12);

    color: var(--text);

    font-weight: 700;

    transition:
        background .2s ease,
        border-color .2s ease;
}

.btn:hover {
    background: rgba(79, 195, 247, .22);

    border-color: rgba(79, 195, 247, .55);
}

.btn.secondary {
    background: rgba(255, 255, 255, .06);

    border-color: var(--border);
}

.btn.disabled {
    opacity: .5;

    cursor: default;
}


/* APP DETAIL PAGES */

.app-hero {
    text-align: center;

    padding: 55px 0 30px;
}

.app-hero img {
    max-width: 230px;

    width: 100%;

    object-fit: contain;
}

.app-hero h1 {
    margin-bottom: 8px;
}

.app-hero p {
    color: var(--muted);
}

.content-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;

    margin-top: 30px;
}

.card {
    background: var(--panel);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    padding: 24px;

    box-shadow: var(--shadow);
}

.card h2 {
    margin-top: 0;
}

.card p,
.card li {
    color: var(--muted);
}

.feature-list {
    padding-left: 22px;
}

/* SCREENSHOTS */

.screenshot-section {
    margin-top: 35px;
    text-align: center;
}

.screenshot-section h2 {
    margin-bottom: 22px;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

.screenshot-grid img {
    width: 100%;
    height: auto;

    display: block;

    border-radius: 14px;
    border: 1px solid var(--border);

    box-shadow: var(--shadow);
}

/* SOCIAL / APP LINKS */

.social {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 22px;

    margin: 10px 0 30px;
}

.social a {
    width: 64px;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    transition:
        transform .2s ease,
        opacity .2s ease;
}

.social a:hover {
    transform: translateY(-3px);
    opacity: .8;
}

.social img {
    width: 58px;
    height: 58px;

    object-fit: contain;

    display: block;
}


/* FOOTER */

footer {
    border-top: 1px solid var(--border);

    color: var(--muted2);

    text-align: center;

    padding: 30px 20px;

    margin-top: 35px;
}

footer a {
    color: var(--muted);
}

footer a:hover {
    color: var(--text);
}


/* MOBILE */

@media (max-width: 800px) {

    .container {
        padding: 18px;
    }

    .app-grid,
    .content-grid {
        grid-template-columns: 1fr;
    }

    .header-inner {
        flex-direction: column;

        gap: 10px;

        padding: 14px 18px;
    }

    .nav-links {
        gap: 18px;
    }

    .hero {
        padding: 28px 0 12px;
    }

    .hero p {
        font-size: 1rem;
    }

    .app-grid {
        margin-top: 18px;
    }

    .app-card {
        padding: 24px;
    }

    .app-card p {
        min-height: auto;
    }

    .main-logo {
        width: 190px;
        height: 190px;
    }

    .main-logo-section {
        padding-top: 5px;
    }

    .social {
        gap: 20px;
    }

    .social a {
        width: 60px;
        height: 60px;
    }

    .social img {
        width: 54px;
        height: 54px;
    }
}
