/* ============================================================
   IBO X1 — Product Website
   Built on the app's own identity: light canvas #E5EDF0, navy ink
   #00171F, cyan #0099D3, compressed uppercase headlines, 2px
   outlines and hard offset shadows, dotted grid, cat mascot.
   No frameworks. Mobile-first, RTL-aware (logical properties).
   ============================================================ */
:root {
  --bg: #E5EDF0;
  --bg-2: #F3F7F9;
  --ink: #00171F;
  --ink-70: rgba(0, 23, 31, 0.7);
  --ink-50: rgba(0, 23, 31, 0.5);
  --ink-12: rgba(0, 23, 31, 0.12);
  --cyan: #0099D3;
  --cyan-deep: #007DAE;
  --cyan-soft: #CFEAF5;
  --white: #FFFFFF;
  --green: #2ECC8F;
  --head: 'League Gothic', 'Anton', Impact, 'Arial Narrow', sans-serif;
  --body: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --shadow: -6px 6px 0 var(--ink);
  --shadow-sm: -4px 4px 0 var(--ink);
  --shadow-cyan: -10px 10px 0 var(--cyan);
  --r: 14px;
  --max: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
@supports not (overflow: clip) { html, body { overflow-x: hidden; } }
body {
  margin: 0; font-family: var(--body); color: var(--ink); background: var(--bg);
  background-image: radial-gradient(rgba(0, 23, 31, 0.18) 1px, transparent 1.2px);
  background-size: 26px 26px; line-height: 1.55; -webkit-tap-highlight-color: transparent;
}
[dir="rtl"] body { font-family: 'Cairo', var(--body); }
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- type ---------- */
.h-display, .h-section { font-family: var(--head); font-weight: 400; text-transform: uppercase; letter-spacing: .5px; line-height: .95; font-stretch: 75%; }
.h-display { font-size: clamp(56px, 9vw, 118px); }
.h-section { font-size: clamp(42px, 6vw, 76px); }
[dir="rtl"] .h-display, [dir="rtl"] .h-section { font-family: 'Cairo', var(--body); font-weight: 800; text-transform: none; letter-spacing: 0; line-height: 1.2; }
[dir="rtl"] .h-display { font-size: clamp(40px, 6.5vw, 84px); }
[dir="rtl"] .h-section { font-size: clamp(32px, 4.5vw, 56px); }
.accent { color: var(--cyan); }
.kicker { display: inline-flex; align-items: center; gap: 10px; background: var(--cyan); color: #fff; border: 2px solid var(--ink); border-radius: 10px; padding: 7px 16px; font-size: 12.5px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; box-shadow: var(--shadow-sm); }
[dir="rtl"] .kicker { letter-spacing: 0; font-size: 14px; }
.lead { font-size: 18px; color: var(--ink-70); max-width: 56ch; }
.section { padding: 96px 0; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head .kicker { margin-bottom: 18px; }
.section-head .lead { margin-top: 16px; }
.center { text-align: center; margin-inline: auto; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border: 2px solid var(--ink); border-radius: 12px; font-weight: 700; font-size: 15px; background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translate(-2px, 2px); box-shadow: -2px 2px 0 var(--ink); }
.btn:active { transform: translate(-4px, 4px); box-shadow: 0 0 0 var(--ink); }
.btn-primary { background: var(--cyan); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; box-shadow: -4px 4px 0 var(--cyan); }
.btn-dark:hover { box-shadow: -2px 2px 0 var(--cyan); }
.btn-sm { padding: 10px 18px; font-size: 13.5px; border-radius: 10px; }
.btn svg { width: 18px; height: 18px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(229, 237, 240, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 2px solid var(--ink); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 78px; }
.brand img { height: 40px; width: auto; }
.nav { display: none; align-items: center; gap: 4px; }
.nav-link { padding: 8px 12px; border-radius: 9px; font-weight: 600; font-size: 14px; color: var(--ink-70); border: 2px solid transparent; transition: all .15s ease; }
.nav-link:hover, .nav-link.active { color: var(--ink); border-color: var(--ink); background: var(--white); box-shadow: -3px 3px 0 var(--ink); }
.nav-right { display: none; align-items: center; gap: 12px; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 2px solid var(--ink); border-radius: 10px; background: var(--white); box-shadow: var(--shadow-sm); }
.menu-btn svg { width: 22px; height: 22px; }
@media (min-width: 1024px) { .nav, .nav-right { display: flex; } .menu-btn { display: none; } }
.mobile-menu { display: none; border-top: 2px solid var(--ink); background: var(--bg-2); }
.mobile-menu.open { display: block; }
.mobile-menu .container { padding-top: 12px; padding-bottom: 18px; display: grid; gap: 6px; }
.mobile-menu .nav-link { padding: 12px 14px; font-size: 15px; }

/* ---------- language switcher ---------- */
.lang-wrap { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 2px solid var(--ink); border-radius: 10px; background: var(--white); font-weight: 700; font-size: 13px; box-shadow: var(--shadow-sm); }
.lang-btn .caret { transition: transform .2s ease; width: 14px; height: 14px; }
.lang-wrap.open .caret { transform: rotate(180deg); }
.lang-flag { width: 22px; height: 15px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px var(--ink-12); }
.lang-menu { position: absolute; top: calc(100% + 10px); inset-inline-end: 0; min-width: 190px; background: var(--white); border: 2px solid var(--ink); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; display: none; z-index: 70; }
.lang-wrap.open .lang-menu { display: block; }
.lang-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; font-weight: 600; font-size: 14px; }
.lang-item:hover { background: var(--cyan-soft); }
.lang-item.active { background: var(--ink); color: #fff; }
.lang-item small { margin-inline-start: auto; font-size: 11px; opacity: .6; letter-spacing: .05em; }
.lang-wrap-m { width: 100%; margin-top: 8px; }
.lang-wrap-m .lang-btn { width: 100%; justify-content: flex-start; padding: 12px 14px; font-size: 15px; }
.lang-wrap-m .lang-btn .name { flex: 1; text-align: start; }
.lang-wrap-m .lang-menu { position: static; margin-top: 8px; box-shadow: none; width: 100%; }

/* ---------- hero ---------- */
.hero { padding: 64px 0 40px; position: relative; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; } .hero { padding: 80px 0 60px; } }
.hero .lead { margin: 22px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 2px solid var(--ink); border-radius: 10px; background: var(--white); font-weight: 600; font-size: 13px; box-shadow: -3px 3px 0 var(--ink); }
.chip::before { content: ''; width: 10px; height: 10px; border-radius: 3px; background: var(--cyan); border: 2px solid var(--ink); }
.tv { position: relative; background: var(--ink); border: 3px solid var(--ink); border-radius: 22px; padding: 10px; box-shadow: var(--shadow-cyan); transform: rotate(-1.5deg); }
.tv img { border-radius: 12px; width: 100%; height: auto; }
.tv-stand { height: 14px; width: 40%; margin: 16px auto 0; background: var(--ink); border-radius: 8px; }
.hero-visual { position: relative; padding: 20px 10px 0; }
.mascot { position: absolute; width: 230px; inset-inline-end: -26px; bottom: -30px; transform: rotate(4deg); filter: drop-shadow(-3px 3px 0 rgba(0, 23, 31, .25)); pointer-events: none; }
@media (max-width: 640px) { .mascot { width: 120px; bottom: -28px; } }

/* ---------- marquee strip ---------- */
.strip { direction: ltr; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: var(--ink); color: #fff; overflow: hidden; padding: 14px 0; }
.strip-track { display: flex; gap: 48px; white-space: nowrap; width: max-content; animation: marquee 28s linear infinite; font-family: var(--head); font-size: 28px; letter-spacing: 1px; text-transform: uppercase; font-stretch: 75%; }
[dir="rtl"] .strip-track { font-family: 'Cairo', var(--body); font-weight: 700; font-size: 18px; text-transform: none; }
.strip-track span::after { content: '✦'; color: var(--cyan); margin-inline-start: 48px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; } }

/* ---------- bento features ---------- */
.bento { display: grid; gap: 18px; }
@media (min-width: 768px) { .bento { grid-template-columns: repeat(6, 1fr); } .bento .span-3 { grid-column: span 3; } .bento .span-2 { grid-column: span 2; } .bento .span-4 { grid-column: span 4; } .bento .span-6 { grid-column: span 6; } .card-shot { display: grid; grid-template-columns: 1.3fr 1fr; gap: 26px; align-items: center; padding: 16px 28px 16px 16px; } }
.card { background: var(--white); border: 2px solid var(--ink); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translate(-2px, 2px); box-shadow: -4px 4px 0 var(--ink); }
.card-cyan { background: var(--cyan); color: #fff; }
.card-dark { background: var(--ink); color: #fff; box-shadow: -6px 6px 0 var(--cyan); }
.card h3 { font-size: 20px; font-weight: 700; margin: 14px 0 8px; }
.card p { color: inherit; opacity: .8; font-size: 15px; }
.card-cyan p, .card-dark p { opacity: .9; }
.icon-box { width: 50px; height: 50px; border: 2px solid var(--ink); border-radius: 12px; display: grid; place-items: center; background: var(--bg); box-shadow: -3px 3px 0 var(--ink); }
.icon-box svg { width: 24px; height: 24px; stroke-width: 2; }
.card-cyan .icon-box, .card-dark .icon-box { background: #fff; color: var(--ink); }
.card-shot { padding: 14px; }
.card-shot img { border-radius: 10px; border: 2px solid var(--ink); }
.card-shot h3 { margin: 16px 8px 4px; font-size: 24px; }
.card-shot p { margin: 0 8px 8px; }

/* ---------- screens tabs ---------- */
.remote { display: inline-flex; flex-wrap: wrap; gap: 8px; padding: 8px; background: var(--white); border: 2px solid var(--ink); border-radius: 16px; box-shadow: var(--shadow); }
.remote-btn { padding: 10px 18px; border-radius: 10px; border: 2px solid transparent; font-weight: 700; font-size: 14px; color: var(--ink-70); }
.remote-btn:hover { color: var(--ink); }
.remote-btn.active { background: var(--cyan); color: #fff; border-color: var(--ink); box-shadow: -3px 3px 0 var(--ink); }
.screen-frame { margin-top: 30px; background: var(--ink); border: 3px solid var(--ink); border-radius: 22px; padding: 10px; box-shadow: var(--shadow-cyan); max-width: 1040px; margin-inline: auto; }
.screen-frame img { border-radius: 12px; }

/* ---------- steps ---------- */
.steps { display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding-top: 34px; }
.step .num { font-family: var(--head); font-size: 84px; line-height: .8; color: var(--cyan); -webkit-text-stroke: 2px var(--ink); font-stretch: 75%; }
[dir="rtl"] .step .num { font-family: 'Cairo', var(--body); font-weight: 800; font-size: 56px; -webkit-text-stroke: 0; }
.step h3 { margin-top: 10px; }

/* ---------- pricing ---------- */
.plans { display: grid; gap: 22px; max-width: 900px; margin-inline: auto; }
@media (min-width: 768px) { .plans { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.plan { position: relative; display: flex; flex-direction: column; }
.plan .price { font-family: var(--head); font-size: 92px; line-height: .9; font-stretch: 75%; margin: 10px 0 4px; }
[dir="rtl"] .plan .price { font-family: var(--body); font-weight: 800; font-size: 56px; direction: ltr; display: inline-block; }
.plan .per { font-size: 14px; opacity: .75; margin-bottom: 18px; }
.plan ul { display: grid; gap: 10px; margin: 8px 0 24px; }
.plan li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; }
.plan li svg { width: 18px; height: 18px; flex-shrink: 0; }
.plan .btn { margin-top: auto; }
.sticker { position: absolute; top: -16px; inset-inline-end: 22px; background: #FFD166; color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: 12px; letter-spacing: 1px; transform: rotate(4deg); box-shadow: -3px 3px 0 var(--ink); }
.card-dark .plan-name { color: var(--cyan); }
.plan-name { font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }
[dir="rtl"] .plan-name { letter-spacing: 0; }

/* ---------- CTA band ---------- */
.band { background: var(--cyan); border: 3px solid var(--ink); border-radius: 24px; padding: 56px 28px; text-align: center; color: #fff; box-shadow: -10px 10px 0 var(--ink); position: relative; overflow: hidden; }
.band .h-section { color: #fff; }
.band p { max-width: 58ch; margin: 16px auto 28px; opacity: .95; }
.band-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.band .btn { box-shadow: var(--shadow-sm); }
.band .note { font-size: 13px; margin-top: 22px; opacity: .85; }

/* ---------- partners ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 640px) { .partner-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .partner-grid { grid-template-columns: repeat(7, 1fr); } }
.partner { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 10px 14px; background: var(--white); border: 2px solid var(--ink); border-radius: 14px; font-weight: 700; font-size: 12.5px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease; }
.partner:hover { transform: translate(-2px, 2px); box-shadow: -2px 2px 0 var(--ink); }
.partner img { width: 52px; height: 52px; border-radius: 12px; border: 2px solid var(--ink); object-fit: cover; }

/* ---------- device rows (download) ---------- */
.devices { display: grid; gap: 16px; max-width: 860px; margin-inline: auto; }
.device { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 20px 22px; }
.device-logo { width: 86px; height: 56px; border: 2px solid var(--ink); border-radius: 12px; background: var(--bg); display: grid; place-items: center; flex-shrink: 0; }
.device-logo img { height: 20px; width: auto; }
.device-logo svg { width: 26px; height: 26px; }
.device .info { flex: 1 1 220px; min-width: 0; }
.device h3 { margin: 0 0 4px; font-size: 18px; }
.device p { font-size: 14px; }
.status { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border: 2px solid var(--ink); border-radius: 999px; font-size: 12px; font-weight: 800; background: var(--white); white-space: nowrap; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.status.soon i { background: #FFD166; }
.device.soon { opacity: .7; }

/* ---------- policy ---------- */
.policy { max-width: 860px; margin-inline: auto; }
.policy-block { padding-inline-start: 22px; border-inline-start: 3px solid var(--cyan); margin-bottom: 30px; }
.policy-block h2 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.policy-block p { color: var(--ink-70); }
.policy-block a { color: var(--cyan); font-weight: 700; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #fff; border-top: 3px solid var(--cyan); margin-top: 40px; }
.footer-grid { display: grid; gap: 30px; padding: 56px 0 40px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; } }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-brand { grid-column: auto; } }
.footer-brand img { height: 40px; width: auto; filter: brightness(0) invert(1); margin-bottom: 14px; }
.footer-brand p { font-size: 13.5px; opacity: .75; max-width: 34ch; }
.footer-h { font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
[dir="rtl"] .footer-h { letter-spacing: 0; font-size: 14px; }
.footer-link { display: block; padding: 5px 0; font-size: 14px; opacity: .85; }
.footer-link:hover { opacity: 1; color: var(--cyan); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .15); padding: 20px 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 12.5px; opacity: .7; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- support widget ---------- */
.sw-fab { position: fixed; bottom: 22px; right: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 16px; background: #25D366; border: 2px solid var(--ink); box-shadow: var(--shadow-sm); display: grid; place-items: center; color: #fff; transition: transform .15s ease; }
.sw-fab:hover { transform: translate(-2px, 2px); }
.sw-fab svg { width: 28px; height: 28px; }
.sw-fab .x { display: none; }
.sw-fab.active { background: var(--ink); }
.sw-fab.active .wa { display: none; } .sw-fab.active .x { display: block; }
.sw-backdrop { position: fixed; inset: 0; background: rgba(0, 23, 31, .35); z-index: 85; opacity: 0; visibility: hidden; transition: all .25s ease; }
.sw-backdrop.show { opacity: 1; visibility: visible; }
.sw-popup { position: fixed; bottom: 94px; right: 22px; z-index: 90; width: 340px; max-width: calc(100vw - 32px); background: var(--white); border: 2px solid var(--ink); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .25s ease; }
.sw-popup.show { opacity: 1; visibility: visible; transform: none; }
.sw-head { background: var(--cyan); color: #fff; padding: 16px 20px; border-bottom: 2px solid var(--ink); }
.sw-head h3 { font-size: 16px; font-weight: 800; }
.sw-head p { font-size: 12.5px; opacity: .9; }
.sw-body { padding: 12px; display: grid; gap: 8px; }
.sw-btn { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 12px; background: var(--bg-2); transition: transform .15s ease; }
.sw-btn:hover { transform: translate(-2px, 2px); }
.sw-ico { width: 40px; height: 40px; border-radius: 10px; border: 2px solid var(--ink); display: grid; place-items: center; color: #fff; background: #25D366; flex-shrink: 0; }
.sw-ico.tg { background: #2AABEE; }
.sw-ico svg { width: 20px; height: 20px; }
.sw-txt { flex: 1; min-width: 0; }
.sw-txt b { display: block; font-size: 13.5px; }
.sw-txt span { font-size: 12px; opacity: .7; direction: ltr; display: block; text-align: start; }
.sw-foot { text-align: center; padding: 0 12px 12px; font-size: 11.5px; opacity: .6; }
@media (max-width: 480px) { .sw-fab { bottom: 16px; right: 16px; width: 52px; height: 52px; } .sw-popup { bottom: 80px; right: 16px; left: 16px; width: auto; max-width: none; } }

/* ---------- mobile polish ---------- */
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .section { padding: 64px 0; }
  .nav-row { height: 68px; }
  .brand img { height: 34px; }
  .hero { padding: 40px 0 30px; }
  .hero-actions .btn { width: 100%; }
  .card { padding: 22px; }
  .band { padding: 40px 18px; border-radius: 18px; box-shadow: -6px 6px 0 var(--ink); }
  .band .btn { width: 100%; }
  .remote { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); }
  .remote-btn { padding: 10px 6px; font-size: 12.5px; }
  .tv { transform: none; box-shadow: -6px 6px 0 var(--cyan); }
  .plan .price { font-size: 72px; }
  .device .btn { width: 100%; }
}
