:root {
    --primary-color: #0078d4;
    --bg-color: #1e1e1e;
    --card-bg: #2b2b2b;
    --text-color: #ffffff;
    --secondary-text: #aaaaaa;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Menu */
nav {
    background-color: #0a0a0a;
    border-bottom: 2px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    font-size: 1.1em;
}

.nav-brand:hover {
    color: var(--primary-color);
}

.nav-logo {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.nav-links li {
    margin: 0;
    position: relative;
}

.nav-links a {
    display: block;
    padding: 20px 25px;
    color: var(--secondary-text);
    text-decoration: none;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-color);
    background-color: rgba(0, 120, 212, 0.1);
    border-bottom-color: var(--primary-color);
}

/* Dropdown menu */
.nav-dropdown > a {
    cursor: default;
}

.nav-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #0a0a0a;
    min-width: 220px;
    border: 1px solid #2b2b2b;
    border-top: 2px solid var(--primary-color);
    z-index: 1001;
    list-style: none;
    padding: 0;
    margin: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    padding: 12px 20px;
    border-bottom: 1px solid #2b2b2b;
    font-size: 0.95em;
    white-space: nowrap;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5em;
    cursor: pointer;
    padding: 15px 20px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #0a0a0a;
        border-top: 1px solid #2b2b2b;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        border-bottom: 1px solid #2b2b2b;
        border-left: 3px solid transparent;
    }

    .nav-links a:hover,
    .nav-links a.active {
        border-left-color: var(--primary-color);
        border-bottom-color: transparent;
    }

    .nav-dropdown .dropdown-menu {
        position: static;
        border: none;
        border-top: none;
        box-shadow: none;
        min-width: 0;
        background-color: #111;
    }

    .nav-dropdown .dropdown-menu {
        display: none;
    }

    .nav-dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding-left: 40px;
        font-size: 0.9em;
    }
}

header {
    position: relative;
    background-color: #121212;
    padding: 0;
    text-align: center;
    border-bottom: 4px solid var(--primary-color);
    overflow: hidden;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Carousel Container */
.carousel-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

/* Blur mask on left and right edges */
.carousel-container::before,
.carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.carousel-container::before {
    left: 0;
    background: linear-gradient(to right, rgba(18, 18, 18, 1) 0%, rgba(18, 18, 18, 0) 100%);
}

.carousel-container::after {
    right: 0;
    background: linear-gradient(to left, rgba(18, 18, 18, 1) 0%, rgba(18, 18, 18, 0) 100%);
}

/* Carousel Track */
.carousel-track {
    display: flex;
    gap: 0;
    height: 100%;
    will-change: transform;
    align-items: center;
    transition: transform 0.05s linear;
}

.carousel-track.paused {
    transition: none;
}

/* Carousel Images */
.carousel-image {
    height: 100vh;
    max-height: 300px;
    width: auto;
    object-fit: cover;
    flex-shrink: 0;
    filter: blur(1px) brightness(0.6);
    transition: filter 0.3s ease;
    display: block;
}

.carousel-image:hover {
    filter: blur(0px) brightness(0.8);
}

/* Scroll Animation - handled by JavaScript for seamless looping */

/* Header content overlay */
.header-content {
    position: relative;
    z-index: 3;
    padding: 60px 20px;
}

/* Dark overlay for better text visibility */
header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    pointer-events: none;
}


header h1 {
    font-size: 3em;
    margin-bottom: 10px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 4;
}

.logo {
    height: 80px;
    width: auto;
    vertical-align: middle;
}

.subtitle {
    font-size: 1.2em;
    color: var(--secondary-text);
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 4;
}

main {
    padding: 40px 0;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.feature-card {
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.feature-card h2 {
    color: var(--primary-color);
    margin-top: 0;
}

.download-section {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 60px;
}

.download-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
    margin-top: 20px;
}


.download-btn:hover {
    background-color: #005a9e;
}

.android-section {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 60px;
}

.app-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.store-link {
    display: inline-block;
    transition: transform 0.2s;
}

.store-link:hover {
    transform: scale(1.05);
}

.version {
    margin-top: 10px;
    color: var(--secondary-text);
    font-size: 0.9em;
}

.requirements {
    color: var(--secondary-text);
    font-size: 0.8em;
}

.setup-guide {
    margin-bottom: 60px;
}

.setup-guide ol {
    background-color: var(--card-bg);
    padding: 30px 50px;
    border-radius: 8px;
}

.setup-guide li {
    margin-bottom: 10px;
}

footer {
    text-align: center;
    padding: 20px 0;
    background-color: #121212;
    color: var(--secondary-text);
    font-size: 0.9em;
}