:root {
    --bg-main: #050505;
    --bg-card: #0a0a0a;
    --text-main: #f5f5f5;
    --text-muted: #a1a1aa;
    --accent-blue: #2196F3;
    --accent-glow: rgba(33, 150, 243, 0.5);
    --border-color: rgba(255, 255, 255, 0.1);
    --border-highlight: rgba(255, 255, 255, 0.25);
    --card-shadow: 0 4px 24px -4px rgba(0, 0, 0, 0.5);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Glow */
.glow-bg {
    position: fixed;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, rgba(5, 5, 5, 0) 70%);
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
    pointer-events: none;
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo {
    height: 32px;
    width: 32px;
}

.nav-brand {
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

/* Buttons */
.btn-primary, .btn-primary-outline, .btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--accent-blue);
    color: #fff;
    border: 1px solid var(--accent-blue);
    box-shadow: 0 0 15px rgba(33, 150, 243, 0.3);
}

.btn-primary:hover {
    background: #1e88e5;
    box-shadow: 0 0 25px rgba(33, 150, 243, 0.5);
    transform: translateY(-2px);
}

.btn-primary-outline {
    background: transparent;
    border: 1px solid var(--border-highlight);
    color: var(--text-main);
}

.btn-primary-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-main);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

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

/* Layout */
main {
    padding-top: 100px; /* Space for fixed header */
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 4rem;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 6rem 2rem;
    min-height: 80vh;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.image-box {
    padding: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(145deg, #111 0%, #050505 100%);
}

.hero-logo-img {
    width: 100%;
    max-width: 300px;
    filter: drop-shadow(0 0 40px rgba(33, 150, 243, 0.2));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Bento Box General */
.bento-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    transition: border-color 0.3s ease;
}

.bento-box:hover {
    border-color: var(--border-highlight);
}

/* Features */
.features {
    padding: 4rem 2rem;
}

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

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    grid-auto-rows: minmax(200px, auto);
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-highlight);
}

.col-span-2 {
    grid-column: span 2;
}

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

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

/* Downloads Section */
.downloads {
    padding: 6rem 2rem;
    text-align: center;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.download-card {
    justify-content: space-between;
}

.download-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.badge {
    background: rgba(33, 150, 243, 0.1);
    color: var(--accent-blue);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

.highlight-card {
    background: linear-gradient(180deg, rgba(33, 150, 243, 0.05) 0%, rgba(10, 10, 10, 1) 100%);
    border-color: rgba(33, 150, 243, 0.3);
}

.highlight-card:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 0 30px rgba(33, 150, 243, 0.1);
}

.tech-specs {
    margin: 1.5rem 0;
    display: flex;
    gap: 1rem;
}

.tech-specs span {
    font-size: 0.85rem;
    color: var(--text-muted);
    background: rgba(255,255,255,0.05);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
}

.download-btn {
    width: 100%;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--text-main);
}

.footer-logo {
    width: 24px;
    height: 24px;
}

/* Animations */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 2rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .col-span-2 {
        grid-column: span 1;
    }
    
    .download-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
