@import url('../fonts/cairo/fonts.css');

/* إشغال – واجهة الزوار | ProExcel Business Systems */
:root {
  --navy: #123A63;
  --navy-dark: #0d2c4c;
  --green: #21A366;
  --green-dark: #1B7A4C;
  --red: #C62828;
  --orange: #E65100;
  --line: #e2e6ee;
  --text: #1c2430;
  --muted: #5b6575;
}
* { box-sizing: border-box; }
body.landing {
  margin: 0;
  font-family: 'Cairo', Tahoma, Arial, sans-serif;
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.9;
  background: #fff;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.l-container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* الترويسة */
.l-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 8px rgba(18,58,99,.06); }
.l-nav { display: flex; align-items: center; gap: 22px; padding-block: 12px; }
.l-brand { display: flex; align-items: center; gap: 12px; }
.logo-mark { display: inline-block; background: var(--navy); color: #fff; font-weight: 900; font-size: 22px; padding: 7px 20px; border-radius: 10px; letter-spacing: 1px; }
.logo-mark.small { font-size: 15px; padding: 4px 14px; }
.l-brand-sub { font-size: 12.2px; color: var(--muted); font-weight: 700; max-width: 150px; line-height: 1.5; }
.l-menu { display: flex; gap: 4px; flex-wrap: wrap; margin-inline-start: auto; }
.l-menu a { text-decoration: none; font-size: 13.6px; font-weight: 700; color: #33404f; padding: 7px 12px; border-radius: 8px; }
.l-menu a:hover { background: #eef3f9; color: var(--navy); }
.l-actions { display: flex; gap: 10px; }

/* الأزرار */
.btn { display: inline-block; text-decoration: none; border: 0; font-family: inherit; font-weight: 800; border-radius: 9px; cursor: pointer; transition: .15s; text-align: center; }
.btn-outline { color: var(--navy); border: 2px solid var(--navy); padding: 8px 20px; font-size: 14px; background: #fff; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-green { background: var(--green); color: #fff; padding: 10px 24px; font-size: 14.5px; }
.btn-green:hover { background: var(--green-dark); }
.btn-dark { background: var(--navy); color: #fff; padding: 10px 24px; font-size: 14.5px; }
.btn-dark:hover { background: var(--navy-dark); }
.btn-lg { padding: 14px 30px; font-size: 16px; }

/* القسم الرئيسي */
.l-hero { background: linear-gradient(155deg, #0d2c4c 0%, var(--navy) 55%, #1d4c7c 100%); color: #fff; padding: 64px 0 70px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 46px; align-items: center; }
.hero-badge { display: inline-block; background: rgba(33, 163, 102, .18); border: 1px solid rgba(33, 163, 102, .55); color: #bfe8d4; font-size: 12.6px; font-weight: 800; border-radius: 30px; padding: 5px 18px; margin-bottom: 18px; }
.l-hero h1 { color: #fff; font-size: 34px; line-height: 1.55; margin: 0 0 14px; font-weight: 900; }
.hero-lead { font-size: 16.5px; color: #cfdded; margin: 0 0 24px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-btns .btn-green { background: var(--green); }
.hero-points { display: flex; gap: 10px 22px; flex-wrap: wrap; font-size: 12.8px; color: #a8bdd4; font-weight: 700; }
.hero-visual { position: relative; }
.hero-visual img { border-radius: 14px; box-shadow: 0 18px 50px rgba(0, 0, 0, .35); }
.hero-card { position: absolute; bottom: -26px; inset-inline-start: -18px; background: #fff; color: var(--text); border-radius: 12px; padding: 16px 20px; width: min(320px, 84%); box-shadow: 0 14px 36px rgba(0, 0, 0, .28); font-size: 13.2px; }
.hc-line { display: flex; justify-content: space-between; padding: 5px 0; font-weight: 700; }
.hc-line b { color: var(--navy); }
.hc-bar { height: 8px; background: #edf0f5; border-radius: 6px; overflow: hidden; margin: 2px 0 8px; }
.hc-bar i { display: block; height: 100%; border-radius: 6px; }

/* الأقسام العامة */
.l-section { padding: 68px 0; }
.l-section.alt { background: #f7f9fc; }
.l-title { text-align: center; font-size: 27px; color: var(--navy); font-weight: 900; margin: 0 0 10px; }
.l-sub { text-align: center; color: var(--muted); max-width: 760px; margin: 0 auto 38px; font-size: 15.5px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.l-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.l-section.alt .l-card { box-shadow: 0 2px 14px rgba(18, 58, 99, .05); }
.l-card h3 { color: var(--navy); margin: 0 0 10px; font-size: 18px; }
.l-card h4 { color: var(--navy); margin: 0 0 8px; font-size: 15.8px; }
.l-card p { margin: 0; color: #3c4757; font-size: 14.4px; }
.f-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; border-top: 4px solid var(--green); }
.f-item:nth-child(even) { border-top-color: var(--navy); }
.f-item h4 { margin-bottom: 6px; }
.f-item p { font-size: 13.6px; color: var(--muted); margin: 0; }
.list-card ul { margin: 10px 0 0; padding: 0 18px 0 0; }
.list-card li { padding: 6px 0; font-size: 14.2px; color: #33404f; border-bottom: 1px dashed #edf0f5; }
.list-card li:last-child { border-bottom: 0; }
.solution-box { background: var(--navy); color: #fff; border-radius: 14px; padding: 26px 30px; margin-top: 26px; }
.solution-box h3 { color: #fff; margin: 0 0 8px; }
.solution-box p { margin: 0; color: #cfdded; }
.solution-box.green { background: #14603c; }
.s-item { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 12px; text-align: center; font-weight: 800; color: var(--navy); font-size: 14.4px; }
.a-item { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px; text-align: center; font-weight: 700; color: #33404f; font-size: 14px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; text-align: center; }
.step b { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; background: var(--navy); color: #fff; border-radius: 50%; font-size: 19px; margin-bottom: 12px; }
.step h4 { margin: 0 0 6px; }
.step p { margin: 0; font-size: 13.4px; color: var(--muted); }
.plain-list { margin: 12px 0 0; padding: 0 18px 0 0; }
.plain-list li { padding: 4px 0; font-size: 14px; color: #3c4757; }

/* التذييل */
.l-footer { background: var(--navy-dark); color: #b9cadd; padding: 46px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; padding-bottom: 34px; }
.foot-grid h5 { color: #fff; margin: 0 0 12px; font-size: 15px; }
.foot-grid a { display: block; color: #b9cadd; text-decoration: none; padding: 4px 0; font-size: 13.6px; }
.foot-grid a:hover { color: #fff; }
.foot-grid p { font-size: 13.2px; margin: 8px 0 0; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 16px 20px; text-align: center; font-size: 12.6px; color: #8fa6bd; }

/* زر الجوال */
.hamburger { display: none; flex-direction: column; gap: 5px; width: 44px; height: 40px; padding: 9px 10px; background: transparent; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.hamburger span { display: block; height: 2.5px; background: var(--navy); border-radius: 2px; }

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { position: static; margin-top: 16px; width: 100%; }
  .steps, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .l-menu {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 12px 20px 18px;
    box-shadow: 0 14px 26px rgba(18, 58, 99, .12);
  }
  .l-menu.open { display: flex; }
  .l-menu a { padding: 11px 12px; border-bottom: 1px dashed #edf0f5; }
  .l-nav { position: relative; flex-wrap: wrap; }
  .l-actions { margin-inline-start: auto; }
  .hamburger { display: flex; order: 3; }
  .l-brand { order: 1; }
  .l-actions { order: 2; }
  .hamburger { margin-inline-start: 8px; }
  .l-actions .btn-outline { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .l-hero { padding: 44px 0 54px; }
  .l-hero h1 { font-size: 25px; }
  .hero-lead { font-size: 15px; }
  .l-section { padding: 50px 0; }
  .l-title { font-size: 22px; }
  .steps, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .hero-btns .btn { width: 100%; }
  .l-actions .btn-green { padding: 8px 16px; font-size: 13px; }
  body.landing { font-size: 14.5px; }
}
