/* ShareMix website — page styles (header/hero use the Tailwind utilities in index-*.css).
   Unlayered on purpose so it wins over the Tailwind @layer utilities. Logical properties keep RTL and LTR working. */

#sm-sections, .sm-dock, .sm-lb {
  --sm-signal: #4c8dff;
  --sm-cyan: #22d3ee;
  --sm-violet: #8a3ef0;
  --sm-pink: #ff3e9a;
  --sm-ink: #f5f7fb;
  --sm-muted: #99a3bd;
  --sm-line: rgba(255, 255, 255, 0.14);
  font-family: var(--font-sans);
}
#sm-sections {
  position: relative;
  z-index: 10;
  margin-inline: -1rem;               /* full bleed inside the page's px-4 */
  margin-top: 72px;
  color: var(--sm-ink);
  isolation: isolate;
}
#sm-sections *, #sm-sections *::before, #sm-sections *::after { box-sizing: border-box; }
:where(#sm-sections) :is(h2, h3, p, ol, ul) { margin: 0; padding: 0; }
:where(#sm-sections) :is(ol, ul) { list-style: none; }
:where(#sm-sections) button { font: inherit; color: inherit; }

.sm-wrap { position: relative; max-width: 1400px; margin-inline: auto; padding-inline: 1rem; }
.sm-sec { position: relative; padding-block: 56px; scroll-margin-top: 16px; }

/* ---------- Ambient light (continues the hero aurora down the page) ---------- */
.sm-amb { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -2; }
.sm-amb i {
  position: absolute; width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--c) 0%, transparent 100%);
  opacity: .32; transform: translate(-50%, -50%);
}

/* ---------- Scroll path ---------- */
.sm-path { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; overflow: hidden; }
.sm-path-base { fill: none; stroke: rgba(255, 255, 255, 0.2); stroke-width: 2; stroke-dasharray: 2 10; stroke-linecap: round; }
.sm-path-prog { fill: none; stroke: url(#sm-grad); stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(76, 141, 255, .75)); }
.sm-path-head { fill: var(--sm-cyan); filter: drop-shadow(0 0 8px rgba(34, 211, 238, .95)); }
.sm-pin { position: absolute; width: 1px; height: 1px; pointer-events: none; }

/* ---------- Shared type ---------- */
.sm-eyebrow {
  display: inline-block; margin-bottom: 18px; padding: 6px 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .02em;
  color: var(--sm-signal); background: rgba(76, 141, 255, .15);
  border: 1px solid rgba(76, 141, 255, .28); border-radius: 9999px;
}
.sm-head2 { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.sm-h2 {
  font-family: var(--font-display); font-weight: 700; color: var(--sm-ink);
  font-size: clamp(28px, 4.2vw, 46px); line-height: 1.18; letter-spacing: -.02em;
}
.sm-lead { margin-top: 16px; font-size: clamp(14px, 1.5vw, 16px); line-height: 1.75; color: var(--sm-muted); }
:lang(fa) .sm-h2, :lang(ar) .sm-h2 { line-height: 1.5; letter-spacing: 0; }
:lang(hi) .sm-h2 { line-height: 1.45; }
:lang(ja) .sm-h2, :lang(zh) .sm-h2, :lang(ko) .sm-h2 { line-height: 1.4; letter-spacing: 0; }
:lang(fa) .sm-lead, :lang(ar) .sm-lead { line-height: 2; }

.sm-ic { flex: none; }
.sm-card { position: relative; border-radius: 28px; padding: 26px; overflow: hidden; }
.sm-card h3 { font-family: var(--font-display); font-size: 17px; font-weight: 700; line-height: 1.4; color: var(--sm-ink); }
.sm-card p { margin-top: 8px; font-size: 13.5px; line-height: 1.75; color: var(--sm-muted); }
:lang(fa) .sm-card p, :lang(ar) .sm-card p { line-height: 1.95; }
.sm-card .sm-ico {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px;
  border-radius: 14px; color: var(--sm-signal); background: rgba(76, 141, 255, .14);
  border: 1px solid rgba(76, 141, 255, .26);
}
.sm-card .sm-ico.cy { color: var(--sm-cyan); background: rgba(34, 211, 238, .12); border-color: rgba(34, 211, 238, .26); }
.sm-card .sm-ico.vi { color: #b794ff; background: rgba(138, 62, 240, .16); border-color: rgba(138, 62, 240, .3); }
.sm-card .sm-ico.pk { color: #ff7ab8; background: rgba(255, 62, 154, .13); border-color: rgba(255, 62, 154, .28); }
.sm-hover { transition: transform .35s cubic-bezier(.22, 1, .36, 1), border-color .25s ease, background-color .25s ease; }
@media (hover: hover) { .sm-hover:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .26); } }

/* the path runs behind cards: give them a dark base so it never shows through text */
#sm-sections .sm-card, #sm-sections .sm-qi, #sm-sections .sm-tab, #sm-sections .sm-get { background-color: rgba(9, 13, 26, 0.93); }
#sm-sections .sm-get { background-color: rgba(9, 13, 26, 0.9); }
#sm-sections .sm-b-off, #sm-sections .sm-b-race { background-color: rgba(9, 13, 26, 0.9); }

/* ---------- Reveal ---------- */
.sm-rv { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.22, 1, .36, 1), transform .8s cubic-bezier(.22, 1, .36, 1); transition-delay: var(--d, 0s); }
.sm-rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .sm-rv { opacity: 1; transform: none; transition: none; } }

/* ---------- Features: bento ---------- */
.sm-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(190px, auto); gap: 18px; }
.sm-b-big { grid-column: span 2; grid-row: span 2; }
.sm-b-tools { grid-column: span 2; }
@media (max-width: 1023px) {
  .sm-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm-b-big { grid-row: span 1; }
}
@media (max-width: 639px) {
  .sm-bento { grid-template-columns: minmax(0, 1fr); }
  .sm-b-big, .sm-b-tools { grid-column: span 1; }
}

.sm-b-off { display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; }
.sm-off-vis { position: absolute; inset: 0 0 auto 0; height: 58%; }
.sm-off-vis svg { width: 100%; height: 100%; }
.sm-off-vis .ring { transform-box: fill-box; transform-origin: center; animation: sm-ring 2.8s ease-out infinite; }
.sm-off-vis .ring.b { animation-delay: 1.4s; }
@keyframes sm-ring { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(2.1); opacity: 0; } }
.sm-off-vis .flow { stroke-dasharray: 2 10; animation: sm-flow 1.4s linear infinite; }
@keyframes sm-flow { to { stroke-dashoffset: -24; } }
:lang(fa) .sm-b-off p, :lang(ar) .sm-b-off p { max-width: 46ch; }

/* Speed race */
.sm-b-race { display: flex; flex-direction: column; }
.sm-race-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.sm-replay {
  flex: none; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px;
  border-radius: 9999px; border: 1px solid var(--sm-line); background: rgba(255, 255, 255, .06);
  font-size: 12px; font-weight: 600; color: var(--sm-muted); cursor: pointer; transition: color .2s, background-color .2s;
}
.sm-replay:hover { color: var(--sm-ink); background: rgba(255, 255, 255, .12); }
.sm-race-file { align-self: flex-start; margin-top: 14px; padding: 5px 12px; font-size: 12px; font-weight: 600; border-radius: 9999px; border: 1px solid var(--sm-line); background: rgba(255, 255, 255, .06); }
.sm-race-rows { display: grid; gap: 22px; margin-top: auto; padding-top: 24px; }
.sm-race-row { display: grid; gap: 8px; }
.sm-race-lab { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 600; color: var(--sm-ink); }
.sm-race-lab b { font-weight: 600; font-size: 12px; color: var(--sm-muted); }
.sm-race-row.me .sm-race-lab b { color: var(--sm-cyan); }
.sm-track { height: 12px; border-radius: 9999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.sm-fill { height: 100%; width: 100%; border-radius: inherit; transform: scaleX(0); transform-origin: left center; }
[dir="rtl"] .sm-fill { transform-origin: right center; }
.sm-fill.me { background: linear-gradient(90deg, var(--sm-signal), var(--sm-cyan)); box-shadow: 0 0 18px rgba(34, 211, 238, .55); }
.sm-fill.data { background: rgba(153, 163, 189, .7); }
.sm-fill.bt { background: rgba(153, 163, 189, .45); }
.sm-race.is-run .sm-fill { transform: scaleX(1); }
.sm-race.is-run .sm-fill { transition: transform var(--t, 5s) linear .15s; }
.sm-race.is-run .sm-fill.me { transition-timing-function: cubic-bezier(.3, .7, .2, 1); }
.sm-race-note { margin-top: 18px; font-size: 11.5px; color: var(--sm-muted); opacity: .8; }
@media (prefers-reduced-motion: reduce) { .sm-race .sm-fill { transform: scaleX(1); transition: none !important; } }

.sm-b-tools .sm-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* ---------- How it works ---------- */
.sm-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: step; }
.sm-step { display: flex; flex-direction: column; align-items: center; }
.sm-node {
  position: relative; z-index: 2; display: grid; place-items: center;
  width: 46px; height: 46px; margin-bottom: -23px; border-radius: 50%;
  background: var(--sm-signal); color: #060910;
}
.sm-node.cy { background: var(--sm-cyan); }
.sm-node::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; opacity: .7; animation: sm-ring 2.8s ease-out infinite; z-index: -1; }
.sm-node i { display: block; width: 11px; height: 18px; border-radius: 4px; background: #060910; }
.sm-step .sm-card { width: 100%; height: 100%; padding-top: 44px; text-align: center; }
.sm-step-n { display: block; margin-bottom: 10px; font-family: var(--font-brand); font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--sm-signal); }
@media (max-width: 767px) {
  .sm-steps { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .sm-step { flex-direction: row; align-items: flex-start; gap: 14px; }
  .sm-node { margin: 18px 0 0; flex: none; }
  .sm-step .sm-card { padding-top: 24px; text-align: start; }
}

/* ---------- Screens ---------- */
.sm-screens { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 56px; align-items: center; max-width: 1080px; margin-inline: auto; }
.sm-tabs { display: grid; gap: 12px; }
.sm-tab {
  display: block; width: 100%; padding: 18px 22px; border-radius: 22px; text-align: start; cursor: pointer;
  border: 1px solid var(--sm-line); background: rgba(255, 255, 255, .04);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transition: background-color .25s ease, border-color .25s ease, transform .3s ease;
}
.sm-tab strong { display: block; font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--sm-muted); transition: color .25s; }
.sm-tab span { display: block; max-height: 0; overflow: hidden; opacity: 0; font-size: 13px; line-height: 1.7; color: var(--sm-muted); transition: max-height .4s ease, opacity .3s ease, margin .3s ease; }
.sm-tab:hover { background: rgba(255, 255, 255, .07); }
.sm-tab[aria-selected="true"] { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); }
.sm-tab[aria-selected="true"] strong { color: var(--sm-ink); }
.sm-tab[aria-selected="true"] span { max-height: 90px; opacity: 1; margin-top: 6px; }
.sm-tab:focus-visible, .sm-replay:focus-visible, .sm-ctrl:focus-visible, .sm-vcard:focus-visible, .sm-q:focus-visible, .sm-store:focus-visible, .sm-dock button:focus-visible, .sm-x:focus-visible { outline: 2px solid var(--sm-signal); outline-offset: 3px; }

.sm-stage { --glow: #4c8dff; position: relative; display: grid; place-items: center; min-height: 700px; padding-bottom: 72px; }
.sm-stage::before {
  content: ""; position: absolute; width: min(560px, 90%); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow), transparent); opacity: .45; filter: blur(30px);
  transition: background .8s ease; pointer-events: none;
}
.sm-phone {
  position: relative; width: 292px; aspect-ratio: 9 / 19; padding: 10px; border-radius: 46px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .05) 60%);
  border: 1px solid rgba(255, 255, 255, .3);
  box-shadow: inset 0 1px rgba(255, 255, 255, .4), 0 40px 90px -20px rgba(0, 0, 0, .75);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  transition: transform .25s ease-out; will-change: transform;
}
.sm-screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #070b16; }
.sm-screen::after { content: ""; position: absolute; top: 9px; inset-inline: 0; margin-inline: auto; width: 74px; height: 20px; border-radius: 12px; background: #000; z-index: 4; }
.sm-slide { position: absolute; inset: 0; opacity: 0; transform: scale(.97); transition: opacity .55s ease, transform .55s cubic-bezier(.22, 1, .36, 1); pointer-events: none; }
.sm-slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.sm-slide > img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* placeholder screens */
.sm-mock { display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 46px 18px 22px; background: linear-gradient(180deg, #0d1530, #070b16); }
.sm-mock .bar { height: 12px; width: 46%; border-radius: 6px; background: rgba(255, 255, 255, .18); }
.sm-mock .bar.s { width: 28%; opacity: .6; }
.sm-mock .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sm-mock .th { position: relative; aspect-ratio: 1; border-radius: 12px; background: var(--g, linear-gradient(135deg, #1b2a5c, #2a3f8c)); }
.sm-mock .th.on::after { content: "✓"; position: absolute; inset-block-start: 5px; inset-inline-end: 5px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: 11px; font-weight: 700; color: #060910; background: var(--sm-cyan); }
.sm-mock .btn { margin-top: auto; height: 46px; border-radius: 23px; background: linear-gradient(90deg, var(--sm-signal), var(--sm-cyan)); box-shadow: 0 10px 30px -8px rgba(34, 211, 238, .6); display: grid; place-items: center; color: #060910; }
.sm-mock .radar { position: relative; flex: 1; display: grid; place-items: center; }
.sm-mock .radar i { position: absolute; border-radius: 50%; border: 1px solid rgba(34, 211, 238, .5); width: 40%; aspect-ratio: 1; animation: sm-ring 3s ease-out infinite; }
.sm-mock .radar i:nth-child(2) { animation-delay: 1s; } .sm-mock .radar i:nth-child(3) { animation-delay: 2s; }
.sm-mock .radar b { position: relative; width: 56px; height: 56px; border-radius: 50%; background: var(--sm-cyan); display: grid; place-items: center; color: #060910; }
.sm-mock .peer { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }
.sm-mock .peer u { width: 30px; height: 30px; border-radius: 50%; background: var(--c, var(--sm-signal)); flex: none; }
.sm-mock .peer s { flex: 1; height: 9px; border-radius: 5px; background: rgba(255, 255, 255, .2); text-decoration: none; }
.sm-mock .qr { align-self: center; margin-top: 8px; padding: 14px; border-radius: 22px; background: #f5f7fb; }
.sm-mock .qr svg { display: block; width: 170px; height: 170px; }
.sm-mock .web { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 10px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.sm-mock .web .top { display: flex; align-items: center; gap: 5px; }
.sm-mock .web .top i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.sm-mock .web .top s { flex: 1; height: 14px; margin-inline-start: 6px; border-radius: 7px; background: rgba(255, 255, 255, .12); text-decoration: none; }
.sm-mock .row { display: flex; align-items: center; gap: 9px; }
.sm-mock .row u { width: 26px; height: 26px; border-radius: 8px; background: var(--c, var(--sm-signal)); flex: none; }
.sm-mock .row div { flex: 1; display: grid; gap: 5px; }
.sm-mock .row div s { height: 7px; width: 70%; border-radius: 4px; background: rgba(255, 255, 255, .22); text-decoration: none; }
.sm-mock .row div em { display: block; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.sm-mock .row div em::after { content: ""; display: block; height: 100%; width: var(--p, 50%); background: linear-gradient(90deg, var(--sm-signal), var(--sm-cyan)); }

.sm-chip-cap {
  position: absolute; inset-inline-end: 0; top: 14%; max-width: 142px; padding: 11px 16px;
  font-size: 12px; font-weight: 600; line-height: 1.6; color: var(--sm-ink); border-radius: 18px;
  animation: sm-float 5s ease-in-out infinite;
}
@keyframes sm-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.sm-ctrls { position: absolute; inset-inline: 0; bottom: 0; display: flex; justify-content: center; align-items: center; gap: 14px; }
.sm-ctrl { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; color: var(--sm-ink); border: 1px solid var(--sm-line); background: rgba(255, 255, 255, .07); transition: background-color .2s; }
.sm-ctrl:hover { background: rgba(255, 255, 255, .16); }
.sm-dots { display: flex; gap: 8px; }
.sm-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .28); transition: width .3s, background-color .3s; }
.sm-dots i.on { width: 22px; border-radius: 4px; background: var(--sm-ink); }
[dir="rtl"] .sm-flip { transform: scaleX(-1); }
.sm-ph-note { margin-top: 26px; text-align: center; font-size: 12px; color: var(--sm-muted); opacity: .75; }

@media (max-width: 899px) {
  .sm-screens { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sm-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .sm-tabs::-webkit-scrollbar { display: none; }
  .sm-tab { width: auto; flex: none; padding: 11px 20px; border-radius: 9999px; }
  .sm-tab span { display: none; }
  .sm-stage { min-height: 0; padding-bottom: 0; }
  .sm-chip-cap { position: static; margin-top: 14px; max-width: 320px; text-align: center; animation: none; }
  .sm-stage { grid-auto-flow: row; align-content: start; }
  .sm-ctrls { position: static; margin-top: 16px; }
}

/* ---------- Video guides ---------- */
.sm-videos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1023px) { .sm-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .sm-videos { gap: 12px; } }
.sm-vcard {
  position: relative; display: block; width: 100%; aspect-ratio: 9 / 15; padding: 0; overflow: hidden; text-align: start; cursor: pointer;
  border-radius: 28px; border: 1px solid rgba(255, 255, 255, .18); background: var(--vg);
}
.sm-vcard[aria-disabled="true"] { cursor: default; }
.sm-vcard > img, .sm-vcard > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sm-vcard > video { opacity: 0; transition: opacity .3s; }
.sm-vcard.is-prev > video { opacity: 1; }
.sm-vcard::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 70% at 50% 0%, rgba(255, 255, 255, .22), transparent 60%); }
.sm-vcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 38%, rgba(5, 8, 18, .9)); }
.sm-play {
  position: absolute; inset-block-start: 38%; inset-inline: 0; margin-inline: auto; z-index: 2;
  display: grid; place-items: center; width: 62px; height: 62px; margin-top: -31px; border-radius: 50%;
  color: var(--sm-ink); border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}
.sm-play svg { margin-inline-start: 3px; }
[dir="rtl"] .sm-play svg { transform: scaleX(-1); margin-inline-start: 0; margin-inline-end: 3px; }
@media (hover: hover) { .sm-vcard[aria-disabled="false"]:hover .sm-play { transform: scale(1.12); } }
.sm-vtag { position: absolute; inset-block-start: 14px; inset-inline-start: 14px; z-index: 2; padding: 5px 11px; font-size: 11px; font-weight: 600; border-radius: 9999px; color: var(--sm-ink); background: rgba(5, 8, 18, .55); border: 1px solid rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.sm-vtag.soon { color: var(--sm-cyan); }
.sm-vtxt { position: absolute; inset-inline: 0; bottom: 0; z-index: 2; padding: 18px; }
.sm-vtxt h3 { font-family: var(--font-display); font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--sm-ink); }
.sm-vtxt p { margin-top: 5px; font-size: 12.5px; line-height: 1.65; color: rgba(245, 247, 251, .72); }
.sm-vgrad-0 { --vg: linear-gradient(160deg, #1d3d9c, #0b1230 70%); }
.sm-vgrad-1 { --vg: linear-gradient(160deg, #0f7d92, #0b1230 70%); }
.sm-vgrad-2 { --vg: linear-gradient(160deg, #5a2aa8, #0b1230 70%); }
.sm-vgrad-3 { --vg: linear-gradient(160deg, #a2336f, #0b1230 70%); }

/* ---------- FAQ ---------- */
.sm-faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; }
.sm-faq .sm-head2 { margin: 0; text-align: start; max-width: none; position: sticky; top: 32px; }
.sm-qs { display: grid; gap: 12px; }
.sm-qi { border-radius: 22px; overflow: hidden; }
.sm-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 20px 24px; background: none; border: 0; text-align: start; cursor: pointer; font-size: 15px; font-weight: 600; line-height: 1.6; color: var(--sm-ink); }
.sm-q svg { color: var(--sm-muted); transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
.sm-qi.open .sm-q svg { transform: rotate(45deg); color: var(--sm-ink); }
.sm-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.22, 1, .36, 1); }
.sm-qi.open .sm-a { grid-template-rows: 1fr; }
.sm-a > div { overflow: hidden; }
.sm-a p { padding: 0 24px 22px; font-size: 14px; line-height: 1.85; color: var(--sm-muted); }
:lang(fa) .sm-a p, :lang(ar) .sm-a p { line-height: 2.05; }
@media (max-width: 899px) { .sm-faq { grid-template-columns: minmax(0, 1fr); gap: 28px; } .sm-faq .sm-head2 { position: static; } }

/* ---------- Privacy ---------- */
.sm-trust { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1023px) { .sm-trust { grid-template-columns: repeat(min(var(--cols, 3), 2), minmax(0, 1fr)); } }
@media (max-width: 767px) { .sm-trust { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Get the app ---------- */
.sm-get { position: relative; padding: 64px 28px; border-radius: 48px; text-align: center; overflow: hidden; }
.sm-get::before { content: ""; position: absolute; inset: -40% -10% auto; height: 120%; background: radial-gradient(closest-side, rgba(76, 141, 255, .4), transparent); pointer-events: none; }
.sm-get > * { position: relative; }
.sm-get .logo { display: block; height: 30px; width: auto; margin: 0 auto 26px; opacity: .95; }
.sm-store {
  display: inline-flex; align-items: center; gap: 14px; padding: 12px 26px 12px 22px;
  border-radius: 18px; color: #060910; background: #f5f7fb; text-decoration: none; text-align: start;
  box-shadow: 0 18px 50px -12px rgba(76, 141, 255, .7); transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}
.sm-store:hover { transform: translateY(-3px) scale(1.02); }
.sm-store small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .1em; opacity: .65; }
.sm-store strong { display: block; font-family: var(--font-display); font-size: 20px; font-weight: 700; line-height: 1.2; }
.sm-store svg { flex: none; }

/* ---------- Floating dock ---------- */
.sm-dock {
  position: fixed; z-index: 60; inset-inline: 0; bottom: 24px; margin-inline: auto; width: max-content; max-width: calc(100% - 2rem);
  display: flex; align-items: center; gap: 2px; padding: 6px; border-radius: 9999px;
  background-color: rgba(9, 13, 26, 0.72); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
  opacity: 0; transform: translateY(24px); pointer-events: none; transition: opacity .4s ease, transform .5s cubic-bezier(.22, 1, .36, 1);
}
.sm-dock.show { opacity: 1; transform: none; pointer-events: auto; }
.sm-dock[hidden] { display: none; }
.sm-dock button { font-family: inherit; cursor: pointer; border: 0; background: transparent; padding: 0 16px; height: 36px; border-radius: 9999px; font-size: 12px; font-weight: 600; color: var(--sm-muted); transition: color .2s, background-color .2s; }
.sm-dock button:hover { color: var(--sm-ink); }
.sm-dock button.on { color: var(--sm-ink); background: rgba(255, 255, 255, .12); }
.sm-dock .top { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; font-size: 13px; }
.sm-dock .get { display: inline-flex; align-items: center; gap: 6px; padding: 0 18px; color: var(--sm-ink); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); }
.sm-dock .get svg { transform: scaleX(-1); } [dir="rtl"] .sm-dock .get svg { transform: none; }
@media (max-width: 479px) { .sm-dock button { padding: 0 12px; } .sm-dock .guide { display: none; } }

/* ---------- Lightbox ---------- */
.sm-lb { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 20px; background: rgba(3, 5, 12, .78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.sm-lb.open { display: grid; animation: sm-lb-in .25s ease-out; }
@keyframes sm-lb-in { from { opacity: 0; } to { opacity: 1; } }
.sm-lb-panel { position: relative; max-width: min(92vw, 960px); max-height: 92vh; padding: 14px; border-radius: 32px; display: grid; gap: 12px; justify-items: center; font-family: var(--font-sans); color: #f5f7fb; }
.sm-lb video { display: block; max-width: 100%; max-height: 74vh; border-radius: 20px; background: #000; }
.sm-lb iframe { display: block; border: 0; border-radius: 20px; background: #000; width: min(92vw, calc(74vh * 9 / 16)); aspect-ratio: 9 / 16; max-height: 74vh; }
.sm-lb .is-land iframe { width: min(88vw, 900px); aspect-ratio: 16 / 9; max-height: 74vh; }
.sm-lb .is-land video { max-width: min(88vw, 900px); }
.sm-lb-t { padding: 0 8px 6px; font-size: 14px; font-weight: 600; text-align: center; }
.sm-x { position: absolute; inset-block-start: -14px; inset-inline-end: -14px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; color: #f5f7fb; border: 1px solid rgba(255, 255, 255, .3); background: rgba(12, 16, 30, .9); }
@media (max-width: 599px) { .sm-x { inset-block-start: 6px; inset-inline-end: 6px; } }

body.sm-lock { overflow: hidden; }

/* ---------- Language switcher + per-language fixes (from the earlier i18n.css) ---------- */

/* ---------- Fonts per language ----------
   Persian and Arabic keep the original Vazirmatn stack. Latin-script languages
   use Inter first; Hindi/Chinese/Japanese/Korean fall back to the system fonts
   every phone and PC already has for those scripts. */
html[lang="en"], html[lang="fr"], html[lang="es"], html[lang="tr"] {
  --font-sans: "Inter", system-ui, sans-serif;
  --font-display: "Inter", system-ui, sans-serif;
}
html[lang="hi"] {
  --font-sans: "Inter", "Noto Sans Devanagari", "Nirmala UI", "Mangal", system-ui, sans-serif;
  --font-display: "Inter", "Noto Sans Devanagari", "Nirmala UI", "Mangal", system-ui, sans-serif;
}
html[lang|="zh"] {
  --font-sans: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", system-ui, sans-serif;
  --font-display: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", system-ui, sans-serif;
}
html[lang="ja"] {
  --font-sans: "Inter", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", "Noto Sans JP", "Noto Sans CJK JP", system-ui, sans-serif;
  --font-display: "Inter", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", "Noto Sans JP", "Noto Sans CJK JP", system-ui, sans-serif;
}
html[lang="ko"] {
  --font-sans: "Inter", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Noto Sans CJK KR", system-ui, sans-serif;
  --font-display: "Inter", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Noto Sans CJK KR", system-ui, sans-serif;
}
/* Devanagari needs a little more room between the two headline lines */
html[lang="hi"] .sm-hero h1 { line-height: 1.45; }

/* ---------- Direction fixes for left-to-right languages ---------- */
/* Hero text stays on the same side of the card as in Persian (the transfer
   beam runs on the other side), but reads left-aligned. */
html[dir="ltr"] .sm-hero { align-items: flex-start; text-align: left; }
/* "Get the app" arrow points forward in reading direction */
html[dir="ltr"] .lucide-chevron-left { transform: scaleX(-1); }
/* The "12 seconds" chip sits beside the Download button in Persian; in LTR the
   button is on the other edge of the text block, so the chip moves to the open
   right-hand side of the card instead of overlapping it. */
html[dir="ltr"] .left-\[16\%\].bottom-\[30\%\] { left: auto; right: 8%; }

/* ---------- Header ---------- */
/* Above the hero card so the language menu is never hidden behind it */
.sm-head { z-index: 40; }
.sm-head-end { display: flex; align-items: center; gap: 14px; }

/* ---------- Language switcher ---------- */
.sm-lang { position: relative; }
.sm-lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  height: 36px; padding: 0 12px 0 11px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: #e8edf7;
  font: 600 12px/1 var(--font-sans);
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}
.sm-lang-btn:hover { background: rgba(255, 255, 255, 0.13); border-color: rgba(255, 255, 255, 0.26); }
.sm-lang-btn:focus-visible, .sm-lang-item:focus-visible { outline: 2px solid #4c8dff; outline-offset: 2px; }
.sm-lang-btn svg { flex: none; opacity: .85; }
.sm-lang-caret { transition: transform .2s ease; }
.sm-lang-btn[aria-expanded="true"] .sm-lang-caret { transform: rotate(180deg); }

.sm-lang-menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0;
  min-width: 184px; margin: 0; padding: 6px; list-style: none;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(12, 16, 30, 0.88);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
  animation: sm-lang-in .16s ease-out;
}
@keyframes sm-lang-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.sm-lang-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; height: 38px; padding: 0 12px;
  border: 0; border-radius: 12px; background: transparent;
  color: #c9d2e3; font-size: 13px; font-weight: 600;
  font-family: "Inter", "Vazirmatn", "Noto Sans Devanagari", "Nirmala UI", "PingFang SC", "Microsoft YaHei", "Hiragino Sans", "Yu Gothic UI", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  text-align: start; cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.sm-lang-item:hover { background: rgba(255, 255, 255, 0.08); color: #ffffff; }
.sm-lang-item.is-active { background: rgba(76, 141, 255, 0.16); color: #ffffff; }
.sm-lang-item svg { color: #4c8dff; flex: none; }

@media (prefers-reduced-motion: reduce) {
  .sm-lang-menu { animation: none; }
  .sm-lang-caret, .sm-lang-btn { transition: none; }
}

/* ---------- Intro motion (replaces the old framer-motion entrances) ---------- */
@keyframes sm-rise-in { from { opacity: 0; transform: translateY(var(--y, 10px)); } to { opacity: 1; transform: none; } }
@keyframes sm-fade-in { from { opacity: 0; } to { opacity: 1; } }
.sm-intro .sm-rise { animation: sm-rise-in .7s cubic-bezier(.22, 1, .36, 1) both; animation-delay: var(--dl, 0s); }
.sm-intro .sm-fade { animation: sm-fade-in .5s ease both; }
.sm-cta { transition: transform .2s cubic-bezier(.22, 1, .36, 1); cursor: pointer; }
.sm-cta:hover { transform: scale(1.035); } .sm-cta:active { transform: scale(.97); }
.sm-pill { transition: transform .2s ease, background-color .2s ease; cursor: pointer; } .sm-pill:hover { transform: scale(1.03); }
[data-hero-nav] button { cursor: pointer; }
.sm-noanim .sm-rise, .sm-noanim .sm-fade { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .sm-intro .sm-rise, .sm-intro .sm-fade { animation: none; } }

/* ---------- Extra blocks ---------- */
.sm-stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }
.sm-store.is-glass { color: #f5f7fb; background-color: rgba(255, 255, 255, .08); box-shadow: none; }
.sm-store.is-badge { align-self: center; padding: 0; gap: 0; background: none; box-shadow: none; border-radius: 12px; }
.sm-store.is-badge img { display: block; height: 60px; width: auto; max-width: min(100%, 320px); object-fit: contain; }
@media (max-width: 479px) { .sm-store.is-badge img { height: 52px; } }
.sm-card-link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.sm-textblock { max-width: 820px; margin-inline: auto; text-align: center; }
.sm-textblock.start { text-align: start; }
.sm-textblock .sm-head-in { margin-bottom: 24px; }
.sm-textblock.start .sm-head-in { text-align: start; margin-inline: 0; }
.sm-textblock > p { margin-top: 14px; font-size: 15px; line-height: 1.9; color: var(--sm-muted); }
:lang(fa) .sm-textblock > p, :lang(ar) .sm-textblock > p { line-height: 2.1; }
.sm-flinks { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.sm-flinks a { color: inherit; text-decoration: none; transition: color .2s; } .sm-flinks a:hover { color: #f5f7fb; }
.sm-preview-tag { position: fixed; z-index: 90; inset-block-start: 12px; inset-inline-start: 12px; padding: 6px 12px; border-radius: 9999px; font: 600 11px/1 system-ui, sans-serif; letter-spacing: .04em; color: #060910; background: #fbbf24; box-shadow: 0 6px 20px -6px rgba(0,0,0,.6); pointer-events: none; }
.sm-aurora { height: 1060px; }
