*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --accent: #6C63FF; --accent-dim: rgba(108,99,255,0.15); --accent-border: rgba(108,99,255,0.35);
    --bg: #0a0a0f; --bg2: rgba(255,255,255,0.03); --text: #f0f0f0;
    --text-muted: rgba(255,255,255,0.5); --text-dim: rgba(255,255,255,0.35);
    --border: rgba(255,255,255,0.08); --border2: rgba(255,255,255,0.14);
    --radius: 12px; --radius-sm: 8px;
}
html { scroll-behavior: smooth; }
body { font-family: 'Cairo', sans-serif; direction: rtl; background: var(--bg); color: var(--text); overflow-x: hidden; line-height: 1.6; }

/* HEADER */
header { display: flex; align-items: center; justify-content: space-between; padding: 16px 48px; border-bottom: 0.5px solid var(--border); position: sticky; top: 0; z-index: 100; background: rgba(10,10,15,0.88); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.logo img { height: 42px; object-fit: contain; display: block; }
.nav-links { display: flex; gap: 36px; }
.nav-links a { font-size: 14px; font-weight: 600; color: var(--text-muted); text-decoration: none; transition: color 0.2s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; right: 0; width: 0; height: 2px; background: var(--accent); border-radius: 2px; transition: width 0.3s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.login-btn { background: var(--accent); color: #fff; text-decoration: none; padding: 8px 22px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 700; transition: all 0.2s; }
.login-btn:hover { background: #5a52e0; transform: translateY(-1px); }
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 98; }
.overlay.show { display: block; }
.mobile-menu { position: fixed; top: 0; left: -100%; width: 260px; height: 100vh; background: #111118; border-right: 0.5px solid var(--border); z-index: 99; padding: 80px 32px 40px; display: flex; flex-direction: column; gap: 8px; transition: left 0.35s cubic-bezier(0.4,0,0.2,1); }
.mobile-menu.show { left: 0; }
.mobile-menu a { font-size: 16px; font-weight: 600; color: var(--text-muted); text-decoration: none; padding: 10px 14px; border-radius: var(--radius-sm); transition: all 0.2s; }
.mobile-menu a:hover { background: var(--accent-dim); color: #fff; }

/* POLICY */
.policy-wrap {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px 80px;
}

.policy-hero {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 0.5px solid var(--border);
}

.policy-hero h1 {
    font-size: 34px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
}

.policy-hero p {
    font-size: 14px;
    color: var(--text-muted);
}

.policy-section {
    margin-bottom: 32px;
}

.policy-section h2 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.policy-section h2 span {
    width: 30px;
    height: 30px;
    background: var(--accent);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.policy-section p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 2;
    font-weight: 300;
}

.policy-section a {
    color: var(--accent);
    text-decoration: none;
}
.policy-section a:hover { text-decoration: underline; }

.policy-section ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.policy-section ul li {
    font-size: 14px;
    color: var(--text-muted);
    padding: 8px 0;
    border-bottom: 0.5px solid var(--border);
    font-weight: 300;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.7;
}

.policy-section ul li:last-child { border-bottom: none; }

.policy-section ul li::before {
    content: '←';
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.policy-update {
    background: var(--bg2);
    border: 0.5px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    font-size: 13px;
    color: var(--text-dim);
    margin-top: 40px;
    text-align: center;
    line-height: 1.8;
}

@media (max-width: 768px) {
    header { padding: 14px 20px; }
    .nav-links { display: none; }
    .burger { display: flex; }
    .policy-wrap { padding: 40px 20px 60px; }
    .policy-hero h1 { font-size: 24px; }
}