body {
    font-family: 'Poppins', sans-serif;
    background-color: #fafbf7;
    color: #3c3e2a;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Image optimization styles */
img {
    transition: opacity 0.3s ease-in-out;
}

img.loading {
    opacity: 0.5;
}

img.loaded {
    opacity: 1;
}

/* Lazy loading placeholder */
img[data-src] {
    background: #f0f0f0;
    min-height: 200px;
}

/* Language Selector Styles */
.language-selector {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 1000;
}

.language-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 2px solid #6b7048;
    border-radius: 12px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #3c3e2a;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.language-button:hover {
    background: #f5f6f1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


.language-code {
    font-weight: 600;
    color: #6b7048;
}

.language-button i {
    font-size: 12px;
    color: #6b7048;
    transition: transform 0.3s ease;
}

.language-selector.active .language-button i {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: white;
    border: 2px solid #6b7048;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 180px;
}

.language-selector.active .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: block;
    padding: 12px 20px;
    color: #3c3e2a;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px solid #e0e0e0;
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: #f5f6f1;
    color: #6b7048;
    padding-left: 24px;
}


@media (max-width: 768px) {
    .language-selector {
        top: 120px;
        right: 10px;
    }
    
    .language-button {
        padding: 6px 12px;
        font-size: 14px;
    }
    
    .language-dropdown {
        min-width: 160px;
    }
}

h1, h2 {
    font-weight: 600;
}

main {
    max-width: 960px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.hero {
    text-align: center;
    margin-bottom: 4rem;
    padding: 2rem 0;
    background: linear-gradient(135deg, #fafbf7 0%, #f5f6f1 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-image {
    height: 120px;
    width: auto;
    pointer-events: none;
    user-select: none;
}

.fluentea-logo {
    height: 180px;
    width: auto;
    pointer-events: none;
    user-select: none;
}

.hero-text {
    text-align: left;
}

.hero h1 {
    font-size: 4rem;
    color: #4a4d37;
    margin: 0;
    line-height: 1.1;
}

.tagline {
    font-size: 1.8rem;
    font-weight: 700;
    color: #4a4d37;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.05);
}

.tagline-sub {
    font-size: 1.1rem;
    color: #5a5e42;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-weight: 400;
}

.coming-soon {
    font-size: 1.15rem;
    color: #fff;
    background: linear-gradient(135deg, #9bab54, #8a9a4b);
    padding: 1rem 2rem;
    border-radius: 30px;
    display: inline-block;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(155, 171, 84, 0.3);
    text-decoration: none;
    transition: transform 0.3s ease;
    will-change: transform;
}

.coming-soon:hover {
    color: #fff;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(155, 171, 84, 0.4);
}

.features {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 4rem;
    margin-top: 3rem;
    text-align: center;
}

.feature {
    flex: 1;
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    height: 60px;
}

.feature h2 {
    font-size: 1.3rem;
    color: #4a4d37;
}

.signup-section {
    display: flex;
    gap: 2rem;
    align-items: stretch;
    margin-bottom: 2rem;
}

.signup {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    flex: 1;
}

.video-side {
    flex: 1;
    display: flex;
    align-items: center;
}

.signup h2 {
    color: #4a4d37;
}

.launchlist-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 1rem auto 0;
}

.launchlist-form input {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.launchlist-form button {
    background-color: #9bab54;
    color: white;
    padding: 0.9rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.launchlist-form button:hover {
    background-color: #8a9a4b;
}


.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    background: #f0f0f0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

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

.social-media-section {
    margin-top: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    width: 100%;
    clear: both;
}

.social-follow-text {
    color: #5a5e42;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: block;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-links a {
    color: #6b7048;
    font-size: 2.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: #5a5e42;
    transform: translateY(-3px);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

/* Launch Date Banner Styles */
.launch-banner {
    background: linear-gradient(135deg, #FF8C42 0%, #FF7A30 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 4px 12px rgba(255, 140, 66, 0.15);
    animation: slideDown 0.5s ease-out;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
}

.launch-content {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.launch-timer {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    white-space: nowrap;
    border: 1px solid rgba(255,255,255,0.2);
}

.launch-timer i {
    font-size: 0.85rem;
}

.launch-content h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.launch-content p {
    margin: 0.3rem 0 0 0;
    font-size: 0.9rem;
    opacity: 0.95;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Contest Info Box */
.contest-info-box {
    background: linear-gradient(135deg, #fff8f3, #ffede1);
    border: 2px solid #FF8C42;
    border-radius: 12px;
    padding: 2rem 1.5rem 1.5rem;
    margin: 1.5rem 0;
    position: relative;
    overflow: visible;
}

.contest-badge {
    background: #FF8C42;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    border: 2px solid #fff;
}

.contest-info-box h3 {
    color: #FF8C42;
    margin: 0.5rem 0 1rem 0;
    text-align: center;
}

.contest-info-box ol {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    text-align: left;
}

.contest-info-box li {
    margin: 0.5rem 0;
    color: #5a5e42;
}

.contest-note {
    color: #888;
    font-size: 0.9rem;
    margin-top: 1rem;
    font-style: italic;
}

/* Adjust main content for fixed banner */
body {
    padding-top: 85px;
}

/* Screenshot Slideshow Styles */
.screenshot-slideshow {
    margin: 4rem 0;
    text-align: center;
}

.screenshot-slideshow h2 {
    color: #4a4d37;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.slideshow-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.slide {
    display: none;
    padding: 20px;
}

.slide.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
    will-change: transform, opacity;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.slide-description {
    margin-top: 1.5rem;
    padding: 0 2rem;
}

.slide-description h3 {
    color: #4a4d37;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.slide-description p {
    color: #5a5e42;
    font-size: 1.1rem;
    line-height: 1.6;
}

.slideshow-prev, .slideshow-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(155, 171, 84, 0.8);
    color: white;
    font-weight: bold;
    font-size: 24px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 2;
    will-change: transform;
}

.slideshow-prev:hover, .slideshow-next:hover {
    background-color: #8a9a4b;
    transform: translateY(-50%) scale(1.1);
}

.slideshow-prev {
    left: 20px;
}

.slideshow-next {
    right: 20px;
}

.slideshow-dots {
    text-align: center;
    padding: 20px 0;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 6px;
    background-color: #ddd;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.dot:hover {
    background-color: #9bab54;
}

.dot.active {
    background-color: #8a9a4b;
    width: 24px;
    border-radius: 6px;
}

footer {
    text-align: center;
    margin-top: 4rem;
    padding: 1rem;
    color: #aaa;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .launch-banner {
        padding: 0.6rem 0;
    }

    .launch-content {
        gap: 0.8rem;
        flex-wrap: wrap;
    }

    .launch-timer {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
        order: -1;
    }

    .launch-content h3 {
        font-size: 0.95rem;
        width: 100%;
        order: 1;
    }

    .launch-content p {
        font-size: 0.8rem;
        display: none;
    }

    .language-selector {
        top: 110px;
    }

    body {
        padding-top: 105px;
    }
    
    .signup-section {
        flex-direction: column;
    }
    
    .video-side {
        width: 100%;
        margin-top: 2rem;
    }
    
    .features {
        flex-direction: column;
    }
    
    .logo-container {
        gap: 0.5rem;
    }
    
    .logo-image {
        height: 80px;
        width: auto;
    }
    
    .fluentea-logo {
        height: 120px;
        width: auto;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    main {
        padding: 0 1.5rem;
    }
    
    .slideshow-prev, .slideshow-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .slideshow-prev {
        left: 10px;
    }
    
    .slideshow-next {
        right: 10px;
    }
    
    .slide-description h3 {
        font-size: 1.2rem;
    }
    
    .slide-description p {
        font-size: 1rem;
    }
    
    .screenshot-slideshow h2 {
        font-size: 1.6rem;
    }
    
    .slide img {
        max-width: 800px;
    }
} 