/* ============================================================
   FASTER — f2ster.com  |  الموقع التعريفي (v1)
   لون الهوية: #2D2175  |  تدرّج: #2F80ED → #2D2175
   ============================================================ */

:root {
  --brand: #2D2175;
  --brand-2: #2F80ED;
  --grad: linear-gradient(135deg, #2F80ED 0%, #2D2175 60%);
  --ink: #16162a;
  --muted: #6b7280;
  --line: #e7e7f0;
  --bg: #ffffff;
  --surface: #f6f6fb;
  --surface-2: #eef0fb;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(45, 33, 117, 0.10);
  --shadow-lg: 0 24px 60px rgba(45, 33, 117, 0.18);
  --maxw: 1160px;
  --font: "Tajawal", "Segoe UI", system-ui, -apple-system, sans-serif;
  --head: "Cairo", var(--font);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* اللغة والاتجاه */
[data-lang-en] { display: none; }
html[lang="en"] [data-lang-en] { display: inline; }
html[lang="en"] [data-lang-ar] { display: none; }
html[lang="en"] .only-ar { display: none !important; }
html[lang="ar"] .only-en { display: none !important; }

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { font-family: var(--head); line-height: 1.25; color: var(--ink); }
.section { padding: 88px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head .kicker {
  display: inline-block; font-weight: 700; font-size: .82rem; letter-spacing: .5px;
  color: var(--brand-2); background: var(--surface-2); padding: 6px 14px;
  border-radius: 999px; margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin-top: 12px; }

/* ============ الأزرار ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--head); font-weight: 700; font-size: 1rem;
  padding: 13px 26px; border-radius: 999px; cursor: pointer; border: 0;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; color: var(--brand); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); background: var(--surface); }
.btn-whatsapp { background: #25D366; color: #fff; box-shadow: 0 10px 24px rgba(37,211,102,.28); }
.btn-whatsapp:hover { transform: translateY(-2px); }

/* ============ الهيدر ============ */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand .mark { width: 38px; height: 38px; }
.brand .wordmark { height: 22px; }
.brand .wordmark svg path { fill: var(--brand); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-weight: 600; color: var(--ink); font-size: .96rem; transition: color .2s; }
.nav-links a:hover { color: var(--brand-2); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  border: 1.5px solid var(--line); background: #fff; color: var(--brand);
  font-family: var(--head); font-weight: 700; font-size: .85rem;
  padding: 8px 14px; border-radius: 999px; cursor: pointer; transition: all .2s;
}
.lang-toggle:hover { border-color: var(--brand); background: var(--surface); }
.menu-btn { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; transition: .3s; }

/* ============ الهيرو ============ */
.hero { position: relative; padding: 72px 0 88px; background: var(--surface); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset-inline-end: -180px; top: -120px;
  width: 520px; height: 520px; background: var(--grad); opacity: .12;
  border-radius: 50%; filter: blur(20px);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; position: relative; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.3rem); font-weight: 800; letter-spacing: -.5px; }
.hero h1 .accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.lead { font-size: 1.18rem; color: var(--muted); margin: 20px 0 30px; max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* أزرار المتاجر */
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px; position: relative;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 14px;
  min-width: 168px; transition: transform .15s, opacity .2s;
}
.store-badge:hover { transform: translateY(-2px); }
.store-badge.disabled { opacity: .55; cursor: not-allowed; }
.store-badge svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-badge .sb-text small { display: block; font-size: .66rem; opacity: .8; line-height: 1.2; }
.store-badge .sb-text b { font-family: var(--head); font-size: 1.02rem; font-weight: 700; }
.store-badge .soon {
  position: absolute; top: -9px; inset-inline-end: 10px; background: var(--brand-2);
  color: #fff; font-size: .62rem; font-weight: 700; padding: 2px 8px; border-radius: 999px;
  font-family: var(--head);
}

/* بطاقة الهيرو (شعار) */
.hero-art { display: flex; align-items: center; justify-content: center; }
.hero-card {
  width: 100%; max-width: 380px; aspect-ratio: 1/1; border-radius: 32px;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); position: relative;
}
.hero-card .mark-big { width: 62%; }
.hero-card .mark-big svg path { fill: #fff; }
.hero-badges { position: absolute; inset: 0; }
.float-chip {
  position: absolute; background: #fff; border-radius: 14px; padding: 10px 16px;
  box-shadow: var(--shadow); font-family: var(--head); font-weight: 700; font-size: .9rem;
  display: flex; align-items: center; gap: 8px;
}
.float-chip .dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; }
.float-chip.a { top: 12%; inset-inline-start: -18px; }
.float-chip.b { bottom: 16%; inset-inline-end: -14px; }

/* ============ الخدمات ============ */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-icon {
  width: 58px; height: 58px; border-radius: 16px; background: var(--surface-2);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  font-size: 28px;
}
.service-card h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: .98rem; }
/* خدمة موقوفة من لوحة التحكم ⇒ "قريباً" */
.service-card { position: relative; }
.service-card.is-soon { opacity: .75; }
.soon-badge {
  position: absolute; top: 18px; inset-inline-end: 18px; background: var(--surface-2); color: var(--muted);
  font-family: var(--head); font-weight: 700; font-size: .8rem; padding: 4px 12px; border-radius: 999px;
}

/* ============ الأقسام الجديدة (رحلات/شاليهات) ============ */
.featured { background: var(--surface); }
.featured-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.feature-card {
  border-radius: var(--radius); overflow: hidden; position: relative; min-height: 320px;
  display: flex; flex-direction: column; justify-content: flex-end; color: #fff;
  box-shadow: var(--shadow); isolation: isolate;
}
.feature-card .bg { position: absolute; inset: 0; z-index: -2; }
.feature-card.boat .bg { background: linear-gradient(135deg, #0ea5e9, #0369a1); }
.feature-card.chalet .bg { background: linear-gradient(135deg, #f59e0b, #b45309); }
.feature-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.05)); }
.feature-card .fc-body { padding: 28px; }
.feature-card .fc-tag {
  display: inline-block; background: rgba(255,255,255,.22); backdrop-filter: blur(4px);
  padding: 5px 13px; border-radius: 999px; font-size: .78rem; font-weight: 700;
  font-family: var(--head); margin-bottom: 12px;
}
.feature-card h3 { color: #fff; font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.feature-card p { font-size: .98rem; opacity: .95; margin-bottom: 18px; max-width: 90%; }
.feature-emoji { position: absolute; top: 22px; inset-inline-end: 26px; font-size: 46px; z-index: 1; filter: drop-shadow(0 4px 8px rgba(0,0,0,.25)); }

/* ============ خطوات ============ */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 24px; }
.step { text-align: center; padding: 20px; }
.step .num {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 16px;
  background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--head); font-weight: 800; font-size: 1.3rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .95rem; }

/* ============ CTA تحميل ============ */
.download-cta { background: var(--grad); color: #fff; border-radius: 28px; padding: 56px 40px; text-align: center; margin: 0 20px; }
.download-cta h2 { color: #fff; font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 800; }
.download-cta p { opacity: .92; margin: 12px 0 26px; font-size: 1.08rem; }
.download-cta .store-badges { justify-content: center; }
.download-cta .store-badge { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25); }

/* ============ التواصل ============ */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; text-align: center;
}
.contact-card .ci { font-size: 32px; margin-bottom: 12px; }
.contact-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.contact-card a, .contact-card span { color: var(--muted); font-size: .98rem; }
.contact-card a:hover { color: var(--brand-2); }

/* ============ الفوتر ============ */
.footer { background: var(--ink); color: #cfcfe0; padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer .brand .wordmark svg path { fill: #fff; }
.footer p { color: #9a9ab5; font-size: .95rem; margin-top: 14px; max-width: 320px; }
.footer h4 { color: #fff; font-family: var(--head); font-size: 1rem; margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: #9a9ab5; font-size: .95rem; transition: color .2s; }
.footer ul a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem; color: #7a7a95; }

/* ============ صفحات المحتوى (سياسة/شروط) ============ */
.doc-hero { background: var(--grad); color: #fff; padding: 60px 0; }
.doc-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.doc-hero p { opacity: .9; margin-top: 10px; }
.doc-body { padding: 56px 0; }
.doc-body .container { max-width: 820px; }
.doc-body h2 { font-size: 1.4rem; margin: 34px 0 12px; color: var(--brand); }
.doc-body h3 { font-size: 1.1rem; margin: 22px 0 8px; }
.doc-body p, .doc-body li { color: #33334d; margin-bottom: 12px; }
.doc-body ul { padding-inline-start: 22px; margin-bottom: 14px; }
.doc-body .updated { color: var(--muted); font-size: .92rem; margin-bottom: 24px; }
.doc-body a { color: var(--brand-2); text-decoration: underline; }

/* ملاحظة للمالك (تظهر أثناء الإعداد فقط) */
.owner-note {
  background: #fff8e1; border: 1px dashed #e0a800; color: #7a5b00;
  padding: 10px 16px; border-radius: 10px; font-size: .85rem; text-align: center;
}

/* ============ الاستجابة للموبايل ============ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-card { max-width: 280px; }
  .featured-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .nav-links.open {
    display: flex; position: absolute; top: 68px; inset-inline: 0; flex-direction: column;
    background: #fff; padding: 20px; gap: 18px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
}
@media (max-width: 520px) {
  .section { padding: 60px 0; }
  .store-badge { min-width: 150px; }
  .download-cta { padding: 40px 22px; }
}

/* ===== الأسعار وطرق الدفع ===== */
.pricing { background: var(--surface); }
.price-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.price-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 12px; }
.price-card ul { list-style: none; }
.price-card li { color: var(--muted); font-size: .97rem; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.price-card li:last-child { border-bottom: 0; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 20px; }
.price-table { overflow-x: auto; }
.price-table table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 480px; }
.price-table th, .price-table td { padding: 9px 8px; border-bottom: 1px solid var(--line); text-align: center; white-space: nowrap; }
.price-table th { background: var(--surface); font-family: var(--head); font-weight: 700; color: var(--brand); }
.price-table td:first-child, .price-table th:first-child { text-align: start; font-weight: 700; color: var(--ink); }
.price-note { color: var(--muted); font-size: .9rem; margin-top: 12px; }
.pay-methods { text-align: center; margin-top: 36px; }
.pay-methods h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 14px; }
.pay-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pay-logo { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 14px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); font-weight: 800; font-size: .95rem; box-shadow: 0 2px 8px rgba(45,33,117,.06); }
.pay-logo.visa { color: #1a1f71; font-style: italic; font-size: 1.15rem; letter-spacing: 1px; }
.pay-logo.mc { position: relative; padding-inline-start: 50px; color: #222; font-weight: 600; font-size: .85rem; }
.pay-logo.mc i { position: absolute; top: 9px; width: 22px; height: 22px; border-radius: 50%; }
.pay-logo.mc i:first-child { inset-inline-start: 12px; background: #eb001b; }
.pay-logo.mc i:nth-child(2) { inset-inline-start: 25px; background: #f79e1b; mix-blend-mode: multiply; }
.pay-logo.meeza { color: #00754a; }
.pay-logo.vf { color: #e60000; }
.pay-logo.or { color: #ff7900; }
.pay-logo.et { color: #e00800; }
.pay-logo.we { color: #5c2d91; }
.pay-logo.cash { color: var(--brand); }
.price-links { margin-top: 10px; font-size: .95rem; }
.price-links a { color: var(--brand); font-weight: 700; }
.footer p.company-line { max-width: none; font-size: .85rem; color: #8d8daa; margin: 0 0 18px; }

/* ===== الحركة ===== */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.scroll-progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 1000; transform: scaleX(0); transform-origin: right; background: linear-gradient(90deg, #2F80ED, #2D2175); }
.header { transition: box-shadow .3s, background .3s, padding .3s; }
.header.is-scrolled { box-shadow: 0 8px 24px rgba(20, 16, 60, .12); }
.hero h1 span { display: inline-block; }
.service-card, .price-card { will-change: transform; transform-style: preserve-3d; }

/* ===== التسجيل المبكر ===== */
.hero-reg { margin: 6px 0 18px; display: inline-flex; }
.reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.reg-text h2 { font-family: var(--head); font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 800; margin: 8px 0 12px; }
.reg-text p { color: var(--muted); line-height: 1.9; }
.reg-points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; font-weight: 600; }
.reg-card { background: var(--bg); border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow-lg); display: grid; gap: 14px; }
.reg-card[hidden] { display: none; }
.reg-card label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.reg-card input:not([type=checkbox]) { font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); outline: none; transition: border-color .2s, background .2s; }
.reg-card input:focus { border-color: var(--brand); background: #fff; }
.reg-card label.check { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.reg-card label.check input { width: 18px; height: 18px; accent-color: var(--brand); }
.reg-card label.check a { color: var(--brand); font-weight: 700; }
.reg-msg { min-height: 1.2em; margin: 0; font-weight: 600; }
.reg-msg.bad { color: #d92d20; }
.reg-msg.ok { color: var(--brand); }
.reg-btn { justify-content: center; width: 100%; }
.reg-btn:disabled { opacity: .6; cursor: wait; }
.reg-done { text-align: center; justify-items: center; }
.reg-check { width: 72px; height: 72px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 2.2rem; display: grid; place-items: center; }
.reg-code { display: grid; gap: 6px; justify-items: center; background: var(--surface); border-radius: 16px; padding: 16px 24px; }
.reg-code[hidden] { display: none; }
.reg-code b { font-size: 1.6rem; letter-spacing: 3px; color: var(--brand); direction: ltr; }
@media (max-width: 860px) { .reg-grid { grid-template-columns: 1fr; } }
.reg-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--surface); padding: 5px; border-radius: 14px; }
.reg-switch label { display: block; cursor: pointer; }
.reg-switch input { position: absolute; opacity: 0; pointer-events: none; }
.reg-switch span { display: block; text-align: center; padding: 10px 6px; border-radius: 10px; font-weight: 700; font-size: .92rem; color: var(--muted); transition: background .2s, color .2s; }
.reg-switch input:checked + span { background: var(--grad); color: #fff; box-shadow: var(--shadow); }
.reg-card select { font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.reg-card [hidden] { display: none !important; }
.reg-alt { text-align: center; margin: 2px 0 0; color: var(--muted); font-size: .95rem; }
.reg-alt a { color: var(--brand); font-weight: 700; }
.reg-account { text-align: center; justify-items: center; }
.acc-status { color: var(--ink); line-height: 1.8; margin: 0; }
.acc-balance { display: grid; gap: 4px; justify-items: center; background: var(--surface); border-radius: 16px; padding: 14px 24px; }
.acc-balance b { font-size: 1.5rem; color: #1a9e55; }
.reg-card h3 { font-family: var(--head); margin: 0; }
