:root {
    --bg-color: #F8FAFD;
    --text-primary: #121317;
    --text-secondary: #45474D;
    --accent-color: #000000;
    --blur-blue: rgba(66, 133, 244, 0.15);
    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.grid-background {
    pointer-events: none;
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    fill: rgba(156, 163, 175, 0.25);
    stroke: rgba(156, 163, 175, 0.25);
    mask-image: radial-gradient(600px circle at center, white, transparent);
    -webkit-mask-image: radial-gradient(600px circle at center, white, transparent);
    z-index: 0;
}

.ambient-blur {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--blur-blue), transparent 70%);
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

.blur-top-left {
    top: -200px;
    left: -200px;
}

.blur-bottom-right {
    bottom: -200px;
    right: -200px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.05), transparent 70%);
}

.app-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    animation: fadeDown 0.8s ease-out;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    height: 32px;
    width: auto;
}

.logo {
    font-weight: 500;
    font-size: 1.25rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-btn {
    background-color: var(--text-primary);
    color: white !important;
    padding: 10px 24px;
    border-radius: 9999px;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.nav-btn:hover {
    transform: scale(1.05);
}

.liberty-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background-color: transparent !important;
    color: var(--text-primary) !important;
    border: 0.5px solid rgba(0, 0, 0, 0.8);
}

.liberty-icon {
    height: 24px;
    width: auto;
}

.hero-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Centered */
    text-align: center;
    /* Centered */
    padding-top: 40px;
    position: relative;
}

.content-wrapper {
    max-width: 1000px;
    z-index: 2;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 7rem;
    /* Bigger */
    font-weight: bold;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.5;
    max-width: 700px;
    margin: 0 auto 48px auto;
    /* Centered max-width */
}

.cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Centered */
    gap: 16px;
}

.download-btn {
    text-decoration: none;
    background: var(--text-primary);
    color: white;
    padding: 16px 36px;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.version-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

footer {
    padding: 24px 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .app-container {
        padding: 0 30px;
    }

    .hero-title {
        font-size: 5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .floating-container {
        right: -200px;
        opacity: 0.6;
    }
}

@media (max-width: 768px) {
    .app-container {
        padding: 0 20px;
        height: auto;
        min-height: 100vh;
    }

    .navbar {
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
    }

    .hero-section {
        align-items: center;
        text-align: center;
        padding-top: 20px;
        padding-bottom: 60px;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 32px;
    }

    .cta-group {
        flex-direction: column;
        gap: 12px;
    }

    .floating-container {
        position: relative;
        top: 0;
        right: 0;
        transform: none;
        width: 100%;
        height: 300px;
        margin-top: 20px;
        display: flex;
        justify-content: center;
    }

    .float-item {
        opacity: 0.8;
    }

    .item-1 {
        top: 10%;
        right: 10%;
    }

    .item-2 {
        top: 40%;
        left: 10%;
        right: auto;
    }

    .item-3 {
        top: 70%;
        right: 20%;
    }

    .item-4 {
        top: 20%;
        left: 20%;
        right: auto;
    }

    .item-5 {
        top: 50%;
        right: 10%;
    }
}