/* ==========================================================
   سند بوت — الموقع التسويقي
   ========================================================== */
.site { background: var(--surface); font-size: 16.5px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.4rem; }
.wrap.narrow { max-width: 760px; }
.flash-wrap:empty { display: none; }
.flash-wrap { padding-top: 1rem; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }

/* ---------- الشريط العلوي ---------- */
.site-nav { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-nav.is-scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 70px; }
.site-brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.2rem; color: var(--text); text-decoration: none !important; }
.site-brand img { width: 38px; height: 38px; border-radius: 10px; }
.site-brand.light { color: #fff; }
.site-links { display: flex; gap: .3rem; margin-inline-start: 1rem; }
.site-links a { color: var(--muted); font-weight: 650; padding: .4rem .7rem; border-radius: 8px; text-decoration: none !important; font-size: .97rem; }
.site-links a:hover { color: var(--text); background: var(--surface-2); }
.site-links .only-mobile { display: none; }
.nav-cta { margin-inline-start: auto; display: flex; gap: .4rem; align-items: center; }
.nav-toggle { display: none; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-links { position: absolute; top: 70px; inset-inline: 0; flex-direction: column; background: var(--surface); border-bottom: 1px solid var(--line); padding: .6rem 1.4rem 1rem; margin: 0; display: none; box-shadow: var(--shadow-2); }
  .site-links.is-open { display: flex; }
  .site-links a { padding: .7rem .4rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-links .only-mobile { display: block; }
}

/* ---------- البطل ---------- */
.hero { position: relative; overflow: hidden; padding: 4.5rem 0 4rem; background:
  radial-gradient(900px 480px at 18% 30%, color-mix(in srgb, var(--brand) 13%, transparent), transparent 70%),
  var(--bg); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 44px 44px; opacity: .45; mask-image: radial-gradient(ellipse 70% 70% at 30% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 70% at 30% 40%, #000 20%, transparent 75%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3rem; align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .9rem; color: var(--brand); background: var(--surface); border: 1px solid var(--brand-line); border-radius: 99px; padding: .3rem .85rem; margin-bottom: 1.3rem; }
.hero h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.28; font-weight: 850; letter-spacing: -.015em; margin-bottom: 1.1rem; color: var(--text); max-width: 18ch; text-wrap: balance; }
.hero-sub { font-size: 1.14rem; color: var(--muted); max-width: 54ch; line-height: 1.85; margin-bottom: 1.8rem; }
.hero-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.hero-points { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; gap: 1.2rem; flex-wrap: wrap; color: var(--muted); font-size: .93rem; font-weight: 600; }
.hero-points li { display: inline-flex; align-items: center; gap: .35rem; }
.hero-points .i { color: var(--brand); }

/* هاتف العرض */
.hero-demo { position: relative; display: flex; justify-content: center; padding: 1rem 0 2rem; }
.phone { width: 330px; max-width: 100%; background: #0E1D1A; border-radius: 38px; padding: 10px; box-shadow: 0 40px 80px -30px rgba(15, 46, 40, .55), 0 0 0 1px rgba(15,46,40,.1); position: relative; z-index: 1; }
.phone-top { display: flex; align-items: center; gap: .6rem; background: #0F5C48; color: #fff; padding: 1rem .9rem .7rem; border-radius: 29px 29px 0 0; }
.phone-top b { display: block; font-size: .95rem; line-height: 1.2; }
.phone-top small { font-size: .74rem; color: #BFE3D4; }
.phone-avatar { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; }
.phone-chat { background: #EFE7DD; height: 400px; padding: .9rem .7rem; display: flex; flex-direction: column; gap: .45rem; overflow: hidden; background-image: radial-gradient(rgba(15,46,40,.06) 1px, transparent 1px); background-size: 16px 16px; }
.phone-chat .b { max-width: 84%; padding: .45rem .7rem; border-radius: 12px; font-size: .88rem; line-height: 1.6; box-shadow: 0 1px 1px rgba(0,0,0,.08); color: #1A2B27; opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; }
.phone-chat .b.is-on { opacity: 1; transform: none; }
.phone-chat .in { background: #fff; align-self: flex-start; border-start-start-radius: 3px; }
.phone-chat .out { background: #D7F5C8; align-self: flex-end; border-start-end-radius: 3px; }
.phone-chat .typing-b { align-self: flex-end; background: #D7F5C8; padding: .55rem .75rem; border-radius: 12px; }
.phone-input { display: flex; align-items: center; justify-content: space-between; gap: .5rem; background: #F5F1EB; border-radius: 0 0 29px 29px; padding: .8rem 1rem 1rem; color: #8A9792; font-size: .85rem; }
.phone-input .i { color: #0F5C48; }
.demo-card { position: absolute; z-index: 2; inset-inline-end: -10px; bottom: 70px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-3); padding: .8rem 1rem; display: flex; gap: .7rem; align-items: center; min-width: 210px; opacity: 0; transform: translateY(14px) scale(.97); transition: opacity .45s ease, transform .45s cubic-bezier(.2,.8,.2,1.2); }
.demo-card.is-on { opacity: 1; transform: none; }
.demo-card b { display: block; font-size: .95rem; }
.demo-card small { color: var(--muted); font-size: .82rem; line-height: 1.5; display: block; }
.demo-card-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: #9A6410; display: grid; place-items: center; flex: none; }
.demo-time { position: absolute; z-index: 2; inset-inline-start: 0; top: 30px; background: var(--deep); color: #fff; border-radius: 99px; padding: .4rem .85rem; font-size: .83rem; font-weight: 700; display: inline-flex; gap: .35rem; align-items: center; box-shadow: var(--shadow-2); opacity: 0; transform: translateX(10px); transition: opacity .4s, transform .4s; }
.demo-time .i { color: var(--accent); }
.demo-time.is-on { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero { padding: 2.5rem 0 3rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .hero h1 { max-width: none; }
  .demo-card { inset-inline-end: 0; }
}
@media (max-width: 480px) {
  .demo-card { bottom: 20px; inset-inline-end: 0; min-width: 0; }
  .demo-time { top: 90px; }
  .phone-chat { height: 360px; }
}

/* ---------- لمن ---------- */
.who { padding: 1.8rem 0; border-bottom: 1px solid var(--line); }
.who-title { text-align: center; color: var(--muted); font-weight: 650; margin-bottom: 1rem; }
.who-list { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem .6rem; }
.who-list span { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .9rem; border: 1px solid var(--line); border-radius: 99px; font-weight: 650; font-size: .92rem; color: var(--text); background: var(--surface); }
.who-list .i { color: var(--brand); }

/* ---------- الأقسام ---------- */
.section { padding: 5rem 0; }
.section-tint { background: var(--bg); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.8rem; }
.section-head.start { text-align: start; margin: 0; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 820; line-height: 1.35; text-wrap: balance; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.feature { background: var(--surface); padding: 1.8rem; }
.feature h3 { font-size: 1.12rem; margin: .9rem 0 .4rem; }
.feature p { color: var(--muted); margin: 0; }
.feature-icon { width: 46px; height: 46px; border-radius: 13px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.feature-icon .i { width: 22px; height: 22px; }
.feature-lead { grid-row: span 2; background: var(--deep); color: #D7E8E1; display: flex; flex-direction: column; }
.feature-lead h3 { color: #fff; font-size: 1.35rem; }
.feature-lead p { color: #A9C6BB; }
.feature-lead .feature-icon { background: rgba(255,255,255,.08); color: var(--accent); }
.mini-chat { margin-top: auto; padding-top: 1.6rem; display: flex; flex-direction: column; gap: .5rem; }
.mini-chat span { padding: .55rem .8rem; border-radius: 12px; font-size: .92rem; max-width: 90%; line-height: 1.6; }
.mini-chat .in { background: rgba(255,255,255,.1); color: #fff; align-self: flex-start; border-start-start-radius: 3px; }
.mini-chat .out { background: #D7F5C8; color: #13302A; align-self: flex-end; border-start-end-radius: 3px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } .feature-lead { grid-column: 1 / -1; grid-row: auto; } }
@media (max-width: 600px) { .features { grid-template-columns: minmax(0, 1fr); } }

.how { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; position: relative; }
.how::before { content: ""; position: absolute; top: 26px; inset-inline: 16%; height: 2px; background: repeating-linear-gradient(to left, var(--brand-line) 0 8px, transparent 8px 14px); }
.how li { text-align: center; position: relative; padding: 0 .5rem; }
.how-num { width: 54px; height: 54px; border-radius: 50%; background: var(--surface); border: 2px solid var(--brand); color: var(--brand); font-weight: 850; font-size: 1.3rem; display: grid; place-items: center; margin: 0 auto 1rem; position: relative; }
.how h3 { font-size: 1.15rem; }
.how p { color: var(--muted); margin: 0 auto; max-width: 30ch; }
@media (max-width: 760px) { .how { grid-template-columns: minmax(0, 1fr); } .how::before { display: none; } }

/* ---------- الأسعار ---------- */
.cycle-toggle { display: inline-flex; gap: .2rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: 99px; padding: .25rem; margin-top: 1.4rem; }
.cycle-toggle button { border: 0; background: none; font: inherit; font-weight: 700; padding: .45rem 1.1rem; border-radius: 99px; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; }
.cycle-toggle button.is-active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-1); }
.cycle-toggle span { font-size: .75rem; background: var(--accent-soft); color: #8A5A0C; border-radius: 99px; padding: 0 .5em; }
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.2rem; align-items: start; }
.price-card { position: relative; border: 1px solid var(--line); border-radius: 20px; padding: 1.8rem; background: var(--surface); }
.price-card.is-featured { border: 2px solid var(--brand); box-shadow: var(--shadow-2); padding: calc(1.8rem - 1px); }
.price-tag { position: absolute; top: -13px; inset-inline-start: 1.6rem; background: var(--accent); color: #2A1A00; font-size: .8rem; font-weight: 800; padding: .15rem .8rem; border-radius: 99px; }
.price-card h3 { font-size: 1.25rem; margin-bottom: .2rem; }
.price-desc { color: var(--muted); font-size: .93rem; min-height: 2.8em; }
.price { margin: .4rem 0 1.2rem; display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; }
.price > span { font-size: 2.6rem; font-weight: 850; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.price small { color: var(--muted); font-weight: 650; }
.price-card ul { list-style: none; padding: 0; margin: 1.4rem 0 0; font-size: .95rem; }
.price-card li { display: flex; gap: .55rem; align-items: center; padding: .32rem 0; }
.price-card li .i { color: var(--brand); }
.price-card li.off { color: var(--faint); }
.price-card li.off .i { color: var(--faint); }
.pricing-note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 1.6rem; }

/* ---------- الأسئلة ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 3rem; align-items: start; }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq details:first-child { border-top: 1px solid var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 0; font-weight: 750; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--brand); transition: transform .2s; flex: none; }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { color: var(--muted); margin: 0 0 1.2rem; max-width: 62ch; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; } }

/* ---------- الدعوة النهائية ---------- */
.cta-band { background: var(--deep); color: #CFE2DA; padding: 5rem 0; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 820; }
.cta-band p { color: #A9C6BB; font-size: 1.08rem; max-width: 46ch; margin-bottom: 1.6rem; }
.contact-form { background: var(--surface); color: var(--text); border-radius: 20px; padding: 1.6rem; box-shadow: var(--shadow-3); }
.contact-form h3 { margin-bottom: 1rem; }
@media (max-width: 860px) { .cta-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- الصفحات النصية ---------- */
.page h1 { font-size: 2rem; margin-bottom: 1.5rem; }
.prose p { color: var(--text); font-size: 1.05rem; line-height: 1.95; }

/* ---------- التذييل ---------- */
.site-foot { background: #0B2420; color: #9DBAAF; padding: 3.5rem 0 1.5rem; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.foot-grid h3 { color: #fff; font-size: 1rem; margin-bottom: .8rem; }
.foot-grid a { display: flex; align-items: center; gap: .4rem; color: #9DBAAF; padding: .2rem 0; text-decoration: none !important; }
.foot-grid a:hover { color: #fff; }
.foot-grid .site-brand { padding: 0; margin-bottom: .8rem; }
.foot-about { max-width: 34ch; }
.foot-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.08); margin-top: 2.5rem; padding-top: 1.3rem; font-size: .85rem; color: #7A978C; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

.wa-float { position: fixed; bottom: 1.2rem; inset-inline-start: 1.2rem; width: 54px; height: 54px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-3); z-index: 40; }
.wa-float .i { width: 26px; height: 26px; }
.wa-float:hover { background: var(--brand-ink); }
