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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    background-color: #000000;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 100%;
    overflow: hidden;
}

/* Header */
header {
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
}

.logo-text {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
}

.app-store-link {
    display: block;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.app-store-link:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.app-store-badge {
    height: 50px;
    width: auto;
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    gap: 60px;
}

.main-heading {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    max-width: 800px;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Carousel */
.carousel-container {
    width: 100%;
    height: 450px;
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.carousel-track {
    display: flex;
    gap: 20px;
    position: absolute;
    animation: scroll 40s linear infinite;
    will-change: transform;
}

.carousel-card {
    min-width: 240px;
    height: 380px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.carousel-card:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1.5s ease-in-out;
}

.card-image.before {
    opacity: 1;
    z-index: 1;
}

.card-image.after {
    opacity: 0;
    z-index: 2;
}

.carousel-card.show-after .card-image.after {
    opacity: 1;
}

.carousel-card.show-after .card-image.before {
    opacity: 0;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Footer */
footer {
    padding: 30px 40px;
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-heading {
        font-size: 32px;
        padding: 0 20px;
    }

    header {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }

    .app-icon {
        width: 40px;
        height: 40px;
    }

    .logo-text {
        font-size: 20px;
    }

    .app-store-badge {
        height: 40px;
    }

    .carousel-container {
        height: 320px;
    }

    .carousel-card {
        min-width: 200px;
        height: 300px;
    }

    main {
        gap: 40px;
        padding: 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .separator {
        display: none;
    }
}

/* Page Styles (for privacy, terms, contact) */
.page-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.page-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    line-height: 1.8;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.page-content p {
    margin-bottom: 20px;
}

.back-link {
    display: inline-block;
    margin-top: 30px;
    color: #007AFF;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.back-link:hover {
    opacity: 0.7;
}
