/* DLLPro public site — dark, glowing, responsive. Colors come from Admin → Settings (--c1, --c2, --c3). */
:root {
  --bg: #060A18; --bg-2: #050816; --surface: #0C1328; --surface-2: #0E1630;
  --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.16);
  --text: #F2F6FF; --muted: #8D9AB8; --muted-2: #A7B3CF; --soft: #C9D3EA;
  --radius: 24px; --radius-sm: 14px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: Sora, Inter, system-ui, sans-serif;
  --wrap: 1240px;
}
html[dir="rtl"] { --font: Vazirmatn, Inter, system-ui, sans-serif; --display: Vazirmatn, Sora, sans-serif; }
.lang-zh { --font: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; --display: Sora, "PingFang SC", "Microsoft YaHei", sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c3); }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--c3); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; z-index: 50; padding: 10px 14px; background: #fff; color: #000; border-radius: 8px; }
.skip:focus { inset-inline-start: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; position: relative; z-index: 1; }
.narrow-wrap { max-width: 880px; }
.center { text-align: center; justify-content: center; }
.muted { color: var(--muted); }
.muted-2 { color: var(--muted-2); margin: 0; }
.small { font-size: 13px; }
.big-text { font-size: 17px; }
.dim { color: var(--soft); }
.hp { position: absolute; inset-inline-start: -5000px; width: 1px; height: 1px; overflow: hidden; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Type ---------- */
.display { font-family: var(--display); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; margin: 0; font-size: clamp(40px, 6.4vw, 72px); }
.display-xl { font-size: clamp(42px, 7vw, 80px); max-width: 980px; }
/* Persian & Arabic: Vazirmatn letters look larger than Latin at the same size, so headings are a little smaller, a little lighter and tighter */
html[dir="rtl"] .display { letter-spacing: 0; line-height: 1.32; font-weight: 700; font-size: clamp(32px, 5vw, 58px); }
html[dir="rtl"] .display-xl { font-size: clamp(34px, 5.4vw, 64px); }
html[dir="rtl"] .h2 { letter-spacing: 0; line-height: 1.45; font-weight: 700; font-size: clamp(26px, 3.2vw, 38px); }
html[dir="rtl"] .h3 { font-weight: 600; }
html[dir="rtl"] .h2-app { font-weight: 700; }
html[dir="rtl"] body { line-height: 1.85; }
html[dir="rtl"] .lead { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.95; }
html[dir="rtl"] .btn { font-weight: 600; }
.h2 { font-family: var(--display); font-weight: 800; letter-spacing: -.03em; line-height: 1.12; margin: 0; font-size: clamp(30px, 4vw, 46px); }
.h2.narrow { max-width: 760px; margin-inline: auto; }
.h3 { font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.3; margin: 0; }
.h3.big { font-size: 24px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: #B4C0DA; margin: 0; max-width: 640px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c3); }
html[dir="rtl"] .kicker { letter-spacing: 0; }
.grad-text { background: linear-gradient(90deg, var(--c3), var(--c1) 50%, var(--c2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 58px; padding: 0 28px; font-size: 17px; }
.btn-sm { min-height: 44px; padding: 0 20px; }
.btn-grad { background: linear-gradient(135deg, var(--c1), var(--c2)); color: #fff; box-shadow: 0 12px 34px color-mix(in srgb, var(--c1) 40%, transparent); }
.btn-grad:hover { color: #fff; box-shadow: 0 16px 44px color-mix(in srgb, var(--c2) 55%, transparent); }
.btn-ghost { background: rgba(255,255,255,.05); border: 1px solid var(--line-2); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-white { background: #fff; color: #0B1A44; box-shadow: 0 14px 36px rgba(0,0,0,.28); }
.btn-white:hover { color: #0B1A44; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.grow { flex: 1 1 160px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(6,10,24,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 16px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; margin-inline-end: auto; }
.brand:hover { color: #fff; }
.brand-name { font-family: Sora, var(--font); font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.brand-name .accent { color: var(--c3); }
.logo-img { border-radius: 12px; object-fit: contain; }
.nav-toggle { display: none; }
.nav-toggle > summary { list-style: none; }
.nav-toggle > summary::-webkit-details-marker { display: none; }
.nav { display: flex; gap: 30px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--soft); text-decoration: none; }
.nav a:hover { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-menu { position: relative; }
.lang-menu > summary { list-style: none; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: #E4EAF7; font-weight: 600; font-size: 14px; cursor: pointer; }
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu ul { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 190px; margin: 0; padding: 8px; list-style: none; background: #0E1630; border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.lang-menu a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--soft); text-decoration: none; }
.lang-menu a:hover, .lang-menu a[aria-current="true"] { background: rgba(255,255,255,.07); color: #fff; }

/* ---------- Glows & hero ---------- */
/* Soft colour glows. Radial gradients instead of filter: blur() — iPhone Safari draws big blurred boxes as black tiles. */
.glow { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; background: radial-gradient(closest-side, var(--g), transparent); }
.glow-1 { --g: var(--c1); width: 1000px; height: 1000px; inset-inline-start: -360px; top: -420px; opacity: .42; }
.glow-2 { --g: var(--c2); width: 900px; height: 900px; inset-inline-end: -330px; top: -70px; opacity: .38; }
.glow-center { --g: var(--c2); width: 1000px; height: 760px; left: 50%; top: -140px; transform: translateX(-50%); opacity: .2; }
.glow-band { --g: var(--c3); width: 700px; height: 700px; inset-inline-end: -210px; top: -330px; opacity: .4; }
.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 104px) 0 clamp(64px, 9vw, 110px); }
.hero-small { padding: 80px 0 40px; }
/* Fade the glows out at the bottom of the hero so there is no hard edge */
.hero::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 180px; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; z-index: 0; }
.hero > *:not(.glow) { position: relative; z-index: 1; }
.hero-split { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.center-col { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.pill { align-self: flex-start; padding: 7px 14px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--c3) 35%, transparent); background: color-mix(in srgb, var(--c3) 9%, transparent); color: #BFEBFF; font-size: 13px; font-weight: 600; }
.app-badge { display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line-2); }
html[dir="rtl"] .app-badge { padding: 8px 8px 8px 18px; }
.app-badge .app-icon { border-radius: 14px; }
.checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; font-size: 14px; color: var(--muted); }
.checks span { display: inline-flex; align-items: center; gap: 7px; }
.checks svg { width: 16px; height: 16px; fill: none; stroke: var(--c3); stroke-width: 2.4; }

.feature-card-wrap { flex: 1 1 400px; min-width: 0; padding: 1px; border-radius: 28px; background: linear-gradient(160deg, color-mix(in srgb, var(--c3) 60%, transparent), color-mix(in srgb, var(--c1) 25%, transparent) 45%, rgba(255,255,255,.05)); box-shadow: 0 40px 100px color-mix(in srgb, var(--c1) 40%, transparent); }
.feature-card { border-radius: 27px; background: #0B1226; padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 20px; }
.app-head { display: flex; align-items: center; gap: 20px; }
.h2-app { font-family: var(--display); font-size: 30px; font-weight: 800; margin: 0; letter-spacing: -.02em; }
.app-icon { border-radius: 22%; flex-shrink: 0; }
.app-icon--letter { display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--c1), var(--c2)); color: #fff; font-family: var(--display); font-weight: 800; }

.showcase { width: 100%; max-width: 1080px; margin-top: 30px; }
.shot-main { margin: 0; padding: 1px; border-radius: 22px; background: linear-gradient(160deg, color-mix(in srgb, var(--c3) 55%, transparent), color-mix(in srgb, var(--c1) 25%, transparent) 40%, rgba(255,255,255,.04)); box-shadow: 0 40px 120px color-mix(in srgb, var(--c1) 45%, transparent); }
.shot-main a { display: block; cursor: zoom-in; }
.shot-main img { border-radius: 21px; width: 100%; }
.shot-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; margin-top: 16px; }
.shot-thumb { cursor: zoom-in; }
.shot-thumb img { border-radius: 14px; border: 1px solid var(--line); aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.shot-placeholder { display: flex; align-items: center; justify-content: center; min-height: 300px; border-radius: 28px; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--c1) 30%, transparent), transparent 60%), #0B1226; border: 1px solid var(--line); }
.shot-placeholder .app-icon { box-shadow: 0 30px 80px color-mix(in srgb, var(--c2) 55%, transparent); }

/* ---------- Sections & cards ---------- */
.section { position: relative; overflow-x: clip; padding: clamp(48px, 7vw, 100px) 0; }
.section-tight { padding-top: 20px; }
.section-top { padding-top: clamp(40px, 6vw, 72px); }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 44px; }
.section-head.center { align-items: center; }
.section-head.row-between { flex-direction: row; align-items: flex-end; }
.card { position: relative; padding: clamp(22px, 2.6vw, 30px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.card-dashed { background: transparent; border-style: dashed; border-color: var(--line-2); justify-content: center; }
.plus { width: 60px; height: 60px; border-radius: 18px; background: rgba(255,255,255,.05); display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--muted); }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 20px; }
.app-card { color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; }
.app-card:hover { color: var(--text); border-color: color-mix(in srgb, var(--c3) 45%, transparent); transform: translateY(-2px); }
.link-arrow { margin-top: auto; font-weight: 700; color: var(--c3); }
html[dir="rtl"] .arrow { display: inline-block; transform: scaleX(-1); }
.tag { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px; background: rgba(255,255,255,.07); color: var(--soft); font-size: 12px; font-weight: 700; }
.tag-green { background: rgba(124,255,178,.12); color: #7CFFB2; }
.tag-cyan { background: color-mix(in srgb, var(--c3) 14%, transparent); color: var(--c3); }
.tag-yellow { background: rgba(255,209,102,.14); color: #FFD166; }
.ico { width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.ico svg { width: 24px; height: 24px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico-green { background: rgba(124,255,178,.12); } .ico-green svg { stroke: #7CFFB2; }
.ico-cyan { background: rgba(61,220,255,.12); } .ico-cyan svg { stroke: #3DDCFF; }
.ico-violet { background: rgba(139,92,246,.16); } .ico-violet svg { stroke: #B79CFF; }
.ico-yellow { background: rgba(255,209,102,.14); } .ico-yellow svg { stroke: #FFD166; }
.ico-pink { background: rgba(255,106,136,.14); } .ico-pink svg { stroke: #FF8FA6; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.chip { padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: #DCE4F5; text-decoration: none; font-weight: 600; font-size: 15px; }
.chip:hover { color: #fff; background: rgba(255,255,255,.1); }

.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bento-big { grid-column: span 2; background: linear-gradient(145deg, color-mix(in srgb, var(--c1) 22%, transparent), color-mix(in srgb, var(--c2) 14%, transparent) 60%, rgba(255,255,255,.02)); }
.bento-big .h3 { font-size: 28px; }
.bento-big .muted-2 { font-size: 17px; max-width: 520px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 22px; }
.step-n { font-family: Sora, var(--font); font-size: 56px; font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--c3), var(--c2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.two-col { display: flex; flex-wrap: wrap; gap: 24px; }
.two-col > * { flex: 1 1 400px; min-width: 0; }
.two-col.align-start { align-items: flex-start; gap: 40px; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 14px 28px; margin: 0; font-size: 15px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; }
.list { margin: 0; padding-inline-start: 20px; color: #B4C0DA; display: flex; flex-direction: column; gap: 8px; }
.history summary { cursor: pointer; font-weight: 700; color: var(--c3); }
.history h4 { margin: 18px 0 8px; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.faq-item { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 24px; font-size: 17px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--c3); font-size: 22px; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-a { padding: 0 24px 20px; color: var(--muted-2); }
.faq-a p { margin: 0 0 10px; }

/* ---------- Band ---------- */
.band { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(36px, 5vw, 64px) clamp(24px, 4vw, 48px); background: linear-gradient(135deg, var(--c1), var(--c2)); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.band > *:not(.glow) { position: relative; }
.band-text { flex: 1 1 420px; }
.band p { margin: 10px 0 0; color: #E6ECFF; font-size: 17px; }
.band-center { flex-direction: column; text-align: center; justify-content: center; }

/* ---------- Forms ---------- */
.form { gap: 16px; }
.form-row { display: flex; flex-wrap: wrap; gap: 14px; }
.form-row > .field { flex: 1 1 200px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--soft); }
input, select, textarea { font: inherit; font-size: 16px; color: #fff; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 0 14px; min-height: 48px; width: 100%; }
textarea { padding: 12px 14px; resize: vertical; line-height: 1.6; }
select { background-color: var(--surface-2); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--c3); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c3) 25%, transparent); }
.form .btn { align-self: flex-start; }
.alert { margin: 0; padding: 12px 14px; border-radius: 12px; background: rgba(229,72,77,.14); color: #FFB4B6; border: 1px solid rgba(229,72,77,.3); }
.notice { padding: 22px 24px; border-radius: 20px; background: rgba(124,255,178,.08); border: 1px solid rgba(124,255,178,.25); margin-bottom: 28px; }
.notice p { margin: 8px 0 0; color: var(--muted-2); }

/* ---------- Ticket thread ---------- */
.ticket-head { margin-bottom: 22px; }
.thread { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.msg { max-width: 86%; padding: 14px 18px; border-radius: 18px; }
.msg-you { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); }
.msg-us { align-self: flex-end; background: color-mix(in srgb, var(--c1) 18%, var(--surface)); border: 1px solid color-mix(in srgb, var(--c1) 35%, transparent); }
.msg-meta { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.msg-body p { margin: 0 0 8px; }

/* ---------- Content pages ---------- */
.prose { font-size: 17px; color: #C9D3EA; }
.prose h2 { font-family: var(--display); color: #fff; font-size: 24px; margin: 34px 0 10px; }
.prose ul { padding-inline-start: 22px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 60px 0 30px; margin-top: 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.news { flex: 1 1 320px; max-width: 460px; display: flex; flex-direction: column; gap: 12px; }
.news-title { font-family: var(--display); font-size: 20px; font-weight: 700; }
.news-row { display: flex; flex-wrap: wrap; gap: 8px; }
.news-row input { flex: 1 1 200px; border-radius: 999px; }
.news-ok { margin: 0; color: #7CFFB2; font-weight: 600; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 56px; }
.footer-cols > div { display: flex; flex-direction: column; gap: 10px; }
.footer-h { font-weight: 700; }
.footer-cols a { color: var(--muted-2); text-decoration: none; }
.footer-cols a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 22px; margin-top: 44px; border-top: 1px solid var(--line); font-size: 13px; color: #7D8AA8; }
.socials { display: flex; gap: 14px; }
.socials a { color: var(--muted-2); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(3,6,15,.97); display: flex; align-items: center; justify-content: center; padding: 56px 16px; touch-action: none; user-select: none; -webkit-user-select: none; overscroll-behavior: contain; }
.lb-stage { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; max-height: 100%; }
.lb-stage img { max-width: 100%; max-height: calc(100vh - 160px); max-height: calc(100dvh - 160px); border-radius: 12px; transform-origin: 0 0; will-change: transform; cursor: zoom-in; -webkit-user-drag: none; }
.lightbox.zoomed .lb-stage img { cursor: grab; border-radius: 0; }
.lightbox.zoomed .lb-stage figcaption, .lightbox.zoomed .lb-prev, .lightbox.zoomed .lb-next { opacity: 0; pointer-events: none; }
.lb-stage figcaption { color: var(--text-2, #c7cfe0); font-size: 14px; text-align: center; max-width: 60ch; transition: opacity .2s; }
.lb-count { position: absolute; top: 16px; inset-inline-start: 16px; color: #c7cfe0; font-size: 14px; font-variant-numeric: tabular-nums; direction: ltr; z-index: 2; }
.lb-close, .lb-prev, .lb-next { position: absolute; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); background: rgba(20,26,44,.7); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; backdrop-filter: blur(6px); transition: opacity .2s; }
.lb-close { top: 10px; inset-inline-end: 12px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(60,70,100,.8); }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; } .lb-prev { left: calc(50% - 56px); } .lb-next { right: calc(50% - 56px); } }
/* Phone turned sideways: the picture uses the whole screen, controls float on top */
@media (max-height: 520px) {
  .lightbox { padding: 0; }
  .lb-stage img { max-height: 100vh; max-height: 100dvh; border-radius: 0; }
  .lb-stage figcaption { display: none; }
  .lb-prev, .lb-next { top: 50%; bottom: auto; transform: translateY(-50%); }
  .lb-prev { left: 12px; } .lb-next { right: 12px; left: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: block; order: 3; }
  .nav-toggle > summary { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); cursor: pointer; color: #fff; }
  .nav-toggle[open] > .nav { position: absolute; inset-inline: 12px; top: 74px; flex-direction: column; gap: 4px; padding: 10px; background: #0E1630; border: 1px solid var(--line-2); border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
  .nav-toggle[open] > .nav a { padding: 12px 14px; border-radius: 10px; }
  .hide-sm { display: none; }
  .bento { grid-template-columns: 1fr; }
  .bento-big { grid-column: auto; }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 16px; }
  .brand-name { font-size: 19px; }
  .lang-menu > summary span { display: none; }
  .btn-lg { width: 100%; }
  .btn-row .btn { flex: 1 1 100%; }
  .msg { max-width: 100%; }
  .footer-cols { gap: 32px; }
  .specs { grid-template-columns: 1fr; gap: 4px; }
  .specs dd { margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Phones: screenshots become a swipeable strip instead of a long grid */
@media (max-width: 640px) {
  .shot-thumbs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin-inline: -16px; padding: 0 16px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .shot-thumbs::-webkit-scrollbar { display: none; }
  .shot-thumb { flex: 0 0 72%; scroll-snap-align: center; }
}
.lang-list { display: flex; flex-wrap: wrap; gap: 8px; }
.lang-list span { white-space: nowrap; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); font-size: 14px; }
