/* Skyone public home page. Brand colours from skyward-brand. Logical properties keep RTL and LTR in step. */
:root {
  --navy: #0A2E55; --navy-2: #0e3a6b; --blue: #1673C4; --sky: #2BA3E6; --light: #EAF4FC;
  --ink: #142231; --muted: #5b6b7c; --line: #dbe6f1; --bg: #ffffff; --ok: #0f9d6b;
  --r: 16px; --shadow: 0 10px 30px rgba(10, 46, 85, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 17px/1.65 "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); overflow-x: hidden; }
h1, h2, h3 { font-family: Cairo, "IBM Plex Sans Arabic", sans-serif; line-height: 1.25; margin: 0; color: var(--navy); }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; text-align: center; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0; }
a { color: var(--blue); }
img { max-width: 100%; }
.hm-wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.hm-wrap--narrow { max-width: 820px; }
.hm-sr, .hm-skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.hm-skip:focus { position: fixed; inset-block-start: 8px; inset-inline-start: 8px; width: auto; height: auto; clip-path: none; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

/* Buttons */
.hm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--blue); color: #fff; border: 2px solid var(--blue); border-radius: 12px; padding: 10px 20px; font: 700 1rem Cairo, sans-serif; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s; white-space: nowrap; }
.hm-btn:hover { background: var(--navy); border-color: var(--navy); }
.hm-btn--lg { padding: 14px 28px; font-size: 1.1rem; }
.hm-btn--ghost { background: transparent; color: var(--blue); }
.hm-btn--ghost:hover { background: var(--light); color: var(--navy); border-color: var(--navy); }
.hm-btn--light { background: #fff; color: var(--navy); border-color: #fff; }
.hm-btn--light:hover { background: var(--light); border-color: var(--light); color: var(--navy); }
.hm-btn--block { display: flex; width: 100%; margin-top: auto; }

/* Navigation */
.hm-nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.hm-nav__in { display: flex; align-items: center; gap: 24px; height: 68px; }
.hm-logo { display: inline-flex; align-items: center; gap: 10px; font: 800 1.45rem Cairo, sans-serif; color: var(--navy); text-decoration: none; }
.hm-logo img { object-fit: contain; }
.hm-one { color: var(--blue); }
.hm-logo--light .hm-one { color: #2BA3E6; }
.hm-logo--light { color: #fff; }
.hm-nav__links { display: flex; gap: 18px; margin-inline-start: 12px; }
.hm-nav__links a { color: var(--ink); text-decoration: none; font-weight: 500; white-space: nowrap; }
.hm-nav__links a:hover { color: var(--blue); }
.hm-nav__end { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.hm-lang { color: var(--navy); text-decoration: none; font-weight: 600; font-size: .92rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); }
.hm-lang:hover { border-color: var(--blue); }
@media (max-width: 900px) { .hm-nav__links { display: none; } }
@media (max-width: 560px) { .hm-hide-sm { display: none; } .hm-nav__end .hm-btn { padding: 8px 14px; } .hm-logo { font-size: 1.25rem; } }

/* Hero */
.hm-hero { background: radial-gradient(1200px 500px at 85% -10%, #d6ebfb 0%, rgba(214, 235, 251, 0) 60%), linear-gradient(180deg, #f5faff 0%, #fff 100%); padding: 64px 0 56px; }
html[dir="rtl"] .hm-hero { background: radial-gradient(1200px 500px at 15% -10%, #d6ebfb 0%, rgba(214, 235, 251, 0) 60%), linear-gradient(180deg, #f5faff 0%, #fff 100%); }
.hm-hero__in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hm-eyebrow { display: inline-block; color: var(--blue); background: var(--light); border-radius: 999px; padding: 4px 14px; font-weight: 600; font-size: .92rem; margin-bottom: 18px; }
.hm-lead { font-size: 1.2rem; color: var(--muted); margin: 18px 0 28px; max-width: 34em; }
.hm-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hm-ticks { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .95rem; }
.hm-ticks li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-inline-end: 6px; }
@media (max-width: 900px) { .hm-hero__in { grid-template-columns: 1fr; } .hm-hero { padding-top: 40px; } }

/* Product mock (pure CSS, no screenshot to keep current) */
.hm-mock { background: #fff; border-radius: 18px; box-shadow: 0 30px 60px rgba(10, 46, 85, .18); border: 1px solid var(--line); overflow: hidden; transform: perspective(1400px) rotateY(-6deg); }
html[dir="rtl"] .hm-mock { transform: perspective(1400px) rotateY(6deg); }
@media (max-width: 900px) { .hm-mock, html[dir="rtl"] .hm-mock { transform: none; } }
.hm-mock__bar { display: flex; gap: 6px; padding: 12px 14px; background: var(--navy); }
.hm-mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .35); }
.hm-mock__body { display: grid; grid-template-columns: 64px 1fr; min-height: 300px; }
.hm-mock__side { background: #f3f8fd; padding: 16px 12px; display: flex; flex-direction: column; gap: 12px; }
.hm-mock__side b { display: block; height: 28px; border-radius: 8px; background: #dbe9f6; }
.hm-mock__side b:first-child { background: var(--sky); }
.hm-mock__main { padding: 18px; display: flex; flex-direction: column; gap: 16px; }
.hm-mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hm-mock__kpis div { border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.hm-mock__kpis small { display: block; color: var(--muted); font-size: .72rem; line-height: 1.3; }
.hm-mock__kpis strong { font: 800 1.25rem Cairo, sans-serif; color: var(--navy); }
.hm-mock__chart { flex: 1; display: flex; align-items: flex-end; gap: 8px; border: 1px solid var(--line); border-radius: 12px; padding: 14px; min-height: 150px; }
.hm-mock__chart span { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--sky), var(--blue)); }

/* Numbers strip */
.hm-strip { background: var(--navy); color: #fff; }
.hm-strip__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-block: 26px; text-align: center; }
.hm-strip strong { display: block; font: 800 1.8rem Cairo, sans-serif; color: var(--sky); }
.hm-strip span { color: #cfe2f5; font-size: .95rem; }
@media (max-width: 700px) { .hm-strip__in { grid-template-columns: repeat(2, 1fr); } }

/* Sections */
.hm-sec { padding: 84px 0; }
.hm-sec--tint { background: #f5faff; }
.hm-sec--dark { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.hm-sec--dark h2 { color: #fff; }
.hm-sec--dark .hm-sub { color: #cfe2f5; }
.hm-sub { text-align: center; color: var(--muted); font-size: 1.1rem; max-width: 46em; margin: 14px auto 44px; }
.hm-grid { display: grid; gap: 20px; }
.hm-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .hm-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .hm-grid--3 { grid-template-columns: 1fr; } .hm-sec { padding: 60px 0; } }
.hm-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; transition: box-shadow .2s, transform .2s; }
.hm-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.hm-card h3 { margin: 12px 0 8px; }
.hm-card p { color: var(--muted); }
.hm-card--dark { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.hm-card--dark h3 { color: #fff; margin-top: 0; }
.hm-card--dark p { color: #cfe2f5; }
.hm-ico { width: 48px; height: 48px; border-radius: 12px; background: var(--light); display: grid; place-items: center; font-size: 1.5rem; }

/* Industries and steps */
.hm-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hm-chips span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px; font-weight: 600; color: var(--navy); }
.hm-steps { list-style: none; counter-reset: s; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hm-steps li { counter-increment: s; background: #fff; border-radius: var(--r); padding: 26px; border: 1px solid var(--line); }
.hm-steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; font: 800 1.1rem Cairo, sans-serif; margin-bottom: 12px; }
.hm-steps strong { display: block; font: 700 1.15rem Cairo, sans-serif; color: var(--navy); }
.hm-steps span { color: var(--muted); }
@media (max-width: 760px) { .hm-steps { grid-template-columns: 1fr; } }

/* Plans */
.hm-toggle { display: flex; width: max-content; margin: -16px auto 36px; background: var(--light); border-radius: 999px; padding: 5px; }
.hm-toggle button { font: 700 1rem Cairo, sans-serif; border: 0; background: transparent; color: var(--navy); padding: 8px 22px; border-radius: 999px; cursor: pointer; }
.hm-toggle button.is-on { background: #fff; box-shadow: 0 2px 8px rgba(10, 46, 85, .12); }
.hm-toggle em { font-style: normal; color: var(--ok); font-size: .85rem; margin-inline-start: 4px; }
.hm-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 1050px) { .hm-plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .hm-plans { grid-template-columns: 1fr; } }
.hm-plan { position: relative; display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px 24px; }
.hm-plan--hot { border: 2px solid var(--blue); box-shadow: 0 20px 40px rgba(22, 115, 196, .18); }
.hm-plan__badge { position: absolute; inset-block-start: -13px; inset-inline-start: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; font-weight: 700; font-size: .82rem; padding: 3px 14px; border-radius: 999px; white-space: nowrap; }
html[dir="rtl"] .hm-plan__badge { transform: translateX(50%); }
.hm-plan h3 { font-size: 1.4rem; }
.hm-plan__for { color: var(--muted); font-size: .95rem; min-height: 3em; }
.hm-plan__price { margin: 8px 0 4px; min-height: 4.2em; }
.hm-plan__price strong { font: 800 2.3rem Cairo, sans-serif; color: var(--navy); }
.hm-plan__price span { color: var(--muted); margin-inline-start: 4px; }
.hm-plan__price .hm-plan__custom { font-size: 1.45rem; white-space: nowrap; }
.hm-plan__yearly { display: block; color: var(--ok); font-weight: 600; visibility: hidden; }
.is-yearly .hm-plan__yearly { visibility: visible; }
.hm-plan ul { list-style: none; padding: 0; margin: 10px 0 22px; display: flex; flex-direction: column; gap: 8px; font-size: .96rem; }
.hm-plan__apps { margin: 0 0 22px; padding: 12px 14px; border-radius: 12px; background: #f5faff; font-size: .9rem; color: var(--muted); }
.hm-plan__apps strong { display: block; color: var(--navy); font-size: .88rem; margin-bottom: 2px; }
.hm-plan li { padding-inline-start: 26px; position: relative; }
.hm-plan li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--ok); font-weight: 800; }
.hm-compare { margin-top: 36px; border: 1px solid var(--line); border-radius: var(--r); }
.hm-compare summary, .hm-faq summary { cursor: pointer; font: 700 1.05rem Cairo, sans-serif; color: var(--navy); padding: 18px 22px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.hm-compare summary::-webkit-details-marker, .hm-faq summary::-webkit-details-marker { display: none; }
.hm-compare summary::after, .hm-faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--blue); }
.hm-compare[open] summary::after, .hm-faq[open] summary::after { content: "−"; }
.hm-table-wrap { overflow-x: auto; padding: 0 22px 22px; }
.hm-compare table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .95rem; }
.hm-compare th, .hm-compare td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.hm-compare thead th { font-family: Cairo, sans-serif; color: var(--navy); font-size: 1.05rem; }
.hm-compare tbody th { font-weight: 600; color: var(--navy); width: 22%; }

/* FAQ */
.hm-faq { border-bottom: 1px solid var(--line); }
.hm-faq:first-of-type { margin-top: 32px; border-top: 1px solid var(--line); }
.hm-faq p { padding: 0 22px 20px; color: var(--muted); }

/* Final call to action and footer */
.hm-final { background: linear-gradient(120deg, var(--blue), var(--sky)); color: #fff; text-align: center; padding: 72px 0; }
.hm-final h2 { color: #fff; }
.hm-final p { margin: 12px 0 28px; font-size: 1.15rem; color: #eaf4fc; }
.hm-foot { background: #071f3a; color: #cfe2f5; padding: 40px 0; }
.hm-foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.hm-foot a { color: #cfe2f5; text-decoration: none; }
.hm-foot a:hover { color: #fff; }
.hm-foot__links { display: flex; flex-wrap: wrap; gap: 20px; }
.hm-slogan { color: var(--sky); margin-top: 6px; text-align: start; }
html[dir="rtl"] .hm-slogan { text-align: right; }
.hm-foot__by { width: 100%; font-size: .9rem; color: #8fb0cf; }
.hm-plan > ul { flex: 1; margin-bottom: 16px; }
.hm-plan .hm-plan__trial { margin-top: 8px; }

/* Country price list switcher */
.hm-market { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 8px; margin: -20px auto 28px; font-size: .92rem; color: var(--muted, #5b6b80); }
.hm-market a { color: var(--navy); text-decoration: none; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(10, 46, 85, .15); }
.hm-market a.is-on { background: var(--navy); color: #fff; border-color: var(--navy); }
.hm-market small { opacity: .75; margin-inline-start: 2px; }
.hm-foot__geo { display: block; margin-top: 6px; opacity: .6; font-size: .75rem; }
