:root {
    --primary: #1e272e;
    --secondary: #485460;
    --accent: #05c46b;
    --accent-glow: rgba(5, 196, 107, 0.2);
    --bg: #ffffff;
    --surface: #f7f9fb;
    --text: #2f3542;
    --text-muted: #57606f;
    --border: #d2dae2;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --glass: rgba(255, 255, 255, 0.9);
    --font-ar: 'Cairo', 'Almarai', sans-serif;
}

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

html {
    direction: rtl;
}

body {
    font-family: var(--font-ar);
    color: var(--text);
    background: var(--bg);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    text-align: right;
}

h1,
h2,
h3,
h4 {
    color: var(--primary);
    line-height: 1.3;
    font-weight: 700;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header/Nav */
header {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 3rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem 0;
    background: radial-gradient(circle at center, var(--accent-glow) 0%, transparent 80%);
}

.hero h1 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Content Card */
.card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

/* FAQ List */
.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    text-align: right;
    font-family: var(--font-ar);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    gap: 1rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, margin 0.3s ease;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.faq-item.active .faq-answer {
    max-height: 1200px;
    margin-top: 1rem;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* List Styling */
ul {
    padding-right: 1.25rem;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.75rem;
}

/* Policy Text */
.policy-content h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    border-right: 4px solid var(--accent);
    padding-right: 0.75rem;
}

.policy-content p {
    margin-bottom: 1.25rem;
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 600px) {
    .hero h1 {
        font-size: 2rem;
    }

    .card {
        padding: 1.5rem;
    }
}