/* الصفحة الرئيسية (العربي والإنجليزي) — خصائص منطقية تخدم الاتجاهين */
@font-face { font-family: Almarai; font-weight: 400; src: url(/kindi-login/fonts/almarai-arabic-400-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; font-display: swap; }
@font-face { font-family: Almarai; font-weight: 700; src: url(/kindi-login/fonts/almarai-arabic-700-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; font-display: swap; }
@font-face { font-family: Almarai; font-weight: 800; src: url(/kindi-login/fonts/almarai-arabic-800-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; font-display: swap; }
@font-face { font-family: Almarai; font-weight: 400; src: url(/kindi-login/fonts/almarai-latin-400-normal.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Almarai; font-weight: 700; src: url(/kindi-login/fonts/almarai-latin-700-normal.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Almarai; font-weight: 800; src: url(/kindi-login/fonts/almarai-latin-800-normal.woff2) format("woff2"); font-display: swap; }
:root { --navy: #0C1330; --navy2: #151E45; --line-d: #1E2A55; --ring: #1B2656; --bg: #F5F7FB; --ink: #0F172A; --ink2: #1E293B;
  --muted: #475569; --muted2: #64748B; --line: #E3E7EF; --soft: #F3F5FA; --accent: #047857; --accent-d: #065F46; --mint: #34D399; --mint-bg: #ECFDF5;
  --on-navy: #CBD3EA; --on-navy2: #B7C0DC; --on-navy3: #9AA6C8; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Almarai, Tahoma, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.6; }
a { color: var(--accent); text-decoration: none; } a:hover { color: var(--accent-d); }
svg { flex-shrink: 0; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 16px; font-family: inherit; cursor: pointer; border: 0; }
.btn-accent { background: var(--accent); color: #fff; } .btn-accent:hover { background: var(--accent-d); color: #fff; }
.btn-ghost { color: #fff; border: 1px solid #3A4675; background: transparent; } .btn-ghost:hover { color: #fff; border-color: #5A679A; }
.btn-line { color: var(--accent); border: 1.5px solid var(--accent); background: transparent; } .btn-line:hover { background: var(--mint-bg); }
.eyebrow { font-size: 15px; font-weight: 700; color: var(--accent); }
h1, h2, h3 { margin: 0; line-height: 1.35; } p { margin: 0; }
.h2 { font-size: 44px; font-weight: 800; }
.ico { display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; background: var(--mint-bg); color: var(--accent); width: 48px; height: 48px; flex-shrink: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; } .check svg { margin-top: 3px; }
section { position: relative; }
.ring { position: absolute; border-radius: 50%; border: 1px solid var(--ring); pointer-events: none; }

/* NAV */
header.nav { background: var(--navy); border-bottom: 1px solid var(--line-d); position: sticky; top: 0; z-index: 20; }
.nav .wrap { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; } .brand:hover { color: #fff; }
.logo { width: 38px; height: 38px; border-radius: 11px; background: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.brand b { font-size: 24px; font-weight: 800; } .brand small { font-size: 13px; color: var(--on-navy3); margin-top: 4px; }
.nav nav { display: flex; gap: 28px; font-size: 16px; } .nav nav a { color: #D5DBEE; } .nav nav a:hover { color: #fff; }
.nav .side { display: flex; align-items: center; gap: 10px; } .nav .btn { min-height: 44px; padding: 11px 22px; font-size: 15px; }
.menu-btn { display: none; background: none; border: 0; color: #fff; width: 44px; height: 44px; border-radius: 10px; cursor: pointer; }

/* HERO */
.hero { background: var(--navy); overflow: hidden; padding: 72px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; position: relative; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #A7F3D0; background: #12305A; padding: 8px 16px; border-radius: 999px; }
.hero h1 { font-size: 56px; line-height: 1.3; font-weight: 800; color: #fff; margin: 24px 0 26px; } .hero h1 span { color: var(--mint); }
.hero .points { display: flex; flex-direction: column; gap: 16px; } .hero .points p { font-size: 19px; line-height: 1.7; color: var(--on-navy); }
.dot-check { width: 28px; height: 28px; border-radius: 50%; background: #133B4A; color: var(--mint); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero .ctas { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; } .hero .ctas .btn { min-height: 56px; padding: 16px 32px; font-size: 17px; }
.mock { position: relative; }
.win { background: #fff; border-radius: 22px; box-shadow: 0 40px 80px rgba(0,0,0,.35); display: flex; overflow: hidden; min-height: 520px; color: var(--ink); }
.sb { width: 170px; background: var(--soft); border-inline-end: 1px solid var(--line); padding: 20px 12px; display: flex; flex-direction: column; gap: 4px; }
.sb .i { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; font-size: 14px; color: #334155; } .sb .i.on { background: #fff; font-weight: 700; color: var(--ink); }
.meter { margin-top: auto; background: #fff; border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; } .bar i { display: block; height: 6px; background: var(--accent); }
.win .main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.win .top { height: 58px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 20px; }
.msgs { flex: 1; padding: 22px 20px; display: flex; flex-direction: column; gap: 14px; }
.bub-u { align-self: flex-start; max-width: 300px; background: var(--navy); color: #fff; font-size: 14px; line-height: 1.7; padding: 12px 16px; border-radius: 16px 16px 16px 4px; }
.bub-a { align-self: flex-end; max-width: 320px; background: var(--soft); font-size: 14px; line-height: 1.7; padding: 12px 16px; border-radius: 16px 16px 4px 16px; color: var(--ink2); }
.task { align-self: flex-end; width: 320px; max-width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.chip { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: #EEF2FF; color: #3730A3; } .chip.g { background: var(--mint-bg); color: var(--accent-d); }
.input { margin: 0 20px 20px; height: 50px; border: 1px solid var(--line); border-radius: 14px; display: flex; align-items: center; justify-content: space-between; padding: 0 8px 0 16px; font-size: 14px; color: var(--muted2); }
.send { width: 36px; height: 36px; border-radius: 10px; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.float { position: absolute; inset-inline-end: -18px; bottom: 60px; background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: 0 20px 40px rgba(0,0,0,.25); display: flex; align-items: center; gap: 12px; color: var(--ink); }

/* INTEGRATIONS */
.integ { background: #fff; border-bottom: 1px solid var(--line); padding: 44px 0; text-align: center; }
.integ p { color: var(--muted); margin-bottom: 24px; }
.integ .list { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.integ .list span { font-size: 17px; font-weight: 700; color: #334155; padding: 14px 26px; border: 1px solid var(--line); border-radius: 14px; }

/* FEATURES */
.feat { padding: 96px 0; }
.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 64px; margin-bottom: 52px; }
.split > * { flex: 1; } .split p { font-size: 18px; line-height: 1.9; color: var(--muted); }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.card h3 { font-size: 19px; font-weight: 700; } .card p { font-size: 15px; line-height: 1.8; color: var(--muted); }

/* HERMES */
.tech { background: #fff; border-bottom: 1px solid var(--line); padding: 88px 0; }
.tech .row { display: flex; align-items: stretch; gap: 20px; }
.tech .plus { display: flex; align-items: center; color: #94A3B8; }
.box { flex: 1; border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 20px; }
.box.d { background: var(--navy); color: #fff; } .box.l { background: var(--bg); border: 1px solid var(--line); }
.head { display: flex; align-items: center; gap: 12px; } .head small { font-size: 13px; color: var(--on-navy3); display: block; } .box.l .head small { color: var(--muted2); }
.head b { font-size: 22px; font-weight: 800; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; font-size: 15px; line-height: 1.7; }
.box.d .grid2 { color: #E2E8F5; }
.mem { margin-top: auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; display: flex; gap: 14px; align-items: flex-start; }

/* SOLUTIONS */
.sol { background: #fff; padding: 96px 0; }
.tabs { display: flex; gap: 6px; background: var(--soft); padding: 6px; border-radius: 999px; width: max-content; max-width: 100%; margin: 36px auto; overflow-x: auto; }
.tabs button { min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; font-family: inherit; font-size: 16px; cursor: pointer; background: transparent; color: #334155; white-space: nowrap; }
.tabs button[aria-selected="true"] { background: var(--navy); color: #fff; font-weight: 700; }
.panel { display: flex; gap: 56px; align-items: center; background: var(--bg); border-radius: 28px; padding: 48px 56px; }
.panel .txt { width: 48%; display: flex; flex-direction: column; gap: 20px; } .panel .txt h3 { font-size: 32px; font-weight: 800; }
.panel .txt > p { font-size: 17px; line-height: 1.9; color: var(--muted); }
.panel .pts { display: flex; flex-direction: column; gap: 12px; font-size: 16px; color: var(--ink2); }
.panel .ui { flex: 1; background: #fff; border-radius: 20px; border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 20px 50px rgba(12,19,48,.08); }
.panel .ui .hd { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.panel .ui .r { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; background: var(--bg); border-radius: 14px; font-size: 15px; }
.panel .ui .r span:last-child { font-size: 13px; font-weight: 700; color: var(--accent-d); background: var(--mint-bg); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }

/* WHO */
.who { padding: 96px 0; overflow: hidden; }
.center { text-align: center; } .center > p { font-size: 18px; color: var(--muted); margin-top: 12px; }
.live { background: var(--navy); border-radius: 28px; padding: 48px 56px; display: flex; gap: 56px; align-items: center; overflow: hidden; margin: 36px 0; position: relative; }
.live .intro { width: 360px; flex-shrink: 0; display: flex; flex-direction: column; gap: 14px; position: relative; }
.live .intro h3 { font-size: 30px; line-height: 1.45; font-weight: 800; color: #fff; } .live .intro p { color: var(--on-navy2); }
.slides { flex: 1; height: 264px; position: relative; }
.slide { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 18px; opacity: 0; animation: kx-fade 21s infinite; }
@keyframes kx-fade { 0% { opacity: 0; transform: translateY(14px); } 2% { opacity: 1; transform: none; } 12.5% { opacity: 1; transform: none; } 14.3% { opacity: 0; transform: translateY(-10px); } 100% { opacity: 0; } }
.slide .ask { align-self: flex-start; max-width: 520px; background: #fff; color: var(--ink); font-size: 17px; line-height: 1.7; padding: 16px 20px; border-radius: 18px 18px 18px 6px; }
.slide .done { display: flex; align-items: center; gap: 12px; align-self: flex-end; }
.slide .done b { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; font-size: 16px; padding: 12px 18px; border-radius: 14px; }
.tracks { display: flex; flex-direction: column; gap: 12px; }
.track { display: flex; gap: 12px; width: max-content; animation: kx-marq 45s linear infinite; } .track.rev { animation-direction: reverse; }
@keyframes kx-marq { from { transform: translateX(0); } to { transform: translateX(50%); } }
.track span { font-size: 16px; font-weight: 700; color: #334155; background: #fff; border: 1px solid var(--line); padding: 13px 22px; border-radius: 999px; white-space: nowrap; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.aud { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; gap: 16px; align-items: flex-start; }
.aud b { font-size: 19px; display: block; margin-bottom: 6px; } .aud span { font-size: 15px; line-height: 1.8; color: var(--muted); }

/* FACTS */
.facts { background: var(--navy); padding: 64px 0; }
.facts .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.fact { display: flex; flex-direction: column; gap: 10px; padding-inline-end: 24px; border-inline-end: 1px solid var(--line-d); }
.fact:last-child { border-inline-end: 0; } .fact b { font-size: 34px; font-weight: 800; color: #fff; line-height: 1.3; } .fact:first-child b { color: var(--mint); }
.fact > span { font-size: 16px; color: var(--on-navy2); line-height: 1.7; }

/* PRICING */
.pricing { padding: 96px 0; }
.pricing .tabs { background: #fff; border: 1px solid var(--line); }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px 28px; display: flex; flex-direction: column; gap: 22px; position: relative; }
.plan.hot { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 30px 60px rgba(12,19,48,.25); }
.plan .tag { position: absolute; top: -14px; inset-inline-start: 28px; background: var(--mint); color: var(--navy); font-size: 13px; font-weight: 800; padding: 6px 14px; border-radius: 999px; }
.plan h3 { font-size: 22px; font-weight: 800; } .plan .sub { font-size: 14px; color: var(--muted); line-height: 1.7; margin-top: 8px; } .plan.hot .sub { color: var(--on-navy2); }
.price { display: flex; align-items: baseline; gap: 6px; } .price b { font-size: 46px; font-weight: 800; } .price span { font-size: 15px; color: var(--muted); } .plan.hot .price span { color: var(--on-navy2); }
.fs { display: flex; flex-direction: column; gap: 12px; font-size: 15px; color: var(--ink2); } .plan.hot .fs { color: #E2E8F5; }
.plan .btn { width: 100%; }
.extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.extras > div { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border-radius: 18px; background: #EEF1F7; }
.extras b { display: block; font-size: 16px; } .extras span { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* HOW */
.how { background: #fff; padding: 96px 0; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.step { border-top: 3px solid #CBD5E1; padding-top: 28px; display: flex; flex-direction: column; gap: 12px; } .step:first-child { border-color: var(--accent); }
.step span { font-size: 15px; font-weight: 800; color: var(--accent); } .step h3 { font-size: 24px; font-weight: 800; } .step p { font-size: 16px; line-height: 1.8; color: var(--muted); }

/* FAQ */
.faq { padding: 96px 0; } .faq .wrap { display: flex; gap: 80px; }
.faq .intro { width: 360px; flex-shrink: 0; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.faq .intro p { font-size: 17px; line-height: 1.8; color: var(--muted); }
.qs { flex: 1; display: flex; flex-direction: column; gap: 12px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 18px; }
summary { list-style: none; min-height: 72px; padding: 16px 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 18px; font-weight: 700; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary .chev { width: 32px; height: 32px; border-radius: 50%; background: var(--soft); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .2s; }
details[open] summary .chev { transform: rotate(180deg); }
details p { padding: 0 28px 24px; font-size: 16px; line-height: 1.9; color: var(--muted); }

/* CTA + FOOTER */
.cta { padding: 0 0 80px; }
.cta .in { background: var(--navy); border-radius: 32px; padding: 56px 72px; display: flex; align-items: center; justify-content: space-between; gap: 32px; overflow: hidden; position: relative; }
.cta h2 { font-size: 42px; font-weight: 800; color: #fff; } .cta p { font-size: 18px; color: var(--on-navy2); margin-top: 14px; }
footer { background: var(--navy); padding: 64px 0 40px; color: var(--on-navy3); }
footer .top { display: flex; gap: 80px; } footer .about { width: 340px; display: flex; flex-direction: column; gap: 16px; }
footer .cols { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
footer .cols div { display: flex; flex-direction: column; gap: 14px; font-size: 15px; } footer .cols b { color: #fff; } footer a { color: var(--on-navy3); } footer a:hover { color: #fff; }
footer .bottom { border-top: 1px solid var(--line-d); padding-top: 24px; margin-top: 48px; display: flex; justify-content: space-between; font-size: 14px; }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .grid4, .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero .wrap { grid-template-columns: 1fr; } .mock { max-width: 620px; }
  .tech .row { flex-direction: column; } .tech .plus { justify-content: center; }
  .facts .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fact:nth-child(2) { border-inline-end: 0; }
  .panel, .live { flex-direction: column; align-items: stretch; } .panel .txt, .live .intro { width: auto; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .nav nav { display: none; } .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .nav nav.open { display: flex; flex-direction: column; position: absolute; top: 76px; inset-inline: 0; background: var(--navy); padding: 16px; gap: 4px; border-bottom: 1px solid var(--line-d); }
  .nav nav.open a { padding: 12px; } .brand small { display: none; }
  .nav .wrap { gap: 10px; } .nav .side { gap: 4px; } .nav .btn { padding: 10px 16px; font-size: 14px; } .brand b { font-size: 20px; }
  .badge { max-width: 100%; flex-wrap: wrap; font-size: 13px; }
  .hero { padding: 40px 0 56px; } .hero h1 { font-size: 34px; } .hero .points p { font-size: 16px; } .hero .ctas { flex-direction: column; } .hero .ctas .btn { width: 100%; }
  .sb { display: none; } .win { min-height: 0; } .float { position: static; margin-top: 14px; }
  .h2, .cta h2 { font-size: 30px; } .split { flex-direction: column; align-items: stretch; gap: 16px; margin-bottom: 32px; }
  .feat, .tech, .sol, .who, .pricing, .how, .faq { padding: 60px 0; }
  .grid4, .plans, .grid3, .grid2, .steps, .extras { grid-template-columns: 1fr; }
  .panel, .live { padding: 28px 20px; border-radius: 22px; } .panel .txt h3 { font-size: 24px; }
  .slides { height: 300px; } .slide .ask { font-size: 15px; }
  .facts .wrap { grid-template-columns: 1fr; } .fact { border-inline-end: 0; padding-inline-end: 0; } .fact b { font-size: 28px; }
  .faq .wrap { flex-direction: column; gap: 28px; } .faq .intro { width: auto; } summary { font-size: 16px; padding: 14px 18px; } details p { padding: 0 18px 18px; }
  .cta .in { flex-direction: column; align-items: stretch; padding: 36px 22px; } .cta .in .btn { width: 100%; }
  footer .top { flex-direction: column; gap: 32px; } footer .about { width: auto; } footer .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  footer .bottom { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; } .slide { animation: none; } .slide:first-child { opacity: 1; } .track { animation: none; }
}

[dir=ltr] .arrow-flip { transform: scaleX(-1); }
[dir=ltr] .bub-u { border-radius: 16px 16px 4px 16px; } [dir=ltr] .bub-a { border-radius: 16px 16px 16px 4px; }
[dir=ltr] .slide .ask { border-radius: 18px 18px 6px 18px; }
