:root {
    --bg: #08080b;
    --bg-elevated: #111117;
    --bg-card: #16161e;
    --border: rgba(255, 255, 255, 0.08);
    --text: #f4f4f6;
    --text-muted: #a1a1b2;
    --brand: #aa012a;
    --brand-bright: #e11d48;
    --brand-glow: rgba(170, 1, 42, 0.35);
    --radius: 18px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

/* Header */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    background: rgba(8, 8, 11, 0.8);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.1rem;
}

.brand img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

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

.nav-cta {
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff !important;
    font-weight: 600;
    transition: transform 0.15s ease, background 0.15s ease;
}

.nav-cta:hover {
    background: var(--brand-bright);
    transform: translateY(-1px);
}

/* Hero */
.hero {
    position: relative;
    padding: 84px 0 72px;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -140px;
    left: 50%;
    transform: translateX(-50%);
    width: 680px;
    height: 420px;
    background: radial-gradient(circle, var(--brand-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    display: block;
    width: 112px;
    height: 112px;
    border-radius: 26px;
    box-shadow: 0 20px 50px rgba(170, 1, 42, 0.45);
    margin: 0 auto 22px;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(225, 29, 72, 0.12);
    border: 1px solid rgba(225, 29, 72, 0.35);
    color: #fda4af;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 12px;
}

.hero .tagline {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fda4af;
    margin-bottom: 16px;
}

.hero .subtitle {
    max-width: 660px;
    margin: 0 auto 32px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-bright) 100%);
    color: #fff;
    box-shadow: 0 10px 28px rgba(170, 1, 42, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.meta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Sections */
.section {
    padding: 68px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 42px;
}

.section-header h2 {
    font-size: clamp(1.7rem, 3.2vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

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

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
    border-color: rgba(225, 29, 72, 0.4);
    transform: translateY(-2px);
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(170, 1, 42, 0.2);
    color: #fda4af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

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

/* Release Notes Card */
.release-box {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 32px;
}

.release-list {
    list-style: none;
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.release-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--text-muted);
}

.release-list strong {
    color: var(--text);
}

.check-dot {
    color: #fda4af;
    font-weight: 700;
    flex-shrink: 0;
}

/* Download Section */
.download-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
}

.specs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.spec-tag {
    font-size: 0.82rem;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-muted);
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 36px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

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

@media (max-width: 680px) {
    .nav-links .hide-mobile {
        display: none;
    }
    .hero {
        padding: 56px 0 48px;
    }
    .release-box {
        padding: 22px;
    }
}
