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

:root {
    --bg-color: #F8F9FB;
    --bg-gradient-start: #F8F9FB;
    --bg-gradient-end: #F2F4F7;
    --text-color: #2C3E50;
    --accent: #457b9d;
    --accent-hover: #3a6a87;
    --accent-light: #5a8fb3;
    --card-bg: #FFFFFF;
}

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

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

/* Language Dropdown Switcher */
.lang-dropdown-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.lang-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 10px 16px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(69, 123, 157, 0.12);
}

.lang-dropdown-trigger:hover {
    background: rgba(69, 123, 157, 0.05);
    box-shadow: 0 6px 20px rgba(69, 123, 157, 0.18);
    transform: translateY(-1px);
}

.lang-dropdown-trigger .lang-flag {
    font-size: 18px;
}

.lang-dropdown-trigger .lang-name {
    font-weight: 600;
}

.lang-dropdown-trigger .lang-arrow {
    transition: transform 0.3s ease;
    margin-left: 4px;
}

.lang-dropdown-container.open .lang-dropdown-trigger .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(69, 123, 157, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 160px;
    overflow: hidden;
    border: 1px solid rgba(69, 123, 157, 0.1);
}

.lang-dropdown-container.open .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    transition: all 0.2s ease;
    text-align: left;
}

.lang-dropdown-item:hover {
    background: rgba(69, 123, 157, 0.08);
}

.lang-dropdown-item .lang-flag {
    font-size: 18px;
}

.lang-dropdown-item .lang-name {
    flex: 1;
}

.lang-dropdown-item .lang-check {
    opacity: 0;
    color: var(--accent);
    transition: opacity 0.2s ease;
}

.lang-dropdown-item.active {
    background: rgba(69, 123, 157, 0.08);
    color: var(--accent);
}

.lang-dropdown-item.active .lang-check {
    opacity: 1;
}

.lang-dropdown-item:not(:last-child) {
    border-bottom: 1px solid rgba(69, 123, 157, 0.08);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 20px 80px;
    animation: fadeInUp 0.8s ease;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.app-icon-large {
    width: 140px;
    height: 140px;
    margin: 0 auto 30px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(69, 123, 157, 0.25);
    transition: transform 0.3s ease;
}

.app-icon-large:hover {
    transform: scale(1.05);
}

.app-icon-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--accent);
}

.hero p {
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0.8;
    color: var(--text-color);
}

.store-badges {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.badge {
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease;
}

.badge:hover {
    transform: scale(1.05);
}

.badge img {
    height: 60px;
    display: block;
}

.coming-soon {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    animation: pulse 2s infinite;
    box-shadow: 0 2px 8px rgba(69, 123, 157, 0.25);
}

/* Screenshot Gallery */
.screenshots-section {
    padding: 60px 0;
    background: var(--card-bg);
}

.screenshots-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--accent);
}

.screenshots-scroll-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
    padding: 20px 0 30px;
}

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

.screenshots-scroll-container::-webkit-scrollbar-track {
    background: rgba(69, 123, 157, 0.1);
    border-radius: 10px;
    margin: 0 20px;
}

.screenshots-scroll-container::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.screenshots-scroll-container::-webkit-scrollbar-thumb:hover {
    background: var(--accent-hover);
}

.screenshots-gallery {
    display: flex;
    gap: 24px;
    padding: 0 max(20px, calc((100% - 1200px) / 2));
    width: max-content;
}

.screenshot-item {
    flex-shrink: 0;
    width: 280px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(69, 123, 157, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.screenshot-item:nth-child(1) { animation-delay: 0.1s; }
.screenshot-item:nth-child(2) { animation-delay: 0.2s; }
.screenshot-item:nth-child(3) { animation-delay: 0.3s; }
.screenshot-item:nth-child(4) { animation-delay: 0.4s; }
.screenshot-item:nth-child(5) { animation-delay: 0.5s; }
.screenshot-item:nth-child(6) { animation-delay: 0.6s; }
.screenshot-item:nth-child(7) { animation-delay: 0.7s; }
.screenshot-item:nth-child(8) { animation-delay: 0.8s; }

.screenshot-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(69, 123, 157, 0.25);
}

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

/* Features Section */
.features {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
}

.features h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    color: var(--accent);
}

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

.feature-card {
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
    background: transparent;
}

.feature-card:hover {
    background: var(--card-bg);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(69, 123, 157, 0.12);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--accent);
}

.feature-card p {
    opacity: 0.8;
}

/* Social Media Icons in Footer */
.social-icons {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(69, 123, 157, 0.1);
    color: var(--accent);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(69, 123, 157, 0.3);
}

.social-icons svg {
    width: 20px;
    height: 20px;
}

/* Content Pages */
main {
    padding: 60px 20px;
    min-height: 60vh;
}

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

h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--accent);
}

h2 {
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--accent);
}

.subtitle {
    font-size: 18px;
    opacity: 0.7;
    margin-bottom: 40px;
}

p {
    margin-bottom: 20px;
    line-height: 1.8;
}

ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

li {
    margin-bottom: 10px;
}

.last-updated {
    opacity: 0.6;
    margin-bottom: 40px;
}

.contact-box {
    background: rgba(69, 123, 157, 0.04);
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    border: 1px solid rgba(69, 123, 157, 0.12);
}

.contact-item {
    margin: 20px 0;
}

.contact-item strong {
    color: var(--accent);
    display: block;
    margin-bottom: 5px;
}

.contact-item a {
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-item a:hover {
    opacity: 0.7;
}

.faq-item {
    margin-bottom: 30px;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 10px;
    border-left: 4px solid var(--accent);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(69, 123, 157, 0.06);
}

.faq-item:hover {
    background: var(--card-bg);
    transform: translateX(5px);
    box-shadow: 0 4px 16px rgba(69, 123, 157, 0.12);
}

.faq-item h3 {
    color: var(--accent);
    margin-bottom: 10px;
}

/* Footer */
footer {
    padding: 60px 20px 40px;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.1);
}

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

.footer-links a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

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

.copyright {
    opacity: 0.6;
    font-size: 14px;
}

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

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

/* Loading State */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .lang-dropdown-container {
        top: 15px;
        right: 15px;
    }

    .lang-dropdown-trigger {
        padding: 8px 12px;
        font-size: 13px;
    }

    .lang-dropdown-trigger .lang-flag {
        font-size: 16px;
    }

    .lang-dropdown-menu {
        min-width: 140px;
    }

    .lang-dropdown-item {
        padding: 10px 14px;
        font-size: 13px;
    }

    .app-icon-large {
        width: 110px;
        height: 110px;
        margin-bottom: 24px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .screenshots-section h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .screenshot-item {
        width: 240px;
    }

    .screenshots-gallery {
        padding: 0 20px;
    }

    .features h2 {
        font-size: 32px;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 24px;
    }

    .store-badges {
        flex-direction: column;
    }

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

}

@media (max-width: 480px) {
    .lang-dropdown-container {
        top: 10px;
        right: 10px;
    }

    .lang-dropdown-trigger {
        padding: 6px 10px;
        font-size: 12px;
        gap: 6px;
        border-radius: 10px;
    }

    .lang-dropdown-trigger .lang-flag {
        font-size: 14px;
    }

    .lang-dropdown-trigger .lang-arrow {
        width: 10px;
        height: 10px;
    }

    .hero {
        padding: 70px 20px 60px;
    }

    .app-icon-large {
        width: 100px;
        height: 100px;
        margin-bottom: 20px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .screenshots-section {
        padding: 40px 0;
    }

    .screenshots-section h2 {
        font-size: 24px;
        margin-bottom: 24px;
        padding: 0 20px;
    }

    .screenshot-item {
        width: 220px;
    }

    .screenshots-scroll-container {
        padding: 15px 0 20px;
    }

    .screenshots-gallery {
        gap: 16px;
        padding: 0 16px;
    }

    .features {
        padding: 40px 20px;
    }

    main {
        padding: 40px 20px;
    }
}

/* Email Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: var(--accent);
    cursor: pointer;
    border: none;
    background: none;
    line-height: 1;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--accent-hover);
}

.modal h2 {
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 26px;
}

.modal p {
    color: var(--text-color);
    margin-bottom: 25px;
    line-height: 1.6;
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.email-input {
    padding: 14px 18px;
    border: 2px solid #E8EDF5;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.email-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(69, 123, 157, 0.08);
}

.submit-btn {
    padding: 14px 28px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(69, 123, 157, 0.2);
}

.submit-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(69, 123, 157, 0.3);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.success-message {
    display: none;
    color: #4CAF50;
    margin-top: 15px;
    font-weight: 600;
}

.error-message {
    display: none;
    color: #f44336;
    margin-top: 15px;
    font-weight: 600;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 30px 20px;
    }

    .modal h2 {
        font-size: 22px;
    }
}
