:root {
    color-scheme: dark;
    --bg: #05070d;
    --panel: rgba(255, 255, 255, 0.075);
    --panel-strong: rgba(255, 255, 255, 0.12);
    --text: #f7fbff;
    --muted: rgba(247, 251, 255, 0.72);
    --faint: rgba(247, 251, 255, 0.52);
    --cyan: #20e7ff;
    --pink: #ff3fd2;
    --line: rgba(255, 255, 255, 0.16);
}

* {
    box-sizing: border-box;
}

body {
    position: relative;
    margin: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
    color: var(--text);
    overflow-x: hidden;
    background:
        radial-gradient(circle at 18% 14%, rgba(32, 231, 255, 0.22), transparent 32rem),
        radial-gradient(circle at 84% 18%, rgba(255, 63, 210, 0.18), transparent 30rem),
        linear-gradient(180deg, #07111f 0%, var(--bg) 45%, #020308 100%);
}

body::before,
body::after {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    content: "";
}

body::before {
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 1px, transparent 1.5px),
        radial-gradient(circle, rgba(32, 231, 255, 0.75) 0 1px, transparent 1.7px),
        radial-gradient(circle, rgba(255, 63, 210, 0.62) 0 1px, transparent 1.7px);
    background-position: 0 0, 38px 61px, 91px 22px;
    background-size: 180px 180px, 260px 260px, 330px 330px;
    opacity: 0.5;
    animation: star-drift 46s linear infinite;
}

body::after {
    z-index: -1;
    background:
        linear-gradient(115deg, transparent 0 44%, rgba(32, 231, 255, 0.11) 45%, transparent 47%),
        linear-gradient(64deg, transparent 0 58%, rgba(255, 63, 210, 0.12) 59%, transparent 62%);
    filter: blur(1px);
    opacity: 0.8;
    animation: light-shift 14s ease-in-out infinite alternate;
}

a {
    color: var(--cyan);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.site-header,
.site-footer,
main {
    width: min(980px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 0 18px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: url("app-icon.png") center / cover;
    box-shadow: 0 0 24px rgba(32, 231, 255, 0.42), 0 0 38px rgba(255, 63, 210, 0.25);
}

nav {
    display: flex;
    gap: 16px;
    font-size: 0.95rem;
    font-weight: 650;
}

.hero {
    min-height: 58vh;
    display: grid;
    align-items: center;
    padding: 58px 0 44px;
}

.hero-card,
.content-card {
    border: 1px solid var(--line);
    background: linear-gradient(180deg, var(--panel-strong), var(--panel));
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(18px);
}

.hero-card {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 6vw, 64px);
    border-radius: 24px;
}

.hero-card::before {
    position: absolute;
    inset: -40% -30% auto auto;
    width: 62%;
    height: 92%;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(32, 231, 255, 0.23), rgba(255, 63, 210, 0.12) 46%, transparent 70%);
    content: "";
    filter: blur(18px);
    transform: rotate(-20deg);
}

.app-icon {
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 22%;
    box-shadow: 0 0 34px rgba(32, 231, 255, 0.28), 0 0 58px rgba(255, 63, 210, 0.2);
}

.hero-icon {
    position: relative;
    width: clamp(70px, 13vw, 112px);
    height: clamp(70px, 13vw, 112px);
    margin-bottom: 22px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--cyan);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    line-height: 1.05;
    margin: 0;
}

h1 {
    max-width: 760px;
    font-size: clamp(3rem, 10vw, 6.8rem);
    letter-spacing: -0.02em;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 5vw, 3.2rem);
}

h3 {
    margin-top: 28px;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.lead {
    max-width: 680px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: clamp(1.1rem, 2.5vw, 1.45rem);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    color: #020308;
    background: linear-gradient(135deg, var(--cyan), var(--pink));
    font-weight: 800;
}

.button.secondary {
    color: var(--text);
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid var(--line);
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 16px 0 52px;
}

.tile,
.content-card {
    border-radius: 18px;
    padding: 22px;
}

.tile {
    border: 1px solid var(--line);
    background:
        linear-gradient(145deg, rgba(32, 231, 255, 0.11), transparent 38%),
        rgba(255, 255, 255, 0.07);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

.tile strong {
    display: block;
    margin-bottom: 6px;
}

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

.content-card {
    margin: 32px 0 52px;
}

.content-card ul {
    padding-left: 1.2rem;
}

.meta {
    color: var(--faint);
    font-size: 0.95rem;
}

.site-footer {
    padding: 28px 0 44px;
    color: var(--faint);
    font-size: 0.9rem;
}

@keyframes star-drift {
    from {
        background-position: 0 0, 38px 61px, 91px 22px;
    }

    to {
        background-position: 0 520px, -180px 700px, 220px 620px;
    }
}

@keyframes light-shift {
    from {
        transform: translate3d(-3%, -2%, 0) scale(1);
    }

    to {
        transform: translate3d(3%, 2%, 0) scale(1.04);
    }
}

@media (prefers-reduced-motion: reduce) {
    body::before,
    body::after {
        animation: none;
    }
}

@media (max-width: 720px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    nav {
        flex-wrap: wrap;
    }

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