:root {
    --primary-color: #F07B38;
    --secondary-color: #4CAF50;
    --accent-color: #FF9800;
    --background-color: #F5F5F5;
    --surface-color: #FFFFFF;
    --text-primary-color: #212121;
    --text-secondary-color: #757575;
}

body {
    font-family: 'Cairo', sans-serif;
    margin: 0;
    background-color: var(--background-color);
    color: var(--text-primary-color);
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

header {
    background-color: var(--surface-color);
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: slideInDown 1s ease-in-out;
}

@keyframes slideInDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo svg {
    height: 50px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav li {
    margin-left: 20px;
}

nav a {
    text-decoration: none;
    color: var(--text-primary-color);
    font-weight: 700;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--primary-color);
}

.hero {
    text-align: center;
    padding: 100px 0;
    background-color: var(--primary-color);
    color: var(--surface-color);
    animation: zoomIn 1s ease-in-out;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: -40% -20%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 55%);
    transform: rotate(12deg);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    inset: -50% -25%;
    background: radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 60%);
    transform: rotate(-10deg);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
    }

    to {
        transform: scale(1);
    }
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    size: 100px;
}

img {
    width: 100%;
    height: auto;

}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    color: var(--surface-color);
    font-weight: 700;
    transition: transform 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-google-play img {
    height: 90px;
    align-items: center;
    justify-content: center;
    display: flex;


}

.btn-app-store img {
    height: 70px;
    align-items: center;
    justify-content: center;
    display: flex;
}

.about {
    padding: 80px 0;
    text-align: center;
    animation: slideInUp 1s ease-in-out;
}

/* Modern app download section */
.hero-content {
    max-width: 740px;
    margin: 0 auto 26px;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: 980px;
    margin: 0 auto;
}

@media (max-width: 860px) {
    .apps-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

.app-card {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 16px;
    padding: 18px 16px;
    text-align: right;
    backdrop-filter: blur(8px);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.app-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    border-color: rgba(255, 255, 255, 0.34);
}

.app-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.app-card__header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.26);
    color: var(--surface-color);
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
}

.app-card__desc {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.7;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.20);
    transition: transform 200ms ease, background-color 200ms ease, border-color 200ms ease;
}

.store-badge:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
}

.store-badge img {
    width: auto;
    height: 64px;
    max-width: 240px;
}

@media (max-width: 420px) {
    .store-badge img {
        height: 56px;
    }
}

/* Scroll reveal (JS toggles .is-visible) */
.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 700ms ease, transform 700ms ease;
    will-change: opacity, transform;
}

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

@keyframes slideInUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

footer {
    background-color: var(--surface-color);
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

.privacy-policy-container {
    padding: 40px 20px;
    max-width: 800px;
    margin: 40px auto;
    background-color: var(--surface-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.lang-switcher {
    text-align: right;
    margin-bottom: 20px;
}

.lang-switcher button {
    background-color: var(--primary-color);
    color: var(--surface-color);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.lang-switcher button:hover {
    background-color: var(--accent-color);
}