/* ===== RESET & VARIABLES ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #23215D;
    --primary-dark: #151438;
    --primary-light: #3e3c80;
    --bg: #f5f5f5;
    --white: #ffffff;
    --text: #1a1a1a;
    --text-light: #666666;
    --gold: #C7B516;
    --font: 'IBM Plex Sans Arabic', sans-serif;
    --radius: 20px;
    --radius-pill: 50px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary);
    color: var(--white);
    font-family: var(--font);
    font-weight: 600;
    border: none;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    white-space: nowrap;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-hero {
    font-size: 1rem;
    padding: 14px 40px;
}

.btn-small {
    font-size: 0.95rem;
    padding: 12px 32px;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0d0c24;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
}

.hero-top {
    padding-top: 30px;
}

.logo svg {
    width: 140px;
    height: auto;
}

.hero-text-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding-bottom: 50px;
}

.hero-text-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.hero-text-inner h1 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.6;
    max-width: 600px;
}

.store-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.store-badge img {
    height: 44px;
    width: auto;
    transition: transform 0.3s;
}

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

/* ===== FEATURES ===== */
.features {
    padding: 70px 0 60px;
    background: var(--bg);
}

.features-inner {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px;
}

.features-inner h2,
.vision-inner h2,
.partners-inner h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary);
    text-align: center;
    margin-bottom: 36px;
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 24px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 220px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.feature-icon img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
}

.feature-card p {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 400px;
}

/* ===== VISION ===== */
.vision {
    padding: 70px 0 50px;
    background: var(--bg);
}

.vision-inner {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.vision-content {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 32px;
    margin-bottom: 28px;
}

.vision-image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.vision-image img {
    width: 100%;
    height: auto;
}

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

.vision-text p {
    font-size: 0.9rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 12px;
}

.vision-text p:last-child {
    margin-bottom: 0;
}

.hidden-desktop {
    margin-top: 8px;
}

.store-links-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 0 0;
}

.store-badge-static img {
    height: 40px;
    width: auto;
}

/* ===== PARTNERS ===== */
.partners {
    padding: 60px 0 70px;
    background: var(--bg);
}

.partners-inner {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.partners-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 36px;
}

.partner-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s;
}

.partner-circle:hover {
    transform: scale(1.08);
}

.partner-circle-filled {
    background: var(--primary);
}

.partner-circle img {
    width: 78%;
    height: 78%;
    object-fit: contain;
    border-radius: 50%;
}

.btn-whatsapp {
    font-size: 0.95rem;
    padding: 12px 28px;
    margin: 0 auto;
}

.whatsapp-icon {
    width: 20px;
    height: 20px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary);
    padding: 36px 0;
}

.footer-inner {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 14px;
}

.social-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, opacity 0.3s;
}

.social-icon:hover {
    transform: scale(1.15);
    opacity: 0.8;
}

.social-icon img,
.social-icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    fill: var(--white);
    transition: fill 0.3s;
}

.social-icon:hover svg {
    fill: var(--gold);
}

.copyright {
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
}

.privacy-link {
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.3s;
}

.privacy-link:hover {
    color: var(--white);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== DESKTOP (1024px+) ===== */
@media (min-width: 1024px) {
    .hero-content {
        max-width: 1100px;
        padding: 60px 40px;
    }

    .logo svg {
        width: 170px;
    }

    .hero-text-inner h1 {
        font-size: 2.8rem;
        max-width: 750px;
    }

    .btn-hero {
        font-size: 1.15rem;
        padding: 16px 52px;
    }

    .store-badge img {
        height: 52px;
    }

    .features {
        padding: 90px 0 80px;
    }

    .features-inner {
        max-width: 1100px;
    }

    .features-inner h2,
    .vision-inner h2,
    .partners-inner h2 {
        font-size: 2.2rem;
        margin-bottom: 48px;
    }

    .features-grid {
        flex-direction: row;
        gap: 24px;
    }

    .feature-card {
        flex: 1;
        padding: 40px 28px 32px;
    }

    .feature-icon {
        width: 180px;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    .vision {
        padding: 90px 0 60px;
    }

    .vision-inner {
        max-width: 1100px;
    }

    .vision-content {
        flex-direction: row;
        text-align: right;
        gap: 48px;
    }

    .vision-text {
        flex: 1;
        text-align: right;
    }

    .vision-text p {
        font-size: 1rem;
    }

    .vision-image {
        flex: 0 0 320px;
        max-width: 320px;
    }

    .hidden-desktop {
        display: none;
    }

    .store-links-secondary {
        padding-top: 24px;
    }

    .store-badge-static img {
        height: 48px;
    }

    .partners {
        padding: 70px 0 90px;
    }

    .partners-inner {
        max-width: 1100px;
    }

    .partners-logos {
        flex-direction: row;
        justify-content: center;
        gap: 28px;
        margin-bottom: 44px;
    }

    .partner-circle {
        width: 110px;
        height: 110px;
    }

    .footer {
        padding: 44px 0;
    }

    .footer-inner {
        max-width: 1100px;
    }
}

/* ===== SMALL MOBILE (<=400px) ===== */
@media (max-width: 400px) {
    .hero-text-inner h1 {
        font-size: 1.5rem;
    }

    .store-badge img {
        height: 38px;
    }

    .feature-icon {
        width: 180px;
    }

    .partner-circle {
        width: 85px;
        height: 85px;
    }
}