:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-gold: #D4AF37;
    --accent-gold-glow: rgba(212, 175, 55, 0.4);
    --glass-bg: rgba(15, 15, 15, 0.65);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body, html {
    min-height: 100vh;
    width: 100vw;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
}

html[dir="rtl"] {
    font-family: 'Tajawal', 'Outfit', sans-serif;
}

.background-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0.5;
    filter: contrast(1.1) brightness(0.8);
    animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

/* Nav Switcher */
.top-nav {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 10;
}

html[dir="rtl"] .top-nav {
    right: auto;
    left: 2rem;
}

.lang-switcher {
    display: flex;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 0.25rem;
    backdrop-filter: blur(10px);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.lang-btn.active {
    background: rgba(255,255,255,0.1);
    color: var(--accent-gold);
}

/* Layout */
.container {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 4rem;
}

.split-layout {
    display: flex;
    width: 100%;
    max-width: 1400px;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

html[dir="rtl"] .split-layout {
    flex-direction: row-reverse;
}

/* LEFT PANEL */
.left-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 600px;
    animation: slideRight 1s ease-out forwards;
}

html[dir="rtl"] .left-panel {
    animation: slideLeft 1s ease-out forwards;
}

@keyframes slideRight {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

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

header .logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 5px;
    color: var(--accent-gold);
    margin-bottom: 2rem;
}

.headline {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--accent-gold);
    text-shadow: 0 0 20px var(--accent-gold-glow);
}

.description {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* RIGHT PANEL */
.right-panel {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    animation: slideLeft 1s ease-out forwards;
}

html[dir="rtl"] .right-panel {
    justify-content: flex-start;
    animation: slideRight 1s ease-out forwards;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 3rem;
    width: 100%;
    max-width: 550px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 0.75rem;
    border-radius: 20px;
    transition: background 0.3s ease;
}

.feature:hover {
    background: rgba(255, 255, 255, 0.05);
}

.icon-img {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

.feature-text strong {
    color: var(--text-primary);
    font-size: 1.25rem;
    display: block;
    margin-bottom: 0.3rem;
}

.feature-text p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.cta-container {
    text-align: center;
    margin-top: 1rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    background: linear-gradient(135deg, #D4AF37 0%, #AA8C2C 100%);
    color: #000;
    font-weight: 600;
    font-size: 1.15rem;
    padding: 1.25rem 2rem;
    border-radius: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px var(--accent-gold-glow);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6);
}

.download-btn:active {
    transform: translateY(0);
}

.web-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.15rem;
    padding: 1.25rem 2rem;
    border-radius: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
}

.web-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cta-subtext {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 5rem 2rem 2rem 2rem;
        height: auto;
    }
    .split-layout {
        flex-direction: column;
        justify-content: flex-start;
        gap: 3rem;
        margin-top: 2rem;
    }
    .headline {
        font-size: 3rem;
    }
    .right-panel {
        justify-content: center;
        width: 100%;
    }
    .glass-card {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 4rem 1.25rem 2rem 1.25rem;
    }
    .split-layout {
        gap: 2rem;
        margin-top: 1rem;
    }
    header .logo {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    .headline {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    .description {
        font-size: 1rem;
    }
    .glass-card {
        padding: 1.5rem;
        border-radius: 20px;
    }
    .feature {
        gap: 1rem;
        padding: 0.5rem;
    }
    .icon-img {
        width: 50px;
        height: 50px;
    }
    .download-btn, .web-btn {
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }
}
