html {
    display: flex;
    justify-content: center;
    background: linear-gradient(180deg, #ffffff, #f0f2f5);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #1c1e21;
    margin: 0;
    padding: 0;
    max-width: 800px;
}

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

h1, h2, h3 {
    color: #333;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header and Navigation */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 10px 0;
    position: fixed;
    width: 100vw;
    top: 0;
    left: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: #1c1e21;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #606770;
    font-weight: 500;
}

.nav-links a:hover {
    color: #007bff;
    text-decoration: none;
}

.cta-button {
    background-color: #007bff;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
}

.cta-button:hover {
    background-color: #0056b3;
    color: #ffffff;
    text-decoration: none;
}


/* Features Section */
#features {
    padding: 80px 0;
}

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

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

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-item i {
    font-size: 50px;
    margin-bottom: 20px;
    color: #007bff;
}

.feature-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 16px;
    color: #606770;
}

/* FAQ Section */
#faq {
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #ffffff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.faq-question {
    font-size: 20px;
    padding: 20px;
    cursor: pointer;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding: 0 20px 20px;
    margin: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust as needed */
}

/* Download Section */
#download {
    padding: 80px 0;
    text-align: center;
    background-color: #ffffff;
    border-top: solid 1px #000000;
}

#download h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

#download p {
    font-size: 18px;
    color: #606770;
    margin-bottom: 40px;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.store-button img {
    height: 60px;
}

/* Footer */
footer {
    background-color: #333;
    color: #f0f2f5;
    padding: 40px 0;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

footer p {
    margin: 0;
    color: #f0f2f5;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.footer-links a {
    color: #f0f2f5;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Hero Carousel */
.hero-carousel-wrapper {
    clip-path: ellipse(120% 60% at 50% 40%);
    position: relative;
    z-index: 999;
    margin-top: 11vh;
}

#gallery {
    height: 100%;
}

main {
    margin-top: -15vh;
    position: relative;
    z-index: 10;
    padding-top: 50px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

/* Carousel Styles */
.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
}

.carousel-slide img {
    width: 100%;
    display: block;
    border-radius: 30px;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 100;
    height: 30px;
    width: 30px;
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-links, .cta-button {
        display: none;
    }

    #hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-image img {
        max-width: 80%;
    }

    footer .container {
        flex-direction: column;
        gap: 20px;
    }
}

/* Sub-Carousel Styles */
#app-preview {
    padding: 80px 0;
}

.sub-carousel-container {
    width: 60%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

/* Language Selector */
.language-selector {
    margin-left: 20px;
}

#lang-switcher {
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background-color: #fff;
}

.no-round .carousel-slide img{
    border-radius: 0 !important;
}