/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #6c5ce7;
    --secondary-color: #a29bfe;
    --bg-dark: #0f0c29;
    --bg-gradient: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-white: #ffffff;
    --text-gray: #b2bec3;
    --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background: var(--bg-gradient);
    color: var(--text-white);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background Blobs for Atmosphere */
.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.4;
    filter: blur(80px);
    z-index: -1;
    animation: move 20s infinite alternate;
}

.blob:nth-child(1) {
    top: -100px;
    left: -100px;
}

.blob:nth-child(2) {
    bottom: -100px;
    right: -100px;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
    animation-delay: -10s;
}

@keyframes move {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(50px, 50px) scale(1.1);
    }
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(15, 12, 41, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-white);
    text-shadow: 0 0 20px rgba(108, 92, 231, 0.5);
    letter-spacing: -1px;
}

nav a {
    color: var(--text-gray);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    padding-top: 80px;
    /* offset for fixed header */
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #a29bfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-gray);
    max-width: 600px;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.cta-group {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 20px rgba(108, 92, 231, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(108, 92, 231, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Version & Downloads Section */
.features-section,
.download-section {
    padding: 80px 5%;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.card p {
    color: var(--text-gray);
    line-height: 1.5;
}

.download-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
}

.version-info {
    margin-bottom: 30px;
}

.version-info h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.version-date {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: block;
}

.os-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

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

    .cta-group {
        flex-direction: column;
    }
}

.download-card {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.download-card:hover {
    background: rgba(108, 92, 231, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.os-icon {
    font-size: 2rem;
    margin-bottom: 5px;
}

.os-name {
    font-weight: 600;
    font-size: 1.1rem;
}

footer {
    text-align: center;
    padding: 40px;
    color: var(--text-gray);
    border-top: 1px solid var(--glass-border);
    margin-top: 80px;
}

/* Previous Versions */
.previous-versions-container {
    max-width: 900px;
    margin: 40px auto 0;
    padding: 20px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-white);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.previous-version-item {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.2s;
}

.previous-version-item:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.08);
}

.prev-version-info {
    flex: 1;
}

.prev-version-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.prev-version-date {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-left: 10px;
}

.prev-version-desc {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-top: 5px;
}

.prev-downloads {
    display: flex;
    gap: 10px;
}

.mini-btn {
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    border: 1px solid var(--glass-border);
    transition: all 0.2s;
}

.mini-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}