/* Global Styles */
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: 
        linear-gradient(135deg, 
            #1a1a2e 0%, 
            #16213e 15%, 
            #0f3460 30%, 
            #533483 45%, 
            #7209b7 60%, 
            #a663cc 75%, 
            #4facfe 90%, 
            #00f2fe 100%
        );
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    padding: 1rem;
    box-sizing: border-box;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(26, 26, 46, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(83, 52, 131, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(114, 9, 183, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 60% 60%, rgba(79, 172, 254, 0.2) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.main-container {
    max-width: 1200px;
    width: 100%;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 
        0 20px 60px 0 rgba(0, 0, 0, 0.3),
        0 8px 32px 0 rgba(114, 9, 183, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: fadeIn 1s ease-in-out;
    position: relative;
}

.main-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.12) 0%, 
        rgba(114, 9, 183, 0.05) 25%,
        rgba(79, 172, 254, 0.05) 50%,
        rgba(255, 255, 255, 0.08) 75%,
        rgba(255, 255, 255, 0.12) 100%);
    border-radius: 24px;
    pointer-events: none;
    z-index: -1;
}

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

@keyframes containerFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.01);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes buttonBreathe {
    0%, 100% {
        box-shadow: 
            0 8px 25px rgba(114, 9, 183, 0.4),
            0 4px 15px rgba(79, 172, 254, 0.2);
        transform: scale(1);
    }
    50% {
        box-shadow: 
            0 12px 35px rgba(114, 9, 183, 0.6),
            0 6px 20px rgba(79, 172, 254, 0.4);
        transform: scale(1.02);
    }
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.header-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.lang-switcher {
    margin-left: 1rem;
    position: relative;
    z-index: 1000;
}

.lang-switcher select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
    min-width: 140px;
}

.lang-switcher select:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.lang-switcher select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(166, 99, 204, 0.8);
    box-shadow: 0 0 0 2px rgba(166, 99, 204, 0.3);
}

.lang-switcher select option {
    background: rgba(26, 26, 46, 0.95);
    color: #fff;
    padding: 8px 12px;
    border: none;
    font-size: 0.9rem;
}

.logo {
    width: 80px;
    height: 80px;
    background-color: #fff;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    overflow: hidden;
}

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

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;
}

.brand h1 {
    font-size: 2.8rem;
    margin: 0;
    background: linear-gradient(135deg, #ffffff 0%, #a663cc 50%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(166, 99, 204, 0.3);
}

.brand p {
    margin: 0.5rem 0 0 0;
    font-size: 1.1rem;
    color: #E8E8E8;
    font-weight: 400;
    opacity: 0.9;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.download-buttons a {
    display: inline-block;
    padding: 14px 28px;
    margin: 0 12px;
    background: linear-gradient(135deg, #7209b7 0%, #533483 50%, #4facfe 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 
        0 8px 25px rgba(114, 9, 183, 0.4),
        0 4px 15px rgba(79, 172, 254, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    animation: buttonBreathe 3s ease-in-out infinite;
}

.download-buttons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.download-buttons a:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(114, 9, 183, 0.6),
        0 8px 25px rgba(79, 172, 254, 0.4);
}

.download-buttons a:hover::before {
    left: 100%;
}

/* App Intro */
.app-intro {
    margin-bottom: 3rem;
}

.app-intro h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.app-intro p {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    color: #E0E0E0;
}

/* App Screenshots */
.app-screenshots h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.screenshots-grid img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.4),
        0 4px 15px rgba(114, 9, 183, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.screenshots-grid img:hover {
    transform: scale(1.08) translateY(-5px);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.6),
        0 10px 30px rgba(114, 9, 183, 0.4),
        0 5px 15px rgba(79, 172, 254, 0.3);
    border-color: rgba(166, 99, 204, 0.5);
}

/* Footer */
.footer {
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.9rem;
    color: #C0C0C0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #a663cc, transparent);
}

.footer a {
    color: #E8E8E8;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer a:hover {
    color: #a663cc;
    text-shadow: 0 0 10px rgba(166, 99, 204, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-container {
        padding: 1.5rem;
        margin: 0.5rem;
    }
    
    .header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .brand h1 {
        font-size: 2rem;
    }
    
    .app-intro h2,
    .app-screenshots h2 {
        font-size: 1.5rem;
    }
    
    .screenshots-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .download-buttons {
        justify-content: center;
    }
    
    .download-buttons a {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 1rem;
    }
    
    .logo {
        width: 60px;
        height: 60px;
    }
    
    .brand h1 {
        font-size: 1.8rem;
    }
    
    .screenshots-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    .app-intro p {
        font-size: 1rem;
    }
}