:root {
    --bg: #030712;
    --primary: #6366f1;
    --primary-light: #818cf8;
    --accent: #a855f7;
    --text: #f9fafb;
    --text-muted: #9ca3af;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.08);
}

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

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ─── Navbar ────────────────────────────────────────────────────────────── */

.navbar {
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0; width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(3, 7, 18, 0.8);
    border-bottom: 1px solid var(--border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    background: linear-gradient(to right, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

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

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

/* ─── Hero ──────────────────────────────────────────────────────────────── */

.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15), transparent 70%);
    filter: blur(80px);
    z-index: -1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-content {
    max-width: 600px;
    text-align: left;
}

.badge {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-light);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(99, 102, 241, 0.2);
    display: inline-block;
    margin-bottom: 20px;
}

h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -2px;
}

.gradient-text {
    background: linear-gradient(to right, #818cf8, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-mockup {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5), 0 18px 36px -18px rgba(0, 0, 0, 1);
    border: 1px solid var(--border);
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
    animation: float 6s ease-in-out infinite;
}

.hero-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

@keyframes float {
    0%, 100% { transform: perspective(1000px) rotateY(-15deg) rotateX(5deg) translateY(0); }
    50% { transform: perspective(1000px) rotateY(-15deg) rotateX(5deg) translateY(-20px); }
}

.glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 120%; height: 120%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent 70%);
    z-index: -1;
    filter: blur(40px);
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.4);
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

.btn-secondary {
    background: var(--glass);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.btn-secondary:hover { background: rgba(255, 255, 255, 0.08); }

/* ─── Features ──────────────────────────────────────────────────────────── */

.features { padding: 100px 0; }

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 15px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 24px;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

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

/* ─── Download ──────────────────────────────────────────────────────────── */

.download-section {
    padding: 100px 0;
    text-align: center;
}

.download-section h2 { margin-bottom: 50px; font-family: 'Outfit', sans-serif; }

.platform-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.platform-card {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 20px;
    width: 250px;
    transition: all 0.3s;
}

.platform-card:hover { border-color: var(--primary); }

.p-icon { 
    margin-bottom: 20px; 
}

.p-icon img {
    width: 64px;
    height: 64px;
    opacity: 0.9;
}

.platform-card.detected {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
    transform: scale(1.05);
}

.btn-sm {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ─── Footer ────────────────────────────────────────────────────────────── */

.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 50px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-mockup {
        transform: none;
        animation: float-simple 6s ease-in-out infinite;
    }

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

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