/* =============================================================
   Talabatak — public site brand layer
   Loaded after landing.css (template) and the admin colour block,
   so it re-skins the shared nav/footer and styles the home page.
============================================================= */

:root {
  --tk-red: #E4002B;
  --tk-red-600: #C40025;
  --tk-red-rgb: 228, 0, 43;
  --tk-tint: #FDECEF;
  --tk-ink: #17181A;
  --tk-sec: #6C7278;
  --tk-surface: #F5F6F8;
  --tk-line: #ECEEF1;
  --tk-white: #FFFFFF;
  --tk-r-sm: 12px;
  --tk-r: 16px;
  --tk-r-lg: 24px;
  --tk-r-xl: 32px;
  --tk-shadow-sm: 0 1px 2px rgba(23, 24, 26, .04), 0 2px 8px rgba(23, 24, 26, .04);
  --tk-shadow: 0 2px 6px rgba(23, 24, 26, .04), 0 12px 32px rgba(23, 24, 26, .06);
  --tk-shadow-lg: 0 24px 64px rgba(23, 24, 26, .12);
  --tk-font: 'DM Sans', 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --tk-font-ar: 'IBM Plex Sans Arabic', 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* re-point the template tokens at the brand */
  --primary: var(--tk-red);
  --primary-dark: var(--tk-red-600);
  --primary-rgb: 228, 0, 43;
  --secondary: var(--tk-ink);
  --green: var(--tk-red);
  --green-soft: var(--tk-tint);
  --title: var(--tk-ink);
  --text: var(--tk-sec);
  --bg-light: var(--tk-surface);
  --border: var(--tk-line);
  --radius: var(--tk-r);
  --radius-lg: var(--tk-r-lg);
  --max-w: 1200px;
}

body,
body.tk-body {
  font-family: var(--tk-font);
  color: var(--tk-sec);
  background: var(--tk-white);
  font-size: 16px;
  letter-spacing: -0.005em;
}
html[dir="rtl"] body { font-family: var(--tk-font-ar); letter-spacing: 0; }
h1, h2, h3, h4, h5, h6 { font-family: inherit; color: var(--tk-ink); letter-spacing: -0.02em; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4 { letter-spacing: 0; }
.container { max-width: 1232px; padding: 0 24px; }
.hl { color: var(--tk-red); }
::selection { background: var(--tk-tint); color: var(--tk-red-600); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--tk-red); outline-offset: 3px; border-radius: 8px; }

/* ---------- Nav ---------- */
.main-nav {
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid var(--tk-line);
  box-shadow: none;
}
.main-nav .container { height: 76px; gap: 24px; }
.nav-logo img { height: 34px; width: auto; max-width: 180px; object-fit: contain; }
.nav-links { gap: 32px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--tk-sec); position: relative; }
.nav-links a:hover { color: var(--tk-ink); }
.nav-links a.active-link { color: var(--tk-ink); font-weight: 600; }
.nav-links a.active-link::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -8px; margin: auto;
  width: 5px; height: 5px; border-radius: 50%; background: var(--tk-red);
}
.nav-right { gap: 12px; }

.lang-sw .lang-current {
  gap: 6px; padding: 9px 14px; background: var(--tk-surface); border: 0;
  font-size: 13px; font-weight: 600; color: var(--tk-ink); border-radius: 999px;
}
.lang-sw .lang-current:hover { background: var(--tk-line); color: var(--tk-ink); }
.lang-sw .lang-current .globe { width: 16px; height: 16px; }
.lang-dd {
  right: 0; left: auto; min-width: 180px; border-radius: var(--tk-r);
  border: 1px solid var(--tk-line); padding: 6px; box-shadow: var(--tk-shadow);
}
.lang-dd a { padding: 10px 12px; border-radius: 10px; font-size: 14px; color: var(--tk-ink); font-weight: 500; }
.lang-dd a .lang-code {
  display: inline-grid; place-items: center; min-width: 30px; height: 22px; border-radius: 6px;
  background: var(--tk-surface); color: var(--tk-sec); font-size: 11px; font-weight: 700;
}
.lang-dd a:hover { background: var(--tk-surface); color: var(--tk-ink); }
.lang-dd a.active { background: var(--tk-tint); color: var(--tk-red); }
.lang-dd a.active .lang-code { background: var(--tk-red); color: #fff; }

.btn-join,
.btn-browse-web {
  padding: 11px 20px; font-size: 14px; font-weight: 600; border-radius: 999px;
  background: var(--tk-red); color: #fff; border: 0;
}
.btn-join:hover,
.btn-browse-web:hover { background: var(--tk-red-600); color: #fff; transform: none; box-shadow: 0 8px 20px rgba(var(--tk-red-rgb), .22); }
.join-dd {
  right: 0; left: auto; width: 260px; padding: 8px; border-radius: var(--tk-r);
  border: 1px solid var(--tk-line); box-shadow: var(--tk-shadow);
}
html[dir="rtl"] .lang-dd, html[dir="rtl"] .join-dd { left: 0; right: auto; }
.join-wrap::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.join-wrap:focus-within .join-dd { opacity: 1; visibility: visible; transform: translateY(0); }
.join-dd a { padding: 10px; gap: 12px; border-radius: 12px; color: var(--tk-ink); }
.join-dd a:hover, .join-dd a.active { background: var(--tk-surface); color: var(--tk-ink); }
.join-dd .ji { width: 40px; height: 40px; border-radius: 12px; background: var(--tk-tint); color: var(--tk-red); flex-shrink: 0; }
.join-dd .ji svg { width: 20px; height: 20px; }
.join-dd .jt { display: flex; flex-direction: column; line-height: 1.3; }
.join-dd .jt strong { font-size: 14px; font-weight: 600; color: var(--tk-ink); }
.join-dd .jt small { font-size: 12.5px; color: var(--tk-sec); }

.mob-btn span { background: var(--tk-ink); }
.mobile-menu { gap: 8px; padding: 88px 24px 32px; justify-content: flex-start; align-items: stretch; }
.mobile-menu a { font-size: 20px; font-weight: 600; color: var(--tk-ink); padding: 12px 4px; border-bottom: 1px solid var(--tk-line); }
.mobile-menu a:hover { color: var(--tk-red); }
.mobile-menu .close-mob { top: 18px; right: 20px; font-size: 32px; }
html[dir="rtl"] .mobile-menu .close-mob { right: auto; left: 20px; }
.mobile-menu a.mob-cta { margin-top: 16px; border: 0; background: var(--tk-red); color: #fff; text-align: center; border-radius: 999px; font-size: 16px; padding: 15px; }
.mobile-menu a.mob-cta--ghost { margin-top: 0; background: var(--tk-surface); color: var(--tk-ink); }
.mobile-menu .mob-browse-web { background: var(--tk-ink); }

/* ---------- Shared bits ---------- */
.tk-section { padding: 112px 0; }
.tk-head { max-width: 680px; margin: 0 0 56px; }
.tk-head--center { margin-inline: auto; text-align: center; }
.tk-kicker {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--tk-red); margin-bottom: 14px;
}
html[dir="rtl"] .tk-kicker { letter-spacing: 0; font-size: 14px; }
.tk-head h2,
.tk-why-intro h2 {
  font-size: clamp(32px, 3.7vw, 48px); line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px;
}
html[dir="rtl"] .tk-head h2, html[dir="rtl"] .tk-why-intro h2 { line-height: 1.3; letter-spacing: 0; }
.tk-head p { font-size: 18px; line-height: 1.6; color: var(--tk-sec); }
.tk-arrow { font-style: normal; display: inline-block; transition: transform .2s ease; }
html[dir="rtl"] .tk-arrow { transform: scaleX(-1); }
a:hover .tk-arrow { transform: translateX(3px); }
html[dir="rtl"] a:hover .tk-arrow { transform: scaleX(-1) translateX(3px); }

.tk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 26px;
  border-radius: 999px; font-size: 16px; font-weight: 600; transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.tk-btn--red, .tk-btn--light { background: var(--tk-red); color: #fff !important; }
.tk-btn--red:hover, .tk-btn--light:hover { background: var(--tk-red-600); box-shadow: 0 10px 24px rgba(var(--tk-red-rgb), .3); }
.tk-btn--white { background: #fff; color: var(--tk-red) !important; }
.tk-btn--white:hover { box-shadow: 0 10px 24px rgba(23, 24, 26, .18); }

/* store badges */
.tk-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.tk-badge {
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border-radius: 14px;
  background: var(--tk-ink); color: #fff; transition: transform .2s ease, box-shadow .2s ease; direction: ltr;
}
.tk-badge svg { width: 26px; height: 26px; flex-shrink: 0; }
.tk-badge-t { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.tk-badge-t small { font-size: 11px; font-weight: 500; opacity: .72; letter-spacing: .01em; }
.tk-badge-t strong { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
a.tk-badge:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(23, 24, 26, .18); color: #fff; }
.tk-badges--light .tk-badge { background: #fff; color: var(--tk-ink); }
.tk-badges--light a.tk-badge:hover { color: var(--tk-ink); }
.tk-badge.is-soon { cursor: default; }
html[dir="rtl"] .tk-badge-t small { font-family: var(--tk-font-ar); }

/* ---------- Hero ---------- */
.tk-hero {
  position: relative; overflow: hidden; padding: 64px 0 88px;
  background:
    radial-gradient(900px 520px at 88% 30%, rgba(var(--tk-red-rgb), .07), transparent 60%),
    linear-gradient(180deg, #fff 0%, #fff 70%, var(--tk-surface) 100%);
}
html[dir="rtl"] .tk-hero { background: radial-gradient(900px 520px at 12% 30%, rgba(var(--tk-red-rgb), .07), transparent 60%), linear-gradient(180deg, #fff 0%, #fff 70%, var(--tk-surface) 100%); }
.tk-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.tk-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px;
  background: var(--tk-tint); color: var(--tk-red-600); font-size: 14px; font-weight: 600; margin-bottom: 28px;
}
.tk-pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--tk-red); }
.tk-pulse::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--tk-red);
  opacity: .35; animation: tkPulse 2s ease-out infinite;
}
@keyframes tkPulse { 0% { transform: scale(.5); opacity: .5; } 100% { transform: scale(1.4); opacity: 0; } }
.tk-hero h1 {
  font-size: clamp(42px, 5.4vw, 72px); line-height: 1.02; font-weight: 800; letter-spacing: -0.04em;
  color: var(--tk-ink); margin-bottom: 24px; max-width: 620px;
}
html[dir="rtl"] .tk-hero h1 { line-height: 1.25; letter-spacing: 0; }
.tk-lead { font-size: 19px; line-height: 1.6; color: var(--tk-sec); max-width: 540px; margin-bottom: 36px; }
.tk-hero-partner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 36px; padding-top: 28px;
  border-top: 1px solid var(--tk-line); max-width: 540px; font-size: 15px; color: var(--tk-sec);
}
.tk-hero-partner > span { flex-basis: 100%; }
.tk-hero-partner a { color: var(--tk-red); font-weight: 600; }
.tk-hero-partner a:hover { color: var(--tk-red-600); }

.tk-hero-visual { position: relative; height: 640px; }
.tk-hero-disc {
  position: absolute; width: 540px; height: 540px; border-radius: 50%; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 30% 25%, #FF3358 0%, var(--tk-red) 45%, var(--tk-red-600) 100%);
  box-shadow: 0 40px 90px rgba(var(--tk-red-rgb), .25);
}
.tk-hero-disc::before,
.tk-hero-disc::after {
  content: ""; position: absolute; inset: -34px; border-radius: 50%; border: 1px solid rgba(var(--tk-red-rgb), .14);
}
.tk-hero-disc::after { inset: -78px; border-color: rgba(var(--tk-red-rgb), .08); }
.tk-phone { position: absolute; height: auto; filter: drop-shadow(0 30px 50px rgba(23, 24, 26, .28)); }
.tk-phone--front { width: 292px; top: 16px; left: 50%; transform: translateX(-26%); z-index: 2; }
.tk-phone--back { width: 258px; top: 78px; left: 50%; transform: translateX(-100%) rotate(-7deg); z-index: 1; }
.tk-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px;
  background: #fff; border-radius: 18px; box-shadow: var(--tk-shadow-lg); line-height: 1.25;
  animation: tkFloat 6s ease-in-out infinite;
}
.tk-chip strong { display: block; font-size: 15px; color: var(--tk-ink); font-weight: 700; }
.tk-chip small { display: block; font-size: 13px; color: var(--tk-sec); }
.tk-chip-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--tk-tint); color: var(--tk-red); display: grid; place-items: center; flex-shrink: 0; }
.tk-chip-ico svg { width: 22px; height: 22px; }
.tk-chip--a { left: 0; bottom: 110px; }
.tk-chip--b { right: -8px; top: 120px; animation-delay: -3s; }
@keyframes tkFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Modules ---------- */
.tk-modules { background: var(--tk-surface); padding-top: 96px; }
.tk-tabs {
  display: flex; width: max-content; max-width: 100%; margin: -16px auto 32px; padding: 6px; gap: 4px;
  background: #fff; border-radius: 999px; box-shadow: var(--tk-shadow-sm); overflow-x: auto; scrollbar-width: none;
}
.tk-tabs::-webkit-scrollbar { display: none; }
.tk-tab {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 22px 8px 8px; border-radius: 999px;
  font-size: 16px; font-weight: 600; color: var(--tk-ink); transition: background .2s ease, color .2s ease; flex-shrink: 0;
}
html[dir="rtl"] .tk-tab { padding: 8px 8px 8px 22px; }
.tk-tab:hover { background: var(--tk-surface); }
.tk-tab-ico { width: 40px; height: 40px; border-radius: 50%; background: var(--tk-surface); display: grid; place-items: center; overflow: hidden; }
.tk-tab-ico img { width: 30px; height: 30px; object-fit: contain; }
.tk-tab.active { background: var(--tk-red); color: #fff; }
.tk-tab.active .tk-tab-ico { background: #fff; }

.tk-panel {
  display: none; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; background: #fff;
  border-radius: var(--tk-r-xl); overflow: hidden; min-height: 540px; box-shadow: var(--tk-shadow-sm);
}
.tk-panel.active { display: grid; animation: tkFade .45s ease; }
@keyframes tkFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tk-panel-copy { padding: 64px 0 64px 72px; }
html[dir="rtl"] .tk-panel-copy { padding: 64px 72px 64px 0; }
.tk-panel-ico { display: block; width: 76px; height: 76px; margin-bottom: 20px; }
.tk-panel-ico img { width: 100%; height: 100%; object-fit: contain; }
.tk-panel-copy h3 { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px; }
.tk-rich { font-size: 17px; line-height: 1.65; color: var(--tk-sec); }
.tk-rich p { margin: 0 0 12px; }
.tk-rich strong { display: block; font-size: 22px; line-height: 1.3; color: var(--tk-ink); font-weight: 700; letter-spacing: -0.015em; }
.tk-rich br { display: none; }
.tk-rich ul { margin: 24px 0 0; display: grid; gap: 12px; }
.tk-rich li, .tk-ticks li { position: relative; padding-inline-start: 34px; color: var(--tk-ink); font-weight: 500; }
.tk-rich li::before, .tk-ticks li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--tk-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E4002B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.tk-panel-media {
  position: relative; align-self: stretch; display: flex; justify-content: center; align-items: flex-end;
  background: radial-gradient(circle at 50% 70%, var(--tk-tint) 0%, var(--tk-tint) 42%, transparent 42.2%);
  padding-top: 56px;
}
.tk-panel-media img { width: 300px; height: auto; margin-bottom: -150px; filter: drop-shadow(0 24px 40px rgba(23, 24, 26, .18)); }

/* ---------- Ticker ---------- */
.tk-ticker { background: var(--tk-red); color: #fff; overflow: hidden; padding: 22px 0; }
.tk-ticker-track { display: inline-flex; white-space: nowrap; animation: tkMarquee 48s linear infinite; }
html[dir="rtl"] .tk-ticker-track { animation-name: tkMarqueeRtl; }
.tk-ticker:hover .tk-ticker-track { animation-play-state: paused; }
.tk-ticker-item { display: inline-flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 500; opacity: .92; }
.tk-ticker-item strong { font-weight: 700; opacity: 1; }
.tk-star { font-style: normal; margin: 0 28px; opacity: .6; font-size: 16px; }
@keyframes tkMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes tkMarqueeRtl { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ---------- How it works ---------- */
.tk-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.tk-step { background: var(--tk-surface); border-radius: var(--tk-r-lg); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.tk-step:hover { transform: translateY(-4px); box-shadow: var(--tk-shadow); }
.tk-step-shot {
  height: 300px; overflow: hidden; display: flex; justify-content: center; padding-top: 40px;
  background: linear-gradient(180deg, var(--tk-tint) 0%, var(--tk-surface) 100%);
}
.tk-step-shot img { width: 232px; height: auto; align-self: flex-start; filter: drop-shadow(0 16px 30px rgba(23, 24, 26, .16)); }
.tk-step-body { padding: 28px 32px 34px; position: relative; }
.tk-step-num {
  position: absolute; top: -24px; inset-inline-start: 32px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--tk-red); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 18px;
  box-shadow: 0 0 0 6px var(--tk-surface);
}
.tk-step h3 { font-size: 22px; font-weight: 700; margin: 14px 0 8px; }
.tk-step p { font-size: 16px; line-height: 1.6; }

/* ---------- Why ---------- */
.tk-why { background: var(--tk-surface); }
.tk-why-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.tk-why-intro p { font-size: 18px; line-height: 1.6; margin-bottom: 32px; max-width: 460px; }
.tk-mosaic { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 150px 150px; gap: 12px; }
.tk-mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.tk-mosaic .m1 { grid-row: span 2; }
.tk-why-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tk-why-cards--4 { grid-template-columns: repeat(4, 1fr); }
.tk-why-card { background: #fff; border-radius: var(--tk-r-lg); padding: 32px; box-shadow: var(--tk-shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.tk-why-card:hover { transform: translateY(-4px); box-shadow: var(--tk-shadow); }
.tk-why-ico { width: 56px; height: 56px; border-radius: 16px; background: var(--tk-tint); display: grid; place-items: center; margin-bottom: 22px; }
.tk-why-ico img { width: 30px; height: 30px; object-fit: contain; }
.tk-why-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.tk-why-card p { font-size: 15.5px; line-height: 1.6; }
.tk-muted { color: var(--tk-sec); }

/* ---------- Partners ---------- */
.tk-partner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.tk-partner {
  position: relative; overflow: hidden; border-radius: var(--tk-r-xl); padding: 52px 52px 48px; color: rgba(255, 255, 255, .78);
  display: flex; flex-direction: column; min-height: 500px; isolation: isolate;
}
.tk-partner::after {
  content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; border-radius: 50%;
  inset-inline-end: -140px; top: -160px; background: rgba(255, 255, 255, .06);
}
.tk-partner--store { background: var(--tk-ink); }
.tk-partner--driver { background: var(--tk-red); color: rgba(255, 255, 255, .88); }
.tk-partner--driver::after { background: rgba(255, 255, 255, .1); }
.tk-partner-ico { width: 72px; height: 72px; border-radius: 20px; margin-bottom: 32px; box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.tk-partner h3 { color: #fff; font-size: clamp(28px, 2.8vw, 38px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 16px; }
html[dir="rtl"] .tk-partner h3 { line-height: 1.35; letter-spacing: 0; }
.tk-partner--store .hl { color: #FF4D6D; }
.tk-partner--driver .hl { color: #fff; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 7px; text-decoration-color: rgba(255, 255, 255, .5); }
.tk-partner > p { font-size: 17px; line-height: 1.6; max-width: 480px; margin-bottom: 26px; }
.tk-ticks { display: grid; gap: 12px; margin-bottom: 36px; }
.tk-partner .tk-ticks li { color: #fff; }
.tk-partner--store .tk-ticks li::before { background-color: rgba(255, 255, 255, .1); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF4D6D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E"); }
.tk-partner--driver .tk-ticks li::before { background-color: rgba(255, 255, 255, .18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E"); }
.tk-partner-actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* ---------- Stats (only if admin enables real numbers) ---------- */
.tk-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tk-stat { background: var(--tk-surface); border-radius: var(--tk-r-lg); padding: 32px; text-align: center; }
.tk-stat strong { display: block; font-size: 40px; color: var(--tk-ink); font-weight: 800; }

/* ---------- Download ---------- */
.tk-download { padding-top: 0; }
.tk-download-box {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; background: var(--tk-tint);
  border-radius: var(--tk-r-xl); overflow: hidden; position: relative; min-height: 440px;
}
.tk-download-copy { padding: 72px 0 72px 72px; align-self: center; }
html[dir="rtl"] .tk-download-copy { padding: 72px 72px 72px 0; }
.tk-download-appicon { width: 64px; height: 64px; border-radius: 16px; margin-bottom: 26px; box-shadow: 0 10px 24px rgba(var(--tk-red-rgb), .25); }
.tk-download-copy h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px; }
html[dir="rtl"] .tk-download-copy h2 { line-height: 1.3; letter-spacing: 0; }
.tk-download-copy p { font-size: 18px; line-height: 1.6; max-width: 480px; margin-bottom: 32px; color: #5b6167; }
.tk-download-visual { position: relative; display: flex; justify-content: center; align-items: flex-end; }
.tk-download-visual::before {
  content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; bottom: -80px; left: 50%;
  transform: translateX(-50%); background: rgba(var(--tk-red-rgb), .1);
}
.tk-download-visual img { position: relative; width: 290px; height: auto; margin-bottom: -170px; margin-top: 56px; filter: drop-shadow(0 24px 40px rgba(23, 24, 26, .2)); }

/* ---------- Footer ---------- */
.footer { background: var(--tk-ink); color: rgba(255, 255, 255, .62); --primary: var(--tk-red); --primary-dark: var(--tk-red-600); }
.newsletter-area {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; text-align: start;
  padding: 56px 0; border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.newsletter-area h2 { color: #fff; font-size: 26px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.02em; }
.newsletter-area p { color: rgba(255, 255, 255, .62); margin: 0; font-size: 15.5px; }
.nl-form { margin: 0; max-width: 460px; width: 100%; gap: 8px; padding: 6px; background: rgba(255, 255, 255, .06); border-radius: 999px; border: 1px solid rgba(255, 255, 255, .08); }
.nl-form input { border: 0; background: transparent; color: #fff; font-size: 15px; padding: 12px 18px; }
.nl-form input::placeholder { color: rgba(255, 255, 255, .45); }
.nl-form button { background: var(--tk-red); padding: 12px 24px; font-size: 15px; font-weight: 600; }
.nl-form button:hover { background: var(--tk-red-600); }
.footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 48px; padding: 56px 0 48px; }
.f-brand .nav-logo { margin-bottom: 18px; background: #fff; padding: 10px 16px; border-radius: 14px; }
.f-brand .nav-logo img { height: 30px; }
.f-brand p { font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, .62); max-width: 340px; }
.footer h5 { color: #fff; font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; margin-bottom: 18px; }
.f-links { gap: 12px; }
.f-links a { font-size: 15px; color: rgba(255, 255, 255, .62); }
.f-links a:hover { color: #fff; }
.f-contact { display: flex; flex-direction: column; gap: 14px; }
.f-contact .fc-item { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: rgba(255, 255, 255, .62); line-height: 1.45; }
.f-contact a.fc-item:hover { color: #fff; }
.f-contact svg { width: 18px; height: 18px; flex-shrink: 0; color: #FF4D6D; margin-top: 1px; }
.f-app-link { border-radius: 12px; }
.footer-bottom-bar {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; text-align: start;
  border-top: 1px solid rgba(255, 255, 255, .08); padding: 24px 0 32px; font-size: 14px; color: rgba(255, 255, 255, .45);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 14px; }
  .tk-hero-grid { grid-template-columns: 1fr 1fr; }
  .tk-hero-visual { height: 560px; transform: scale(.9); transform-origin: center; }
  .tk-panel-copy { padding: 48px 0 48px 48px; }
  html[dir="rtl"] .tk-panel-copy { padding: 48px 48px 48px 0; }
  .tk-why-grid { grid-template-columns: 1fr; gap: 48px; }
  .tk-why-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; align-items: end; }
  .tk-why-intro .tk-mosaic { grid-column: 2; grid-row: 1 / span 3; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 991px) {
  .nav-links { display: none; }
  .mob-btn { display: flex; }
  .tk-hero { padding: 40px 0 56px; }
  .tk-hero-grid { grid-template-columns: 1fr; gap: 16px; }
  .tk-hero-copy { text-align: center; }
  .tk-hero h1, .tk-lead, .tk-hero-partner { margin-inline: auto; }
  .tk-badges { justify-content: center; }
  .tk-hero-partner { justify-content: center; }
  .tk-hero-visual { height: 560px; max-width: 560px; width: 100%; margin: 0 auto; transform: none; }
  .tk-panel { grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .tk-panel-copy, html[dir="rtl"] .tk-panel-copy { padding: 40px 32px 8px; text-align: center; }
  .tk-panel-ico { margin-inline: auto; }
  .tk-rich ul { justify-content: center; text-align: start; width: max-content; max-width: 100%; margin-inline: auto; }
  .tk-panel-media { height: 380px; overflow: hidden; background: radial-gradient(circle at 50% 100%, var(--tk-tint) 0%, var(--tk-tint) 55%, transparent 55.2%); padding-top: 40px; }
  .tk-panel-media img { width: 260px; margin-bottom: 0; align-self: flex-start; }
  .tk-steps { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .tk-partner-grid { grid-template-columns: 1fr; }
  .tk-download-box { grid-template-columns: 1fr; }
  .tk-download-copy, html[dir="rtl"] .tk-download-copy { padding: 56px 32px 0; text-align: center; }
  .tk-download-copy p { margin-inline: auto; }
  .tk-download-visual { height: 320px; overflow: hidden; }
  .tk-download-visual img { width: 250px; margin: 40px 0 0; align-self: flex-start; }
  .tk-stats-grid, .tk-why-cards--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .lang-sw { display: block; }
  .main-nav .container { height: 64px; gap: 10px; }
  .nav-logo img { height: 28px; }
  .tk-section { padding: 72px 0; }
  .tk-head { margin-bottom: 36px; }
  .tk-head p, .tk-why-intro p, .tk-download-copy p { font-size: 16.5px; }
  .tk-eyebrow { font-size: 13px; margin-bottom: 20px; }
  .tk-lead { font-size: 17px; margin-bottom: 28px; }
  .tk-hero-visual { height: 460px; }
  .tk-hero-disc { width: 380px; height: 380px; }
  .tk-phone--front { width: 220px; }
  .tk-phone--back { width: 192px; top: 64px; }
  .tk-chip { padding: 9px 14px 9px 9px; gap: 10px; border-radius: 14px; }
  .tk-chip strong { font-size: 13.5px; }
  .tk-chip small { font-size: 12px; }
  .tk-chip-ico { width: 34px; height: 34px; border-radius: 10px; }
  .tk-chip-ico svg { width: 18px; height: 18px; }
  .tk-chip--a { left: 0; bottom: 56px; }
  .tk-chip--b { right: 0; top: 72px; }
  .tk-tabs { margin: -8px auto 24px; }
  .tk-tab { font-size: 15px; padding: 6px 16px 6px 6px; }
  html[dir="rtl"] .tk-tab { padding: 6px 6px 6px 16px; }
  .tk-tab-ico { width: 34px; height: 34px; }
  .tk-tab-ico img { width: 26px; height: 26px; }
  .tk-panel-copy h3 { font-size: 30px; }
  .tk-rich strong { font-size: 19px; }
  .tk-rich { font-size: 16px; }
  .tk-ticker { padding: 16px 0; }
  .tk-ticker-item { font-size: 16px; }
  .tk-star { margin: 0 18px; }
  .tk-why-intro { display: block; }
  .tk-mosaic { grid-template-rows: 120px 120px; }
  .tk-why-cards { grid-template-columns: 1fr; gap: 14px; }
  .tk-why-card { padding: 24px; display: grid; grid-template-columns: 52px 1fr; gap: 4px 16px; }
  .tk-why-ico { width: 52px; height: 52px; margin: 0; grid-row: span 2; }
  .tk-why-card h3 { font-size: 18px; margin: 2px 0 2px; }
  .tk-partner { padding: 36px 28px 32px; min-height: 0; border-radius: var(--tk-r-lg); }
  .tk-partner-ico { width: 60px; height: 60px; margin-bottom: 24px; border-radius: 16px; }
  .tk-partner > p { font-size: 16px; }
  .tk-download-box { border-radius: var(--tk-r-lg); }
  .tk-download-copy, html[dir="rtl"] .tk-download-copy { padding: 44px 24px 0; }
  .newsletter-area { flex-direction: column; align-items: stretch; padding: 44px 0; gap: 20px; }
  .newsletter-area h2 { font-size: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; padding: 40px 0; }
  .f-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom-bar { flex-direction: column; gap: 6px; }
}
@media (max-width: 560px) {
  .join-wrap, .btn-browse-web { display: none; }
  .tk-hero h1 { font-size: 40px; }
  html[dir="rtl"] .tk-hero h1 { font-size: 36px; }
  .tk-badge { height: 52px; padding: 0 16px 0 12px; }
  .tk-badge-t strong { font-size: 16px; }
  .tk-hero-partner { flex-direction: column; gap: 6px; }
  .tk-hero-visual { height: 420px; }
  .tk-hero-disc { width: 320px; height: 320px; }
  .tk-hero-disc::after { display: none; }
  .tk-phone--front { width: 200px; top: 10px; }
  .tk-phone--back { width: 172px; top: 56px; }
  .tk-step-shot { height: 260px; }
  .tk-partner-actions .tk-btn { width: 100%; }
  .tk-panel-media { height: 340px; }
  .tk-phone--front { transform: translateX(-32%); }
  .tk-phone--back { transform: translateX(-90%) rotate(-7deg); }
  .tk-tabs { width: 100%; border-radius: 22px; }
  .tk-tab, html[dir="rtl"] .tk-tab { flex: 1; flex-direction: column; gap: 4px; padding: 8px 4px; border-radius: 18px; font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .tk-ticker-track, .tk-chip, .tk-pulse::after { animation: none; }
}
