:root {
    /* Color Palette */
    --primary-color: #B76E79; /* Rose Gold */
    --primary-dark: #8e555e;
    --secondary-color: #043927; /* Deep Emerald */
    --accent-color: #D4AF37; /* Gold */
    --bg-color: #ffffff;
    --text-color: #333333;
    --text-light: #666666;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    
    /* Typography */
    --font-main: 'Outfit', 'Inter', system-ui, sans-serif;
    --font-arabic: 'Cairo', 'Noto Sans Arabic', sans-serif;
}

[lang="ar"] {
    direction: rtl;
    font-family: var(--font-arabic);
}

[lang="en"] {
    direction: ltr;
    font-family: var(--font-main);
}

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

body {
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('assets/images/bg.png');
    background-size: cover;
    background-position: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
    backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.3);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeIn 1.5s ease-out;
}

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

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    margin-bottom: 30px;
    font-weight: 300;
}

/* Navigation & Controls */
.top-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo img {
    height: 60px;
}

.lang-switch {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lang-switch:hover {
    transform: scale(1.05);
    background: var(--primary-color);
    color: white;
}

/* Content Sections */
.section {
    padding: 80px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* Privacy Policy Content */
.policy-content {
    background: #fdfdfd;
    padding: 40px;
    border-radius: 20px;
    margin-top: 40px;
    line-height: 1.8;
}

.policy-content h2 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.policy-content p, .policy-content ul {
    margin-bottom: 15px;
    color: var(--text-light);
}

.policy-content ul {
    list-style: none;
    padding-inline-start: 0;
}

.policy-content li {
    position: relative;
    padding-inline-start: 25px;
    margin-bottom: 10px;
}

.policy-content li::before {
    content: '•';
    position: absolute;
    inset-inline-start: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
    border-top: 1px solid #eee;
}

/* Hidden elements for language toggling */
.content-en, .content-ar {
    display: none;
}

[lang="en"] .content-en { display: block; }
[lang="ar"] .content-ar { display: block; }

@media (max-width: 768px) {
    .top-nav {
        padding: 15px 20px;
    }
    .hero-content {
        padding: 25px;
    }
}
