:root {
  --primary: #1C1917; --primary-light: #44403C; --accent: #A16207; --accent-light: #D4A857;
  --bg: #FAFAF9; --bg-card: #FFFFFF; --text: #0C0A09; --text-secondary: #57534E;
  --text-light: #A8A29E; --muted: #E8ECF0; --border: #D6D3D1;
  --shadow: 0 4px 24px rgba(0,0,0,0.06); --shadow-lg: 0 12px 48px rgba(0,0,0,0.1);
  --radius: 20px; --radius-sm: 12px; --glass: rgba(255,255,255,0.9);
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Noto Sans Arabic', sans-serif; background: var(--bg); color: var(--text); line-height: 1.8; overflow-x: hidden; }
h1,h2,h3,h4,.heading { font-family: 'Noto Naskh Arabic', serif; }
::selection { background: var(--accent); color: white; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.navbar { position: fixed; top: 0; right: 0; left: 0; z-index: 1000; background: rgba(28,25,23,0.9); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,0.06); transition: var(--transition); }
.navbar.scrolled { background: rgba(28,25,23,0.98); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.nav-logo { display: flex; align-items: center; gap: 10px; color: white; font-size: 18px; font-weight: 700; }
.nav-logo-icon { width: 38px; height: 38px; background: linear-gradient(135deg, var(--accent), var(--accent-light)); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; color: white; }
.nav-logo small { font-size: 11px; font-weight: 400; opacity: 0.6; display: block; }
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.7); padding: 8px 14px; border-radius: 8px; font-size: 13px; font-weight: 500; transition: var(--transition); white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: white; background: rgba(255,255,255,0.08); }
.mobile-btn { display: none; background: none; border: none; color: white; font-size: 24px; cursor: pointer; }
@media (max-width: 768px) { .nav-links { display: none; position: absolute; top: 68px; right: 0; left: 0; background: rgba(28,25,23,0.98); flex-direction: column; padding: 16px; gap: 0; } .nav-links.open { display: flex; } .mobile-btn { display: block; } }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: 14px; font-size: 15px; font-weight: 700; border: none; cursor: pointer; transition: var(--transition); font-family: inherit; }
.btn-primary { background: linear-gradient(135deg, var(--accent), #B8860B); color: white; box-shadow: 0 8px 32px rgba(161,98,7,0.4); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 48px rgba(161,98,7,0.5); }
.btn-secondary { background: transparent; border: 2px solid var(--border); color: var(--text); }
.btn-secondary:hover { background: var(--muted); transform: translateY(-3px); }

.page-hero { position: relative; min-height: 55vh; display: flex; align-items: center; justify-content: center; overflow: hidden; padding-top: 68px; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(28,25,23,0.8), rgba(161,98,7,0.35)); z-index: 1; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-content { position: relative; z-index: 2; text-align: center; padding: 24px; max-width: 700px; }
.page-hero h1 { font-size: clamp(32px, 5vw, 54px); color: white; margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 16px; }

.back-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: rgba(255,255,255,0.08); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; color: white; font-size: 13px; margin-bottom: 16px; transition: var(--transition); }
.back-link:hover { background: rgba(255,255,255,0.15); }

.w-content { max-width: 800px; margin: 0 auto; padding: 48px 24px; }
.w-section { margin-bottom: 40px; }
.w-section h2 { font-size: 24px; color: var(--primary); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 3px solid var(--accent-light); }
.w-section p { font-size: 16px; line-height: 2; color: var(--text-secondary); margin-bottom: 12px; }
.w-section ul { list-style: none; padding: 0; }
.w-section ul li { padding: 10px 16px; background: rgba(161,98,7,0.04); border-radius: 10px; margin-bottom: 6px; font-size: 15px; border-right: 3px solid var(--accent); transition: var(--transition); }
.w-section ul li:hover { background: rgba(161,98,7,0.08); transform: translateX(-4px); }
.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 16px; margin: 16px 0; }
.info-card { padding: 20px; background: var(--bg-card); border-radius: var(--radius-sm); box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,0.03); }
.info-card .icon { font-size: 28px; margin-bottom: 8px; display: block; }
.info-card h4 { font-size: 16px; margin-bottom: 4px; }
.info-card p { font-size: 13px; color: var(--text-light); }
.exercise { background: linear-gradient(135deg, rgba(161,98,7,0.04), rgba(212,168,87,0.04)); border-radius: var(--radius); padding: 28px; margin: 24px 0; border: 1px solid rgba(161,98,7,0.1); position: relative; }
.exercise::before { content: '🎯'; position: absolute; top: -10px; right: 20px; font-size: 24px; }
.exercise h3 { font-size: 18px; color: var(--accent); margin-bottom: 12px; }
.exercise ol, .exercise ul { padding-right: 20px; line-height: 2; color: var(--text-secondary); }
.exercise .goal { margin-top: 12px; color: var(--accent); font-weight: 700; }
.nav-btns { display: flex; justify-content: space-between; margin-top: 48px; gap: 16px; flex-wrap: wrap; }

footer { background: var(--primary); color: rgba(255,255,255,0.5); text-align: center; padding: 40px 24px 24px; font-size: 13px; }
footer h3 { color: white; font-size: 20px; margin-bottom: 4px; }
footer h3 span { color: var(--accent-light); }
.footer-line { width: 40px; height: 2px; background: var(--accent); margin: 16px auto; border-radius: 2px; }
.footer-partners { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 16px 0; }
.footer-partners span { padding: 6px 16px; background: rgba(255,255,255,0.04); border-radius: 8px; font-size: 12px; border: 1px solid rgba(255,255,255,0.04); }
.footer-copy { font-size: 11px; opacity: 0.4; }
