/* الموقع التعريفي لنظام سهل — تصميم منظّم: لوحة لونية واحدة، شبكة بطاقات، أقسام متباعدة بانتظام */
:root {
    --ink: #0b1f3a; --ink-2: #44546a; --muted: #6b7a90;
    --brand: #0f3460; --brand-2: #16508f; --accent: #00b4d8;
    --bg: #f6f8fb; --card: #ffffff; --line: #e4e9f0;
    --radius: 16px; --shadow: 0 8px 28px rgba(15, 52, 96, .08); --shadow-lg: 0 18px 48px rgba(15, 52, 96, .16);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "Tajawal", "Cairo", Tahoma, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.8; margin: 0; }
a { color: var(--brand-2); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: "Cairo", "Tajawal", sans-serif; font-weight: 800; color: var(--ink); line-height: 1.35; }
img { max-width: 100%; }

/* ───────── الشريط العلوي ───────── */
.s-nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.s-nav .container { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.s-brand { display: flex; align-items: center; gap: 10px; font-family: "Cairo", sans-serif; font-weight: 900; font-size: 1.35rem; color: var(--brand); }
.s-brand img { height: 42px; border-radius: 8px; }
.s-brand b { color: var(--accent); }
.s-links { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.s-links > a, .s-dd > button { color: var(--ink-2); font-weight: 700; font-size: .98rem; padding: 8px 13px; border-radius: 10px; background: none; border: 0; cursor: pointer; font-family: inherit; }
.s-links > a:hover, .s-dd > button:hover, .s-links > a.on { color: var(--brand); background: rgba(0, 180, 216, .1); }
.s-dd { position: relative; }
.s-dd-menu { position: absolute; top: 100%; inset-inline-start: 0; min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px; display: none; }
.s-dd:hover .s-dd-menu, .s-dd:focus-within .s-dd-menu { display: block; }
.s-dd-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--ink); font-weight: 600; }
.s-dd-menu a:hover { background: var(--bg); color: var(--brand); }
.s-dd-menu i { width: 22px; text-align: center; }
.s-cta { background: var(--brand); color: #fff !important; padding: 9px 20px !important; border-radius: 12px !important; }
.s-cta:hover { background: var(--accent) !important; }
.s-burger { display: none; margin-inline-start: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 7px 12px; font-size: 1.2rem; color: var(--brand); }
@media (max-width: 991px) {
    .s-burger { display: block; }
    .s-links { display: none; position: absolute; top: 68px; inset-inline: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 16px; box-shadow: var(--shadow); max-height: 80vh; overflow: auto; }
    .s-links.open { display: flex; }
    .s-dd-menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 12px 0 0; }
    .s-dd > button { width: 100%; text-align: start; }
}

/* ───────── مكوّنات عامة ───────── */
.s-section { padding: 72px 0; }
.s-section.alt { background: #fff; }
.s-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.s-head h2 { font-size: 2rem; margin-bottom: 10px; }
.s-head p { color: var(--ink-2); font-size: 1.08rem; margin: 0; }
.s-eyebrow { display: inline-block; background: rgba(0, 180, 216, .12); color: #0286a3; font-weight: 800; font-size: .85rem; padding: 4px 14px; border-radius: 999px; margin-bottom: 12px; }
.s-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 26px; border-radius: 14px; font-weight: 800; border: 2px solid transparent; transition: .2s; font-size: 1.02rem; }
.s-btn-primary { background: var(--accent); color: #fff !important; box-shadow: 0 8px 22px rgba(0, 180, 216, .35); }
.s-btn-primary:hover { background: #0096b7; transform: translateY(-2px); }
.s-btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff !important; }
.s-btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.s-btn-dark { background: var(--brand); color: #fff !important; }
.s-btn-dark:hover { background: var(--brand-2); }
.s-btn-line { border-color: var(--line); color: var(--brand) !important; background: #fff; }
.s-btn-line:hover { border-color: var(--accent); }
.s-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; height: 100%; transition: .2s; }
.s-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.s-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; color: #fff; margin-bottom: 14px; }
.s-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.s-card p { color: var(--ink-2); margin: 0; font-size: .98rem; }
.s-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.s-check { list-style: none; padding: 0; margin: 0; }
.s-check li { position: relative; padding: 7px 34px 7px 0; color: var(--ink-2); }
.s-check li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; inset-inline-start: 0; right: 0; top: 8px; width: 24px; height: 24px; border-radius: 50%; background: rgba(0, 180, 216, .15); color: #0286a3; display: grid; place-items: center; font-size: .72rem; }
.s-badge { display: inline-block; font-size: .78rem; font-weight: 800; background: #fff3cd; color: #8a6100; padding: 2px 10px; border-radius: 999px; }
.s-badge.new { background: #d1f5e0; color: #0b6b3a; }

/* ───────── الواجهة الرئيسية (Hero) ───────── */
.s-hero { background: linear-gradient(135deg, #0b1f3a 0%, #0f3460 55%, #0b7a99 100%); color: #fff; padding: 84px 0 96px; position: relative; overflow: hidden; }
.s-hero::after { content: ""; position: absolute; inset: auto -120px -160px auto; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 180, 216, .35), transparent 70%); }
.s-hero .container { position: relative; z-index: 2; }
.s-hero h1 { color: #fff; font-size: 2.9rem; margin-bottom: 14px; }
.s-hero h1 span { color: #7fe3f7; }
.s-hero p.lead { color: #d3e3f5; font-size: 1.2rem; max-width: 560px; }
.s-hero-shot { border-radius: 18px; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); border: 6px solid rgba(255, 255, 255, .12); width: 100%; }
.s-stats { display: grid; grid-template-columns: repeat(4, max-content); gap: 18px 38px; margin-top: 30px; }
.s-stats div b { display: block; font-size: 1.7rem; font-family: "Cairo", sans-serif; color: #7fe3f7; }
.s-stats div span { color: #bcd2ea; font-size: .92rem; }
@media (max-width: 767px) { .s-hero h1 { font-size: 2.1rem; } .s-hero { padding: 54px 0 64px; } .s-stats { grid-template-columns: repeat(2, 1fr); } }

/* بطاقات الأنماط */
.mode-card { display: flex; flex-direction: column; }
.mode-card .s-icon { margin-bottom: 12px; }
.mode-card .go { margin-top: auto; padding-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.mode-card .go a { font-weight: 800; font-size: .92rem; padding: 7px 16px; border-radius: 10px; }
.mode-card .go .try { background: var(--accent); color: #fff; }
.mode-card .go .more { background: var(--bg); color: var(--brand); }

/* صفحة النمط */
.s-pagehead { padding: 56px 0 44px; color: #fff; background: linear-gradient(135deg, var(--mode, #0f3460), #0b1f3a); }
.s-pagehead h1 { color: #fff; font-size: 2.4rem; }
.s-pagehead p { color: rgba(255, 255, 255, .85); font-size: 1.12rem; max-width: 720px; }
.s-crumb { font-size: .9rem; opacity: .85; margin-bottom: 8px; } .s-crumb a { color: #fff; }
.shot { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); height: 100%; }
.shot img { width: 100%; display: block; cursor: zoom-in; border-bottom: 1px solid var(--line); }
.shot figcaption { padding: 12px 16px; font-weight: 700; color: var(--ink-2); font-size: .95rem; }
.s-steps { counter-reset: st; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.s-steps > div { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px 22px; }
.s-steps > div::before { counter-increment: st; content: counter(st); position: absolute; top: -16px; inset-inline-start: 22px; background: var(--accent); color: #fff; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-family: "Cairo", sans-serif; }

/* التجربة */
.demo-card { text-align: center; }
.demo-card code { background: var(--bg); padding: 2px 8px; border-radius: 6px; direction: ltr; display: inline-block; }
.demo-box { background: #fff; border: 2px dashed var(--accent); border-radius: var(--radius); padding: 22px; }

/* باقات */
.plan { position: relative; }
.plan.hot { border: 2px solid var(--accent); }
.plan .tag { position: absolute; top: -13px; inset-inline-start: 24px; background: var(--accent); color: #fff; font-weight: 800; font-size: .8rem; padding: 3px 14px; border-radius: 999px; }

/* ذيل الصفحة */
.s-cta-band { background: linear-gradient(135deg, var(--brand), #0b7a99); color: #fff; text-align: center; padding: 60px 0; }
.s-cta-band h2 { color: #fff; margin-bottom: 8px; } .s-cta-band p { color: #d3e3f5; }
.s-footer { background: #08172b; color: #9db3cc; padding: 48px 0 24px; }
.s-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.s-footer a { color: #9db3cc; display: block; padding: 3px 0; } .s-footer a:hover { color: #fff; }
.s-footer .copy { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 28px; padding-top: 18px; text-align: center; font-size: .9rem; }
.s-float { position: fixed; left: 20px; bottom: 22px; z-index: 40; display: flex; flex-direction: column; gap: 10px; }
.s-float a { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.5rem; box-shadow: var(--shadow-lg); }
.s-float .wa { background: #25d366; } .s-float .fb { background: #1877f2; }
.s-lightbox { position: fixed; inset: 0; background: rgba(8, 23, 43, .88); z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.s-lightbox.open { display: flex; } .s-lightbox img { max-height: 92vh; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
@media (max-width: 767px) { .s-section { padding: 52px 0; } .s-head h2 { font-size: 1.6rem; } .s-pagehead h1 { font-size: 1.8rem; } }
