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

:root {
    --primary-color: #FF6B6B;
    --primary-hover: #FF5252;
    --secondary-color: #4ECDC4;
    --secondary-hover: #45B7AF;
    --dark-color: #2C3E50;
    --text-color: #333;
    --text-light: #6c757d;
    --light-bg: #F8F9FA;
    --white: #ffffff;
    --border-color: #dee2e6;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);

    --gradient-start: #10B981;
    --gradient-end: #059669;
    --accent-color: #10B981;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

.header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.brand-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
}

.language-switcher {
    display: flex;
    gap: 4px;
    background-color: var(--light-bg);
    padding: 4px;
    border-radius: 8px;
}

.lang-btn {
    padding: 6px 14px;
    border: none;
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s;
    font-size: 0.9rem;
}

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

.lang-btn:hover:not(.active) {
    color: var(--text-color);
}

.hero {
    background: var(--light-bg);
    color: var(--text-color);
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}


.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    color: var(--dark-color);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.hero-secondary {
    margin-top: 1rem;
    font-size: 1rem;
    color: var(--text-light);
}

.link-secondary {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

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

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-large {
    padding: 1.1rem 2.5rem;
    font-size: 1.15rem;
}

.btn-primary {
    background-color: var(--dark-color);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(44, 62, 80, 0.4);
}

.btn-primary:hover {
    background-color: #1a252f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.5);
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.hero-feature-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
    text-align: center;
}

.hero-feature-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.hero-feature-icon {
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.hero-feature-icon svg {
    display: block;
    margin: 0 auto;
}

.hero-feature-card h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.hero-feature-card p {
    color: var(--text-light);
    line-height: 1.5;
    font-size: 0.85rem;
}

.features {
    padding: 80px 20px 100px;
    background-color: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 30px;
    overflow: visible;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
    text-align: center;
}

.feature-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-6px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.feature-icon svg {
    display: block;
    margin: 0 auto;
    width: 56px;
    height: 56px;
}

.feature-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
}

.feature-card p {
    color: var(--text-color);
    line-height: 1.7;
    font-size: 1rem;
}

.gallery {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.gallery .container {
    max-width: none;
    padding: 0;
}

.gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
    font-weight: 700;
}

.gallery-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 16px 20px;
    scrollbar-width: thin;
    scrollbar-color: #adb5bd transparent;
}

.gallery-scroll > :first-child {
    margin-left: auto;
}

.gallery-scroll > :last-child {
    margin-right: auto;
}

.gallery-scroll::-webkit-scrollbar {
    height: 8px;
}

.gallery-scroll::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 4px;
}

.gallery-scroll::-webkit-scrollbar-thumb {
    background: #adb5bd;
    border-radius: 4px;
}

.gallery-scroll::-webkit-scrollbar-thumb:hover {
    background: #868e96;
}

.gallery-item {
    flex-shrink: 0;
    height: 500px;
    width: auto;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.download {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--light-bg);
}

.download h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
    font-weight: 700;
}

.download-options {
    max-width: 600px;
    margin: 0 auto;
}

.platform-group {
    margin-bottom: 2rem;
}

.platform-group h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.btn-store {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
}

.btn-store:hover {
    filter: brightness(0.9);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.store-icon {
    display: inline-flex;
    align-items: center;
}

.store-icon svg {
    display: block;
}

.coming-soon {
    color: var(--text-light);
    font-style: italic;
    margin-top: 0.5rem;
}

.in-development {
    color: var(--text-light);
    font-style: italic;
    font-size: 1.1rem;
}

.web-version {
    margin-top: 2rem;
    font-size: 1.1rem;
}

.web-version .link-secondary {
    text-decoration: underline;
}

.footer {
    background-color: var(--light-bg);
    color: var(--text-color);
    padding: 2.5rem 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.footer-links a:hover {
    color: var(--primary-color);
}

.separator {
    color: var(--border-color);
}

.footer-support {
    color: var(--text-light);
}

.footer-support a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-support a:hover {
    color: var(--primary-color);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background-color: var(--white);
    border-radius: 20px;
    padding: 2.5rem 2.5rem 1.25rem;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    z-index: 1001;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.modal-close:hover {
    background-color: var(--light-bg);
    color: var(--text-color);
}

.modal-content h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.modal-body {
    text-align: center;
}

.download-buttons-modal {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.btn-store-modal {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: var(--shadow-md);
    width: 100%;
}

.btn-store-modal:hover:not(:disabled) {
    filter: brightness(0.9);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-store-modal:disabled {
    background: #adb5bd;
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.consent-block {
    margin-bottom: 1.5rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.5;
}


.consent-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    margin-top: 2px;
    transition: all 0.2s;
}

.consent-checkbox:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.consent-checkbox:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 11px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.consent-link {
    color: var(--accent-color);
    text-decoration: underline;
}

.download-error {
    color: var(--primary-color);
    font-size: 0.85rem;
    margin-top: 0.75rem;
    text-align: center;
    visibility: hidden;
}

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
    }

    .brand-icon {
        width: 32px;
        height: 32px;
    }

    .hero {
        padding: 40px 20px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-features {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 400px;
        margin: 0 auto;
    }

    .features {
        padding: 40px 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gallery {
        padding: 40px 0;
    }

    .gallery h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .gallery-item {
        height: 400px;
    }

    .download {
        padding: 40px 20px;
    }

    .download h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .download-buttons {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-links .separator {
        display: none;
    }

    .modal-content {
        padding: 2rem 2rem 1rem;
    }

    .modal-content h2 {
        font-size: 1.5rem;
    }
}
