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

:root {
    --bg: #050716;
    --bg-soft: rgba(12, 16, 40, 0.9);
    --card-bg: rgba(18, 24, 56, 0.9);
    --accent: #4da3ff;
    --accent-soft: rgba(77, 163, 255, 0.2);
    --accent-2: #9b7bff;
    --text-main: #f5f7ff;
    --text-soft: #c5c9e8;
    --border-soft: rgba(255, 255, 255, 0.12);
    --radius-lg: 24px;
    --radius-md: 18px;
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.45);
}

html, body {
    height: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
    color: var(--text-main);
    background:
        radial-gradient(circle at 0% 0%, #1b4bff22, transparent 60%),
        radial-gradient(circle at 100% 100%, #9b7bff33, transparent 60%),
        linear-gradient(145deg, #020411, #050716 55%, #02050f);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* HERO */

.hero {
    padding: 32px 16px 16px;
}

.hero-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 24px 20px 32px;
    border-radius: 32px;
    background: radial-gradient(circle at top left, #4da3ff22, transparent 60%),
                radial-gradient(circle at bottom right, #9b7bff22, transparent 60%),
                var(--bg-soft);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
    gap: 32px;
    align-items: center;
}

.logo {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    object-fit: contain;
    margin-bottom: 8px;
}

.hero-text h1 {
    font-size: 2.4rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.hero-text h2 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-soft);
    margin-bottom: 12px;
}

.subtitle {
    font-size: 0.98rem;
    max-width: 40rem;
    color: var(--text-soft);
    margin-bottom: 18px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #ffffff;
    font-weight: 600;
    font-size: 0.97rem;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(0,0,0,0.45);
    border: none;
    transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.55);
    filter: brightness(1.05);
}

.small-note {
    font-size: 0.8rem;
    color: var(--text-soft);
}

.hero-qr {
    display: flex;
    justify-content: flex-end;
}

.qr-card {
    background: linear-gradient(145deg, rgba(12, 21, 54, 0.95), rgba(30, 36, 86, 0.98));
    border-radius: 24px;
    border: 1px solid var(--border-soft);
    padding: 18px 16px 16px;
    text-align: center;
    max-width: 260px;
    width: 100%;
    box-shadow: var(--shadow-soft);
}

.qr-card img {
    width: 180px;
    height: 180px;
    border-radius: 18px;
    margin-bottom: 10px;
    background: #ffffff11;
    object-fit: contain;
}

.qr-card p {
    font-size: 0.85rem;
    color: var(--text-soft);
}

/* SECTIONS */

.section {
    max-width: 1120px;
    margin: 0 auto;
    padding: 28px 20px;
}

.section-header {
    margin-bottom: 18px;
}

.section-header h2 {
    font-size: 1.6rem;
    margin-bottom: 4px;
}

.section-header p {
    color: var(--text-soft);
    font-size: 0.98rem;
}

/* GRID / CARDS */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    padding: 16px 14px 18px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(18px);
}

.card h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.card p {
    font-size: 0.9rem;
    color: var(--text-soft);
}

/* MISSION, SAFETY, HOW-TO */

.mission-body p,
.safety-body p {
    margin-bottom: 10px;
    color: var(--text-soft);
    font-size: 0.96rem;
}

.mission,
.safety,
.how-to {
    background: rgba(5, 9, 26, 0.9);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    margin-top: 12px;
}

.steps {
    margin-top: 6px;
    padding-left: 20px;
    color: var(--text-soft);
    font-size: 0.95rem;
}

.steps li {
    margin-bottom: 8px;
}

/* SCREENSHOTS */

.screenshots {
    margin-top: 8px;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
}

.screenshot-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    padding: 14px 12px 16px;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.screenshot-placeholder {
    height: 220px;
    border-radius: 18px;
    border: 1px dashed rgba(255, 255, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--text-soft);
    background: radial-gradient(circle at top, #4da3ff11, #050716);
    margin-bottom: 10px;
}

.screenshot-card img {
    max-width: 100%;
    max-height: 220px;
    height: auto;
    width: auto;
    object-fit: contain;
    border-radius: 18px;
    margin-bottom: 10px;
}

.screenshot-card p {
    font-size: 0.85rem;
    color: var(--text-soft);
}

/* INFO LINKS */

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.info-grid h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.info-grid p {
    font-size: 0.9rem;
    color: var(--text-soft);
}

.info-grid a {
    color: var(--accent);
    text-decoration: none;
}

.info-grid a:hover {
    text-decoration: underline;
}

/* FOOTER */

.footer {
    max-width: 1120px;
    margin: 0 auto;
    padding: 16px 20px 28px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-soft);
}

.footer-small {
    margin-top: 4px;
}

/* RESPONSIVE */

@media (max-width: 840px) {
    .hero-inner {
        grid-template-columns: 1fr;
        padding: 20px 18px 24px;
    }

    .hero-qr {
        justify-content: flex-start;
    }

    .hero {
        padding-top: 20px;
    }
}

@media (max-width: 520px) {
    .hero-inner {
        padding: 18px 14px 22px;
        border-radius: 24px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text h2 {
        font-size: 1.25rem;
    }

    .cta {
        width: 100%;
    }
}
