:root {
    --color-dark: #121212;
    --color-dark-alt: #1e1e1e;
    --color-accent: #0088ff;
    --color-accent-hover: #00b3ff;
    --color-text-light: #f5f5f5;
    --color-blur-bg: rgba(255, 255, 255, 0.05);
    --font-family: 'Montserrat', sans-serif;
    --transition-speed: 0.8s;
    --blur-intensity: 10px;
}

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

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--color-text-light);
    background-color: var(--color-dark);
    scroll-behavior: smooth; 
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.background-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('main.jpg') no-repeat center center/cover; 
    filter: blur(8px) brightness(0.6); 
    transform: scale(1.05); 
    z-index: -1;
}

.main-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header-blur-container {
    padding: 15px 0;
    background-color: rgba(18, 18, 18, 0.5); 
    backdrop-filter: blur(5px);
    transition: background-color 0.3s ease;
}

.main-header.scrolled .header-blur-container {
    background-color: rgba(18, 18, 18, 0.9);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.logo {
    font-size: 1.5em;
    font-weight: 800;
    color: var(--color-accent);
    text-decoration: none;
    letter-spacing: 1px;
}

nav.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links a {
    color: var(--color-text-light);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-section h1 {
    font-size: 5em;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(0, 136, 255, 0.6);
}

.hero-section .subtitle {
    font-size: 1.5em;
    font-weight: 300;
    margin-bottom: 40px;
}

.section-padded {
    padding: 100px 0;
}

.section-title {
    font-size: 3em;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    color: var(--color-accent);
}

/* Animation Initial State */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(60px) scale(0.9);
    transition: opacity var(--transition-speed) cubic-bezier(0.17, 0.85, 0.43, 1.3), 
                transform var(--transition-speed) cubic-bezier(0.17, 0.85, 0.43, 1.3);
}

/* Animation Active State */
.animate-on-scroll.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.download-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.platform-card {
    background: var(--color-blur-bg);
    backdrop-filter: blur(var(--blur-intensity)); 
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.platform-card h3 {
    font-size: 2.2em;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--color-accent-hover);
}

.tagline {
    color: #aaa;
    margin-bottom: 30px;
    font-weight: 300;
}

.download-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.note {
    font-size: 0.85em;
    color: #bbb;
    margin-top: 15px;
    background-color: var(--color-dark-alt);
    padding: 15px;
    border-radius: 10px;
    text-align: left;
    border-left: 3px solid var(--color-accent);
}

.note code {
    background-color: #333;
    padding: 2px 5px;
    border-radius: 5px;
    font-weight: 400;
    color: #fff;
    font-size: 0.9em;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-text-light);
    box-shadow: 0 5px 20px rgba(0, 136, 255, 0.4);
    margin-top: 20px;
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    box-shadow: 0 5px 30px rgba(0, 180, 255, 0.6);
    transform: translateY(-2px);
}

.btn-download {
    background-color: var(--color-accent);
    color: var(--color-text-light);
    padding: 12px 25px;
    border-radius: 10px;
}

.btn-download-secondary {
    background-color: var(--color-dark-alt);
    color: var(--color-text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 25px;
    border-radius: 10px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    text-align: center;
}

.feature-item {
    background: var(--color-blur-bg);
    backdrop-filter: blur(var(--blur-intensity));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.feature-icon {
    font-size: 3.5em;
    display: block;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 136, 255, 0.4); 
}

.feature-item h3 {
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 1.5em;
}

.feature-item p {
    color: #ccc;
}

.main-footer {
    background-color: var(--color-dark-alt);
    padding: 30px 0;
    text-align: center;
    font-size: 0.9em;
    border-top: 1px solid #333;
}

.main-footer a {
    color: var(--color-accent);
    text-decoration: none;
}

@media (max-width: 1024px) {
    .hero-section h1 {
        font-size: 4em;
    }
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
    }
    .hero-section h1 {
        font-size: 3em;
    }
    .hero-section .subtitle {
        font-size: 1.2em;
    }
    .nav-links {
        display: none;
    }
    .download-grid {
        gap: 20px;
    }
    .section-title {
        font-size: 2.2em;
    }
}
