:root {
    --bg-void: #05070b;
    --bg-surface: rgba(14, 18, 28, 0.78);
    --bg-surface-strong: #0d111b;
    --text-primary: #f5f7fb;
    --text-secondary: #a7b0c0;
    --text-tertiary: #697386;
    --accent: #4f8cff;
    --accent-2: #7c5cff;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(79, 140, 255, 0.12), transparent 30%),
        radial-gradient(circle at bottom right, rgba(124, 92, 255, 0.12), transparent 28%),
        var(--bg-void);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.background-blobs {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 999px;
    filter: blur(120px);
    opacity: 0.18;
}

.blob-1 {
    background: var(--accent);
    top: -180px;
    left: -120px;
    animation: drift 18s ease-in-out infinite alternate;
}

.blob-2 {
    background: var(--accent-2);
    right: -140px;
    bottom: -200px;
    animation: drift 22s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(70px, 40px, 0) scale(1.06); }
}

nav {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(14px);
    background: rgba(5, 7, 11, 0.55);
    border-bottom: 1px solid var(--border-subtle);
}

nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.btn-primary {
    padding: 10px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.94);
    color: #0a0e16 !important;
    font-weight: 600;
}

header {
    padding: 88px 0 52px;
}

.hero {
    text-align: center;
}

.hero-badge,
.section-kicker {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border: 1px solid rgba(79, 140, 255, 0.3);
    border-radius: 999px;
    background: rgba(79, 140, 255, 0.08);
    color: #bfd4ff;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.hero h1 {
    margin: 18px auto 18px;
    max-width: 920px;
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.tagline {
    max-width: 760px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1.08rem;
}

.cta-group {
    margin-top: 28px;
}

.btn-hero,
.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    text-decoration: none;
    border-radius: 18px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.btn-hero {
    padding: 16px 28px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 16px 40px rgba(79, 140, 255, 0.22);
}

.btn-hero:hover,
.btn-download:hover {
    transform: translateY(-2px);
}

.version-info {
    margin-top: 14px;
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.section-heading {
    text-align: center;
    margin-bottom: 34px;
}

.section-heading h2,
.download-card h2 {
    margin: 14px 0 10px;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.18;
}

.section-heading p,
.download-card > p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    padding: 34px 0 90px;
}

.feature-card,
.download-card {
    border: 1px solid var(--border-subtle);
    background: var(--bg-surface);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.feature-card {
    padding: 28px;
    border-radius: 24px;
}

.feature-card:hover {
    border-color: rgba(255, 255, 255, 0.16);
}

.feature-card .icon {
    font-size: 2rem;
    margin-bottom: 14px;
}

.feature-card h3 {
    margin: 0 0 8px;
    font-size: 1.16rem;
}

.feature-card p {
    margin: 0;
    color: var(--text-secondary);
}

.download-section {
    padding-bottom: 96px;
}

.download-card {
    padding: 42px;
    border-radius: 32px;
    text-align: center;
}

.download-status {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 28px 0;
}

.status-item {
    padding: 18px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.status-label {
    display: block;
    margin-bottom: 6px;
    color: var(--text-tertiary);
    font-size: 0.86rem;
}

.status-item strong {
    font-size: 1rem;
}

.btn-download {
    width: min(100%, 640px);
    padding: 20px 24px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.96);
    color: #0a0e16;
    text-align: left;
}

.btn-download .icon {
    font-size: 2.3rem;
}

.btn-download .text {
    display: flex;
    flex-direction: column;
}

.btn-download .action {
    font-size: 1.05rem;
    font-weight: 700;
}

.btn-download .meta {
    font-size: 0.9rem;
    color: rgba(10, 14, 22, 0.68);
}

.btn-download.is-disabled {
    cursor: not-allowed;
    opacity: 0.82;
}

.btn-download.is-disabled:hover {
    transform: none;
}

.note {
    margin-top: 20px !important;
    color: var(--text-tertiary) !important;
    font-size: 0.92rem;
}

footer {
    padding: 28px 0 42px;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.84rem;
}

.animate-up {
    opacity: 0;
    transform: translateY(26px);
    animation: fadeUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .features-grid,
    .download-status {
        grid-template-columns: 1fr;
    }

    .download-card {
        padding: 28px 20px;
    }
}

@media (max-width: 640px) {
    nav .container {
        min-height: 64px;
    }

    .nav-links a:first-child {
        display: none;
    }

    header {
        padding-top: 64px;
    }

    .btn-hero,
    .btn-download {
        width: 100%;
    }
}
