@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700;800&family=Montserrat:wght@800;900&display=swap');

:root {
    --primary-bg: #0d8b4b; /* Exact green from the screenshot */
    --text-light: #ffffff;
    --text-dark: #224283; /* Dark blue */
    --accent: #0d8b4b; /* Green for text */
}

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

body {
    background-color: var(--primary-bg);
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    font-family: 'Cairo', sans-serif; /* Default for Arabic text */
    overflow-x: hidden;
}

/* Logo Section */
.logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.logo-wrapper {
    width: 170px;
    height: 170px;
    background: white;
    padding: 2rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.15));
}

.app-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Text Section */
.text-section {
    text-align: center;
    max-width: 700px;
    margin-bottom: 1.5rem;
}

.main-title {
    font-size: 1.8rem;
    font-weight: 800;
    text-shadow: 0 4px 10px rgba(0,0,0,0.2);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.subtitle {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.95;
    text-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.subtitle strong {
    font-weight: 700;
}

/* CTA Section (The Buttons) */
.cta-section {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
}

.download-card {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 999px; /* Pill shape */
    width: 330px;
    height: 65px;
    text-decoration: none;
    position: relative;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
    font-family: 'Montserrat', sans-serif; /* English text font */
    margin-top: 1rem;
}

.download-card:hover {
    transform: scale(1.05); /* Slight hover effect */
}

.store-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    position: absolute;
    left: -15px; /* Jutting out slightly on the left */
    top: -20px; /* Center mathematically */
    object-fit: cover;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.15); /* Shadow to pop */
}

.card-text {
    margin-left: 125px; /* Space for the big circle */
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.1rem;
}

.store-title {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: 0px;
}

.download-text {
    font-size: 0.9rem;
    line-height: 1.2;
    font-weight: 900;
    color: var(--accent);
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

.slide-up {
    opacity: 0;
    animation: slideUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

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

/* WhatsApp Section */
.whatsapp-section {
    margin-top: 2.5rem;
    text-align: center;
}

.whatsapp-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.whatsapp-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
    padding: 0.8rem 1.8rem;
    border-radius: 999px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    direction: ltr;
}

.whatsapp-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.whatsapp-btn i {
    font-size: 1.6rem;
    color: #25D366;
    filter: drop-shadow(0 2px 4px rgba(37, 211, 102, 0.4));
}

/* Footer */
.footer {
    margin-top: 2.5rem;
    padding: 1rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    a {
        color: rgba(255, 255, 255, 0.85);
        text-decoration: none;
    }
}

.footer strong {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 800;
}

/* Responsive Scaling */
@media (max-width: 768px) {
    .main-title { font-size: 1.8rem; }
    .subtitle { font-size: 1rem; }
    .logo-wrapper { width: 180px; height: 180px; }
    .whatsapp-title { font-size: 1.2rem; }
    .whatsapp-btn { font-size: 0.95rem; padding: 0.7rem 1.4rem; }
}
