/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;900&display=swap');

:root {
    --primary: #0f172a;    /* كحلي غامق */
    --secondary: #1e293b;  /* رمادي غامق للخلفيات */
    --accent: #fbbf24;     /* ذهبي */
    --action: #10b981;     /* أخضر للأزرار */
    --text: #334155;       /* رمادي للنصوص */
    --light: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Cairo', sans-serif; background-color: #f8fafc; color: var(--text); direction: rtl; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

/* Header */
header { background: var(--light); padding: 15px 0; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 900; color: var(--primary); }
.nav-btn { background: var(--primary); color: #fff; padding: 10px 25px; border-radius: 8px; font-weight: 700; }
.nav-btn:hover { background: #334155; }

/* Hero Section */
.hero { background: var(--primary); color: #fff; padding: 80px 0; text-align: center; position: relative; overflow: hidden; }
.hero h1 { font-size: 3rem; margin-bottom: 20px; line-height: 1.2; }
.hero p { font-size: 1.25rem; color: #cbd5e1; max-width: 700px; margin: 0 auto 40px; }
.cta-main { background: var(--accent); color: var(--primary); padding: 18px 45px; border-radius: 50px; font-size: 1.2rem; font-weight: 800; display: inline-block; box-shadow: 0 10px 15px -3px rgba(251, 191, 36, 0.3); }
.cta-main:hover { transform: translateY(-3px); box-shadow: 0 20px 25px -5px rgba(251, 191, 36, 0.4); }

/* Features */
.features { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; font-size: 2rem; color: var(--primary); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { background: #fff; padding: 40px 30px; border-radius: 16px; border: 1px solid #e2e8f0; text-align: center; transition: 0.3s; }
.card:hover { transform: translateY(-10px); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); border-color: var(--accent); }
.icon { font-size: 3rem; margin-bottom: 20px; display: block; }
.card h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--primary); }

/* Pages Content */
.legal-content { padding: 60px 0; background: #fff; min-height: 60vh; }
.legal-content h1 { color: var(--primary); margin-bottom: 30px; border-bottom: 2px solid var(--accent); display: inline-block; padding-bottom: 10px; }
.legal-content p { margin-bottom: 20px; line-height: 1.8; font-size: 1.1rem; }

/* Footer */
footer { background: var(--secondary); color: #94a3b8; padding: 60px 0 30px; font-size: 0.9rem; }
.footer-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--accent); }
.risk-box { border: 1px solid #334155; padding: 20px; border-radius: 8px; background: #0f172a; margin-top: 20px; text-align: justify; font-size: 0.8rem; }

/* Mobile */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .grid-3 { grid-template-columns: 1fr; }
}