:root {
    --primary-color: #0a84ff;
    --background-color: #1c1c1e;
    --surface-color: #2c2c2e;
    --text-color: #f2f2f7;
    --subtle-text-color: #a2a2a7;
    --border-color: #3a3a3c;
    --font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-family);
    margin: 0;
    line-height: 1.6;
}

header {
    background-color: var(--surface-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 2rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 1rem;
    filter: invert(1);
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 600;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--primary-color);
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
    text-align: left;
}

.hero-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--subtle-text-color);
    margin-bottom: 2rem;
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #0077ee;
}

.hero-image img,
.hero-image video {
    width: 100%;
    border-radius: 20px;
    background-color: var(--surface-color);
    cursor: pointer;
}

.features {
    text-align: center;
    margin-bottom: 6rem;
}

.features h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    background-color: var(--surface-color);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-item p {
    color: var(--subtle-text-color);
}

.showcase {
    position: relative;
    margin-bottom: 6rem;
}

.showcase h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.25s ease-in-out;
}

.carousel-slide {
    min-width: calc(100% / 3);
    padding: 0 10px;
    box-sizing: border-box;
}

.carousel-slide img {
    width: 100%;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.carousel-slide img:hover {
    transform: scale(1.05);
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(44, 44, 46, 0.7);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.carousel-button:hover:not(:disabled) {
    background-color: var(--primary-color);
}

.carousel-button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.carousel-button.prev {
    left: -25px;
}

.carousel-button.next {
    right: -25px;
}

@media (max-width: 900px) {
    .carousel-slide {
        min-width: calc(100% / 2);
    }
}

@media (max-width: 600px) {
    .carousel-slide {
        min-width: 100%;
    }
    .carousel-button.prev {
        left: 5px;
    }
    .carousel-button.next {
        right: 5px;
    }
}

.download-section, .privacy-policy {
    background-color: var(--surface-color);
    padding: 3rem;
    border-radius: 16px;
    margin: 4rem 0;
}

.download-section h2, .privacy-policy h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.download-section p, .privacy-policy p, .privacy-policy h3 {
    color: var(--subtle-text-color);
    max-width: 80ch;
}

.privacy-policy a {
    color: var(--primary-color);
}

.privacy-policy h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-top: 2rem;
}

.store-button {
    display: inline-block;
    margin-top: 2rem;
}

.store-button img {
    height: 60px;
}
.hero-text .requirements {
    margin-top: 1rem;
    font-size: 0.9rem;
}
.requirements {
    margin-top: 1rem;
    font-size: 0.9rem;
}

footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
    color: var(--subtle-text-color);
}

/* Video Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox video {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
}

.close-button {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-button:hover {
    color: var(--primary-color);
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        order: -1;
        margin-bottom: 2rem;
    }

    nav {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        gap: 1rem;
    }
}
