/* Resto360 landing. Static, no build step. Brand values mirror the app's
   packages/ui/src/tokens/theme.css. Every asset path is relative: the page is
   served from /_landing/ by the Worker. */
:root {
  --brand: #e60000;
  --brand-strong: #b80000;
  --brand-tint: #fdeaea;
  --brand-soft: #fff4f2;
  --brand-glow: rgba(230, 0, 0, .28);
  --ink: #2c2f36;
  --body: #5d626b;
  --muted: #8b8f96;
  --bg: #fafaf9;
  --surface: #fff;
  --line: #ebebe8;
  --sand: #f3efe8;
  --night: #241211;
  --night-2: #3a1b19;
  --tile: #f5f1ef;
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 12px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow: 0 1px 2px rgba(40, 20, 20, .05), 0 12px 32px -12px rgba(40, 20, 20, .12);
}
[lang='ar'] { --font: 'IBM Plex Sans Arabic', 'Plus Jakarta Sans', system-ui, sans-serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--body); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--ink); font-weight: 600; text-wrap: balance; }
h2 { font-size: clamp(28px, 3.1vw, 40px); line-height: 1.16; letter-spacing: -.03em; }
h3 { font-size: 24px; line-height: 1.2; letter-spacing: -.025em; }
[lang='ar'] h1, [lang='ar'] h2, [lang='ar'] h3 { letter-spacing: 0; }
.ic { width: 18px; height: 18px; flex: none; }
.ic-red { color: var(--brand); }
[dir='rtl'] .flip { transform: scaleX(-1); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.d-only { display: inline; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: var(--r-sm); font-size: 15px; font-weight: 500; white-space: nowrap; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { color: #fff; background: linear-gradient(180deg, #f01b12, var(--brand) 60%, #cf0000); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 8px 22px -6px var(--brand-glow); }
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 12px 28px -6px rgba(230, 0, 0, .42); }
.btn-ghost { color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 2px 6px rgba(40, 20, 20, .05); }
.btn-ghost:hover { background: #fdfcfb; box-shadow: inset 0 0 0 1px #dedbd6, 0 4px 12px rgba(40, 20, 20, .08); }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 68px; width: min(1360px, 100% - 48px); margin-inline: auto; }
.nav-logo img { height: 28px; width: auto; }
.nav-links { display: flex; gap: 28px; margin-inline: auto; font-size: 14.5px; color: var(--ink); }
.nav-links a { padding: 8px 2px; }
.nav-links a:hover { color: var(--brand); }
.nav-right { display: flex; align-items: center; gap: 14px; margin-inline-start: auto; }
.lang { position: relative; display: flex; align-items: center; gap: 6px; height: 40px; padding-inline: 10px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.lang select { appearance: none; border: 0; background: none; font: 600 13.5px var(--font); color: inherit; cursor: pointer; padding-inline-end: 2px; }
.nav-login { font-size: 14.5px; color: var(--ink); padding: 10px 4px; white-space: nowrap; }
.nav-login:hover { color: var(--brand); }
.btn-nav { padding-inline: 16px; }
.nav-burger { display: none; width: 44px; height: 44px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); position: relative; }
.nav-burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, top .2s ease; }
.nav-burger span:first-child { top: 17px; }
.nav-burger span:last-child { top: 25px; }
.nav-burger[aria-expanded='true'] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-burger[aria-expanded='true'] span:last-child { top: 21px; transform: rotate(-45deg); }
.sheet { padding: 8px 24px 20px; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(40, 20, 20, .2); }
.sheet a { display: flex; align-items: center; min-height: 48px; color: var(--ink); font-weight: 500; border-bottom: 1px solid #f3f2ef; }
.sheet[hidden] { display: none; }

/* hero */
.hero { padding-top: 112px; text-align: center; overflow: hidden; }
.hero h1 { font-size: clamp(36px, 4.5vw, 60px); line-height: 1.15; letter-spacing: -.035em; padding-inline: 16px; }
[lang='ar'] .hero h1 { line-height: 1.3; }
.typed { color: var(--brand-strong); white-space: nowrap; }
.typed .br { color: var(--brand); font-weight: 500; }
.caret { display: inline-block; width: 2px; height: .85em; margin-inline: 2px; background: var(--brand); vertical-align: -.08em; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-sub { max-width: 760px; margin: 18px auto 0; padding-inline: 20px; font-size: 17px; color: var(--body); text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; padding-inline: 16px; position: relative; z-index: 3; }

.stage { --drift: 0px; position: relative; height: 840px; margin-top: -8px; }
.beam { position: absolute; left: 50%; top: 0; width: 34px; height: 300px; transform: translateX(-50%); background: linear-gradient(180deg, rgba(230, 0, 0, 0), rgba(230, 0, 0, .35) 26%, #e60000 80%); filter: blur(.3px); -webkit-mask: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); mask: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); }
.beam::after { content: ''; position: absolute; inset: 0 -20px; background: inherit; filter: blur(16px); opacity: .45; }
.core { position: absolute; left: 50%; top: 212px; z-index: 4; width: 112px; height: 112px; margin-left: -56px; display: grid; place-items: center; border-radius: 28px; background: linear-gradient(160deg, #fff, #fff4f2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), inset 0 -10px 22px rgba(230, 0, 0, .16), 0 0 0 7px rgba(230, 0, 0, .1), 0 18px 46px -8px rgba(230, 0, 0, .55); animation: pulse 3.2s ease-in-out infinite; }
.core img { width: 84px; height: 84px; }
@keyframes pulse { 50% { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), inset 0 -10px 22px rgba(230, 0, 0, .16), 0 0 0 12px rgba(230, 0, 0, .07), 0 22px 60px -6px rgba(230, 0, 0, .68); } }
.funnel { position: absolute; left: 50%; top: 318px; width: 800px; height: 520px; margin-left: -400px; }
.sparks { position: absolute; left: 50%; top: 340px; width: 520px; height: 480px; margin-left: -260px; pointer-events: none; }
.sparks i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; opacity: 0; animation: twinkle 3.6s ease-in-out infinite; }
.sparks i:nth-child(1) { left: 49%; top: 6%; }
.sparks i:nth-child(2) { left: 52%; top: 18%; animation-delay: .5s; }
.sparks i:nth-child(3) { left: 45%; top: 30%; animation-delay: 1.1s; }
.sparks i:nth-child(4) { left: 56%; top: 38%; animation-delay: 1.6s; }
.sparks i:nth-child(5) { left: 38%; top: 54%; animation-delay: .3s; }
.sparks i:nth-child(6) { left: 62%; top: 56%; animation-delay: 2.1s; }
.sparks i:nth-child(7) { left: 30%; top: 72%; animation-delay: .8s; }
.sparks i:nth-child(8) { left: 48%; top: 68%; animation-delay: 2.6s; }
.sparks i:nth-child(9) { left: 70%; top: 76%; animation-delay: 1.4s; }
.sparks i:nth-child(10) { left: 20%; top: 88%; animation-delay: 1.9s; }
@keyframes twinkle { 40%, 60% { opacity: .9; } }

.row { position: absolute; left: 50%; width: 1320px; margin-left: -660px; height: 96px; -webkit-mask: linear-gradient(90deg, transparent 2%, #000 22%, #000 78%, transparent 98%); mask: linear-gradient(90deg, transparent 2%, #000 22%, #000 78%, transparent 98%); }
.row-1 { top: 80px; }
.row-2 { top: 216px; }
.row-3 { top: 352px; }
.ghost, .note, .tile-sm { position: absolute; top: 0; }
.ghost { background: rgba(244, 243, 241, .85); border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 6px 18px -8px rgba(40, 20, 20, .1); }
.ghost i { display: block; height: 7px; margin-bottom: 8px; border-radius: 4px; background: #e1e0dd; }
.g-a { left: 20px; width: 310px; height: 96px; padding: 26px 34px; }
.g-a i:nth-child(1) { width: 62%; }
.g-a i:nth-child(2) { width: 88%; }
.g-a i:nth-child(3) { width: 74%; }
.g-b { left: 382px; width: 310px; height: 92px; padding: 18px; display: flex; gap: 14px; align-items: center; color: var(--muted); }
.g-b b { width: 44px; height: 44px; flex: none; border-radius: 10px; background: #e6e5e2; }
.g-b div { flex: 1; }
.g-b div i:nth-child(1) { width: 60%; }
.g-b div i:nth-child(2) { width: 90%; }
.g-b div i:nth-child(3) { width: 70%; }
.g-b em, .note em { position: absolute; top: 10px; inset-inline-end: 14px; font: 500 11px var(--font); color: var(--muted); }
.note { left: 800px; width: 322px; min-height: 92px; padding: 16px 18px; display: flex; gap: 12px; align-items: center; text-align: start; background: rgba(245, 244, 242, .96); border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .85), 0 14px 26px -14px rgba(40, 20, 20, .25); transition: transform .3s ease; }
.note strong { display: block; color: var(--ink); font-size: 14px; font-weight: 700; }
.note p { font-size: 13.5px; line-height: 1.35; color: #4b4f56; }
.note-ic { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: #fff; color: var(--brand); box-shadow: 0 2px 8px rgba(40, 20, 20, .1); }
.note-ic img { width: 34px; height: 34px; object-fit: contain; }
.tile-sm { left: 1160px; top: 18px; width: 62px; height: 62px; padding: 12px; border-radius: 16px; background: #f4f3f1; opacity: .9; }
.tile-sm img { width: 100%; height: 100%; object-fit: contain; filter: saturate(.7); }
.row-1 .g-a { transform: translateY(calc(var(--drift) * -.5)) rotate(8deg); }
.row-1 .g-b { transform: translateY(calc(var(--drift) * -.3)) rotate(3deg); }
.row-1 .note { transform: translateY(calc(var(--drift) * -.3)) rotate(-5deg); }
.row-1 .tile-sm { transform: rotate(-8deg); }
.row-3 .g-a { transform: translateY(calc(var(--drift) * .5)) rotate(-8deg); }
.row-3 .g-b { transform: translateY(calc(var(--drift) * .3)) rotate(-3deg); }
.row-3 .note { transform: translateY(calc(var(--drift) * .3)) rotate(5deg); }
.row-3 .tile-sm { transform: rotate(8deg); }

/* product panel */
.panel-wrap { position: relative; margin-top: -60px; z-index: 5; scroll-margin-top: 110px; }
.tabs { position: absolute; top: -36px; left: 50%; z-index: 2; transform: translateX(-50%); display: flex; gap: 8px; padding: 6px; border-radius: 22px; background: #fff; box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, .8); }
.tab { position: relative; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 16px; color: var(--brand); background: var(--brand-soft); transition: background .2s ease, color .2s ease, transform .15s ease; }
.tab .ic { width: 26px; height: 26px; }
.tab:hover { transform: translateY(-1px); }
.tab.is-on { color: #fff; background: linear-gradient(160deg, #f4372c, var(--brand)); box-shadow: 0 8px 20px -6px var(--brand-glow), inset 0 1px 0 rgba(255, 255, 255, .3); }
.tip { position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translateX(-50%); padding: 3px 9px; border-radius: 8px; background: #fff; color: var(--ink); font-size: 12.5px; font-weight: 500; white-space: nowrap; box-shadow: 0 2px 10px rgba(40, 20, 20, .14); opacity: 0; pointer-events: none; transition: opacity .15s ease; }
.tab.is-on .tip, .tab:hover .tip { opacity: 1; }
.tab:not(.is-on):hover ~ .tab.is-on .tip { opacity: 0; }
.panel { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; padding: 88px 56px 56px; border-radius: var(--r-lg); background: radial-gradient(90% 70% at 100% 0, #ffd9d3 0, rgba(255, 217, 211, 0) 60%), var(--surface); box-shadow: var(--shadow), inset 0 0 0 1px #f1efec; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--brand-strong); font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
[lang='ar'] .eyebrow { letter-spacing: 0; }
.panel-copy h2 { margin-top: 18px; font-size: clamp(28px, 2.8vw, 36px); }
.panel-copy p { margin: 16px 0 26px; max-width: 42ch; text-wrap: pretty; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.panel-head p { font-size: 14px; color: var(--body); }
.arrows { display: flex; gap: 8px; }
.arrows button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), 0 2px 6px rgba(40, 20, 20, .06); transition: transform .15s ease; }
.arrows button:hover { transform: scale(1.05); }
.shot { margin: 0; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(40, 20, 20, .07), 0 24px 50px -22px rgba(100, 20, 20, .35); }
.shot-bar { display: flex; gap: 6px; padding: 9px 12px; background: #f6f5f3; }
.shot-bar i { width: 8px; height: 8px; border-radius: 50%; background: #dcdad6; }
.shot img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; transition: opacity .22s ease; }
.shot img.is-out { opacity: 0; }
.shot-cap { margin-top: 10px; min-height: 22px; font-size: 13.5px; color: var(--body); text-align: center; }

/* section heads */
.sec-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.sec-head p { margin-top: 12px; font-size: 17px; text-wrap: pretty; }
.sec-head.left { margin-inline: auto; max-width: min(1200px, 100% - 48px); width: 100%; text-align: start; }
.kicker { display: block; margin-bottom: 10px; color: var(--brand-strong); font-size: 13px; font-weight: 700; }

/* video */
.video-sec { margin-top: 112px; scroll-margin-top: 90px; }
.video-box { position: relative; max-width: 1000px; margin-inline: auto; overflow: hidden; border-radius: var(--r-lg); background: #120605; box-shadow: 0 40px 80px -36px rgba(120, 20, 20, .55), 0 0 0 1px rgba(40, 20, 20, .08); }
.video-box video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: #120605; }
.video-box.is-vertical { max-width: 380px; }
.video-box.is-vertical video { aspect-ratio: 9 / 16; }
.video-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px; padding-bottom: 34px; color: #fff; }
.video-play span { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 10px rgba(230, 0, 0, .22), 0 14px 34px rgba(0, 0, 0, .35); transition: transform .2s ease; }
.video-play .ic { width: 32px; height: 32px; }
.video-play:hover span { transform: scale(1.06); }
.video-play em { font-style: normal; font-size: 14.5px; font-weight: 500; }
.video-box.is-playing .video-play { display: none; }
.video-note { margin-top: 12px; text-align: center; font-size: 13.5px; color: var(--muted); }

/* bento */
.bento-sec { margin-top: 112px; }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.b-card { position: relative; overflow: hidden; padding: 32px; border-radius: var(--r-md); }
.b-card p { margin-top: 10px; font-size: 15px; text-wrap: pretty; }
.b-card small { display: block; margin-bottom: 14px; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #7c7468; }
[lang='ar'] .b-card small { letter-spacing: 0; }
.chip { display: inline-grid; place-items: center; width: 34px; height: 30px; vertical-align: -6px; border-radius: 9px; color: var(--brand); background: rgba(255, 255, 255, .85); box-shadow: 0 1px 4px rgba(40, 20, 20, .1); }
.b-wide { grid-column: span 6; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: center; padding: 44px 0 0 44px; background: linear-gradient(115deg, #fbf0ec, #fff7f4 45%, #ffdcd5); }
[dir='rtl'] .b-wide { padding: 44px 44px 0 0; background: linear-gradient(245deg, #fbf0ec, #fff7f4 45%, #ffdcd5); }
.b-wide h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.24; }
.b-copy { padding-bottom: 44px; }
.stats { padding: 20px 20px 0; border-radius: 20px 0 0 0; background: #fff; box-shadow: var(--shadow); align-self: end; }
[dir='rtl'] .stats { border-radius: 0 20px 0 0; }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stat-row > div { padding: 12px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.stat-row span, .stat-chart span { display: block; font-size: 12.5px; color: var(--body); }
.stat-row b { display: block; margin: 4px 0 2px; color: var(--ink); font-size: 18px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.stat-row em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.stat-chart { margin-top: 14px; }
.stat-chart span { color: var(--ink); font-weight: 600; }
.stat-chart svg { width: 100%; height: 110px; margin-top: 6px; }
.b-sand, .b-dark { grid-column: span 3; min-height: 450px; }
.b-sand { background: var(--sand); }
.b-sand h3, .b-dark h3 { font-size: 28px; }
.addr { position: absolute; inset-inline: 40px; bottom: -70px; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 24px 46px -18px rgba(60, 40, 20, .4); transform: rotate(-2deg); }
.addr-bar { display: flex; align-items: center; gap: 8px; margin: 10px; padding: 7px 12px; font-size: 13.5px; border-radius: 9px; background: #f4f3f1; color: var(--body); }
.addr-bar .ic { width: 14px; height: 14px; color: #1f8f50; }
.addr-bar b { color: var(--brand-strong); font-weight: 600; }
.addr img { width: 100%; height: auto; }
.b-dark { color: #d9c9c6; background: radial-gradient(90% 70% at 50% 110%, #8e0d05 0, rgba(142, 13, 5, 0) 70%), var(--night); }
.b-dark h3 { color: #fff; }
.b-dark small { color: #c4a9a5; }
.offline { position: absolute; inset-inline: 40px; bottom: 44px; display: grid; gap: 12px; }
.off-pill { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; font-size: 14px; }
.off-a { color: #f8d9a8; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.off-b { color: #fff; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.off-b i { width: 9px; height: 9px; flex: none; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, .2); }
.b-tile { grid-column: span 2; background: #f6f1ee; }
.b-tile h3 { font-size: 22px; line-height: 1.34; }

/* marquee */
.marquee-sec { margin-top: 112px; }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.mq-track { display: flex; gap: 16px; width: max-content; animation: slide 70s linear infinite; }
[dir='rtl'] .mq-track { animation-name: slide-rtl; }
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-track figure { flex: none; width: 460px; margin: 0; }
.mq-track img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; border-radius: 16px; box-shadow: 0 0 0 1px rgba(40, 20, 20, .07), 0 16px 30px -18px rgba(40, 20, 20, .3); }
.mq-track figcaption { margin-top: 10px; color: var(--ink); font-size: 14.5px; font-weight: 500; }
@keyframes slide { to { transform: translateX(calc(-50% - 8px)); } }
@keyframes slide-rtl { to { transform: translateX(calc(50% + 8px)); } }

/* band */
.band { position: relative; margin-top: 96px; padding: 110px 24px 120px; text-align: center; overflow: hidden; }
.band > *:not(.band-rays) { position: relative; }
.band-rays { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 216, 209, 0), rgba(255, 216, 209, .75) 62%, rgba(255, 216, 209, .2)); clip-path: polygon(0 100%, 34% 0, 66% 0, 100% 100%); }
.band p { max-width: 460px; margin: 14px auto 24px; font-size: 17px; }

/* who */
.who { margin-top: 96px; scroll-margin-top: 96px; }
.who-t { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-bottom: 36px; text-align: center; }
.chip-logo { width: 48px; height: 48px; padding: 4px; vertical-align: middle; border-radius: 14px; background: #fff; }
.chip-logo img { width: 100%; }
.who-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 10px; border-radius: var(--r-lg); background: #f1efec; }
.w-card { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 270px; padding: 26px; border-radius: var(--r-md); background: #fff; }
.w-card > p { color: var(--ink); font-size: 18px; line-height: 1.42; font-weight: 500; letter-spacing: -.012em; text-wrap: pretty; }
[lang='ar'] .w-card > p { letter-spacing: 0; }
.w-card footer { display: flex; align-items: center; gap: 12px; }
.w-card footer > span { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; color: var(--brand); background: var(--brand-tint); }
.w-card b { display: block; color: var(--ink); font-size: 14.5px; font-weight: 600; }
.w-card small { font-size: 13px; color: var(--body); }
.w-hi { background: repeating-linear-gradient(90deg, #ffd9d2 0 44px, #ffe6e1 44px 88px); }
.w-hi footer > span { background: #fff; }
.w-hi small { color: #5d4a48; }
.pay-t { margin-top: 56px; text-align: center; font-size: 14.5px; color: var(--ink); }
.pay-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; margin-top: 18px; }
.pay-row span { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 17px; font-weight: 600; }
.pay-row img { width: 34px; height: 34px; object-fit: contain; border-radius: 8px; }
.pay-note { max-width: 560px; margin: 16px auto 0; text-align: center; font-size: 14px; color: var(--body); }

/* pricing */
.pricing { margin-top: 112px; scroll-margin-top: 96px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.plan { position: relative; padding: 28px; border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow), inset 0 0 0 1px #f1efec; }
.plan-trial { order: -2; }
.plan:not(.plan-pop):not(.plan-trial) { order: -1; }
.plan-pop { box-shadow: inset 0 0 0 2px var(--brand), 0 26px 50px -26px var(--brand-glow); background: linear-gradient(180deg, #fff4f2, #fff 40%); }
.badge { display: inline-block; margin-bottom: 8px; padding: 3px 10px; border-radius: 999px; color: #fff; background: var(--brand-strong); font-size: 12.5px; font-weight: 600; }
.plan h3 { font-size: 22px; }
.amount { margin: 8px 0 20px; min-height: 66px; }
.amount b { display: block; color: var(--ink); font-size: 30px; font-weight: 700; letter-spacing: -.03em; }
[lang='ar'] .amount b { letter-spacing: 0; }
.amount span { font-size: 13.5px; color: var(--body); }
.plan .btn { width: 100%; }
.inc { margin-top: 22px; color: var(--ink); font-size: 14.5px; font-weight: 600; }
.plan ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 9px; }
.plan li { position: relative; padding-inline-start: 26px; font-size: 14.5px; line-height: 1.45; }
.plan li::before { content: ''; position: absolute; inset-inline-start: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-tint) no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23b80000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='m5 12.500 4.500 4.500L19 7.500'/%3E%3C/svg%3E"); }

/* faq */
.faq { margin-top: 112px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; scroll-margin-top: 96px; }
.faq-side p { margin: 12px 0 20px; }
.faq-list { display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px #efeeeb; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 20px; color: var(--ink); font-size: 16px; font-weight: 500; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--brand); transition: transform .2s ease; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { padding: 0 20px 20px; max-width: 64ch; }

/* final */
.final { margin-top: 112px; padding-inline: 24px; }
.final-in { position: relative; overflow: hidden; max-width: 1200px; margin-inline: auto; padding: 72px 24px; text-align: center; border-radius: var(--r-lg); background: radial-gradient(80% 90% at 50% 120%, #ff9c8c 0, rgba(255, 156, 140, 0) 70%), #fff4f2; box-shadow: inset 0 0 0 1px #fbe3de; }
.final-ic { width: 76px; height: 76px; margin: 0 auto 20px; padding: 6px; border-radius: 20px; background: #fff; box-shadow: 0 14px 30px -10px var(--brand-glow); }
.final p { margin-top: 10px; font-size: 17px; }

/* footer */
.foot { margin-top: 72px; padding-block: 56px 28px; background: #fff; border-top: 1px solid var(--line); }
.foot-in { display: grid; grid-template-columns: 2fr repeat(4, minmax(0, 1fr)); gap: 32px; width: min(1200px, 100% - 48px); margin-inline: auto; }
.foot-brand img { height: 30px; width: auto; }
.foot-brand p { max-width: 280px; margin-top: 14px; font-size: 14.5px; }
.foot h4 { margin: 0 0 10px; color: var(--ink); font-size: 14px; font-weight: 600; }
.foot a, .foot button { display: flex; align-items: center; min-height: 34px; font-size: 14.5px; color: var(--body); }
.foot a:hover, .foot button:hover { color: var(--brand); }
.ltr-link { direction: ltr; }
[dir='rtl'] .ltr-link { justify-content: flex-end; }
.foot-c { width: min(1200px, 100% - 48px); margin: 32px auto 0; padding-top: 20px; border-top: 1px solid #f2f1ee; font-size: 13.5px; color: var(--muted); }

.fab { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 40; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--brand-strong); box-shadow: 0 12px 26px -6px rgba(120, 0, 0, .55); transition: transform .18s ease; }
.fab:hover { transform: scale(1.06); }
.fab .ic { width: 26px; height: 26px; }

/* menu360 */
.m360 { margin-top: 96px; scroll-margin-top: 96px; }
.m360-card { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px; padding: 52px 56px 0; border-radius: var(--r-lg); background: var(--sand); overflow: hidden; }
.m360-text { padding-bottom: 52px; }
.m360-logo { width: 170px; height: auto; margin-bottom: 24px; }
.m360 h2 { color: var(--ink); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; font-weight: 600; letter-spacing: -.025em; }
[lang='ar'] .m360 h2 { letter-spacing: 0; }
.m360-s { max-width: 540px; margin-top: 14px; font-size: 17px; line-height: 1.55; }
.m360 ul { display: grid; gap: 10px; margin: 22px 0 26px; padding: 0; list-style: none; }
.m360 li { position: relative; padding-inline-start: 24px; color: var(--ink); font-size: 15px; }
.m360 li::before { content: ''; position: absolute; inset-inline-start: 2px; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.m360-note { margin-top: 16px; color: var(--body); font-size: 14px; }
.m360-phone { position: relative; min-height: 420px; }
.m360-phone img { position: absolute; top: 0; left: 50%; width: min(100%, 360px); height: auto; max-width: none; transform: translateX(-50%); }
.faq-list a { color: var(--brand-strong); text-decoration: underline; }

/* reveal on scroll */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .4s ease, transform .4s cubic-bezier(.2, .7, .2, 1); }
.js .rv.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-right { margin-inline-start: auto; }
}
@media (max-width: 1100px) {
  .row { width: 1000px; margin-left: -500px; }
  .g-a { display: none; }
  .g-b { left: 80px; width: 280px; }
  .note { left: 620px; width: 300px; }
  .tile-sm { display: none; }
}
@media (max-width: 860px) {
  .nav-in { width: calc(100% - 32px); gap: 10px; }
  .wrap { width: calc(100% - 32px); }
  .d-only { display: none; }
  .nav-logo img { height: 24px; }
  .btn-nav, .nav-login { display: none; }
  .hero { padding-top: 96px; }
  .hero-sub { font-size: 16px; }
  .stage { height: 700px; }
  .row { left: 0; right: 0; width: auto; margin: 0; height: auto; -webkit-mask: none; mask: none; }
  .row-1 { top: 72px; }
  .row-2 { top: 196px; }
  .row-3 { top: 320px; }
  .ghost { display: none; }
  .row .note { position: relative; left: auto; width: min(320px, calc(100% - 40px)); margin-inline: auto; }
  [dir='rtl'] .row .note { left: auto; }
  .core { top: 190px; display: none; }
  .beam { height: 460px; }
  .funnel { top: 420px; width: 560px; height: 300px; margin-left: -280px; }
  .sparks { top: 430px; width: 320px; height: 270px; margin-left: -160px; }
  .panel-wrap { margin-top: -30px; }
  .panel { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 72px 20px 28px; }
  .tab { width: 56px; height: 56px; }
  .video-sec, .bento-sec, .marquee-sec, .pricing, .faq, .final { margin-top: 80px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .b-wide, .b-sand, .b-dark, .b-tile { grid-column: auto; }
  .b-wide, [dir='rtl'] .b-wide { grid-template-columns: minmax(0, 1fr); padding: 28px 0 0; }
  .b-copy { padding: 0 24px; }
  .stats, [dir='rtl'] .stats { margin-inline: 16px; padding: 14px 14px 0; border-radius: 16px 16px 0 0; }
  .stat-row b { font-size: 15px; }
  .stat-row > div { padding: 10px 8px; }
  .b-card { padding: 28px 24px; }
  .b-wide { padding: 28px 0 0; }
  .b-sand, .b-dark { min-height: 440px; }
  .addr { inset-inline: 20px; bottom: -40px; }
  .offline { inset-inline: 20px; bottom: 28px; }
  .mq-track figure { width: 290px; }
  .who-grid { grid-template-columns: minmax(0, 1fr); }
  .w-card { min-height: 0; gap: 26px; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .amount { min-height: 0; }
  .faq { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .band { margin-top: 64px; padding-block: 80px; }
  .final { padding-inline: 16px; }
  .m360 { margin-top: 64px; }
  .m360-card { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 32px 22px 0; }
  .m360-text { padding-bottom: 28px; }
  .m360-phone { min-height: 300px; }
  .m360-phone img { width: min(82%, 280px); }
  .final-in { padding: 52px 18px; }
  .foot-in { grid-template-columns: repeat(2, minmax(0, 1fr)); width: calc(100% - 32px); }
  .foot-brand { grid-column: 1 / -1; }
  .foot-c { width: calc(100% - 32px); }
  .fab { width: 50px; height: 50px; inset-inline-end: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .mq-track { flex-wrap: nowrap; }
  .marquee { overflow-x: auto; }
}
