/* ==========================================================================
   PinDownloader — Theme
   ========================================================================== */

:root {
  --red: #E60023;
  --red-600: #CC001F;
  --red-700: #AD081B;
  --red-50: #FFF0F2;
  --red-100: #FFE0E5;
  --navy: #101B4B;
  --navy-2: #1B2559;
  --ink: #101B4B;
  --ink-2: #2E3657;
  --muted: #5B6280;
  --muted-2: #8B90A7;
  --line: #ECEEF5;
  --line-2: #E1E4EF;
  --bg: #FFFFFF;
  --bg-soft: #F7F8FC;
  --bg-warm: #FFF8F8;
  --violet: #6D3AE8;
  --success: #12B76A;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --shadow-sm: 0 1px 2px rgba(16,27,75,.06);
  --shadow: 0 10px 30px -12px rgba(16,27,75,.16);
  --shadow-lg: 0 24px 60px -18px rgba(16,27,75,.25);
  --shadow-red: 0 12px 26px -10px rgba(230,0,35,.6);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-head: 'Outfit', 'Inter', system-ui, sans-serif;
  --font-hand: 'Caveat', 'Segoe Script', cursive;
  --font-ar: 'IBM Plex Sans Arabic', 'Inter', system-ui, Tahoma, sans-serif;
  --container: 1240px;
  --header-h: 84px;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6;
  color: var(--ink-2); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
body.is-rtl { font-family: var(--font-ar); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); font-family: var(--font-head); }
body.is-rtl h1, body.is-rtl h2, body.is-rtl h3, body.is-rtl h4 { letter-spacing: 0; font-family: var(--font-ar); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
:focus-visible { outline: 3px solid rgba(230,0,35,.35); outline-offset: 2px; border-radius: 8px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 860px; }
.hl { color: var(--red); }
.hl-violet { color: var(--violet); }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border: 0; border-radius: 14px;
  font-weight: 700; font-size: 15px; line-height: 1; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, transform .15s, box-shadow .2s, color .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: linear-gradient(180deg, #F0123A, var(--red)); color: #fff; box-shadow: var(--shadow-red); }
.btn-primary:hover { background: var(--red-600); }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 10px 24px -12px rgba(16,27,75,.7); }
.btn-navy:hover { background: var(--navy-2); }
.btn-light { background: #fff; color: var(--red); }
.btn-light:hover { background: var(--red-50); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; box-shadow: none; border-radius: 12px; }

.pill {
  display: inline-block; padding: 5px 14px; margin-bottom: 14px;
  border-radius: 999px; background: var(--red-50); color: var(--red);
  font-size: 13px; font-weight: 700;
}

/* ── Header ────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(16,27,75,.06); }
.header-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 28px; height: var(--header-h);
  display: flex; align-items: center; gap: 28px;
}
.site-logo { display: inline-flex; align-items: center; gap: 14px; color: var(--ink); flex-shrink: 0; }
.site-logo img { max-height: 48px; width: auto; }
.logo-mark {
  width: 50px; height: 50px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; background: var(--red); color: #fff; font-size: 28px;
  box-shadow: 0 8px 18px -8px rgba(230,0,35,.7);
}
.logo-words { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text { font-family: var(--font-head); font-weight: 800; font-size: 25px; letter-spacing: -0.02em; white-space: nowrap; color: var(--navy); }
.logo-tag { font-size: 12.5px; color: var(--muted); margin-top: 3px; white-space: nowrap; }

.main-nav { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; margin-inline-end: auto; }
.main-nav a {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; font-size: 15px; font-weight: 600; color: var(--navy);
  transition: color .2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--red); }
.main-nav a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: -2px;
  height: 3px; border-radius: 3px; background: var(--red);
}
.main-nav a i { color: var(--red); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.btn-app { min-height: 50px; padding: 0 24px; border-radius: 14px; font-size: 15px; }

/* Language switcher */
.lang-switcher { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 16px;
  border: 1px solid var(--line-2); border-radius: 12px; background: #fff;
  font-weight: 700; font-size: 14px; color: var(--navy); cursor: pointer;
  transition: border-color .2s;
}
.lang-btn:hover { border-color: var(--navy); }
.lang-btn .fa-globe { color: var(--navy); font-size: 16px; }
.lang-caret { font-size: 11px; transition: transform .2s; }
.lang-switcher.open .lang-caret { transform: rotate(180deg); }
.lang-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  width: 300px; max-height: min(70vh, 460px); overflow-y: auto;
  padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 200; direction: ltr; text-align: left;
}
.is-rtl .lang-dropdown { right: auto; left: 0; }
.lang-switcher.open .lang-dropdown { opacity: 1; visibility: visible; transform: none; }
.lang-option { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: var(--radius-sm); font-size: 13.5px; color: var(--ink-2); unicode-bidi: isolate; }
.lang-option:hover { background: var(--bg-soft); }
.lang-option.active { background: var(--red-50); color: var(--red-700); font-weight: 700; }
.lang-flag-img { width: 20px; height: 14px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.08); flex-shrink: 0; }
.lang-native-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lang-code-badge { font-size: 10.5px; font-weight: 700; color: var(--muted-2); }

/* Mobile toggle */
.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line-2); border-radius: 12px; background: #fff; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── Hero ──────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; isolation: isolate; min-height: 560px; padding: 44px 0 96px; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background: #F4F2F6 url('../img/design/hero-bg.jpg') right bottom / cover no-repeat;
}
/* RTL: keep the copy on the left so the phone artwork is never covered */
.is-rtl .hero-grid { direction: ltr; }
.is-rtl .hero-copy { direction: rtl; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 700px) 1fr; gap: 40px; align-items: center; }
.hero-art { display: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px 6px 6px; margin-bottom: 22px;
  border-radius: 999px; background: rgba(255,255,255,.92);
  color: var(--navy); font-weight: 700; font-size: 14px; box-shadow: var(--shadow-sm);
}
.is-rtl .eyebrow { padding: 6px 6px 6px 16px; }
.eyebrow-ico { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font-size: 14px; }
.hero-title { font-size: clamp(38px, 5.2vw, 66px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 22px; color: var(--navy); }
.hero-sub { font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-2); max-width: 560px; margin-bottom: 32px; line-height: 1.6; }

/* Download form */
/* Flat field shape: thin 1px frame, small 6px corners, 48px height,
   no shadow, focus only changes the border colour. */
.dl-form {
  display: flex; align-items: center; gap: 10px; padding: 0;
  background: transparent; border-radius: 0; box-shadow: none;
  max-width: 610px;
}
.dl-field {
  position: relative; flex: 1; min-width: 0; height: 48px;
  display: flex; align-items: center; gap: 4px; padding-inline-start: 4px;
  background: #fff; border: 1px solid #C5CBDC; border-radius: 6px;
  transition: border-color .15s;
}
.dl-field:focus-within { border-color: var(--red); }
.dl-paste {
  width: 38px; height: 38px; border-radius: 6px; flex-shrink: 0;
  display: grid; place-items: center; border: 0; cursor: pointer;
  background: transparent; color: var(--muted-2); font-size: 15px;
  transition: color .15s;
}
.dl-paste:hover, .dl-field:focus-within .dl-paste { color: var(--red); }
.dl-field input {
  width: 100%; height: 46px; padding: 0 14px 0 0; border: 0; outline: 0; background: transparent;
  font-size: 16px; font-weight: 500; color: var(--ink); direction: ltr; text-align: left;
}
.is-rtl .dl-field input { text-align: right; padding: 0 0 0 14px; }
.dl-field input::placeholder { color: var(--muted-2); font-weight: 400; }
.dl-submit { min-height: 48px; height: 48px; padding: 0 28px; font-size: 16px; border-radius: 8px; box-shadow: none; }
.dl-submit.is-loading { pointer-events: none; opacity: .92; }
.dl-submit.is-loading i { animation: spin .8s linear infinite; }
.dl-submit.is-loading i::before { content: "\f110"; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; max-width: 700px; }
.hero-chips li {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 7px 12px 7px 8px; border-radius: 12px;
  background: rgba(255,255,255,.9); box-shadow: var(--shadow-sm);
  font-size: 13px; font-weight: 600; color: var(--navy);
}
.hero-chips i {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red-50); color: var(--red); font-size: 12px;
}

/* ── Alerts / Result ───────────────────────────────────── */
#result:empty { display: none; }
#result > * { margin-top: -60px; position: relative; z-index: 2; margin-bottom: 40px; }

.alert-card {
  display: flex; gap: 16px; align-items: flex-start;
  max-width: 820px; margin-left: auto; margin-right: auto;
  padding: 20px 22px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.alert-card--error { border-color: #ffd0d6; background: #fff7f8; }
.alert-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--red); color: #fff; flex-shrink: 0; }
.alert-card strong { display: block; margin-bottom: 2px; font-size: 16px; color: var(--navy); }
.alert-card p { color: var(--muted); font-size: 14.5px; }

.result-card {
  display: grid; grid-template-columns: 300px 1fr; gap: 0;
  max-width: 920px; margin-left: auto; margin-right: auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
  animation: rise .45s cubic-bezier(.2,.8,.2,1);
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.result-media { position: relative; background: var(--bg-soft); min-height: 300px; }
.result-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.result-media-empty, .result-media.is-empty::before { position: absolute; inset: 0; display: grid; place-items: center; color: var(--red); font-size: 48px; }
.result-media.is-empty::before { content: "\f231"; font-family: "Font Awesome 6 Brands"; }
.media-badge { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(16,27,75,.8); color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.result-body { padding: 28px 30px; }
.result-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--success); margin-bottom: 10px; }
.result-title { font-size: 22px; font-weight: 800; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.result-author { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; font-weight: 600; margin-bottom: 22px; }
.avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--red-50); color: var(--red-700); font-weight: 800; font-size: 13px; text-transform: uppercase; }
.result-subhead { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-2); margin-bottom: 12px; font-family: var(--font); }
.format-list { display: flex; flex-direction: column; gap: 10px; }
.format-row { display: flex; align-items: center; gap: 14px; padding: 12px 12px 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, background-color .2s; }
.format-row:hover { border-color: var(--line-2); background: #fcfcfe; }
.format-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; font-size: 17px; }
.format-icon--video { background: var(--red-50); color: var(--red); }
.format-icon--image { background: #EEE8FF; color: var(--violet); }
.format-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.format-info strong { font-size: 15px; color: var(--navy); }
.format-info small { color: var(--muted-2); font-size: 12.5px; font-weight: 600; }
.no-media-msg { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--bg-soft); color: var(--muted); font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.link-again { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 700; font-size: 14px; color: var(--red); }
.link-again:hover { color: var(--red-700); }

/* ── Sections ──────────────────────────────────────────── */
.section { padding: 72px 0; }
.section-head { text-align: center; max-width: 920px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 18px; }

/* Color tokens for cards/steps */
.c-rose   { --c: #F43F5E; --c-bg: #FFE4EA; }
.c-violet { --c: #7C3AED; --c-bg: #EDE5FF; }
.c-blue   { --c: #2F7BEA; --c-bg: #E0EDFF; }
.c-green  { --c: #16B364; --c-bg: #DDF7E9; }
.c-orange { --c: #F97316; --c-bg: #FFEBDC; }
.c-teal   { --c: #0EA5C6; --c-bg: #DDF5FA; }
.c-indigo { --c: #5B4BE0; --c-bg: #E7E5FF; }
.c-pink   { --c: #F0445F; --c-bg: #FFE3E8; }
.c-red    { --c: #E60023; --c-bg: #FFE0E5; }

/* Features */
.section-features { padding-top: 24px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card {
  position: relative; display: block; min-height: 220px;
  padding: 24px 22px 56px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 8px 28px -14px rgba(16,27,75,.14);
  transition: transform .25s, box-shadow .25s;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 26px;
  background: var(--c-bg); color: var(--c); font-size: 25px;
  box-shadow: inset 0 0 0 6px rgba(255,255,255,.55);
}
.feature-icon b { font-family: var(--font-head); font-size: 15px; font-weight: 800; padding: 2px 6px; border-radius: 6px; background: var(--c); color: #fff; }
.feature-thumb {
  position: absolute; top: 18px; inset-inline-end: 18px;
  width: 112px; height: 88px; object-fit: contain;
  border-radius: 10px; mix-blend-mode: multiply;
}
.feature-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 14px; line-height: 1.6; max-width: 230px; }
.feature-go {
  position: absolute; bottom: 20px; inset-inline-end: 20px;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--c); color: #fff; font-size: 12px;
  box-shadow: 0 6px 14px -6px var(--c);
}
.is-rtl .feature-go i { transform: scaleX(-1); }

/* How it works */
.section-how { padding: 24px 0 40px; }
.how-card {
  position: relative; display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: center;
  padding: 30px 40px 30px; border-radius: var(--radius-xl);
  background: linear-gradient(120deg, #FFFFFF 0%, #F7F6FD 60%, #F1F0FB 100%);
  border: 1px solid var(--line); box-shadow: 0 18px 50px -24px rgba(16,27,75,.2);
  overflow: hidden;
}
.how-title { font-size: clamp(28px, 3vw, 38px); font-weight: 800; font-style: italic; margin-bottom: 10px; }
.how-sub { color: var(--muted); font-size: 16px; margin-bottom: 30px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px; }
.step { position: relative; }
.step:not(:last-child)::after {
  content: "\f061"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; top: 18px; inset-inline-end: -30px; color: var(--muted-2); font-size: 15px;
}
.is-rtl .step:not(:last-child)::after { content: "\f060"; }
.step-badges { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.step-num {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c); color: #fff; font-weight: 700; font-size: 14px;
}
.step-icon {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c); color: #fff; font-size: 21px;
  box-shadow: 0 0 0 6px var(--c-bg);
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; font-family: var(--font); letter-spacing: -0.01em; }
.step p { color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.how-art { align-self: stretch; display: flex; align-items: center; justify-content: center; }
.how-art img { width: 100%; height: auto; mix-blend-mode: multiply; -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 62%, transparent 100%); }

/* FAQ */
.section-faq { padding: 30px 0 70px; }
.faq-wrap {
  position: relative; display: grid; grid-template-columns: 330px 1fr; gap: 44px;
  padding: 34px 34px 34px 60px; border-radius: var(--radius-xl);
  background: linear-gradient(120deg, #F6F5FD, #FBFBFE);
  border: 1px solid var(--line);
}
.is-rtl .faq-wrap { padding: 34px 60px 34px 34px; }
.faq-plant {
  position: absolute; bottom: -10px; inset-inline-start: -60px; width: 104px; height: auto;
  mix-blend-mode: multiply; pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, #000 55%, transparent 100%), linear-gradient(to left, transparent 0, #000 35%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to top, #000 55%, transparent 100%), linear-gradient(to left, transparent 0, #000 35%); mask-composite: intersect;
}
.faq-intro { padding-top: 6px; }
.faq-intro h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 800; margin-bottom: 18px; }
.faq-intro p { color: var(--muted); font-size: 15px; max-width: 260px; margin-bottom: 18px; }
.faq-help { display: flex; align-items: center; gap: 30px; }
.faq-logo {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: var(--red); color: #fff; font-size: 30px; transform: rotate(-8deg);
  box-shadow: 0 12px 24px -10px rgba(230,0,35,.8);
}
.faq-note { display: inline-flex; align-items: flex-start; gap: 10px; font-family: var(--font-hand); font-size: 24px; line-height: 1.05; color: var(--navy); transform: rotate(-4deg); }
.faq-note > i { font-size: 18px; margin-top: 4px; transform: rotate(20deg); }
.is-rtl .faq-note > i { transform: scaleX(-1) rotate(20deg); }
.faq-note .fa-heart { font-size: 16px; }

.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); transition: box-shadow .2s; }
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px;
  padding: 15px 20px; font-weight: 500; font-size: 15px; color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: #EFEDFF; color: #4C3FD1; font-size: 13px; flex-shrink: 0; }
.faq-q { flex: 1; }
.faq-plus { color: var(--muted); font-size: 13px; transition: transform .25s, color .2s; }
.faq-item[open] .faq-plus { transform: rotate(45deg); color: var(--red); }
.faq-answer { padding: 0 20px 18px 66px; color: var(--muted); font-size: 14.5px; }
.is-rtl .faq-answer { padding: 0 66px 18px 20px; }

/* Ads */
.ad-slot { margin: 24px auto; text-align: center; }
.vdp-ad-wrap { margin: 0 auto; max-width: var(--container); padding: 0 24px; }

/* ── Footer ────────────────────────────────────────────── */
.site-footer {
  background: radial-gradient(900px 300px at 85% 0%, rgba(80,70,200,.25), transparent 60%), linear-gradient(180deg, #121A45, #0B1236);
  color: rgba(255,255,255,.78);
}
.footer-inner {
  max-width: var(--container); margin: 0 auto; padding: 36px 28px 24px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center;
}
.site-logo--light .logo-text { color: #fff; }
.site-logo--light .logo-tag { color: rgba(255,255,255,.7); }
.site-logo--light .logo-mark { box-shadow: 0 0 0 4px rgba(255,255,255,.08); }
.footer-mid { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; }
.footer-nav a { padding: 0 20px; font-size: 14px; color: rgba(255,255,255,.88); border-inline-start: 1px solid rgba(255,255,255,.25); transition: color .2s; }
.footer-nav a:first-child { border-inline-start: 0; }
.footer-nav a:hover { color: #fff; }
.footer-copy { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; font-size: 13px; color: rgba(255,255,255,.7); }
.footer-copy > * { padding: 0 12px; border-inline-start: 1px solid rgba(255,255,255,.25); }
.footer-copy > *:first-child { border-inline-start: 0; }
.footer-copy a:hover { color: #fff; }
.footer-end { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.is-rtl .footer-end { align-items: flex-start; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.12); color: #fff; font-size: 15px; transition: background-color .2s;
}
.footer-social a:hover { background: var(--red); }
.footer-script { font-family: var(--font-hand); font-size: 28px; font-weight: 700; color: #fff; transform: rotate(-5deg); position: relative; }
.footer-script::after { content: ""; position: absolute; left: 6%; right: 18%; bottom: -2px; height: 2px; border-radius: 2px; background: var(--red); transform: rotate(2deg); }
.footer-script i { color: var(--red); font-size: 18px; vertical-align: 6px; }
.footer-disclaimer { max-width: var(--container); margin: 0 auto; padding: 0 28px 22px; text-align: center; font-size: 11.5px; color: rgba(255,255,255,.4); }

.back-to-top {
  position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #fff; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .2s, transform .2s, visibility .2s, background-color .2s;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--red); }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1180px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card p { max-width: none; padding-inline-end: 110px; }
  .how-card { grid-template-columns: 1fr; }
  .how-art { max-width: 460px; margin: 0 auto; }
  .btn-app span { display: none; }
  .btn-app { padding: 0 16px; }
}

@media (max-width: 1024px) {
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 16px 20px; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(16,27,75,.25);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { padding: 14px 16px; border-radius: 12px; font-size: 16px; }
  .main-nav a.active { background: var(--red-50); }
  .main-nav a.active::after { display: none; }
  .header-actions { margin-inline-start: auto; }
  .nav-toggle { display: inline-flex; }

  .hero { min-height: 0; padding: 40px 0 40px; }
  .hero-bg { background-position: left bottom; }
  .hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,.1)); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .dl-form { margin: 0 auto; }
  .hero-chips { justify-content: center; margin-left: auto; margin-right: auto; }
  .hero-art { display: block; max-width: 520px; margin: 0 auto; }
  .hero-art img { width: 100%; height: auto; border-radius: 24px; -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000 60%, transparent 100%); mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000 60%, transparent 100%); }

  .faq-wrap { grid-template-columns: 1fr; padding: 30px 28px; gap: 28px; }
  .is-rtl .faq-wrap { padding: 30px 28px; }
  .faq-plant { display: none; }
  .faq-intro p { max-width: none; }
  .result-card { grid-template-columns: 1fr; }
  .result-media { min-height: 0; aspect-ratio: 4 / 3; max-height: 380px; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-end, .is-rtl .footer-end { align-items: center; }
}

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .step:not(:last-child)::after { display: none; }
  .how-card { padding: 26px 22px; }
}

@media (max-width: 600px) {
  :root { --header-h: 68px; }
  .container, .header-inner { padding: 0 16px; }
  .header-inner { gap: 10px; }
  .logo-mark { width: 40px; height: 40px; font-size: 22px; }
  .logo-text { font-size: 20px; }
  .logo-tag { font-size: 11px; }
  .lang-btn { padding: 0 10px; height: 42px; }
  .lang-btn .lang-caret { display: none; }
  .lang-dropdown { width: min(300px, calc(100vw - 24px)); }
  .btn-app { display: none; }

  .dl-form { flex-direction: column; align-items: stretch; padding: 0; }
  .dl-submit { width: 100%; }
  .hero-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-chips li { font-size: 12px; padding: 8px 10px 8px 8px; }

  .section { padding: 52px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-thumb { width: 96px; height: 76px; }
  .feature-card p { padding-inline-end: 0; }
  .result-body { padding: 22px 18px; }
  .format-row { flex-wrap: wrap; }
  .format-row .btn { width: 100%; }
  .faq-wrap { padding: 24px 16px; }
  .faq-answer, .is-rtl .faq-answer { padding: 0 18px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
