*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #050509;
    color: #f5f5f7;
    line-height: 1.6;
}

.container {
    width: min(1120px, 100% - 3rem);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(16px);
    background: linear-gradient(to bottom, rgba(5, 5, 9, 0.92), rgba(5, 5, 9, 0.6));
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
}

.logo {
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.95rem;
    color: #f5f5f7;
}

.logo span {
    color: #6efacc;
}

.nav a {
    margin-left: 1.5rem;
    color: #d0d0d5;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.15s ease;
}

.nav a:hover {
    color: #ffffff;
}

.hero {
    padding: 4.5rem 0 3.5rem;
    background: radial-gradient(circle at top left, #1a1a2e, #050509 55%);
}

.hero-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-text h1 {
    font-size: clamp(2.1rem, 3vw + 1rem, 3rem);
    line-height: 1.1;
    margin-bottom: 0.9rem;
}

.hero-text p {
    max-width: 36rem;
    color: #d0d0d5;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease,
        transform 0.05s ease;
}

.btn.primary {
    background: linear-gradient(135deg, #6efacc, #4ce5ff);
    color: #050509;
}

.btn.primary:hover {
    transform: translateY(-1px);
}

.btn.ghost {
    border-color: rgba(255, 255, 255, 0.16);
    color: #f5f5f7;
    background: rgba(255, 255, 255, 0.02);
}

.btn.ghost:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.hero-note {
    margin-top: 0.9rem;
    font-size: 0.8rem;
    color: #9a9aa1;
}

.section {
    padding: 3rem 0;
}

.section-alt {
    background: #0a0a12;
}

.section h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.section p {
    color: #d0d0d5;
}

code {
    font-size: 0.88em;
    padding: 0.12em 0.35em;
    border-radius: 0.35rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.feature-card {
    padding: 1.1rem 1.2rem;
    border-radius: 0.9rem;
    background: radial-gradient(circle at top left, rgba(110, 250, 204, 0.1), rgba(18, 18, 30, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-card h3 {
    margin-bottom: 0.4rem;
    font-size: 1rem;
}

.feature-card p {
    font-size: 0.9rem;
}

.download-section {
    text-align: left;
}

.download-section .btn {
    margin-top: 1rem;
}

.download-note {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #9a9aa1;
}

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.5rem 0 2rem;
    background: #050509;
}

.footer-inner {
    text-align: left;
    font-size: 0.8rem;
    color: #9a9aa1;
}

.footer-note {
    margin-top: 0.25rem;
}

@media (max-width: 640px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .nav a {
        margin-left: 0;
        margin-right: 1rem;
    }
}

