/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FF9C39;
    --primary-dark: #e88a2d;
    --bg-light: #F6F6F6;
    --bg-accent: #00E5FF;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --white: #ffffff;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    text-align: center;
    padding: 40px 20px 20px;
}

.logo {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 40px 20px;
}

.hero h1 {
    font-family: Impact, 'Arial Black', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 30px;
    color: var(--text-dark);
}

/* Stats Badge */
.stats-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.stars {
    color: #FFD700;
    font-size: 1.5rem;
}

.download-count {
    display: flex;
    align-items: center;
    gap: 8px;
}

.laurel {
    font-size: 1.5rem;
}

.download-count span {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Store Buttons */
.store-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background-color: var(--text-dark);
    color: var(--white);
    text-decoration: none;
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.store-btn img {
    width: 28px;
    height: 28px;
}

.store-btn .store-text {
    text-align: left;
}

.store-btn .store-text small {
    font-size: 0.7rem;
    opacity: 0.8;
    display: block;
}

.store-btn .store-text span {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Content Section */
.content-section {
    padding: 60px 20px;
    text-align: center;
}

.content-section h2 {
    font-family: Impact, 'Arial Black', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 20px;
}

.content-section p {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 15px;
}

/* Image Showcase */
.showcase {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 40px 20px;
}

.showcase-item {
    border-radius: 20px;
    overflow: hidden;
    max-width: 100%;
}

.showcase-item.yellow-bg {
    background-color: var(--bg-accent);
    padding: 20px;
}

.showcase-item.gray-bg {
    background-color: var(--bg-light);
    padding: 20px;
}

.showcase-item img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Features */
.features {
    padding: 60px 20px;
    background-color: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 40px 20px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 1;
}

.copyright {
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Legal Pages Styles */
.legal-page {
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.legal-page h1 {
    font-family: Impact, 'Arial Black', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-align: center;
}

.legal-page .effective-date {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.legal-page h2 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.legal-page p {
    margin-bottom: 15px;
    color: var(--text-gray);
}

.legal-page a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-page a:hover {
    text-decoration: underline;
}

/* Back link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 30px;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .store-buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .showcase {
        flex-direction: column;
        align-items: center;
    }

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

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* Language Switcher */
.lang-switcher {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
}

.lang-btn {
    padding: 8px 12px;
    border: 2px solid var(--text-dark);
    background: transparent;
    color: var(--text-dark);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.lang-btn:hover {
    background: var(--text-dark);
    color: var(--white);
}

.lang-btn.active {
    background: var(--text-dark);
    color: var(--white);
}

header {
    position: relative;
}

/* Screenshots Carousel */
.screenshots-section {
    padding: 60px 20px;
    background-color: var(--bg-light);
    overflow: hidden;
}

.screenshots-section h2 {
    font-family: Impact, 'Arial Black', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 40px;
}

.screenshots-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 20px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.screenshots-carousel::-webkit-scrollbar {
    display: none;
}

.screenshot-item {
    flex: 0 0 auto;
    scroll-snap-align: center;
    width: 280px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.screenshot-item:hover {
    transform: scale(1.02);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.carousel-nav button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--text-dark);
    background: var(--white);
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-nav button:hover {
    background: var(--text-dark);
    color: var(--white);
}

@media (max-width: 768px) {
    .screenshot-item {
        width: 220px;
    }

    .carousel-nav button {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
