/* مارلين ستوديو — صفحة خدمة مواقع المكاتب العقارية */
:root {
  --navy: #13294b; --navy-2: #0c1c35; --gold: #b08d4a; --gold-2: #d6b878; --gold-soft: #f1e9d8;
  --bg: #f8f6f1; --card: #fff; --line: #e7e1d4; --muted: #5a6272; --text: #1d2433;
  --radius: 20px; --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: "IBM Plex Sans Arabic", system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.8; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Noto Kufi Arabic", sans-serif; color: var(--navy); line-height: 1.4; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.num { font-feature-settings: "lnum"; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--gold); font-weight: 600; font-size: 15px; margin-bottom: 10px; }
.eyebrow::before { content: ""; width: 32px; height: 1.5px; background: currentColor; }
.lead { color: var(--muted); font-size: 18px; max-width: 640px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border-radius: 99px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; transition: transform .2s var(--ease), background .2s; cursor: pointer; }
.btn:active { transform: scale(.97); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #9c7b3d; }
.btn-line { border-color: rgba(255,255,255,.3); color: #fff; }
.btn-line:hover { background: rgba(255,255,255,.08); }
.btn-navy { background: var(--navy); color: #fff; }

/* الهيدر */
.top { position: sticky; top: 0; z-index: 20; background: rgba(12,28,53,.92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.06); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; }
.top .logo img { height: 28px; width: auto; }
.top nav { display: flex; gap: 6px; }
.top nav a { color: #c9d2e3; text-decoration: none; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.top nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.top .btn { padding: 9px 18px; font-size: 14px; }

/* الهيرو */
.hero { background: radial-gradient(900px 500px at 85% 0%, rgba(201,168,102,.18), transparent 70%), linear-gradient(160deg, #13294b, #0a172c); color: #fff; padding: 80px 0 0; overflow: hidden; }
.hero .eyebrow { color: var(--gold-2); }
.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 58px); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--gold-2); }
.hero p { color: #c9d2e3; font-size: 19px; max-width: 620px; margin-top: 16px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.devices { position: relative; margin-top: 56px; height: 500px; }
.devices .browser { position: absolute; inset-inline-end: 0; bottom: -40px; width: min(820px, 92%); border-radius: 16px 16px 0 0; overflow: hidden; box-shadow: 0 -10px 60px rgba(0,0,0,.35); background: #fff; }
.devices .bar { height: 28px; background: #eef0f3; display: flex; align-items: center; gap: 6px; padding: 0 12px; direction: ltr; }
.devices .bar i { width: 9px; height: 9px; border-radius: 50%; background: #d3d7de; }
.devices .phone { position: absolute; inset-inline-start: 4%; bottom: -30px; width: 190px; padding: 6px; border-radius: 30px; background: #0b1220; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.devices .phone img { border-radius: 24px; }

section.block { padding: 88px 0; }
section.alt { background: #efeadf; }
.head { margin-bottom: 36px; }
.head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }

/* المزايا */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feat h3 { font-size: 18px; margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: 15.5px; }
.feat .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; margin-bottom: 14px; }
.feat .ic svg { width: 22px; height: 22px; }

.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
.shot { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(12,28,53,.12); background: #fff; }
ul.ticks { list-style: none; display: grid; gap: 10px; margin-top: 18px; }
ul.ticks li { position: relative; padding-inline-start: 28px; }
ul.ticks li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 0; color: var(--gold); font-weight: 700; }

/* الباقات */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 30px 26px; display: flex; flex-direction: column; position: relative; }
.plan.pro { background: var(--navy); color: #fff; border: 0; box-shadow: 0 20px 50px rgba(12,28,53,.25); }
.plan.pro h3 { color: #fff; }
.plan .badge { position: absolute; top: -13px; inset-inline-start: 24px; background: var(--gold); color: #fff; font-size: 13px; font-weight: 700; padding: 3px 14px; border-radius: 99px; }
.plan .price { font-family: "Noto Kufi Arabic"; font-size: 42px; font-weight: 800; color: var(--navy); margin-top: 6px; line-height: 1.2; }
.plan.pro .price { color: var(--gold-2); }
.plan .price small { font-family: "IBM Plex Sans Arabic"; font-size: 15px; font-weight: 500; color: var(--muted); }
.plan.pro .price small, .plan.pro .meta { color: #c4cde0; }
.plan .meta { font-size: 14.5px; color: var(--muted); padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.plan.pro .meta { border-color: rgba(255,255,255,.14); }
.plan ul { list-style: none; display: grid; gap: 9px; font-size: 15.5px; flex: 1; }
.plan li { padding-inline-start: 24px; position: relative; }
.plan li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--gold); font-weight: 700; }
.plan li.no { color: #9aa1ad; }
.plan li.no::before { content: "–"; color: #c2c7cf; }
.plan .btn { margin-top: 22px; }
.note { margin-top: 18px; font-size: 14.5px; color: var(--muted); }

/* الخطوات */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: var(--gold-2); font-family: "Noto Kufi Arabic"; margin-bottom: 12px; }
.steps h3 { font-size: 17px; }
.steps p { font-size: 15px; color: var(--muted); }

/* الأسئلة */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.faq details p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }

/* التواصل */
.contact { background: linear-gradient(160deg, #13294b, #0a172c); color: #fff; border-radius: 28px; padding: 48px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.contact h2 { color: #fff; font-size: clamp(26px, 3.4vw, 36px); }
.contact p { color: #c4cde0; margin-top: 10px; }
.contact .ways { display: grid; gap: 12px; }
.contact .ways a { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 16px 20px; text-decoration: none; }
.contact .ways a:hover { background: rgba(255,255,255,.1); }
.contact .ways span { color: #c4cde0; font-size: 14px; }
.contact .ways b { direction: ltr; font-weight: 600; }

/* الفوتر */
footer { padding: 40px 0 50px; color: var(--muted); font-size: 14.5px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; border-top: 1px solid var(--line); padding-top: 28px; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--navy); text-decoration: underline; }
footer img { height: 22px; opacity: .6; }

/* صفحات السياسات */
.doc { padding: 56px 0 80px; }
.doc .paper { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: clamp(26px, 5vw, 52px); max-width: 860px; margin-inline: auto; }
.doc h1 { font-size: clamp(28px, 4vw, 38px); }
.doc .upd { color: var(--muted); font-size: 14.5px; margin: 6px 0 26px; }
.doc h2 { font-size: 20px; margin: 30px 0 10px; }
.doc p, .doc li { color: #384152; }
.doc ul { padding-inline-start: 22px; display: grid; gap: 6px; margin-bottom: 10px; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15.5px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px 12px; text-align: start; vertical-align: top; }
.doc th { background: var(--bg); color: var(--navy); }

.rise { animation: rise .7s var(--ease) both; }
.rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .16s; } .rise.d3 { animation-delay: .26s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) { .rise { animation: none; } html { scroll-behavior: auto; } }

@media (max-width: 900px) {
  .top nav { display: none; }
  .grid3, .plans, .steps { grid-template-columns: 1fr; }
  .split, .contact { grid-template-columns: 1fr; }
  .contact { padding: 30px 22px; }
  .devices { height: 250px; }
  .devices .phone { width: 120px; inset-inline-start: 2%; }
  .devices .browser { width: 86%; }
  section.block { padding: 64px 0; }
  .plan.pro { order: -1; }
}
