:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #0f0f0f;
    --accent: #f0f0f0;
    --text-main: #f0f0f0;
    --text-sub: #888888;
    --glass: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.05);
    --nav-height: 70px;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* --- Components --- */
.btn-primary {
    background-color: var(--accent);
    color: var(--bg-primary);
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-lg {
    padding: 14px 40px;
    font-size: 1rem;
    border-radius: 6px;
    background: var(--accent);
    color: var(--bg-primary);
    display: inline-block;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.btn-outline {
    padding: 16px 36px;
    font-size: 1.1rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    display: inline-block;
}

.btn-accent {
    background: linear-gradient(135deg, #ffffff 0%, #d0d0d0 100%);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.glass {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

/* --- Nav --- */
header {
    height: var(--nav-height);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -1px;
}

.logo img {
    height: 32px;
    border-radius: 6px;
}

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

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

/* --- Sections --- */
main {
    padding-top: var(--nav-height);
}

.hero {
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 100px 20px 40px;
    position: relative;
    overflow: hidden;
}

/* Background blob */
.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    top: -100px;
    right: -200px;
    pointer-events: none;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-sub);
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 400;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.hero-preview {
    margin-top: 60px;
    width: 100%;
    max-width: 900px;
    padding: 0px;
    position: relative;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- Features --- */
.features {
    padding: 120px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 80px;
    letter-spacing: -1.5px;
}

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

.feature-card {
    padding: 48px;
    text-align: left;
    transition: 0.4s;
}

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

.feature-card i {
    width: 48px;
    height: 48px;
    margin-bottom: 32px;
    color: var(--accent);
}

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--text-sub);
}

/* --- CTA --- */
.cta {
    margin: 100px 40px 160px;
    padding: 100px 40px;
    text-align: center;
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.cta p {
    font-size: 1.2rem;
    color: var(--text-sub);
    margin-bottom: 48px;
}

/* --- Footer --- */
footer {
    padding: 80px 40px;
    border-top: 1px solid var(--glass-border);
}

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

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

/* --- Animations --- */
.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-delayed {
    animation: fadeIn 1s ease-out 0.3s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .hero-btns {
        flex-direction: column;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

/* --- Gallery --- */
.gallery {
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.gallery-item {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: 0.4s;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.placeholder-screenshot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: var(--text-sub);
}

.placeholder-screenshot i {
    width: 48px;
    height: 48px;
    opacity: 0.5;
}

.screenshot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.logo img {
    filter: none;
}