/* ARMS Debt Collections — brand colors sampled from the logo */
:root {
  --p: #662CE3;
  --p-dark: #4A1AB8;
  --p-deep: #22105A;
  --lav: #AF85F5;
  --lav-soft: #EFE8FD;
  --blue: #476EFA;
  --ink: #1A1233;
  --muted: #5F5A78;
  --line: #E6E1F3;
  --bg: #FFFFFF;
  --bg-soft: #F8F6FE;
  --grad: linear-gradient(120deg, #662CE3 0%, #476EFA 100%);
  --grad-soft: linear-gradient(120deg, #AF85F5 0%, #476EFA 100%);
  --shadow: 0 10px 30px -12px rgba(38, 16, 110, .18);
  --shadow-lg: 0 30px 60px -20px rgba(38, 16, 110, .28);
  --r: 16px;
  --font: "IBM Plex Sans Arabic", "Cairo", "Segoe UI", Tahoma, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 860px; }
.ic { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .7rem 1.35rem; border-radius: 12px; font-weight: 600; font-size: .95rem;
  border: 1.5px solid transparent; cursor: pointer; transition: .2s ease; white-space: nowrap; font-family: inherit;
}
.btn-sm { padding: .5rem 1rem; font-size: .88rem; }
.btn-lg { padding: .95rem 1.8rem; font-size: 1.05rem; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -8px rgba(102, 44, 227, .55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(102, 44, 227, .6); }
.btn-outline { border-color: var(--p); color: var(--p); background: #fff; }
.btn-outline:hover { background: var(--lav-soft); }
.btn-ghost { color: var(--p-dark); background: transparent; }
.btn-ghost:hover { background: var(--lav-soft); }
.btn-white { background: #fff; color: var(--p-dark); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .4); }
.btn-outline-white { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-outline-white:hover { background: rgba(255, 255, 255, .1); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: .25s;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -14px rgba(38, 16, 110, .25); }
.nav-in { display: flex; align-items: center; gap: 2rem; height: 76px; }
.brand-img { height: 44px; width: auto; }
.nav-links { display: flex; gap: .25rem; margin-inline-start: auto; }
.nav-link { padding: .5rem .85rem; border-radius: 10px; font-weight: 500; color: var(--muted); font-size: .95rem; transition: .2s; }
.nav-link:hover { color: var(--p); background: var(--lav-soft); }
.nav-actions { display: flex; align-items: center; gap: .5rem; }
.nav-burger { display: none; background: none; border: 0; color: var(--ink); padding: .4rem; cursor: pointer; }
.nav-burger .ic { width: 26px; height: 26px; }

/* ---------- hero shared ---------- */
.hero { position: relative; overflow: hidden; }
.hero-title { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.hero-title .hl { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 1.15rem; color: var(--muted); max-width: 640px; margin-top: 1.25rem; }
.hero-actions { display: flex; gap: .85rem; flex-wrap: wrap; margin-top: 2rem; }
.badge {
  display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .95rem; border-radius: 999px;
  background: var(--lav-soft); color: var(--p-dark); font-weight: 600; font-size: .85rem; margin-bottom: 1.25rem;
  border: 1px solid #DCCEFB;
}
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px rgba(102, 44, 227, .15); }
.badge-soft { background: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; padding: 88px 24px 96px; }

/* gradient variant */
.hero-gradient { background: radial-gradient(1200px 600px at 50% -10%, #EFE8FD 0%, transparent 70%), #fff; }
.hero-center { text-align: center; padding: 84px 24px 80px; display: flex; flex-direction: column; align-items: center; }
.hero-center .hero-sub { margin-inline: auto; }
.hero-center .hero-actions { justify-content: center; }
.hero-mark { width: 92px; margin-bottom: 1.5rem; filter: drop-shadow(0 12px 24px rgba(102, 44, 227, .35)); animation: floaty 6s ease-in-out infinite; }
.hero-note { margin-top: 1.25rem; font-size: .88rem; color: var(--muted); }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3.5rem; width: 100%; max-width: 900px; }
.hstat { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem; box-shadow: var(--shadow); }
.hstat-v { font-size: 1.9rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.2; }
.hstat-l { font-size: .85rem; color: var(--muted); margin-top: .2rem; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; animation: drift 14s ease-in-out infinite alternate; }
.b1 { width: 480px; height: 480px; background: #C9B4FA; top: -160px; inset-inline-start: -120px; }
.b2 { width: 420px; height: 420px; background: #B8C8FF; bottom: -140px; inset-inline-end: -100px; animation-delay: -5s; }
.b3 { width: 300px; height: 300px; background: #E4D7FF; top: 40%; inset-inline-start: 55%; animation-delay: -9s; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(40px, 30px) scale(1.1); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* split variant */
.hero-split { background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%); }
.hero-bullets { margin-top: 2rem; display: grid; gap: .6rem; }
.hero-bullets li { display: flex; align-items: center; gap: .6rem; color: var(--ink); font-weight: 500; }
.hero-bullets .ic { color: #fff; background: var(--grad); border-radius: 50%; padding: 3px; width: 22px; height: 22px; }
.hero-visual { position: relative; }
.mock {
  background: #fff; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: .5s;
}
.hero-visual:hover .mock { transform: perspective(1400px) rotateY(0) rotateX(0); }
.mock-top { display: flex; align-items: center; gap: 1rem; padding: .8rem 1rem; border-bottom: 1px solid var(--line); background: #FCFBFF; }
.mock-dots { display: flex; gap: 5px; }
.mock-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.mock-dots i:first-child { background: var(--lav); }
.mock-title { font-weight: 700; font-size: .9rem; }
.mock-user { margin-inline-start: auto; display: flex; align-items: center; gap: .5rem; font-size: .78rem; color: var(--muted); }
.avatar { width: 24px; height: 24px; border-radius: 50%; background: var(--grad); display: inline-block; }
.mock-body { display: grid; grid-template-columns: 44px 1fr; }
.mock-side { background: var(--p-deep); padding: 14px 10px; display: grid; gap: 12px; align-content: start; }
.mock-side i { display: block; width: 24px; height: 24px; border-radius: 7px; background: rgba(255, 255, 255, .12); }
.mock-side i.on { background: var(--grad); }
.mock-main { padding: 14px; display: grid; gap: 12px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { background: var(--bg-soft); border-radius: 12px; padding: 10px 12px; border: 1px solid var(--line); }
.kpi-l { font-size: .68rem; color: var(--muted); }
.kpi-v { font-weight: 800; font-size: .95rem; margin-top: 2px; }
.kpi-d { font-size: .7rem; color: #1A9C5B; font-weight: 700; }
.mock-chart { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.mock-label { font-size: .72rem; color: var(--muted); margin-bottom: 8px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 70px; }
.bars i { flex: 1; background: var(--grad); border-radius: 6px 6px 2px 2px; opacity: .9; transform-origin: bottom; animation: grow .9s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.mock-table { display: grid; gap: 6px; }
.mrow { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; font-size: .75rem; padding: 6px 10px; border-radius: 8px; background: var(--bg-soft); }
.mname { font-weight: 600; }
.mstatus { background: #E5F7EE; color: #1A9C5B; padding: 1px 8px; border-radius: 999px; font-size: .68rem; font-weight: 700; }
.mamount { font-weight: 800; color: var(--p-dark); }
.float {
  position: absolute; display: flex; align-items: center; gap: .6rem; background: #fff; border-radius: 14px;
  padding: .65rem .9rem; box-shadow: var(--shadow-lg); border: 1px solid var(--line); animation: floaty 5s ease-in-out infinite;
}
.float small { display: block; font-size: .7rem; color: var(--muted); }
.float strong { font-size: .85rem; }
.float .ic { width: 30px; height: 30px; padding: 6px; border-radius: 10px; color: #fff; background: var(--grad); }
.f1 { bottom: -18px; inset-inline-start: -20px; }
.f2 { top: -18px; inset-inline-end: -10px; animation-delay: -2.5s; }

/* dark variant */
.hero-dark { background: radial-gradient(900px 500px at 80% 20%, #3B1A9C 0%, transparent 60%), radial-gradient(700px 500px at 10% 90%, #1F3A9E 0%, transparent 60%), var(--p-deep); color: #fff; }
.hero-dark .hero-title { color: #fff; }
.hero-dark .hero-title .hl { background: var(--grad-soft); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-dark .hero-sub { color: rgba(255, 255, 255, .78); }
.badge-dark { background: rgba(255, 255, 255, .08); color: #E6DDFF; border-color: rgba(255, 255, 255, .15); }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; pointer-events: none; }
.g1 { width: 500px; height: 500px; background: #662CE3; top: -200px; inset-inline-end: -100px; }
.g2 { width: 400px; height: 400px; background: #476EFA; bottom: -200px; inset-inline-start: -100px; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .85rem; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: .82rem; color: #EDE7FF; }
.chip .ic { color: var(--lav); }
.orbit { position: relative; width: 360px; height: 360px; margin: 0 auto; display: grid; place-items: center; }
.orbit-mark { width: 150px; position: relative; z-index: 2; filter: drop-shadow(0 0 30px rgba(175, 133, 245, .6)); animation: floaty 6s ease-in-out infinite; }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); animation: spin linear infinite; }
.r1 { width: 220px; height: 220px; border-style: dashed; animation-duration: 40s; }
.r2 { width: 300px; height: 300px; animation-duration: 60s; animation-direction: reverse; }
.r3 { width: 360px; height: 360px; border-color: rgba(255, 255, 255, .08); animation-duration: 90s; }
.dot { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--grad-soft); box-shadow: 0 0 20px var(--lav); }
.d1 { top: 30px; inset-inline-start: 50%; animation: floaty 4s ease-in-out infinite; }
.d2 { bottom: 60px; inset-inline-end: 40px; animation: floaty 5s ease-in-out infinite -1s; }
.d3 { top: 50%; inset-inline-start: 10px; animation: floaty 6s ease-in-out infinite -2s; }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit-caption { text-align: center; color: rgba(255, 255, 255, .6); font-size: .85rem; margin-top: 1rem; }

/* minimal variant */
.hero-minimal { background: #fff; }
.trusted { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 2.2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.trusted-l { font-size: .85rem; color: var(--muted); margin-inline-end: .25rem; }
.trusted-i { font-size: .82rem; font-weight: 600; color: var(--p-dark); background: var(--lav-soft); padding: .3rem .75rem; border-radius: 999px; }
.browser { background: #fff; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #F3F0FB; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D9D2EC; }
.browser-bar .url { margin-inline-start: 10px; flex: 1; background: #fff; border-radius: 8px; font-size: .72rem; color: var(--muted); padding: 3px 10px; }
.browser-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.browser-ph { aspect-ratio: 16 / 10; display: grid; place-items: center; align-content: center; gap: 1rem; background: linear-gradient(160deg, #F8F6FE, #EDE6FC); color: var(--muted); font-size: .9rem; text-align: center; padding: 2rem; }
.browser-ph img { width: 90px; opacity: .9; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.sec-head.align-start { text-align: start; margin-inline: 0; }
.sec-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; }
.eyebrow { display: inline-block; color: var(--p); font-weight: 700; font-size: .85rem; letter-spacing: .02em; margin-bottom: .75rem; padding: .25rem .8rem; border-radius: 999px; background: var(--lav-soft); }
.lead { color: var(--muted); font-size: 1.08rem; margin-top: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.75rem; transition: .25s; position: relative; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #D8CBFA; }
.card h3 { font-size: 1.15rem; margin: 1rem 0 .5rem; }
.card p { color: var(--muted); font-size: .95rem; }
.card-ic { width: 52px; height: 52px; padding: 13px; border-radius: 14px; background: var(--lav-soft); color: var(--p); }
.card-aud .card-ic { background: var(--grad); color: #fff; }
.mod-head { display: flex; align-items: center; justify-content: space-between; }
.mod-num { font-weight: 800; color: #D8CBFA; font-size: 1.1rem; }
.card-why .tag { display: inline-block; font-size: .75rem; color: var(--p); font-weight: 700; margin-top: 1rem; }
.card-why h3 { margin-top: .35rem; }

/* stats strip */
.stats-strip { background: var(--p-deep); color: #fff; padding: 2.5rem 0; position: relative; overflow: hidden; }
.stats-strip::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(102, 44, 227, .35), transparent, rgba(71, 110, 250, .3)); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.stat { text-align: center; padding: .5rem; border-inline-start: 1px solid rgba(255, 255, 255, .1); }
.stat:first-child { border: 0; }
.stat-v { font-size: 2.3rem; font-weight: 800; background: var(--grad-soft); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-l { color: rgba(255, 255, 255, .7); font-size: .9rem; }

/* AI — dark band with five glass cards */
.section-ai { position: relative; overflow: hidden; color: #fff; background: radial-gradient(900px 480px at 85% 10%, #3B1A9C 0%, transparent 60%), radial-gradient(700px 420px at 10% 100%, #1F3A9E 0%, transparent 60%), var(--p-deep); }
.section-ai .grid-bg { position: absolute; inset: 0; }
.section-ai .eyebrow { background: rgba(255, 255, 255, .1); color: #E6DDFF; }
.section-ai h2 { color: #fff; }
.section-ai .lead { color: rgba(255, 255, 255, .72); }
.section-ai .container { position: relative; }
.ai-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.ai-card { position: relative; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; padding: 1.6rem 1.25rem; transition: .25s; backdrop-filter: blur(6px); }
.ai-card:hover { background: rgba(255, 255, 255, .1); border-color: var(--lav); transform: translateY(-4px); box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .6); }
.ai-num { position: absolute; top: .9rem; inset-inline-end: 1rem; font-weight: 800; font-size: 1.3rem; color: rgba(255, 255, 255, .18); }
.ai-ic { width: 50px; height: 50px; padding: 12px; border-radius: 14px; background: var(--grad); color: #fff; box-shadow: 0 12px 26px -8px rgba(102, 44, 227, .8); }
.ai-card h3 { font-size: 1.05rem; margin: 1rem 0 .4rem; color: #fff; }
.ai-card p { color: rgba(255, 255, 255, .7); font-size: .9rem; line-height: 1.6; }
.ai-banner { margin-top: 1.75rem; display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center; padding: 1.5rem 2rem; border-radius: 20px; background: linear-gradient(120deg, rgba(102, 44, 227, .4), rgba(71, 110, 250, .25)); border: 1px solid rgba(255, 255, 255, .16); }
.ai-banner-ic { width: 54px; height: 54px; color: var(--lav); filter: drop-shadow(0 0 18px rgba(175, 133, 245, .7)); }
.ai-banner h3 { font-size: 1.2rem; color: #fff; margin-bottom: .3rem; }
.ai-banner p { color: rgba(255, 255, 255, .78); font-size: .93rem; }
.ai-providers { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
.ai-providers span { font-size: .8rem; padding: .4rem .85rem; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); white-space: nowrap; }
@media (max-width: 1100px) { .ai-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .ai-banner { grid-template-columns: 1fr; text-align: center; justify-items: center; } .ai-providers { justify-content: center; } }
@media (max-width: 720px) { .ai-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .ai-cards { grid-template-columns: 1fr; } }

/* advanced */
.adv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.adv { display: flex; gap: 1.25rem; padding: 1.5rem; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: .25s; }
.adv:hover { border-color: #D8CBFA; box-shadow: var(--shadow); }
.adv-n { font-weight: 800; font-size: 1.4rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.adv h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.adv p { color: var(--muted); font-size: .92rem; }

/* comparison */
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.cmp { width: 100%; border-collapse: collapse; min-width: 760px; }
.cmp th, .cmp td { padding: 1rem 1.15rem; text-align: start; border-bottom: 1px solid var(--line); font-size: .93rem; }
.cmp th { background: var(--bg-soft); font-weight: 700; color: var(--muted); }
.cmp th.arms { background: var(--grad); color: #fff; }
.cmp td.arms { background: #F4EFFE; font-weight: 700; color: var(--p-dark); }
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp tbody tr:hover td { background: #FCFBFF; }
.cmp tbody tr:hover td.arms { background: #EDE5FD; }
.th-mark { height: 22px; width: auto; display: inline-block; vertical-align: middle; margin-inline-end: .5rem; }
.td-check { width: 18px; height: 18px; vertical-align: middle; margin-inline-end: .4rem; color: var(--p); }
.footnote { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 1.25rem; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; align-items: stretch; max-width: 860px; margin: 0 auto; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 2rem; display: flex; flex-direction: column; position: relative; transition: .25s; }
.plan:hover { box-shadow: var(--shadow-lg); }
.plan.featured { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.plan-badge { position: absolute; top: -14px; inset-inline-start: 50%; transform: translateX(50%); background: var(--grad); color: #fff; font-size: .75rem; font-weight: 700; padding: .3rem .9rem; border-radius: 999px; }
[dir="ltr"] .plan-badge { transform: translateX(-50%); }
.plan-badge:empty { display: none; }
.plan h3 { font-size: 1.25rem; }
.plan-price { margin: 1rem 0; }
.plan-price strong { font-size: 2.1rem; font-weight: 800; display: block; line-height: 1.2; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan-price span { font-size: .85rem; color: var(--muted); }
.plan-desc { color: var(--muted); font-size: .92rem; min-height: 3.2em; }
.plan-feats { margin: 1.5rem 0; display: grid; gap: .6rem; flex: 1; }
.plan-feats li { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; }
.plan-feats .ic { color: var(--p); margin-top: .25rem; width: 18px; height: 18px; }

/* tech */
.tech { display: flex; gap: 1rem; align-items: flex-start; padding: 1.5rem; border-radius: var(--r); border: 1px solid var(--line); background: #fff; transition: .25s; }
.tech:hover { border-color: #D8CBFA; box-shadow: var(--shadow); }
.tech-ic { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--grad); color: #fff; }
.tech h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.tech p { color: var(--muted); font-size: .9rem; direction: rtl; }

/* faq */
.faq { display: grid; gap: .85rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 0 1.5rem; transition: .25s; }
.faq-item[open] { border-color: #D8CBFA; box-shadow: var(--shadow); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; font-weight: 700; font-size: 1.02rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ch { color: var(--p); transition: .25s; width: 22px; height: 22px; }
.faq-item[open] .faq-ch { transform: rotate(180deg); }
.faq-item p { color: var(--muted); padding-bottom: 1.25rem; font-size: .95rem; }

/* contact */
.section-contact { background: radial-gradient(800px 400px at 90% 10%, #EFE8FD 0%, transparent 60%), #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-points { display: grid; gap: 1.25rem; margin-top: 2rem; }
.cpoint { display: flex; gap: 1rem; align-items: flex-start; }
.cpoint-ic { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--lav-soft); color: var(--p); }
.cpoint h3 { font-size: 1.02rem; }
.cpoint p { color: var(--muted); font-size: .92rem; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 2rem; box-shadow: var(--shadow-lg); display: grid; gap: 1rem; }
.contact-form label { display: grid; gap: .35rem; font-size: .88rem; font-weight: 600; color: var(--ink); }
.contact-form input, .contact-form textarea { font-family: inherit; font-size: .95rem; padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: 12px; background: #FCFBFF; transition: .2s; width: 100%; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--p); background: #fff; box-shadow: 0 0 0 4px rgba(102, 44, 227, .12); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-hint { font-size: .8rem; color: var(--muted); text-align: center; }

/* footer */
.footer { background: var(--p-deep); color: rgba(255, 255, 255, .8); padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.footer-logo { height: 46px; width: auto; margin-bottom: 1.25rem; background: #fff; padding: 6px 10px; border-radius: 10px; }
.footer-about p { font-size: .9rem; line-height: 1.8; }
.footer-cs { margin-top: 1rem; font-size: .85rem; }
.footer-cs a { color: var(--lav); font-weight: 700; }
.footer h4 { color: #fff; margin-bottom: 1rem; font-size: 1rem; }
.footer-col ul { display: grid; gap: .55rem; }
.footer-col a { font-size: .92rem; transition: .2s; }
.footer-col a:hover { color: var(--lav); }
.footer-contact li { display: flex; align-items: center; gap: .6rem; font-size: .9rem; }
.footer-contact .ic { color: var(--lav); width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 3rem; padding-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; font-size: .82rem; color: rgba(255, 255, 255, .55); }
.to-top { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; }
.to-top .ic { transform: rotate(180deg); }
.wa-fab { position: fixed; bottom: 24px; inset-inline-start: 24px; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7); z-index: 40; transition: .2s; }
.wa-fab:hover { transform: scale(1.08); }
.wa-fab .ic { width: 28px; height: 28px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; padding: 64px 24px; }
  .hero-visual { max-width: 620px; margin: 0 auto; }
  .mock { transform: none; }
  .ai-grid { grid-template-columns: 1fr; }
  .ai-hl { position: static; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .plan.featured { transform: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border: 0; }
}
@media (max-width: 720px) {
  .nav-links { display: none; position: absolute; top: 76px; inset-inline: 0; background: #fff; flex-direction: column; padding: 1rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); }
  .nav-links.open { display: flex; }
  .nav-burger { display: inline-flex; }
  .nav-actions .btn-ghost { display: none; }
  .brand-img { height: 36px; }
  .section { padding: 64px 0; }
  .grid-3, .grid-4, .adv-grid { grid-template-columns: 1fr; }
  .f2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .float { display: none; }
  .orbit { width: 280px; height: 280px; }
  .r3 { width: 280px; height: 280px; }
  .r2 { width: 230px; height: 230px; }
  .hero-actions .btn { width: 100%; }
}

/* hero title: single line, max 3 words */
.hero-title { white-space: nowrap; font-size: clamp(1.9rem, 5.2vw, 4rem); }
.hero-grid .hero-title { font-size: clamp(1.8rem, 3.8vw, 3.2rem); }
.hero-title .hl { display: inline; }

/* logo: never squash — keep intrinsic aspect ratio */
.brand { flex: none; display: block; }
.brand-img { height: 44px; width: auto; max-width: none; object-fit: contain; }
.footer-logo { height: 48px; width: auto; max-width: none; object-fit: contain; }
@media (max-width: 720px) { .brand-img { height: 36px; } }

/* licensing cards (no prices) */
.plan-num { font-weight: 800; font-size: 1.1rem; color: #D8CBFA; margin-bottom: .5rem; }
.plan h3 { margin-bottom: .75rem; }

/* exclusive features */
.excl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.excl { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 1.4rem; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: .25s; }
.excl:hover { border-color: #D8CBFA; box-shadow: var(--shadow); transform: translateY(-2px); }
.excl-ic { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--grad); color: #fff; }
.excl h3 { font-size: 1.02rem; margin-bottom: .25rem; }
.excl p { color: var(--muted); font-size: .9rem; }
@media (max-width: 720px) { .excl-grid { grid-template-columns: 1fr; } }

/* language switch (header) */
.lang-switch { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .8rem; border-radius: 999px; border: 1.5px solid var(--line); color: var(--p-dark); font-weight: 700; font-size: .85rem; background: #fff; transition: .2s; white-space: nowrap; }
.lang-switch:hover { border-color: var(--p); background: var(--lav-soft); }
.lang-switch .ic { width: 18px; height: 18px; color: var(--p); }
@media (max-width: 720px) { .lang-switch span { display: none; } .lang-switch { padding: .45rem; } }

/* ===== Flat corporate look: no blurred gradients, no glows ===== */
:root {
  --grad: linear-gradient(0deg, #662CE3 0%, #662CE3 100%);
  --grad-soft: linear-gradient(0deg, #AF85F5 0%, #AF85F5 100%);
}
.btn-primary { background: var(--p); box-shadow: 0 6px 16px -8px rgba(102, 44, 227, .5); }
.btn-primary:hover { background: var(--p-dark); transform: none; box-shadow: 0 8px 18px -8px rgba(102, 44, 227, .55); }
.hero-gradient { background: #fff; }
.blob, .glow { display: none; }
.hero-mark { filter: none; }
.hero-split { background: var(--bg-soft); }
.hero-dark { background: var(--p-deep); }
.hero-dark .grid-bg { mask-image: none; -webkit-mask-image: none; opacity: .6; }
.orbit-mark { filter: none; }
.dot { box-shadow: none; }
.stats-strip::before { display: none; }
.section-ai { background: var(--p-deep); }
.ai-card { backdrop-filter: none; }
.ai-ic { box-shadow: none; }
.ai-banner { background: rgba(255, 255, 255, .06); }
.ai-banner-ic { filter: none; }
.section-contact { background: var(--bg-soft); }
.hstat-v, .stat-v, .adv-n, .hero-title .hl, .hero-dark .hero-title .hl { background: none; -webkit-background-clip: initial; background-clip: initial; -webkit-text-fill-color: initial; color: var(--p); }
.hero-dark .hero-title .hl, .stat-v { color: var(--lav); }
.float .ic, .hero-bullets .ic, .avatar, .mock-side i.on, .bars i, .card-aud .card-ic, .tech-ic, .excl-ic, .ai-ic, .lang-switch .ic { background-image: none; }
.float .ic, .hero-bullets .ic, .avatar, .mock-side i.on, .bars i, .card-aud .card-ic, .tech-ic, .excl-ic, .ai-ic { background-color: var(--p); }
.lang-switch .ic { background: none; }
.mock { transform: none; }
.wa-fab { box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .35); }

/* hero logo animation (plays once, freezes on last frame) */
.hero-video { width: 200px; height: auto; display: block; margin-bottom: 1rem; background: transparent; pointer-events: none; }
@media (max-width: 720px) { .hero-video { width: 150px; } }

/* ===== motion & effects ===== */
.reveal { transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { transform: none; }
.scroll-progress { position: fixed; top: 0; inset-inline: 0; height: 3px; background: var(--p); transform-origin: right; transform: scaleX(0); z-index: 60; pointer-events: none; }
[dir="ltr"] .scroll-progress { transform-origin: left; }
.nav-in { transition: height .25s ease; }
.nav.scrolled .nav-in { height: 64px; }
.nav-link { position: relative; }
.nav-link::after { content: ""; position: absolute; inset-inline: .85rem; bottom: .3rem; height: 2px; background: var(--p); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
[dir="ltr"] .nav-link::after { transform-origin: left; }
.nav-link:hover::after { transform: scaleX(1); }
.btn { transition: background .2s, color .2s, box-shadow .2s, transform .15s; }
.btn:active { transform: scale(.97); }
.hero-title .hl { position: relative; z-index: 0; display: inline-block; }
.hero-title .hl::after { content: ""; position: absolute; inset-inline: 0; bottom: .06em; height: .16em; background: var(--lav); opacity: .45; z-index: -1; transform: scaleX(0); transform-origin: right; transition: transform .7s .55s cubic-bezier(.2, .8, .2, 1); border-radius: 2px; }
[dir="ltr"] .hero-title .hl::after { transform-origin: left; }
.hero-title.in .hl::after { transform: scaleX(1); }
.card-ic, .excl-ic, .ai-ic, .tech-ic, .cpoint-ic { transition: transform .3s cubic-bezier(.2, .8, .2, 1), background-color .2s; }
.card:hover .card-ic, .excl:hover .excl-ic, .ai-card:hover .ai-ic, .tech:hover .tech-ic, .cpoint:hover .cpoint-ic { transform: translateY(-3px) rotate(-6deg) scale(1.06); }
.card-aud:hover .card-ic { background-color: var(--p-dark); }
.excl:hover, .adv:hover { transform: translateY(-3px); }
.adv { transition: .25s; }
.adv:hover .adv-n { transform: scale(1.15); }
.adv-n { transition: transform .25s; display: inline-block; }
.hstat, .stat { transition: transform .25s; }
.hstat:hover { transform: translateY(-4px); }
.mock { transition: transform .35s ease; will-change: transform; }
.faq-item p { animation: faqIn .35s ease both; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.faq-item summary { transition: color .2s; }
.faq-item:hover summary { color: var(--p); }
.wa-fab { animation: fabIn .6s 1.2s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes fabIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.wa-fab::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid #25D366; opacity: 0; animation: ring 2.4s 2s ease-out infinite; }
@keyframes ring { 0% { transform: scale(.85); opacity: .6; } 100% { transform: scale(1.35); opacity: 0; } }
.brand-img { transition: transform .3s; }
.brand:hover .brand-img { transform: scale(1.04); }
.plan { transition: transform .25s, box-shadow .25s; }
.plan:hover { transform: translateY(-4px); }
.trusted-i, .chip { transition: transform .2s, background-color .2s; }
.trusted-i:hover, .chip:hover { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .reveal, .wa-fab, .wa-fab::after, .faq-item p, .bars i, .hero-mark, .float, .ring, .dot { animation: none !important; transition: none !important; } }

/* tablet nav: collapse links into the burger menu below 1000px so the header never overflows */
@media (max-width: 1000px) {
  .nav-links { display: none; position: absolute; top: 100%; inset-inline: 0; background: #fff; flex-direction: column; padding: 1rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); }
  .nav-links.open { display: flex; }
  .nav-burger { display: inline-flex; }
  .nav-actions { margin-inline-start: auto; }
  .nav-in { gap: 1rem; }
}

/* ===== Arabic primary font: Hacen Promoter (Lt for body, Md/Regular for headings) ===== */
@font-face { font-family: "Hacen Promoter"; src: url("/assets/fonts/hacen-promoter-lt.ttf") format("truetype"); font-weight: 300 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Hacen Promoter"; src: url("/assets/fonts/hacen-promoter-md.ttf") format("truetype"); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Hacen Promoter"; src: url("/assets/fonts/hacen-promoter.ttf") format("truetype"); font-weight: 700 900; font-style: normal; font-display: swap; }
html[lang="ar"] { --font: "Hacen Promoter", "IBM Plex Sans Arabic", "Cairo", "Segoe UI", Tahoma, sans-serif; }
html[lang="ar"] body { line-height: 1.8; }
html[lang="ar"] .hero-title { line-height: 1.35; }
html[lang="ar"] body { font-size: 1.04rem; }
html[lang="ar"] .card p, html[lang="ar"] .excl p, html[lang="ar"] .adv p, html[lang="ar"] .ai-card p, html[lang="ar"] .faq-item p { font-size: 1rem; }

/* Hacen Promoter Lt only for the big headings (hero title + section titles); body back to IBM Plex Sans Arabic */
html[lang="ar"] { --font: "IBM Plex Sans Arabic", "Cairo", "Segoe UI", Tahoma, sans-serif; }
html[lang="ar"] body { font-size: 1rem; line-height: 1.7; }
html[lang="ar"] .card p, html[lang="ar"] .excl p, html[lang="ar"] .adv p, html[lang="ar"] .ai-card p { font-size: .95rem; }
html[lang="ar"] .faq-item p { font-size: .95rem; }
html[lang="ar"] .hero-title, html[lang="ar"] .sec-head h2 { font-family: "Hacen Promoter", "IBM Plex Sans Arabic", sans-serif; font-weight: 400; letter-spacing: 0; }
html[lang="ar"] .hero-title { font-size: clamp(2.2rem, 5.6vw, 4.4rem); line-height: 1.3; }
html[lang="ar"] .hero-grid .hero-title { font-size: clamp(2rem, 4.2vw, 3.5rem); }
html[lang="ar"] .sec-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.35; }

/* Arabic body font: Cairo */
html[lang="ar"] { --font: "Cairo", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif; }
html[lang="ar"] body { line-height: 1.75; }

/* ===== stability fixes: no layout jumps, no hover oscillation ===== */
.nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255, 255, 255, .97); }
.nav.scrolled .nav-in { height: 76px; }                 /* header never changes height */
.nav-in { transition: none; }
.card:hover, .excl:hover, .adv:hover, .plan:hover, .hstat:hover, .ai-card:hover, .tech:hover, .ai-item:hover { transform: none; } /* hover = shadow/border only */
.card:hover .card-ic, .excl:hover .excl-ic, .ai-card:hover .ai-ic, .tech:hover .tech-ic, .cpoint:hover .cpoint-ic { transform: scale(1.06); }
.adv:hover .adv-n { transform: none; }
.trusted-i:hover, .chip:hover { transform: none; }
.brand:hover .brand-img { transform: none; }
.wa-fab::after { display: none; }                       /* no infinite pulse */
.wa-fab { animation: none; }
.hstat-v, .stat-v, .kpi-v { font-variant-numeric: tabular-nums; }
.mock { transition: transform .5s ease; }
.faq-item p { animation: none; }
.btn:active { transform: none; }
.hero-title.revealed .hl::after { transform: scaleX(1); transition-delay: 0s; }
.revealed { opacity: 1; transform: none; }

/* ===== Final typography: Cairo everywhere (Arabic + English) ===== */
:root { --font: "Cairo", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif; }
html[lang="ar"] { --font: "Cairo", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif; }
html[lang="ar"] .hero-title, html[lang="ar"] .sec-head h2 { font-family: var(--font); font-weight: 800; }
html[lang="ar"] .hero-title { font-size: clamp(1.9rem, 5.2vw, 4rem); line-height: 1.3; }
html[lang="ar"] .hero-grid .hero-title { font-size: clamp(1.8rem, 3.8vw, 3.2rem); }
html[lang="ar"] .sec-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.35; }

/* ===== "Why" section — editorial columns ===== */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.why-item { border-top: 3px solid var(--p); padding-top: 1.4rem; }
.why-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.why-num { font-size: 2.2rem; font-weight: 800; color: var(--lav); line-height: 1; }
.why-ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--lav-soft); color: var(--p); }
.why-item h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.why-tag { display: inline-block; font-size: .82rem; font-weight: 700; color: var(--p); background: var(--lav-soft); padding: .2rem .75rem; border-radius: 999px; margin-bottom: .85rem; }
.why-item p { color: var(--muted); font-size: .98rem; line-height: 1.8; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ===== Hero intro: logo alone, then shrink + reveal copy on first scroll ===== */
.hero-gradient .hero-video { transition: width .75s cubic-bezier(.2, .8, .2, 1), margin .75s cubic-bezier(.2, .8, .2, 1); }
.hero-gradient.hero-intro { min-height: calc(100vh - 76px); display: flex; align-items: center; }
.hero-gradient.hero-intro .hero-center { padding: 32px 24px; width: 100%; }
.hero-gradient.hero-intro .hero-video { width: min(440px, 72vw); margin-bottom: 0; }

.hero-hint { margin-top: 3rem; display: inline-flex; flex-direction: column; align-items: center; gap: .1rem; background: none; border: 0; cursor: pointer; font-family: inherit; color: var(--muted); font-size: .88rem; opacity: 0; animation: hintIn .8s 2.2s ease both; }
.hero-hint .ic { width: 24px; height: 24px; color: var(--p); animation: hintBob 1.4s 2.6s ease-in-out 3; }
.hero-hint:hover { color: var(--p); }
.hero-gradient:not(.hero-intro) .hero-hint { display: none; }
.hero-gradient.hero-open .hi { animation: heroIn .7s cubic-bezier(.2, .8, .2, 1) both; }
.hero-gradient.hero-open .hi:nth-child(2) { animation-delay: .05s; }
.hero-gradient.hero-open .hi:nth-child(3) { animation-delay: .13s; }
.hero-gradient.hero-open .hi:nth-child(4) { animation-delay: .21s; }
.hero-gradient.hero-open .hi:nth-child(5) { animation-delay: .29s; }
.hero-gradient.hero-open .hi:nth-child(6) { animation-delay: .37s; }
.hero-gradient.hero-open .hi:nth-child(7) { animation-delay: .45s; }
.hero-gradient:not(.hero-intro) .hero-title .hl::after { transform: scaleX(1); }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes hintIn { to { opacity: 1; } }
@keyframes hintBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (max-width: 720px) { .hero-gradient.hero-intro .hero-video { width: min(280px, 70vw); } .hero-gradient.hero-intro { min-height: calc(100svh - 76px); } }
@media (prefers-reduced-motion: reduce) { .hero-hint, .hero-hint .ic, .hero-gradient.hero-open .hi { animation: none !important; opacity: 1; } }

/* ===== Hero intro: smooth expansion (height, padding, logo and copy animate together) ===== */
.hero-gradient { display: flex; align-items: center; min-height: 0; transition: min-height .95s cubic-bezier(.2, .8, .2, 1); }
.hero-gradient .hero-center { width: 100%; transition: padding .95s cubic-bezier(.2, .8, .2, 1); }
.hero-gradient.hero-intro { min-height: calc(100vh - 76px); }
.hero-gradient.hero-open { min-height: 0; }
.hero-gradient .hero-copy-wrap { display: grid; grid-template-rows: 1fr; width: 100%; opacity: 1; transition: grid-template-rows .95s cubic-bezier(.2, .8, .2, 1), opacity .7s ease .15s; }
.hero-gradient .hero-copy-inner { min-height: 0; overflow: hidden; display: flex; flex-direction: column; align-items: center; width: 100%; }
.hero-gradient.hero-intro .hero-copy-wrap { grid-template-rows: 0fr; opacity: 0; }
.hero-gradient .hero-video { transition: width .95s cubic-bezier(.2, .8, .2, 1), margin .95s cubic-bezier(.2, .8, .2, 1); }
.hero-gradient .hero-hint { transition: opacity .35s ease, max-height .5s ease, margin .5s ease; max-height: 80px; overflow: hidden; }
.hero-gradient:not(.hero-intro) .hero-hint { display: inline-flex; opacity: 0; max-height: 0; margin-top: 0; pointer-events: none; animation: none; }
.hero-gradient.hero-open .hi { animation-duration: .8s; }
.hero-gradient.hero-open .hi:nth-child(1) { animation-delay: .25s; }
.hero-gradient.hero-open .hi:nth-child(2) { animation-delay: .32s; }
.hero-gradient.hero-open .hi:nth-child(3) { animation-delay: .4s; }
.hero-gradient.hero-open .hi:nth-child(4) { animation-delay: .48s; }
.hero-gradient.hero-open .hi:nth-child(5) { animation-delay: .56s; }
.hero-gradient.hero-open .hi:nth-child(6) { animation-delay: .64s; }
@media (prefers-reduced-motion: reduce) { .hero-gradient, .hero-gradient .hero-center, .hero-gradient .hero-copy-wrap, .hero-gradient .hero-video { transition: none !important; } }
/* keep the hero height monotonic: the height eases slower than the copy expands */
.hero-gradient { transition: min-height 1.25s cubic-bezier(.16, .84, .3, 1); }
.hero-gradient .hero-center { transition: padding 1.25s cubic-bezier(.16, .84, .3, 1); }
.hero-gradient .hero-copy-wrap { transition: grid-template-rows .8s cubic-bezier(.2, .8, .2, 1), opacity .6s ease .1s; }
.hero-gradient .hero-video { transition: width .9s cubic-bezier(.2, .8, .2, 1), margin .9s cubic-bezier(.2, .8, .2, 1); }
.hero-gradient { transition: min-height 1.3s cubic-bezier(.45, 0, .2, 1); }
.hero-gradient .hero-center { transition: padding 1.3s cubic-bezier(.45, 0, .2, 1); }
.no-anim, .no-anim * { transition: none !important; animation: none !important; }

/* Arabic hero animation includes the wordmark: give it a little more room */
html[lang="ar"] .hero-gradient .hero-video { width: 250px; }
html[lang="ar"] .hero-gradient.hero-intro .hero-video { width: min(460px, 74vw); }
@media (max-width: 720px) { html[lang="ar"] .hero-gradient .hero-video { width: 190px; } html[lang="ar"] .hero-gradient.hero-intro .hero-video { width: min(300px, 72vw); } }

/* English hero animation now includes the wordmark too: same sizing as Arabic */
html[lang="en"] .hero-gradient .hero-video { width: 250px; }
html[lang="en"] .hero-gradient.hero-intro .hero-video { width: min(460px, 74vw); }
@media (max-width: 720px) { html[lang="en"] .hero-gradient .hero-video { width: 190px; } html[lang="en"] .hero-gradient.hero-intro .hero-video { width: min(300px, 72vw); } }

/* FAQ animated body */
.faq-body { overflow: hidden; }
.faq-item p { padding-bottom: 1.25rem; }

/* WhatsApp submit button: WhatsApp green with a clear icon */
.contact-form .btn-primary { background: #25D366; color: #fff; box-shadow: none; gap: .7rem; padding: 1rem 1.6rem; border-radius: 14px; font-size: 1.05rem; }
.contact-form .btn-primary:hover { background: #1EBE5B; }
.contact-form .btn-primary .ic { width: 24px; height: 24px; }

/* Footer logo: transparent, no white box */
.footer-logo { background: transparent; padding: 0; height: 52px; }

/* ===== Light footer ===== */
.footer { background: var(--bg-soft); color: var(--muted); border-top: 1px solid var(--line); }
.footer h4 { color: var(--ink); }
.footer-about p { color: var(--muted); }
.footer-cs a { color: var(--p); }
.footer-col a { color: var(--muted); }
.footer-col a:hover { color: var(--p); }
.footer-contact li { color: var(--muted); }
.footer-contact .ic { color: var(--p); }
.footer-bottom { border-top-color: var(--line); color: var(--muted); }
.to-top { background: #fff; border: 1px solid var(--line); color: var(--p); }
.to-top:hover { background: var(--lav-soft); }
.footer-logo { height: 56px; }
