/* Shared styles for the Kipprs marketing sub-pages (pages/en, pages/ar). Same tokens as the homepage. */
:root {
  --ink: #1a1530; --ink-2: #4b4766; --muted: #7c7896; --line: #ebe9f3; --line-2: #dcd8ee;
  --bg: #fff; --bg-soft: #f7f6fc;
  --violet: #7b68ee; --violet-d: #5b4bd6; --brand-soft: #efecff; --pink: #fd71af; --sky: #49ccf9; --amber: #ffc800; --green: #22c38e; --red: #ff6b6b;
  --grad: linear-gradient(90deg, #7b68ee 0%, #c56cf0 45%, #fd71af 100%);
  --grad-soft: linear-gradient(135deg, #f3f0ff 0%, #fff0f7 100%);
  --radius: 20px; --shadow: 0 20px 50px -20px rgba(60, 40, 140, .25); --shadow-sm: 0 4px 14px -6px rgba(60, 40, 140, .18);
  --f-body: "Plus Jakarta Sans", system-ui, sans-serif; --f-head: "Plus Jakarta Sans", system-ui, sans-serif;
}
html[lang="ar"] { --f-body: "IBM Plex Sans Arabic", system-ui, sans-serif; --f-head: "Cairo", "IBM Plex Sans Arabic", sans-serif; --grad: linear-gradient(270deg, #7b68ee 0%, #c56cf0 45%, #fd71af 100%); --grad-soft: linear-gradient(225deg, #f3f0ff 0%, #fff0f7 100%); }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--f-body); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
html[lang="ar"] body { line-height: 1.75; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.15; letter-spacing: -.02em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 { line-height: 1.35; letter-spacing: 0; }
h2 { font-size: clamp(28px, 3.8vw, 44px); font-weight: 800; }
.grad-text, h1 em, h2 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--violet); }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 14px; }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); }
.muted { color: var(--muted); }
.ic { flex: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--f-head); font-weight: 700; font-size: 15px; border-radius: 12px; padding: 12px 22px; transition: transform .15s, box-shadow .2s, background .2s; cursor: pointer; border: 0; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--violet); color: #fff; box-shadow: 0 8px 20px -8px rgba(123, 104, 238, .8); }
.btn-primary:hover { background: var(--violet-d); }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(197, 108, 240, .9); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--line-2); }
.btn-lg { padding: 15px 28px; font-size: 16.5px; border-radius: 14px; }
.btn-block { width: 100%; }
.link { font-weight: 700; color: var(--violet); display: inline-flex; gap: 6px; align-items: center; transition: gap .2s; }
.link:hover { gap: 10px; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
.logo-mark { width: 36px; height: 36px; border-radius: 11px; background: var(--grad); display: grid; place-items: center; }
.nav-links { display: flex; gap: 2px; flex: 1; }
.nav-links > a, .dd > button { font: inherit; font-weight: 600; font-size: 15px; color: var(--ink-2); padding: 9px 13px; border-radius: 10px; background: none; border: 0; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.nav-links > a:hover, .dd:hover > button, .nav-links > a.on { background: var(--bg-soft); color: var(--ink); }
.dd { position: relative; }
.dd-menu { position: absolute; top: calc(100% + 8px); inset-inline-start: -12px; width: 540px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu, .dd.open .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu a { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 12px; }
.dd-menu a:hover { background: var(--bg-soft); }
.dd-menu b { display: block; font-size: 14px; }
.dd-menu small { color: var(--muted); font-size: 12.5px; }
.ico-tile { width: 36px; height: 36px; flex: none; border-radius: 11px; display: grid; place-items: center; }
.c1 { background: #efecff; color: #6a57e8; } .c2 { background: #ffe9f3; color: #e2468e; } .c3 { background: #e3f7fe; color: #0e9fd3; } .c4 { background: #fff6d6; color: #b78a00; } .c5 { background: #e1f8ef; color: #119b6c; } .c6 { background: #ffe8e8; color: #e04848; }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.nav-cta .login { font-weight: 600; color: var(--ink-2); padding: 9px 10px; white-space: nowrap; }
.lang { font-weight: 700; font-size: 13px; color: var(--ink-2); border: 1.5px solid var(--line); border-radius: 10px; padding: 6px 11px; white-space: nowrap; }
.lang:hover { border-color: var(--violet); color: var(--violet); }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; color: var(--ink); }

/* hero */
.hero { position: relative; padding: 64px 0 56px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -220px -20% auto; height: 640px; background: radial-gradient(560px 280px at 20% 40%, rgba(123, 104, 238, .16), transparent 70%), radial-gradient(480px 280px at 80% 30%, rgba(253, 113, 175, .14), transparent 70%); z-index: -1; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--muted); margin-bottom: 18px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--violet); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero.center { text-align: center; }
.hero.center .lead { margin-inline: auto; }
.hero h1 { font-size: clamp(36px, 5.2vw, 62px); font-weight: 800; margin: 14px 0 18px; letter-spacing: -.03em; }
html[lang="ar"] .hero h1 { letter-spacing: 0; }
.hero .lead { max-width: 640px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero.center .hero-cta { justify-content: center; }
.hero-note { margin-top: 14px; font-size: 14px; color: var(--muted); display: flex; gap: 16px; flex-wrap: wrap; }
.hero.center .hero-note { justify-content: center; }
.hero-note span::before { content: "✓ "; color: var(--green); font-weight: 800; }

section.blk { padding: 76px 0; }
section.blk.soft { background: var(--bg-soft); }
section.blk + section.blk.soft, section.blk.soft + section.blk { }
.head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.head h2 { margin: 10px 0 12px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.stats div { padding: 26px 20px; text-align: center; border-inline-end: 1px solid var(--line); }
.stats div:last-child { border-inline-end: 0; }
.stats b { display: block; font-family: var(--f-head); font-size: 32px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: var(--muted); font-size: 14px; }

/* cards */
.cards { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.c2col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.c4col { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .2s, box-shadow .2s, border-color .2s; display: flex; flex-direction: column; }
a.card:hover, .card.hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: #d9d4f5; }
.card h3 { font-size: 19px; margin: 14px 0 8px; }
.card p { color: var(--ink-2); font-size: 15px; }
.card .tag { align-self: flex-start; }
.card .link { margin-top: auto; padding-top: 14px; }
.tag { display: inline-flex; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--violet-d); }
.card ul { list-style: none; margin-top: 12px; display: flex; flex-direction: column; gap: 7px; }
.card li { display: flex; gap: 8px; font-size: 14.5px; color: var(--ink-2); }
.card li::before, .checks li::before { content: ""; width: 18px; height: 18px; flex: none; margin-top: 3px; border-radius: 50%; background: #e1f8ef url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%2311a372' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split + .split { margin-top: 80px; }
.split.rev .txt { order: 2; }
.split h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin: 10px 0 14px; }
.split .lead { margin-bottom: 18px; }
.checks { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 6px 0 22px; }
.checks li { display: flex; gap: 10px; color: var(--ink-2); }
.visual { background: var(--grad-soft); border-radius: 26px; padding: 32px; min-height: 320px; display: grid; place-items: center; }
.panel { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 20px; width: 100%; max-width: 460px; }
.panel h5 { font-family: var(--f-head); font-size: 14px; margin-bottom: 12px; display: flex; justify-content: space-between; gap: 10px; }
.panel h5 span { color: var(--muted); font-weight: 500; }
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; max-width: 420px; }
.chips div { background: #fff; border-radius: 16px; box-shadow: var(--shadow-sm); padding: 16px 10px; text-align: center; font-weight: 700; font-size: 13.5px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.kbar { display: grid; grid-template-columns: 1fr 90px 38px; gap: 10px; align-items: center; font-size: 13.5px; padding: 6px 0; }
.bar { height: 7px; border-radius: 9px; background: var(--bg-soft); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 9px; }
.pill { font-size: 11.5px; font-weight: 800; padding: 2px 8px; border-radius: 999px; text-align: center; }
.g { background: #e1f8ef; color: #119b6c; } .a { background: #fff4dc; color: #a06a00; } .r { background: #ffe8e8; color: #c43c3c; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 14px; margin-bottom: 10px; }
.msg.me { margin-inline-start: auto; background: var(--violet); color: #fff; border-end-end-radius: 5px; }
.msg.bot { background: var(--bg-soft); border-end-start-radius: 5px; }
.phone { width: 250px; border-radius: 34px; background: #1a1530; padding: 12px; box-shadow: var(--shadow); }
.phone-in { background: #fff; border-radius: 24px; padding: 18px 14px; min-height: 420px; }
.phone-in h6 { font-family: var(--f-head); font-size: 15px; margin-bottom: 12px; }
.pk { border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin-bottom: 10px; font-size: 13px; }
.pk b { display: block; margin-bottom: 6px; }
.pk .seg { display: flex; gap: 4px; margin-top: 8px; }
.pk .seg span { flex: 1; text-align: center; padding: 5px; border-radius: 8px; background: var(--bg-soft); font-size: 11.5px; font-weight: 700; }
.pk .seg span.on { background: var(--green); color: #fff; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; counter-reset: st; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; }
.step::before { counter-increment: st; content: counter(st); width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; display: grid; place-items: center; font-family: "Plus Jakarta Sans", sans-serif; margin-bottom: 12px; }
.step h4 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: 14.5px; }
.step .link { margin-top: 10px; font-size: 14px; }
.timeline { list-style: none; position: relative; counter-reset: tl; }
.timeline li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding-bottom: 26px; position: relative; }
.timeline li::before { counter-increment: tl; content: counter(tl); width: 46px; height: 46px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; display: grid; place-items: center; font-family: "Plus Jakarta Sans", sans-serif; z-index: 1; }
.timeline li::after { content: ""; position: absolute; top: 46px; bottom: 0; inset-inline-start: 22px; width: 2px; background: var(--line-2); }
.timeline li:last-child::after { display: none; }
.timeline h4 { font-size: 19px; margin: 8px 0 6px; }
.timeline p { color: var(--ink-2); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { border: 1.5px solid var(--line); border-radius: 24px; padding: 30px; background: #fff; display: flex; flex-direction: column; position: relative; }
.plan.pop { border-color: transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; box-shadow: var(--shadow); }
.plan .badge { position: absolute; top: -13px; inset-inline-start: 30px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 21px; }
.plan .lim { color: var(--muted); font-size: 14px; }
.plan .price { font-family: var(--f-head); font-size: 46px; font-weight: 800; margin: 18px 0 2px; letter-spacing: -.03em; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; font-family: var(--f-body); }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 22px 0 28px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); }
.plan li::before { content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%; background: #e1f8ef url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%2311a372' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.billing { display: inline-flex; background: var(--bg-soft); border-radius: 12px; padding: 4px; gap: 4px; margin-bottom: 28px; }
.billing button { font: inherit; font-weight: 700; font-size: 14px; border: 0; background: none; padding: 8px 18px; border-radius: 9px; cursor: pointer; color: var(--ink-2); }
.billing button.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.billing em { font-style: normal; color: var(--green); font-size: 12px; margin-inline-start: 4px; }

/* table */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th { text-align: start; font-size: 13px; color: var(--muted); font-weight: 700; padding: 14px 16px; border-bottom: 1px solid var(--line); background: #fcfcff; white-space: nowrap; }
.tbl td { padding: 13px 16px; border-bottom: 1px solid var(--line); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td:first-child { font-weight: 600; }
.tbl .yes { color: var(--green); font-weight: 800; }
.tbl .no { color: var(--line-2); }

/* faq */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; background: #fff; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: #dcd7f6; }
.faq summary { list-style: none; cursor: pointer; font-family: var(--f-head); font-weight: 700; font-size: 17px; padding: 18px 0; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 500; color: var(--violet); transition: .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 18px; }

/* quote */
.quote { background: var(--ink); color: #fff; border-radius: 28px; padding: 56px; position: relative; overflow: hidden; }
.quote::before { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(197, 108, 240, .45), transparent 70%); top: -200px; inset-inline-end: -120px; }
.quote blockquote { font-family: var(--f-head); font-size: clamp(24px, 3vw, 38px); font-weight: 800; line-height: 1.25; max-width: 860px; position: relative; }
.quote .who { margin-top: 26px; position: relative; display: flex; gap: 14px; align-items: center; }
.quote .av { width: 52px; height: 52px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-weight: 800; font-family: "Plus Jakarta Sans", sans-serif; flex: none; }
.quote small { display: block; opacity: .7; }
.quote .hero-cta { position: relative; }
.quote .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .25); }

/* article */
.article { font-size: 17.5px; color: var(--ink-2); }
.article h2 { font-size: 28px; color: var(--ink); margin: 40px 0 12px; }
.article h3 { font-size: 21px; color: var(--ink); margin: 28px 0 10px; }
.article p { margin-bottom: 16px; }
.article ul, .article ol { padding-inline-start: 22px; margin-bottom: 18px; }
.article li { margin-bottom: 8px; }
.article strong { color: var(--ink); }
.article blockquote { border-inline-start: 4px solid var(--violet); background: var(--bg-soft); padding: 16px 20px; border-radius: 12px; margin: 22px 0; font-weight: 600; color: var(--ink); }
.article .callout { background: var(--grad-soft); border-radius: 16px; padding: 20px 22px; margin: 24px 0; }
.meta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: 14px; margin-top: 16px; }
.hero.center .meta { justify-content: center; }

/* forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.form-card h3 { font-size: 22px; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fgrid .full { grid-column: 1 / -1; }
.fl { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.fl .inp { margin-top: 6px; }
.inp { width: 100%; font: inherit; font-size: 15px; border: 1.5px solid var(--line); border-radius: 11px; padding: 11px 13px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.inp:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px var(--brand-soft); }
.inp.err { border-color: var(--red); }
textarea.inp { resize: vertical; min-height: 96px; }
.chk { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); cursor: pointer; }
.chk input { accent-color: var(--violet); width: 16px; height: 16px; margin-top: 3px; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.slots button { font: inherit; font-size: 13.5px; font-weight: 600; border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 8px 12px; cursor: pointer; color: var(--ink-2); }
.slots button.on { border-color: var(--violet); background: var(--brand-soft); color: var(--violet-d); }
.form-msg { font-size: 13.5px; color: var(--red); margin-top: 10px; min-height: 18px; }
.success { text-align: center; padding: 20px 6px; }
.success .ok { width: 64px; height: 64px; border-radius: 50%; background: #e1f8ef; color: #119b6c; display: grid; place-items: center; margin: 0 auto 14px; }
.success h3 { font-size: 22px; margin-bottom: 8px; }
.success p { color: var(--ink-2); margin-bottom: 18px; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; }

/* posts & videos */
.post { overflow: hidden; padding: 0; }
.post .thumb { height: 150px; display: grid; place-items: center; color: #fff; position: relative; }
.post .thumb svg { opacity: .9; }
.post .body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.post h3 { margin: 10px 0 8px; }
.post .meta { margin-top: auto; padding-top: 14px; font-size: 13px; }
.vid .thumb::after { content: ""; position: absolute; width: 58px; height: 58px; border-radius: 50%; background: rgba(255, 255, 255, .95) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%237b68ee'/%3E%3C/svg%3E") 56% 50%/26px no-repeat; box-shadow: var(--shadow); }
.vid .dur { position: absolute; bottom: 10px; inset-inline-end: 10px; background: rgba(26, 21, 48, .75); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.t1 { background: linear-gradient(135deg, #7b68ee, #9d8bff); } .t2 { background: linear-gradient(135deg, #fd71af, #ff9cc8); } .t3 { background: linear-gradient(135deg, #0eaee8, #62d4fb); } .t4 { background: linear-gradient(135deg, #22c38e, #7be0b9); } .t5 { background: linear-gradient(135deg, #ffb020, #ffd36b); } .t6 { background: linear-gradient(135deg, #1a1530, #3d3566); }

/* modal */
.modal-wrap { position: fixed; inset: 0; background: rgba(26, 21, 48, .45); z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal-wrap[hidden] { display: none; }
.modal { background: #fff; border-radius: 22px; width: 100%; max-width: 620px; max-height: calc(100vh - 32px); overflow: auto; box-shadow: var(--shadow); }
.modal .mh { padding: 22px 24px 10px; display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.modal .mh h3 { font-size: 20px; }
.modal .mb { padding: 0 24px 24px; }
.x { background: var(--bg-soft); border: 0; width: 36px; height: 36px; border-radius: 10px; cursor: pointer; display: grid; place-items: center; color: var(--ink-2); flex: none; }
.tour { list-style: none; counter-reset: tr; margin: 8px 0 20px; }
.tour li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.tour li::before { counter-increment: tr; content: counter(tr); width: 26px; height: 26px; border-radius: 50%; background: var(--brand-soft); color: var(--violet-d); font-weight: 800; font-size: 13px; display: grid; place-items: center; flex: none; }

/* search / filters */
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; align-items: center; }
.toolbar .inp { max-width: 340px; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filters button { font: inherit; font-size: 13.5px; font-weight: 700; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; cursor: pointer; color: var(--ink-2); }
.filters button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.lib { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.kpi-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.kpi-card b { display: block; font-family: var(--f-head); font-size: 15.5px; margin-bottom: 4px; }
.kpi-card p { font-size: 13.5px; color: var(--ink-2); margin-bottom: 10px; }
.kpi-card .row { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.kpi-card .row .tag { font-size: 11px; }
.kpi-card .add { margin-inline-start: auto; font-size: 12.5px; font-weight: 700; color: var(--violet); background: none; border: 0; cursor: pointer; font-family: inherit; }
.count { color: var(--muted); font-size: 14px; }
.empty-msg { text-align: center; color: var(--muted); padding: 30px; }
.howto details { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 0 18px; margin-bottom: 8px; }
.howto summary { cursor: pointer; list-style: none; padding: 15px 0; font-weight: 700; display: flex; gap: 12px; align-items: center; }
.howto summary::-webkit-details-marker { display: none; }
.howto summary .tag { margin-inline-start: auto; }
.howto ol { padding-inline-start: 22px; padding-bottom: 16px; color: var(--ink-2); }
.howto li { margin-bottom: 6px; }

.code { direction: ltr; text-align: left; background: #1a1530; color: #e8e5ff; border-radius: 16px; padding: 20px; font-family: ui-monospace, Consolas, monospace; font-size: 13px; overflow-x: auto; white-space: pre; line-height: 1.7; }
.code .k { color: #fd71af; } .code .s { color: #7be0b9; } .code .c { color: #8a83b0; }

/* cta */
.cta { background: var(--grad); border-radius: 30px; padding: 64px 32px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta::before, .cta::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.cta::before { width: 320px; height: 320px; inset-inline-start: -100px; bottom: -150px; }
.cta::after { width: 220px; height: 220px; inset-inline-end: -60px; top: -80px; }
.cta h2, .cta p, .cta .hero-cta { position: relative; }
.cta p { font-size: 18px; opacity: .92; margin-top: 12px; }
.cta .hero-cta { justify-content: center; }
.cta .btn-w { background: #fff; color: var(--ink); }
.cta .btn-o { background: rgba(255, 255, 255, .14); color: #fff; border: 1.5px solid rgba(255, 255, 255, .4); }

/* footer */
footer { padding: 70px 0 36px; border-top: 1px solid var(--line); margin-top: 76px; }
.foot { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 28px; }
.foot p { color: var(--muted); font-size: 14px; margin: 14px 0; max-width: 280px; }
.foot h6 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; font-family: var(--f-head); }
html[lang="ar"] .foot h6 { letter-spacing: 0; font-size: 14px; }
.foot ul { list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: 15px; font-weight: 500; }
.foot ul a:hover { color: var(--violet); }
.socials { display: flex; gap: 8px; }
.socials a { width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-2); }
.socials a:hover { border-color: var(--violet); color: var(--violet); }
.foot-bot { display: flex; justify-content: space-between; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); flex-wrap: wrap; gap: 12px; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1080px) { .nav-cta .login { display: none; } .nav-in { gap: 14px; } .cards.c4col { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .burger { display: block; margin-inline-start: auto; }
  .nav-cta { margin-inline-start: 0; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: #fff; padding: 10px 16px 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-links.open .dd-menu { position: static; opacity: 1; visibility: visible; transform: none; width: auto; box-shadow: none; border: 0; padding: 0 0 6px; grid-template-columns: 1fr; display: none; }
  .nav-links.open .dd.open .dd-menu { display: grid; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 32px; }
  .split.rev .txt { order: 0; }
  .cards, .plans { grid-template-columns: 1fr; }
  .cards.c2col { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(2) { border-inline-end: 0; }
  .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .nav-cta .btn-grad { display: none; }
  .hero { padding: 40px 0 36px; }
  section.blk { padding: 52px 0; }
  .cards.c4col { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr; }
  .quote { padding: 34px 22px; border-radius: 22px; }
  .cta { padding: 46px 20px; border-radius: 22px; }
  .visual { padding: 20px; }
  .chips { grid-template-columns: repeat(2, 1fr); }
  .form-card { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }
