/* وين landing — section layouts: hero, live strip, features, AI, how, numbers,
   story, download. Tokens live in base.css. */

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 40px; background:
  radial-gradient(900px 420px at 85% -10%, rgba(34,211,238,.16), transparent 60%),
  radial-gradient(700px 380px at 5% 110%, rgba(8,145,178,.10), transparent 60%), #fff; }
.hero__route { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__road { fill: none; stroke: var(--teal); stroke-width: 2.5; stroke-linecap: round; opacity: .22;
  stroke-dasharray: 10 14; animation: road 40s linear infinite; }
.hero__road--2 { opacity: .12; stroke-width: 2; animation-duration: 55s; animation-direction: reverse; }
@keyframes road { to { stroke-dashoffset: -960; } }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero__copy .lead { margin-top: 18px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero__trust { margin-top: 26px; color: var(--text-2); font-size: .95rem; }
.hero__trust strong { color: var(--ink-2); }

.hero__visual { position: relative; display: grid; place-items: center; min-height: 560px; }
.phone {
  width: 290px; aspect-ratio: 1179 / 2556; border-radius: 44px; background: #0F172A; padding: 10px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #334155; position: relative; z-index: 1;
}
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; background: #0F172A; border-radius: 14px; z-index: 2; }
.phone__screen { width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #fff; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.float {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 10px 12px;
  box-shadow: var(--shadow); animation: hover 6s ease-in-out infinite;
}
.float strong { display: block; font-size: .98rem; line-height: 1.2; }
.float small { color: var(--text-3); font-size: .78rem; }
.float--a { top: 12%; inset-inline-start: 0; }
.float--b { top: 46%; inset-inline-end: -4px; animation-delay: -2s; }
.float--c { bottom: 10%; inset-inline-start: 6%; animation-delay: -4s; }
@keyframes hover { 50% { transform: translateY(-7px); } }

/* ---------- live strip ---------- */
.live { border-block: 1px solid var(--divider); background: var(--canvas); padding: 22px 0; }
.live__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.live__head h2 { font-size: 1.2rem; display: inline-flex; align-items: center; gap: 10px; }
.live__pills { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.pill { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px 8px 10px; font-weight: 700; }
.pill i { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--teal)); }
.pill b { font-weight: 900; font-size: 1.15rem; color: var(--ink); }
.pill span { color: var(--text-2); }
.live__note { margin-top: 10px; }

/* ---------- generic section ---------- */
.section { padding: 84px 0; }
.section--canvas { background: var(--canvas); border-block: 1px solid var(--divider); }

/* ---------- features ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); padding: 26px 24px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #CDEBF3; }
.card__icon { width: 46px; height: 46px; border-radius: 14px; background: var(--teal-soft); color: var(--teal-dark); display: grid; place-items: center; margin-bottom: 16px; }
.card__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card__icon--red { background: var(--closed-bg); color: var(--closed); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-2); font-size: 1rem; }

/* ---------- AI ---------- */
.ai__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.ai__copy .lead { margin-top: 16px; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-inline-start: 34px; color: var(--text-2); }
.checks li b { color: var(--ink); }
.checks li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 900; font-size: .85rem; display: grid; place-items: center; }

.chat { background: #fff; border: 1px solid var(--border); border-radius: var(--r-2xl); box-shadow: var(--shadow-lg); overflow: hidden; max-width: 420px; margin-inline: auto; width: 100%; }
.chat__head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--divider); }
.chat__head img { border-radius: 10px; }
.chat__head strong { display: block; line-height: 1.1; }
.chat__head small { color: var(--text-3); font-size: .8rem; }
.chat__call { margin-inline-start: auto; width: 36px; height: 36px; border-radius: 50%; background: var(--teal-soft); display: grid; place-items: center; font-size: .95rem; }
.chat__body { padding: 16px; display: flex; flex-direction: column; gap: 10px; background: linear-gradient(180deg, #fff, #FAFBFC); }
.bubble { max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: .98rem; line-height: 1.55; }
.bubble--me { align-self: flex-start; background: var(--teal); color: #fff; border-start-start-radius: 6px; }
.bubble--ai { align-self: flex-end; background: var(--surface); border: 1px solid var(--border); border-start-end-radius: 6px; }
.bubble--ai b { color: var(--open); }
.chat__bar { display: flex; align-items: center; justify-content: space-between; margin: 0 16px 16px; padding: 12px 16px; border: 1px solid var(--border); border-radius: 999px; color: var(--text-3); font-size: .95rem; }
.chat__bar i { width: 30px; height: 30px; border-radius: 50%; background: var(--teal); }

/* ---------- how ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); padding: 28px 24px 24px; }
.step__n { position: absolute; top: -16px; inset-inline-start: 22px; width: 34px; height: 34px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 900; display: grid; place-items: center; box-shadow: 0 6px 14px -6px rgba(8,145,178,.8); }
.step h3 { margin: 6px 0 8px; }
.step p { color: var(--text-2); font-size: 1rem; }
.callout { display: flex; gap: 16px; align-items: center; margin-top: 24px; background: var(--teal-soft); border: 1px solid #CDEBF3; border-radius: var(--r-xl); padding: 20px 22px; }
.callout__icon { flex: none; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--teal-dark); display: grid; place-items: center; }
.callout__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.callout p { color: var(--ink-2); }

/* ---------- numbers ---------- */
.numbers { background: var(--ink); color: #fff; padding: 56px 0; }
.numbers__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.num strong { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900; color: var(--teal-light); line-height: 1.1; }
.num span { color: #CBD5E1; font-size: .98rem; }

/* ---------- story ---------- */
.story { display: grid; grid-template-columns: 160px 1fr; gap: 40px; align-items: center; }
.story__mark img { border-radius: 28px; box-shadow: var(--shadow-lg); margin-inline: auto; }
.story__copy .lead { margin-top: 16px; max-width: 42rem; }
.story__tag { margin-top: 22px; font-weight: 900; font-size: 1.35rem; color: var(--teal-dark); }

/* ---------- download ---------- */
.download { padding: 84px 0 96px; }
.download__box { text-align: center; background: #fff; border: 1px solid var(--border); border-radius: var(--r-2xl); padding: 48px 28px; box-shadow: var(--shadow); background:
  radial-gradient(600px 240px at 50% -40%, rgba(34,211,238,.18), transparent 70%), #fff; }
.download__box img { border-radius: 18px; margin: 0 auto 16px; }
.download__box .lead { margin: 12px auto 26px; }
.stores { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; border-radius: var(--r-md); padding: 10px 18px 10px 20px; min-width: 190px; text-align: start; opacity: .92; }
.store:hover { opacity: 1; }
.store svg { width: 26px; height: 26px; fill: #fff; }
.store span { font-weight: 800; font-size: 1.15rem; line-height: 1.1; }
.store small { display: block; font-weight: 500; font-size: .72rem; color: #CBD5E1; margin-bottom: 2px; }

/* ---------- video (promo, vertical 9:16) ---------- */
.video__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.video__frame { justify-self: center; width: 100%; max-width: 330px; aspect-ratio: 9 / 16; border-radius: var(--r-2xl); overflow: hidden; background: var(--teal-dark); box-shadow: var(--shadow-lg); }
.video__frame video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--teal-dark); }
.video__copy .lead { margin-top: 16px; }
.video__cta { margin-top: 26px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .numbers__grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .ai__grid { grid-template-columns: 1fr; gap: 36px; }
  .ai__copy { order: -1; }
  .video__grid { grid-template-columns: 1fr; gap: 32px; }
  .video__copy { order: -1; }
}
@media (max-width: 760px) {
  .hero { padding: 40px 0 24px; }
  .hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__visual { min-height: 0; margin-top: 10px; }
  .phone { width: 240px; }
  .video__frame { max-width: 280px; }
  .float--a { top: 15%; inset-inline-start: -4px; } .float--b { inset-inline-end: -8px; } .float--c { bottom: 4%; }
  .section { padding: 60px 0; }
  .cards, .steps { grid-template-columns: 1fr; }
  .steps { gap: 26px; }
  .story { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .story .eyebrow { margin-inline: auto; }
  .story__copy .lead { margin-inline: auto; }
  .download { padding: 60px 0 72px; }
}
