/* General Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #3989ff;
    color: #ffffff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-image: linear-gradient(135deg, #3989ff 0%, #65a5ff 100%);
    position: relative;
}

#moleculeCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

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

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 140px;
    height: auto;
    filter: brightness(0) invert(1);
}

.contact-button {
    display: flex;
    align-items: center;
}

.contact-link {
    background-color: #ffffff;
    color: #3989ff;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.contact-link:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* Main Content Styles */
.main-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 4rem 0 2rem;
    position: relative;
}

.phones-container {
    flex: 1;
    display: flex;
    position: relative;
    justify-content: center;
}

.phone img {
    max-height: 450px;
    width: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
    border-radius: 20px;
}

.phone.iphone {
    position: relative;
    z-index: 1;
    transform: translateX(-30px);
}

.phone.android {
    position: relative;
    z-index: 2;
    transform: translateX(30px) translateY(-10px);
}

.content-container {
    flex: 1;
    text-align: left;
    padding: 2rem 2rem 2rem 0;
    margin-left: 2rem;
}

.main-heading {
    font-family: 'Ubuntu', sans-serif;
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
}

.app-links {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    margin-top: 2rem;
    text-align: left;
    flex-wrap: wrap;
}

/* === YENİ MƏNTİQ: DÜYMƏLƏRİ VARSAYILAN OLARAQ GİZLƏT === */
.desktop-links,
.mobile-link {
    display: none;
}

/* Contact button for mobile (hidden by default) */
.mobile-contact {
    display: none;
}


.store-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
}

.store-link:hover {
    transform: translateY(-5px);
}

.store-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid #ffffff;
    border-radius: 12px;
    padding: 12px 24px;
    transition: all 0.3s ease;
    width: 180px;
    height: 50px;
}

.store-link:hover .store-button {
    background-color: rgba(255, 255, 255, 0.3);
}

.store-icon {
    font-size: 24px;
    margin-right: 12px;
}

.store-text {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
}


/* === YENİ MƏNTİQ: YALNIZ MASAÜSTÜ (DESKTOP) === */
@media (min-width: 769px) {
    .desktop-links {
        display: flex;
        gap: 3rem;
        flex-wrap: wrap;
    }
    
    .mobile-link {
        display: none; /* Desktopda mütləq gizli olsun */
    }
}


/* === RESPONSIVE DİZAYN (TABLET VƏ MOBİL) === */
@media (max-width: 992px) {
    .main-content {
        flex-direction: column;
        padding-top: 2rem;
    }
    
    .content-container {
        text-align: center;
        padding: 1rem 1rem 2rem;
        margin-left: 0;
        order: 1;
    }
    
    .phones-container {
        order: 2;
        margin-top: 2rem;
    }
    
    .app-links {
        align-items: center;
        justify-content: center;
        gap: 2rem;
    }
    
    .main-heading {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .phones-container {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }
    
    .phone.android,
    .phone.iphone {
        transform: none;
        margin: 1rem auto;
    }
    
    .phone img {
        max-height: 300px;
    }
    
    .main-heading {
        font-size: 1.8rem;
    }
    
    .store-button {
        padding: 10px 20px;
        width: 180px;
        height: 50px;
    }
    
    .store-icon {
        font-size: 20px;
    }
    
    .store-text {
        font-size: 14px;
    }

    /* === YENİ MƏNTİQ: YALNIZ MOBİL/TABLET === */
    .desktop-links {
        display: none; /* Mobildə mütləq gizli olsun */
    }
    
    .mobile-link {
        display: flex; /* Mobildə görünsün */
    }
}

@media (max-width: 480px) {
    .app-links {
        gap: 1.5rem;
        flex-direction: column;
    }
    
    .store-button {
        padding: 8px 16px;
        width: 180px;
        height: 50px;
    }
    
    .store-icon {
        font-size: 18px;
    }
    
    .store-text {
        font-size: 13px;
    }
}


/* Mobil üçün "Bizimlə Əlaqə" düyməsi (səhifə sonunda) */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 0.5rem;
    }

    .logo-container {
        margin-top: 0.5rem;
    }
    
    .desktop-contact {
        display: none;
    }
    
    .mobile-contact {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 2.5rem;
    }

    .mobile-contact .contact-link {
        padding: 0.75rem 2rem;
        font-size: 1rem;
        border-radius: 8px;
    }

    body {
        padding-bottom: 2rem;
    }
}


/* === MOBİL BOŞLUQ DƏYİŞİKLİYİ === */
@media (max-width: 768px) {
    .header {
        gap: 0.25rem !important;
        margin-bottom: 0.25rem !important; /* Dəyişdirildi: 0.5rem -> 0.25rem */
    }

    .logo-container {
        margin-top: 0.25rem !important;
        margin-bottom: 0.25rem !important;
    }

    .main-content {
        padding-top: 0.5rem !important; /* Dəyişdirildi: 1rem -> 0.5rem */
    }
}