/* Mira Park landing page — 2026 redesign */
:root {
  --navy: #0a1033;
  --navy-2: #121a4a;
  --ink: #1b1f3b;
  --muted: #69708f;
  --line: #e6e8f2;
  --soft: #f5f7ff;
  --blue: #249DD1;
  --yellow: #FFC200;
  --magenta: #249DD1;
  --purple: #7b3fe4;
  --green: #2ee59d;
  --red: #5b6385;
  --grad: linear-gradient(135deg, #249DD1 0%, #4a6cf0 55%, #7b3fe4 100%);
  --grad-blue: linear-gradient(135deg, #249DD1 0%, #7b3fe4 100%);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body {
  font-family: 'Cairo', Tahoma, sans-serif;
  direction: rtl;
  text-align: right;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
}
a, a:hover { text-decoration: none; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 { font-weight: 800; }
::selection { background: var(--magenta); color: #fff; }

.section { padding: 100px 0; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; letter-spacing: .3px;
  padding: 6px 16px; border-radius: 50px;
  background: rgba(123, 63, 228, .1); color: var(--purple);
  margin-bottom: 16px;
}
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.35; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 18px; line-height: 1.8; margin: 0; }
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* buttons */
.btn-main, .btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 17px; border-radius: 50px;
  padding: 14px 30px; cursor: pointer; border: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s;
}
.btn-main { background: var(--grad); color: #fff; box-shadow: 0 12px 30px -10px rgba(36, 157, 209, .7); }
.btn-main:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 18px 36px -12px rgba(36, 157, 209, .8); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .25); }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .16); transform: translateY(-3px); }
.btn-ghost i { color: #25D366; font-size: 20px; }

/* nav */
.topbar {
  position: fixed; top: 0; right: 0; left: 0; z-index: 900;
  padding: 14px 0; transition: all .3s ease;
}
.topbar.scrolled { background: rgba(10, 16, 51, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 8px 0; box-shadow: 0 10px 30px -15px rgba(0,0,0,.5); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar .brand img { width: 74px; background: #fff; border-radius: 16px; padding: 4px 6px; }
.topbar nav { display: flex; gap: 28px; }
.topbar nav a, .topbar nav a:not([href]) { color: rgba(255,255,255,.8) !important; font-weight: 600; cursor: pointer; transition: color .2s; }
.topbar nav a:hover, .topbar nav a:not([href]):hover { color: var(--yellow) !important; }
.topbar .actions { display: flex; align-items: center; gap: 16px; }
.topbar .login { color: rgba(255,255,255,.75); font-weight: 600; font-size: 15px; }
.topbar .login:hover { color: #fff; }
.topbar .btn-main { padding: 9px 22px; font-size: 15px; }

/* hero */
.hero {
  background: radial-gradient(1200px 600px at 85% -10%, #3a1f8f 0%, transparent 60%),
              radial-gradient(900px 500px at 0% 100%, #0d4f7a 0%, transparent 60%),
              var(--navy);
  color: #fff; padding: 160px 0 120px; position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero .container { position: relative; z-index: 2; }
.hero .pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 8px 6px 18px;
  border-radius: 50px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  font-size: 14px; font-weight: 600; margin-bottom: 26px; color: #fff; cursor: pointer;
}
.hero .pill b { background: var(--green); color: var(--navy); border-radius: 50px; padding: 2px 12px; font-size: 13px; }
.hero h1 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.25; font-weight: 900; margin-bottom: 24px; }
.hero h1 .hl { display: inline-block; background: var(--yellow); color: var(--navy); padding: 0 16px 4px; border-radius: 14px; transform: rotate(-2deg); line-height: 1.3; box-shadow: 0 10px 30px -10px rgba(255,194,0,.6); }
.hero p.lead { color: rgba(255,255,255,.75); font-size: 19px; line-height: 1.9; max-width: 540px; margin-bottom: 36px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero .ticks { display: flex; flex-wrap: wrap; gap: 22px; color: rgba(255,255,255,.7); font-size: 15px; }
.hero .ticks span { display: inline-flex; align-items: center; gap: 8px; }
.hero .ticks i { color: var(--green); }

.hero-visual { position: relative; max-width: 470px; margin: 40px auto 0; }
.hero-visual .glow {
  position: absolute; inset: 8% 6%; border-radius: 50%;
  background: radial-gradient(circle, rgba(46,229,157,.55) 0%, rgba(123,63,228,.35) 45%, transparent 70%);
  filter: blur(40px); animation: pulse 5s ease-in-out infinite;
}
.hero-visual .device {
  position: relative; border-radius: 34px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8);
  transform: rotate(-3deg); animation: float 6s ease-in-out infinite;
}
.hero-visual .device img { display: block; width: 100%; }
.chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.96); color: var(--ink); border-radius: 16px;
  padding: 12px 16px; box-shadow: 0 20px 40px -15px rgba(0,0,0,.55); font-size: 14px; line-height: 1.4;
}
.chip .ic { width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; flex-shrink: 0; }
.chip small { display: block; color: var(--muted); font-size: 12px; }
.chip b { font-size: 15px; }
.chip-1 { top: 8%; left: -12%; animation: float 5s ease-in-out infinite; }
.chip-1 .ic { background: var(--green); }
.chip-2 { bottom: 20%; right: -14%; animation: float 7s ease-in-out infinite reverse; }
.chip-2 .ic { background: var(--grad); }
.chip-3 { bottom: -4%; left: 6%; animation: float 6s ease-in-out infinite 1s; }
.chip-3 .ic { background: var(--blue); }

@keyframes float { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-12px) rotate(var(--r, 0deg)); } }
.hero-visual .device { --r: -3deg; }
@keyframes pulse { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }

/* marquee */
.ribbon { background: var(--yellow); transform: rotate(-1.5deg); margin-top: -28px; position: relative; z-index: 5; overflow: hidden; padding: 16px 0; box-shadow: 0 16px 30px -18px rgba(0,0,0,.4); }
.ribbon .track { display: flex; gap: 48px; width: max-content; animation: marquee 30s linear infinite; }
.ribbon span { font-weight: 800; font-size: 20px; color: var(--navy); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.ribbon span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--navy); display: inline-block; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* pains */
.pains { background: #fff; }
.pain-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; height: 100%; transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.pain-card:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -30px rgba(27,31,59,.35); }
.pain-card .problem { padding: 26px 26px 22px; background: #f3f5fb; position: relative; }
.pain-card .problem .num { position: absolute; left: 22px; top: 18px; font-size: 44px; font-weight: 900; color: rgba(27,31,59,.07); line-height: 1; }
.pain-card .tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 50px; margin-bottom: 10px; }
.pain-card .problem .tag { background: rgba(91,99,133,.12); color: var(--red); }
.pain-card .problem h4, .pain-card .problem h3 { font-size: 19px; margin: 0; line-height: 1.6; color: var(--ink); }
.pain-card .solution { padding: 22px 26px 28px; flex: 1; }
.pain-card .solution .tag { background: rgba(46,229,157,.16); color: #0f9d63; }
.pain-card .solution p { color: var(--muted); line-height: 1.85; margin: 0; font-size: 16px; }
.pain-card .divider { height: 0; border-top: 2px dashed var(--line); position: relative; }
.pain-card .divider i { position: absolute; top: -17px; right: 26px; width: 32px; height: 32px; border-radius: 50%; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; }

/* steps */
.how { background: var(--soft); overflow: hidden; }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.steps::before {
  content: ""; position: absolute; top: 46px; right: 16%; left: 16%; border-top: 3px dashed #c9cde3; z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; padding: 0 10px; }
.step .bubble {
  width: 92px; height: 92px; margin: 0 auto 22px; border-radius: 28px; transform: rotate(-8deg);
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 34px; box-shadow: 0 20px 35px -15px rgba(123,63,228,.7); position: relative;
}
.step:nth-child(2) .bubble { background: var(--grad-blue); transform: rotate(6deg); }
.step:nth-child(3) .bubble { background: linear-gradient(135deg, #2ee59d, #249DD1); transform: rotate(-4deg); }
.step .bubble i { transform: rotate(0deg); }
.step .bubble em { position: absolute; top: -10px; left: -10px; width: 32px; height: 32px; border-radius: 50%; background: var(--yellow); color: var(--navy); font-style: normal; font-weight: 900; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.step h4, .step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { color: var(--muted); line-height: 1.8; margin: 0; }

/* reader spotlight */
.reader {
  background: radial-gradient(800px 500px at 50% 40%, #2b1a7a 0%, transparent 70%), var(--navy);
  color: #fff; overflow: hidden;
}
.reader .eyebrow { background: rgba(46,229,157,.12); color: var(--green); }
.reader .section-head p { color: rgba(255,255,255,.65); }
.reader-grid { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 28px; align-items: center; }
.reader-grid .center { position: relative; }
.reader-grid .center::before {
  content: ""; position: absolute; inset: -10%; border-radius: 50%;
  background: radial-gradient(circle, rgba(46,229,157,.35), transparent 65%); filter: blur(30px);
}
.reader-grid .center img { position: relative; border-radius: 30px; border: 1px solid rgba(255,255,255,.15); box-shadow: 0 40px 70px -30px #000; }
.feat {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px; margin-bottom: 16px;
  border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  transition: background .3s, transform .3s;
}
.feat:hover { background: rgba(255,255,255,.1); transform: translateX(-4px); }
.feat .ic { width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 19px; background: rgba(36,157,209,.18); color: #6cc8ef; }
.feat h5, .feat h3 { font-size: 16px; margin: 2px 0 4px; color: #fff; }
.feat p { font-size: 14px; color: rgba(255,255,255,.62); margin: 0; line-height: 1.7; }
.toughness { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 50px; }
.toughness div {
  text-align: center; padding: 22px 12px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.1);
}
.toughness i { font-size: 26px; color: var(--yellow); margin-bottom: 10px; }
.toughness h6, .toughness h3 { font-size: 16px; margin-bottom: 4px; color: #fff; }
.toughness p { font-size: 13px; color: rgba(255,255,255,.6); margin: 0; }
.secure {
  margin-top: 22px; border-radius: 20px; padding: 20px 26px; display: flex; align-items: center; gap: 18px;
  background: var(--grad);
}
.secure i { font-size: 32px; }
.secure h5, .secure h3 { margin: 0 0 2px; font-size: 18px; }
.secure p { margin: 0; color: rgba(255,255,255,.9); font-size: 15px; }

/* bento components */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(220px, auto); gap: 22px; }
.tile {
  border-radius: var(--radius); padding: 30px; position: relative; overflow: hidden;
  background: var(--soft); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .3s ease, box-shadow .3s ease;
}
.tile:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(27,31,59,.35); }
.tile h4, .tile h3 { font-size: 22px; margin-bottom: 8px; position: relative; z-index: 2; }
.tile p { color: var(--muted); line-height: 1.8; margin: 0; position: relative; z-index: 2; font-size: 15px; }
.tile img.art { position: absolute; z-index: 1; }
.tile-card { grid-column: span 2; grid-row: span 2; background: linear-gradient(160deg, #fff7d6, #e6f6ff); }
.tile-card img.art { width: 62%; top: 30px; left: 50%; transform: translateX(-50%) rotate(-10deg); }
.tile-reader { grid-column: span 4; background: var(--navy); color: #fff; border: none; min-height: 260px; }
.tile-reader p { color: rgba(255,255,255,.7); max-width: 52%; }
.tile-reader img.art { height: 78%; width: auto; left: 30px; top: 11%; transform: rotate(4deg); border-radius: 22px; box-shadow: 0 20px 40px -15px #000; }
.tile-wifi { grid-column: span 2; background: linear-gradient(160deg, #e6f6ff, #eef0ff); }
.tile-wifi img.art { width: 120px; top: 20px; left: 20px; }
.tile-pos { grid-column: span 2; background: linear-gradient(160deg, #eafff5, #e6f6ff); }
.tile-pos img.art { width: 130px; top: 16px; left: 18px; }
.tile .label { position: absolute; top: 24px; right: 26px; z-index: 2; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 50px; background: #fff; color: var(--purple); box-shadow: 0 6px 14px -8px rgba(0,0,0,.3); }
.tile-reader .label { background: rgba(46,229,157,.15); color: var(--green); box-shadow: none; }
.tile-cashier, .tile-bank { grid-column: span 3; min-height: 230px; }
.tile-cashier { background: linear-gradient(160deg, #f1ecff, #e6f6ff); }
.tile-bank { background: linear-gradient(160deg, #eafff5, #fff7d6); }
.tile .art-ic { position: absolute; top: 26px; left: 30px; font-size: 64px; color: var(--purple); opacity: .9; z-index: 1; }
.tile-bank .art-ic { color: #109c5b; }
html[dir="ltr"] .tile .art-ic { left: auto; right: 30px; }
.exp-stat b.long { font-size: 44px; line-height: 58px; }
.fits { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 44px; }
.fits span { padding: 10px 22px; border-radius: 50px; background: #fff; border: 1px solid var(--line); font-weight: 700; display: inline-flex; gap: 10px; align-items: center; }
.fits span i { color: var(--magenta); }

/* app */
.app { background: var(--soft); overflow: hidden; }
.app-panel {
  background: var(--grad-blue); border-radius: 36px; color: #fff; padding: 60px; position: relative; overflow: hidden;
}
.app-panel::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,.08); left: -120px; bottom: -160px; }
.app-panel h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.4; margin-bottom: 16px; }
.app-panel p { color: rgba(255,255,255,.85); font-size: 18px; line-height: 1.8; }
.app-panel ul { list-style: none; padding: 0; margin: 22px 0 30px; }
.app-panel li { margin-bottom: 12px; display: flex; gap: 12px; align-items: center; font-weight: 600; }
.app-panel li i { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.2); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.app-panel .stores { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 2; }
.app-panel .stores img { height: 54px; width: auto; border-radius: 10px; transition: transform .2s; }
.app-panel .stores img:hover { transform: translateY(-3px); }
.app-panel .phone { position: relative; z-index: 2; max-width: 260px; margin: -10px auto -120px; transform: rotate(6deg); filter: drop-shadow(0 30px 40px rgba(0,0,0,.4)); }

/* faq */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-list details {
  border: 1px solid var(--line); border-radius: 18px; margin-bottom: 14px; background: #fff;
  transition: box-shadow .3s, border-color .3s;
}
.faq-list details[open] { border-color: transparent; box-shadow: 0 20px 40px -25px rgba(123,63,228,.45); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 22px 26px; font-weight: 700; font-size: 17px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: var(--soft); color: var(--purple); font-size: 22px; display: flex; align-items: center; justify-content: center;
  transition: transform .3s, background .3s, color .3s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background: var(--grad); color: #fff; }
.faq-list details p { padding: 0 26px 22px; margin: 0; color: var(--muted); line-height: 1.9; }

/* contact */
.contact-us { background: var(--navy); color: #fff; overflow: hidden; }
.contact-us::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(36,157,209,.35), transparent 65%); top: -200px; right: -200px; }
.contact-us .container { position: relative; z-index: 2; }
.contact-us h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.35; margin-bottom: 18px; }
.contact-us .intro { color: rgba(255,255,255,.7); font-size: 18px; line-height: 1.9; margin-bottom: 34px; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; color: rgba(255,255,255,.85); }
.contact-line i { width: 44px; height: 44px; border-radius: 14px; background: rgba(255,255,255,.08); color: var(--yellow); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 17px; }
.contact-line a { color: #fff; direction: ltr; display: inline-block; font-weight: 700; }
.contact-line small { display: block; color: rgba(255,255,255,.5); font-size: 13px; }
#contact {
  background: #fff; color: var(--ink); border-radius: 28px; padding: 40px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
#contact h4 { margin-bottom: 24px; }
#contact label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
#contact input, #contact textarea {
  display: block; width: 100%; background: var(--soft); border: 2px solid transparent; border-radius: 14px;
  padding: 12px 16px; margin-bottom: 18px; font-family: inherit; font-size: 16px; transition: border-color .2s, background .2s;
}
#contact input:focus, #contact textarea:focus { outline: none; border-color: var(--purple); background: #fff; }
#contact textarea { height: 130px; resize: vertical; }
#contact button[type="submit"] { width: 100%; justify-content: center; }
.loader { margin: auto; border: 6px solid #eee; border-top: 6px solid var(--magenta); border-radius: 50%; width: 44px; height: 44px; display: none; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.success { background: #fff; color: var(--ink); border-radius: 28px; padding: 44px 30px; text-align: center; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.success .ok { width: 76px; height: 76px; border-radius: 50%; background: var(--green); color: #fff; font-size: 34px; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }

/* footer */
footer { background: #060a24; color: rgba(255,255,255,.65); padding: 70px 0 24px; }
footer .logo { width: 84px; background: #fff; border-radius: 16px; padding: 4px 6px; margin-bottom: 18px; }
footer p { line-height: 1.9; font-size: 15px; }
footer h6 { color: #fff; font-size: 16px; margin-bottom: 18px; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 10px; }
footer li a, footer li a:not([href]) { color: rgba(255,255,255,.65) !important; cursor: pointer; transition: color .2s; }
footer li a:hover, footer li a:not([href]):hover { color: var(--yellow) !important; }
footer .bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding-top: 22px; text-align: center; font-size: 14px; }

/* floating */
.wa-float {
  position: fixed; bottom: 26px; left: 26px; z-index: 800; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; font-size: 30px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 26px -8px rgba(37,211,102,.7);
}
.wa-float:hover { color: #fff; transform: scale(1.06); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ring 2s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.scrollUp { position: fixed; bottom: 30px; right: 26px; z-index: 800; display: none; }
.scrollUp i { width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 10px 20px -8px rgba(0,0,0,.5); }


/* hero: app phone in front of the reader */
.hero-visual { max-width: 520px; }
.hero-visual .device { width: 72%; margin-right: auto; margin-left: 0; }
.hero-visual .phone-front {
  position: absolute; z-index: 4; right: 0; bottom: -40px; width: 44%;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)); transform: rotate(5deg);
  animation: floatPhone 6s ease-in-out infinite .5s;
}
@keyframes floatPhone { 0%, 100% { transform: translateY(0) rotate(5deg); } 50% { transform: translateY(-14px) rotate(5deg); } }
.hero-visual .chip-1 { top: 2%; left: -6%; }
.hero-visual .chip-2 { display: none; }
.hero-visual .chip-3 { bottom: -10%; left: 4%; }
@media (max-width: 767px) {
  .hero-visual { max-width: 360px; margin-bottom: 40px; }
  .hero-visual .chip-1 { left: 0; }
  .hero-visual .chip-3 { left: 0; bottom: -12%; }
  .hero-visual .chip-1 { top: -4%; }
}

/* responsive */
@media (max-width: 991px) {
  .topbar nav { display: none; }
  .reader-grid { grid-template-columns: 1fr 1fr; }
  .reader-grid .center { grid-column: 1 / -1; grid-row: 1; max-width: 420px; margin: 0 auto 20px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-card, .tile-reader, .tile-wifi, .tile-pos, .tile-cashier, .tile-bank { grid-column: span 2; grid-row: auto; }
  .tile-card { min-height: 420px; }
  .tile-card img.art { width: 42%; }
  .app-panel .phone { margin: 40px auto -120px; }
}
@media (max-width: 767px) {
  .section { padding: 72px 0; }
  .hero { padding: 120px 0 90px; }
  .hero-visual { max-width: 320px; }
  .chip { padding: 9px 12px; font-size: 13px; }
  .chip .ic { width: 32px; height: 32px; }
  .chip b { font-size: 13px; }
  .wa-float { width: 52px; height: 52px; font-size: 27px; bottom: 18px; left: 18px; }
  .hero .ticks { gap: 14px; font-size: 14px; }
  .chip-1 { left: -2%; }
  .chip-2 { right: -2%; }
  .topbar .login { display: none; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { display: none; }
  .reader-grid { grid-template-columns: 1fr; }
  .toughness { grid-template-columns: repeat(2, 1fr); }
  .secure { flex-direction: column; text-align: center; }
  .tile-reader { padding-top: 220px; }
  .tile-reader p { max-width: 100%; }
  .tile-reader img.art { height: 180px; top: 24px; left: 50%; transform: translateX(-50%) rotate(4deg); }
  .tile-wifi, .tile-pos { padding-top: 150px; }
  .app-panel { padding: 40px 26px; border-radius: 28px; }
  #contact { padding: 28px 22px; margin-top: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* language toggle + H1 kicker */
.topbar .lang {
  color: #fff; font-weight: 700; font-size: 14px; border: 1px solid rgba(255,255,255,.3);
  border-radius: 50px; padding: 5px 14px; transition: background .2s;
}
.topbar .lang:hover { color: #fff; background: rgba(255,255,255,.12); }
.hero h1 .kicker { display: block; font-size: 16px; font-weight: 700; color: var(--green); letter-spacing: .2px; margin-bottom: 14px; line-height: 1.6; }

/* English (LTR) version */
html[dir="ltr"] body { direction: ltr; text-align: left; }
html[dir="ltr"] .ribbon .track { animation-name: marqueeLtr; }
@keyframes marqueeLtr { from { transform: translateX(0); } to { transform: translateX(-50%); } }
html[dir="ltr"] .hero .pill { padding: 6px 18px 6px 8px; }
html[dir="ltr"] .pain-card .problem .num { left: auto; right: 22px; }
html[dir="ltr"] .pain-card .divider i { right: auto; left: 26px; }
html[dir="ltr"] .tile .label { right: auto; left: 26px; }
html[dir="ltr"] .tile-reader img.art { left: auto; right: 30px; transform: rotate(-4deg); }
html[dir="ltr"] .tile-wifi img.art, html[dir="ltr"] .tile-pos img.art { left: auto; right: 20px; }
html[dir="ltr"] .tile-card img.art { left: 50%; }
html[dir="ltr"] .feat:hover { transform: translateX(4px); }
html[dir="ltr"] .step .bubble em { left: auto; right: -10px; }
html[dir="ltr"] .app-panel::after { left: auto; right: -120px; }
html[dir="ltr"] .contact-us::before { right: auto; left: -200px; }
html[dir="ltr"] .hero-visual .device { margin-left: 0; margin-right: auto; }
html[dir="ltr"] .hero-visual .phone-front { right: auto; left: 0; transform: rotate(-5deg); animation-name: floatPhoneLtr; }
@keyframes floatPhoneLtr { 0%, 100% { transform: translateY(0) rotate(-5deg); } 50% { transform: translateY(-14px) rotate(-5deg); } }
html[dir="ltr"] .hero-visual .chip-1 { left: auto; right: -6%; }
html[dir="ltr"] .hero-visual .chip-3 { left: auto; right: 4%; }
html[dir="ltr"] .wa-float { left: auto; right: 26px; }
html[dir="ltr"] .scrollUp { right: auto; left: 26px; }
html[dir="ltr"] .hero h1 { font-size: clamp(34px, 4.3vw, 54px); }
@media (max-width: 767px) {
  html[dir="ltr"] .tile-reader img.art { right: auto; left: 50%; transform: translateX(-50%) rotate(-4deg); }
  html[dir="ltr"] .hero-visual .chip-1 { right: 0; }
  html[dir="ltr"] .hero-visual .chip-3 { right: 0; }
  html[dir="ltr"] .wa-float { right: 18px; }
  .topbar .lang { padding: 4px 10px; }
}

/* smart quote form */
.smart-form .sf-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.smart-form .sf-head h4 { margin: 0; }
.smart-form .sf-time { font-size: 13px; font-weight: 700; color: var(--purple); background: rgba(123,63,228,.08); padding: 4px 12px; border-radius: 50px; white-space: nowrap; }
.sf-progress { height: 6px; border-radius: 6px; background: var(--soft); overflow: hidden; }
.sf-progress span { display: block; height: 100%; width: 33%; background: var(--grad); border-radius: 6px; transition: width .4s ease; }
.sf-counter { font-size: 13px; color: var(--muted); margin: 8px 0 18px; }
.sf-step { display: none; }
.sf-step.is-active { display: block; animation: sfIn .35s ease; }
@keyframes sfIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.sf-q { font-weight: 800; font-size: 16px; margin: 0 0 12px; color: var(--ink); }
.sf-q small { font-weight: 600; color: var(--muted); font-size: 13px; margin-inline-start: 6px; }
.sf-group { margin-bottom: 22px; border-radius: 16px; }
.sf-group.has-error { box-shadow: 0 0 0 2px rgba(91,99,133,.0); }
.sf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sf-opt {
  display: flex; align-items: center; gap: 12px; text-align: start;
  background: var(--soft); border: 2px solid transparent; border-radius: 16px; padding: 14px 16px;
  font-family: inherit; font-weight: 700; font-size: 15px; color: var(--ink); cursor: pointer;
  transition: border-color .2s, background .2s, transform .15s;
}
.sf-opt i { width: 38px; height: 38px; border-radius: 12px; background: #fff; color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .2s, color .2s; }
.sf-opt:hover { border-color: rgba(36,157,209,.35); transform: translateY(-2px); }
.sf-opt.is-on { border-color: var(--blue); background: #fff; box-shadow: 0 12px 24px -16px rgba(36,157,209,.8); }
.sf-opt.is-on i { background: var(--grad); color: #fff; }
.sf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-chip {
  background: var(--soft); border: 2px solid transparent; border-radius: 50px; padding: 8px 16px;
  font-family: inherit; font-weight: 700; font-size: 14px; color: var(--ink); cursor: pointer; transition: background-color .15s, border-color .15s;
  direction: inherit;
}
.sf-chip i { color: var(--blue); margin-inline-end: 4px; }
.sf-chip:hover { border-color: rgba(36,157,209,.35); }
.sf-chip.is-on { background: var(--blue); color: #fff; border-color: var(--blue); }
.sf-chip.is-on i { color: #fff; }
.sf-check.is-on::before { content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900; margin-inline-end: 6px; }
.sf-check.is-on i { display: none; }
#contact label small { font-weight: 600; color: var(--muted); }
#contact textarea#note { height: 80px; }
#contact input.has-error { border-color: #f0a500; background: #fffaf0; }
.sf-error { color: #b07800; font-size: 13px; font-weight: 700; margin: -10px 0 14px; }
.sf-group + .sf-error { margin-top: -14px; }
.sf-summary { background: var(--soft); border-radius: 16px; padding: 14px 18px; margin-bottom: 6px; font-size: 14px; }
.sf-summary b { display: block; margin-bottom: 6px; color: var(--purple); }
.sf-summary ul { margin: 0; padding-inline-start: 18px; color: var(--muted); line-height: 1.8; }
.sf-nav { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.sf-nav .btn-main { flex: 1; justify-content: center; }
#contact .sf-nav button[type="submit"] { width: auto; }
.sf-back { background: none; border: none; font-family: inherit; font-weight: 700; color: var(--muted); cursor: pointer; padding: 12px 6px; display: none; }
.sf-back:hover { color: var(--ink); }
.sf-send { display: none; }
.sf-nav .loader { margin: 0 auto; }
.sf-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--muted); }
.sf-foot i { color: var(--green); }
.sf-wa-direct { color: #128c4b; font-weight: 700; }
.sf-wa-direct:hover { color: #0b6b38; }
.sf-wa-direct i { color: #25D366; }
.success .sf-wa { background: #25D366; box-shadow: 0 12px 30px -10px rgba(37,211,102,.7); margin-top: 8px; }
@media (max-width: 575px) {
  .sf-grid { grid-template-columns: 1fr; }
  .smart-form .sf-head { flex-direction: column; align-items: flex-start; }
}
.smart-form button:focus { outline: none; }
.smart-form button:focus-visible { outline: 3px solid rgba(36,157,209,.45); outline-offset: 2px; }
.btn-main:focus, .btn-main:active { border: none; }

/* primary CTA: green with white text */
.btn-main, a.btn-main, a.btn-main:not([href]), button.btn-main {
  background: linear-gradient(135deg, #1fc77a 0%, #109c5b 100%) !important;
  color: #fff !important;
  box-shadow: 0 12px 28px -10px rgba(16, 156, 91, .65);
}
.btn-main:hover, a.btn-main:not([href]):hover { color: #fff !important; box-shadow: 0 18px 34px -12px rgba(16, 156, 91, .8); filter: brightness(1.05); }

/* experience */
.experience { background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); }
.exp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 70px; }
.exp-stat {
  background: var(--navy); color: #fff; border-radius: var(--radius); padding: 30px 28px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 8px;
}
.exp-stat::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(36,157,209,.45), transparent 70%); top: -60px; left: -60px; }
.exp-stat b { font-size: 58px; line-height: 1; font-weight: 900; color: var(--yellow); position: relative; z-index: 1; direction: ltr; text-align: start; }
html[dir="rtl"] .exp-stat b { text-align: right; }
.exp-stat b i { font-size: 46px; }
.exp-stat span { color: rgba(255,255,255,.8); font-size: 16px; font-weight: 600; line-height: 1.7; position: relative; z-index: 1; }
.tl-title, .partners h3 { text-align: center; font-size: 26px; margin-bottom: 34px; }
.timeline { position: relative; max-width: 900px; margin: 0 auto 70px; }
.timeline::before { content: ""; position: absolute; top: 10px; bottom: 10px; inset-inline-start: 27px; width: 3px; background: linear-gradient(180deg, var(--blue), var(--purple)); border-radius: 3px; opacity: .35; }
.tl-item { position: relative; display: flex; gap: 22px; align-items: center; margin-bottom: 18px; }
.tl-dot { width: 56px; height: 56px; border-radius: 18px; flex-shrink: 0; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; position: relative; z-index: 1; box-shadow: 0 12px 24px -12px rgba(74,108,240,.8); }
.tl-card { flex: 1; display: grid; grid-template-columns: 1fr auto 1.2fr; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px 22px; transition: transform .3s, box-shadow .3s; }
.tl-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(27,31,59,.4); }
.tl-card small { display: block; font-size: 12px; font-weight: 800; margin-bottom: 4px; letter-spacing: .2px; }
.tl-faced { color: var(--muted); font-weight: 600; line-height: 1.7; }
.tl-faced small { color: var(--red); }
.tl-built { color: var(--ink); font-weight: 700; line-height: 1.7; }
.tl-built small { color: #109c5b; }
.tl-arrow { color: var(--blue); font-size: 18px; }
.partner-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.partner-wall span {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 26px; font-weight: 800; font-size: 18px; color: var(--navy);
  box-shadow: 0 10px 24px -20px rgba(27,31,59,.5); transition: transform .2s, border-color .2s;
}
.partner-wall span:hover { transform: translateY(-3px); border-color: var(--blue); }
.partner-wall span.more { background: transparent; border-style: dashed; color: var(--muted); }
@media (max-width: 767px) {
  .exp-stats { grid-template-columns: 1fr; margin-bottom: 50px; }
  .tl-card { grid-template-columns: 1fr; gap: 8px; }
  .tl-arrow { transform: rotate(-90deg); }
  .tl-dot { width: 44px; height: 44px; font-size: 16px; border-radius: 14px; }
  .timeline::before { inset-inline-start: 21px; }
  .tl-item { gap: 14px; align-items: flex-start; }
  .partner-wall span { padding: 12px 18px; font-size: 16px; }
}
.sf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ===== topic pages ===== */
.topic-page .topbar nav { gap: 22px; }
.topic-page .topbar nav a { font-size: 15px; }
.topic-page .topbar nav a.on { color: var(--yellow) !important; }
.tp-hero { padding-bottom: 90px; }
.tp-hero h1 { font-size: clamp(32px, 4vw, 50px); }
.tp-hero .kicker { display: block; font-size: 16px; color: var(--green); font-weight: 700; margin-bottom: 10px; }
.tp-hero p.lead { max-width: 620px; }
.crumbs { font-size: 14px; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.crumbs a { color: rgba(255,255,255,.8); }
.crumbs a:hover { color: var(--yellow); }
.crumbs i { font-size: 11px; margin: 0 6px; }
html[dir="ltr"] .crumbs i { transform: scaleX(-1); }
.tp-art { position: relative; max-width: 380px; margin: 30px auto 0; }
.tp-art::before { content: ""; position: absolute; inset: 10% 5%; background: radial-gradient(circle, rgba(36,157,209,.55), transparent 70%); filter: blur(30px); }
.tp-art img { position: relative; display: block; width: 100%; height: auto; max-height: 440px; object-fit: contain; border-radius: 26px; }
.tp-prose { max-width: 860px; margin: 0 auto 30px; }
.tp-block { margin-bottom: 44px; }
.tp-block h2, .tp-sub { font-size: clamp(24px, 3vw, 32px); line-height: 1.4; margin-bottom: 16px; color: var(--ink); }
.tp-sub { text-align: center; margin: 20px 0 34px; }
.tp-block p { font-size: 18px; line-height: 2; color: #3c4366; margin-bottom: 14px; }
.tp-block a { color: var(--blue); font-weight: 700; }
.tp-block .steps-list, .tp-block .check-list { padding: 0; margin: 0; list-style: none; counter-reset: s; }
.tp-block .steps-list li, .tp-block .check-list li { position: relative; padding: 14px 58px 14px 18px; margin-bottom: 12px; background: var(--soft); border-radius: 16px; font-size: 17px; line-height: 1.9; color: #3c4366; }
.tp-block .steps-list li::before { counter-increment: s; content: counter(s); position: absolute; right: 14px; top: 14px; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.tp-block .check-list li::before { content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; right: 16px; top: 16px; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.tp-block li b { color: var(--ink); }
.tp-feat { height: 100%; border: 1px solid var(--line); border-radius: 22px; padding: 26px; background: #fff; transition: transform .3s, box-shadow .3s; }
.tp-feat:hover { transform: translateY(-5px); box-shadow: 0 24px 40px -28px rgba(27,31,59,.4); }
.tp-feat .ic { display: inline-flex; width: 52px; height: 52px; border-radius: 16px; align-items: center; justify-content: center; background: var(--grad); color: #fff; font-size: 21px; margin-bottom: 14px; }
.tp-feat h3 { font-size: 19px; margin-bottom: 6px; color: var(--ink); }
.tp-feat p { margin: 0; color: var(--muted); line-height: 1.8; font-size: 15.5px; }
.tp-faq { background: var(--soft); }
.tp-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; background: linear-gradient(135deg, #1fc77a, #109c5b); color: #fff; border-radius: 28px; padding: 40px 44px; margin-bottom: 60px; }
.tp-cta h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 8px; color: #fff; }
.tp-cta p { margin: 0; color: #eafff4; font-size: 17px; line-height: 1.8; max-width: 560px; }
.tp-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.tp-cta .btn-main { background: #fff !important; color: #0d7f4a !important; }
.tp-cta .btn-ghost { direction: ltr; }
.tp-rels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tp-rel { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); font-weight: 700; transition: border-color .2s, transform .2s; }
.tp-rel:hover { color: var(--ink); border-color: var(--blue); transform: translateY(-3px); text-decoration: none; }
.tp-rel > i:first-child { color: var(--blue); font-size: 20px; width: 24px; text-align: center; }
.tp-rel span { flex: 1; }
.tp-rel .go { color: var(--muted); font-size: 13px; }
@media (max-width: 991px) { .tp-rels { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .tp-rels { grid-template-columns: 1fr; } .tp-cta { padding: 30px 24px; } .tp-block p { font-size: 17px; } }
.tp-why { background: var(--navy); color: #fff; }
.tp-why .tp-block h2 { color: #fff; }
.tp-why .tp-block p { color: rgba(255,255,255,.78); }
.tp-why .steps-list li { background: rgba(255,255,255,.07); color: rgba(255,255,255,.8); }
.tp-why .steps-list li b { color: #fff; }
.tp-why .exp-stats { margin: 10px auto 50px; max-width: 1000px; }
.tp-why .exp-stat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }

/* store badges inside topic pages (2026-11-20) */
.tp-block .stores { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.tp-block .stores img { height: 50px; width: auto; border-radius: 10px; transition: transform .2s; }
.tp-block .stores img:hover { transform: translateY(-3px); }

/* app screenshots strip (2026-11-20) */
.app-shots { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 18px; margin-bottom: 40px; -webkit-overflow-scrolling: touch; }
.app-shots .shot { flex: 0 0 210px; margin: 0; scroll-snap-align: start; }
.app-shots img { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 12px 30px rgba(20, 40, 80, .18); display: block; }
@media (min-width: 1200px) { .app-shots { overflow: visible; justify-content: center; } .app-shots .shot { flex: 1 1 0; max-width: 190px; } }
@media (max-width: 576px) { .app-shots .shot { flex-basis: 62%; } }
