/* فلش‌های بالا/پایینِ نیتیوِ همهٔ فیلدهای عدد حذف شوند (با طراحیِ سایت هماهنگ) */
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

:root {
  --bg: #0b0d12;
  --bg-2: #11141c;
  --panel: #161a24;
  --line: #232838;
  --text: #f3f5f9;
  --muted: #9aa3b5;
  --accent: #5b8cff;
  --accent-2: #7b5bff;
  --radius: 16px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 12px; font-weight: 600; font-size: 15px;
  cursor: pointer; transition: transform .12s, box-shadow .2s, background .2s, border-color .2s; border: 1px solid transparent; }
.btn:active { transform: scale(.97); }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff;
  box-shadow: 0 8px 30px rgba(91,140,255,.35); }
.btn-primary:hover { box-shadow: 0 12px 40px rgba(91,140,255,.5); }
.btn-outline { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.02); }
.btn-outline:hover { border-color: var(--accent); }
.btn-ghost { background: var(--panel); border-color: var(--line); padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; text-align: center; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(11,13,18,.8);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; }
.logo-mark { width: 38px; height: 38px; border-radius: 10px; flex: none; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: 1px solid rgba(255,255,255,.16); box-shadow: 0 6px 16px rgba(91,140,255,.38); }
.logo-mark svg { width: 21px; height: 21px; }
.logo-word { font-family: 'Sora', system-ui, -apple-system, sans-serif; font-size: 22px; font-weight: 800;
  letter-spacing: -.6px; color: #eef2ff; }
.logo-word i { font-style: normal; background: linear-gradient(120deg, #6f9cff 0%, #9a63ff 52%, #ff7ad5 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.nav-links { display: flex; align-items: center; gap: 13px; flex-wrap: nowrap; }
.nav-links a:not(.btn) { color: var(--muted); font-size: 14.5px; font-weight: 500; white-space: nowrap; }
.nav-links .btn { white-space: nowrap; }
.nav-links a:not(.btn):hover { color: var(--text); }
/* Features submenu (click-toggle dropdown) */
.nav-dd { position: relative; display: inline-flex; }
.nav-dd-btn { display: inline-flex; align-items: center; gap: 5px; background: none; border: 0; cursor: pointer;
  color: var(--muted); font-family: inherit; font-size: 14.5px; font-weight: 500; padding: 0; white-space: nowrap; }
.nav-dd-btn:hover, .nav-dd.open .nav-dd-btn { color: var(--text); }
.nav-dd-caret { width: 14px; height: 14px; flex: none; transition: transform .18s; }
.nav-dd.open .nav-dd-caret { transform: rotate(180deg); }
.nav-dd-pop { position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 6px);
  min-width: 194px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 7px;
  display: flex; flex-direction: column; gap: 2px; box-shadow: 0 22px 50px rgba(0,0,0,.5);
  opacity: 0; pointer-events: none; transition: opacity .16s, transform .16s; z-index: 60; }
.nav-dd.open .nav-dd-pop { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.nav-dd-pop a { display: block; color: var(--muted); font-size: 14.5px; font-weight: 500;
  padding: 9px 12px; border-radius: 9px; white-space: nowrap; }
.nav-dd-pop a:hover { background: var(--bg-2); color: var(--text); }

/* Hero */
.hero { position: relative; padding: 84px 0 60px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-badge { display: inline-block; background: var(--panel); border: 1px solid var(--line);
  color: var(--muted); padding: 7px 16px; border-radius: 999px; font-size: 13px; margin-bottom: 24px; }
.hero h1 { font-family: 'Sora', sans-serif; font-size: clamp(38px, 5.4vw, 60px); font-weight: 800; letter-spacing: -1.5px;
  line-height: 1.04; margin-bottom: 20px;
  background: linear-gradient(180deg, #fff, #b9c2da); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: 18px; color: var(--muted); max-width: 520px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cta-note { margin-top: 12px; color: var(--muted); font-size: 13.5px; }
.hero-cta-note.hidden { display: none; }
.hero-platforms { margin-top: 26px; color: var(--muted); font-size: 13.5px; letter-spacing: .2px; }
.hero-glow { position: absolute; top: -160px; right: -120px;
  width: 620px; height: 560px; background: radial-gradient(ellipse, rgba(123,91,255,.30), transparent 62%);
  filter: blur(50px); z-index: 0; pointer-events: none; }

/* Device mockup */
.hero-art { position: relative; display: flex; justify-content: center; z-index: 2; }
.phone { position: relative; z-index: 2; width: 290px; max-width: 78vw;
  background: linear-gradient(165deg, #1b2030, #0e111a); border: 1px solid #2b3146;
  border-radius: 34px; padding: 16px 14px; box-shadow: 0 30px 80px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.05); }
.phone::before { content: ""; position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 6px; border-radius: 999px; background: #2b3146; }
.phone-screen { margin-top: 16px; background: #0a0c12; border: 1px solid #20283c; border-radius: 22px; padding: 18px 16px; }
.cap-head { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 1px;
  color: #ff6b8a; text-transform: uppercase; margin-bottom: 16px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff5277; box-shadow: 0 0 0 0 rgba(255,82,119,.6);
  animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,82,119,.55); } 70% { box-shadow: 0 0 0 9px rgba(255,82,119,0); } 100% { box-shadow: 0 0 0 0 rgba(255,82,119,0); } }
.cap { font-size: 14px; line-height: 1.5; padding: 10px 12px; border-radius: 12px; margin-bottom: 9px;
  border: 1px solid #1d2436; opacity: 0; transform: translateY(6px); animation: rise .5s forwards; }
.cap-en { background: rgba(255,255,255,.03); color: #cdd6ea; animation-delay: .1s; }
.cap-es { background: rgba(91,140,255,.12); border-color: rgba(91,140,255,.3); color: #dbe6ff; animation-delay: .5s; }
.cap-el { background: rgba(255,255,255,.03); color: #cdd6ea; animation-delay: .9s; }
.cap-ar { background: rgba(123,91,255,.12); border-color: rgba(123,91,255,.3); color: #e6dbff; animation-delay: 1.3s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
.lang-pills { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 14px; }
.lang-pills span { font-size: 11px; padding: 5px 11px; border-radius: 999px; border: 1px solid #283049; color: var(--muted); }
.lang-pills span.on { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border-color: transparent; }

/* Trust strip */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.trust-inner { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 24px; padding: 28px 24px; text-align: center; }
.trust-item b { display: block; font-family: 'Sora', sans-serif; font-size: 26px; color: var(--text); }
.trust-item span { font-size: 13px; color: var(--muted); }

/* Sections */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { font-family: 'Sora', sans-serif; font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -1px; text-align: center; }
.section-sub { text-align: center; color: var(--muted); margin-top: 12px; font-size: 17px; max-width: 640px; margin-left: auto; margin-right: auto; }
/* جملهٔ زیرِ «قیمت‌گذاری» در یک خط (روی دسکتاپ) */
#pricing .section-sub { max-width: none; }
.grid { display: grid; gap: 18px; margin-top: 48px; }

/* بخشِ «برنامهٔ امتیاز و جوایز» — یک نوارِ متمایز با ته‌رنگِ اکسنت */
.rewards-section { background:
  radial-gradient(120% 80% at 50% -10%, rgba(123,91,255,.12), transparent 60%),
  radial-gradient(100% 70% at 50% 110%, rgba(91,140,255,.08), transparent 60%),
  var(--bg-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rewards-eyebrow { display: block; text-align: center; margin-bottom: 14px; font-size: 13px;
  font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
/* 6 کارت در شبکهٔ ثابتِ ۳ ستونی → دو ردیفِ متوازن (نه چیدمانِ ناهموارِ auto-fit) */
.rewards-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .rewards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .rewards-grid { grid-template-columns: 1fr; } }

/* Features — ۸ کارت در شبکهٔ ثابتِ ۳ ستونی (۳ + ۳ + ۲) */
.features { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .15s, border-color .2s; }
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card-icon { font-size: 30px; margin-bottom: 14px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* Roles (web app section) */
.roles { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.role-card { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 32px;
  display: flex; flex-direction: column; }
.role-tag { font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  background: rgba(91,140,255,.15); color: var(--accent); padding: 4px 12px; border-radius: 999px; align-self: flex-start; }
.role-card h3 { font-size: 22px; margin: 16px 0 10px; }
.role-card p { color: var(--muted); font-size: 15px; margin-bottom: 24px; flex: 1; }
.role-link { align-self: flex-start; color: var(--accent); font-weight: 700; font-size: 14.5px;
  text-decoration: none; padding: 4px 0; transition: opacity .15s; }
.role-link:hover { opacity: .8; text-decoration: underline; }

/* Steps */
.steps { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step-n { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center;
  justify-content: center; font-weight: 700; background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; margin-bottom: 14px; }
.step p { color: var(--muted); font-size: 15px; }

/* نشانگرِ «در حالِ ترجمه…» هنگامِ سوییچِ زبانِ کش‌نشده (بارِ اول) */
#i18nLoading {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 12px);
  display: flex; align-items: center; gap: 10px; z-index: 200;
  background: var(--panel); border: 1px solid var(--line); color: var(--text);
  padding: 11px 18px; border-radius: 999px; font-size: 14px; font-weight: 600;
  box-shadow: 0 12px 40px rgba(0,0,0,.5); opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s;
}
#i18nLoading.show { opacity: 1; transform: translate(-50%, 0); }
.i18n-spin { width: 16px; height: 16px; border-radius: 50%; flex: none;
  border: 2px solid rgba(255,255,255,.25); border-top-color: var(--accent);
  animation: i18nspin .7s linear infinite; }
@keyframes i18nspin { to { transform: rotate(360deg); } }

/* Two-way audience microphone — flagship band */
.tw-section {
  background:
    radial-gradient(120% 80% at 100% -10%, rgba(255,82,119,.10), transparent 55%),
    radial-gradient(90% 70% at 0% 110%, rgba(91,140,255,.10), transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.tw-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.tw-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.tw-title { font-family: 'Sora', sans-serif; font-size: clamp(26px, 3.4vw, 36px); font-weight: 800;
  letter-spacing: -.8px; line-height: 1.14; }
.tw-sub { color: var(--muted); font-size: 17px; line-height: 1.6; margin-top: 16px; max-width: 540px; }
.tw-steps { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.tw-step { display: flex; gap: 16px; align-items: flex-start; }
.tw-n { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center;
  justify-content: center; font-weight: 700; font-size: 15px; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.tw-step-body h3 { font-size: 17px; margin-bottom: 4px; }
.tw-step-body p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.tw-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 28px; padding: 14px 16px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px; color: var(--text);
  font-size: 14.5px; line-height: 1.5; }
.tw-note svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--accent); margin-top: 1px; }

/* phone mockup — speaker's view */
.tw-art { position: relative; display: flex; justify-content: center; z-index: 2; }
.tw-live { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px;
  background: rgba(255,82,119,.12); border: 1px solid rgba(255,82,119,.35); margin: 6px 0 12px; }
.tw-mic { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; background: #ff5277; color: #fff; box-shadow: 0 0 0 0 rgba(255,82,119,.5);
  animation: twpulse 1.8s infinite; }
.tw-mic svg { width: 18px; height: 18px; }
.tw-live-txt { font-size: 13.5px; font-weight: 700; color: #ffd0da; flex: 1; }
.tw-wave { display: flex; align-items: flex-end; gap: 3px; height: 20px; }
.tw-wave i { width: 3px; height: 6px; border-radius: 2px; background: #ff5277; animation: twwave 1s infinite ease-in-out; }
.tw-wave i:nth-child(2) { animation-delay: .15s; }
.tw-wave i:nth-child(3) { animation-delay: .3s; }
.tw-wave i:nth-child(4) { animation-delay: .45s; }
.tw-wave i:nth-child(5) { animation-delay: .6s; }
.tw-reads { font-size: 11.5px; color: var(--muted); margin: 2px 2px 9px; letter-spacing: .2px; }
.tw-done { margin-top: 12px; text-align: center; font-size: 13px; font-weight: 700; color: var(--muted);
  padding: 9px; border-radius: 11px; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
@keyframes twpulse {
  0% { box-shadow: 0 0 0 0 rgba(255,82,119,.5); }
  70% { box-shadow: 0 0 0 12px rgba(255,82,119,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,82,119,0); }
}
@keyframes twwave { 0%, 100% { height: 6px; } 50% { height: 18px; } }
@media (max-width: 860px) {
  .tw-inner { grid-template-columns: 1fr; gap: 40px; }
  .tw-sub { max-width: none; }
}

/* Read-aloud / voice — flagship band (visual left, copy right; cyan accent to differ from two-way) */
.voice-section {
  background:
    radial-gradient(110% 80% at 0% -10%, rgba(56,189,248,.12), transparent 55%),
    radial-gradient(90% 70% at 100% 110%, rgba(123,91,255,.09), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.voice-inner { display: grid; grid-template-columns: .92fr 1.08fr; gap: 56px; align-items: center; }
.voice-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #38bdf8; margin-bottom: 14px; }
.voice-title { font-family: 'Sora', sans-serif; font-size: clamp(26px, 3.4vw, 36px); font-weight: 800;
  letter-spacing: -.8px; line-height: 1.14; }
.voice-sub { color: var(--muted); font-size: 17px; line-height: 1.6; margin-top: 16px; max-width: 540px; }
.voice-points { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 15px; }
.voice-points li { display: flex; gap: 13px; align-items: center; font-size: 15.5px; color: var(--text); }
.voice-points .vpi { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(56,189,248,.12); border: 1px solid rgba(56,189,248,.28); color: #38bdf8; }
.voice-points .vpi svg { width: 19px; height: 19px; }

.voice-art { display: flex; justify-content: center; }
.voice-player { width: 100%; max-width: 380px; background: linear-gradient(165deg, #12263c, #0b1420);
  border: 1px solid #244059; border-radius: 24px; padding: 22px;
  box-shadow: 0 30px 70px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.05); }
.vp-row { display: flex; align-items: center; gap: 14px; }
.vp-play { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  color: #05121f; background: linear-gradient(135deg, #38e1ff, #5b8cff);
  box-shadow: 0 8px 24px rgba(56,189,248,.45); animation: vppulse 2.4s infinite; }
.vp-play svg { width: 24px; height: 24px; margin-left: 2px; }
.vp-meta { flex: 1; min-width: 0; }
.vp-now { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: #7fd7f5; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vp-eq { display: flex; align-items: flex-end; gap: 3px; height: 26px; }
.vp-eq i { width: 3px; height: 8px; border-radius: 2px; background: linear-gradient(180deg,#38e1ff,#5b8cff);
  animation: vpeq 1.1s infinite ease-in-out; }
.vp-eq i:nth-child(2n){ animation-delay:.2s } .vp-eq i:nth-child(3n){ animation-delay:.45s }
.vp-eq i:nth-child(4n){ animation-delay:.65s } .vp-eq i:nth-child(5n){ animation-delay:.15s }
.vp-eq i:nth-child(7n){ animation-delay:.5s } .vp-eq i:nth-child(1){ animation-delay:.35s }
.vp-hp { flex: 0 0 auto; color: #7fd7f5; opacity: .8; }
.vp-hp svg { width: 22px; height: 22px; }
.vp-caption { margin: 18px 0 14px; padding: 12px 14px; border-radius: 13px; font-size: 14.5px; line-height: 1.5;
  background: rgba(56,189,248,.08); border: 1px solid rgba(56,189,248,.22); color: #cfe8f5; }
.vp-langs { display: flex; flex-wrap: wrap; gap: 7px; }
.vp-langs span { font-size: 11.5px; padding: 5px 11px; border-radius: 999px; border: 1px solid #244059; color: var(--muted); }
.vp-langs span.on { background: linear-gradient(135deg,#38e1ff,#5b8cff); color:#05121f; border-color: transparent; font-weight: 700; }
@keyframes vppulse {
  0% { box-shadow: 0 8px 24px rgba(56,189,248,.45), 0 0 0 0 rgba(56,225,255,.4); }
  70% { box-shadow: 0 8px 24px rgba(56,189,248,.45), 0 0 0 14px rgba(56,225,255,0); }
  100% { box-shadow: 0 8px 24px rgba(56,189,248,.45), 0 0 0 0 rgba(56,225,255,0); }
}
@keyframes vpeq { 0%, 100% { height: 8px; } 50% { height: 24px; } }
@media (max-width: 860px) {
  .voice-inner { grid-template-columns: 1fr; gap: 40px; }
  .voice-copy { order: 1; }
  .voice-art { order: 2; }
  .voice-sub { max-width: none; }
}

/* Pricing */
.pricing { grid-template-columns: repeat(auto-fit, minmax(240px, 300px)); justify-content: center; align-items: stretch; }
.price-card { position: relative; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--accent); box-shadow: 0 12px 50px rgba(91,140,255,.18); }
.price-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff;
  font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.price-name { font-size: 18px; font-weight: 700; }
.price-amount { font-size: 34px; font-weight: 800; margin: 14px 0 4px; font-family: 'Sora', sans-serif; }
.price-period { font-size: 15px; font-weight: 500; color: var(--muted); }
.price-feats { list-style: none; padding: 0; margin: 20px 0 26px; display: flex; flex-direction: column; gap: 11px; }
.price-feats li { color: var(--muted); font-size: 15px; padding-left: 26px; position: relative; }
.price-feats li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.price-feats li.no { color: #6b7280; }
.price-feats li.no::before { content: "✕"; color: #6b7280; }
/* نوارِ مقایسهٔ سه‌مشخصه‌ای: لیسنر · زبان · ساعت — برای مقایسهٔ سریعِ محدودیت‌های هر پکیج */
.price-stats { display: flex; gap: 8px; margin: 20px 0 18px; }
.price-stats .ps { flex: 1; text-align: center; background: rgba(255,255,255,.03);
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 4px; }
.price-stats .ps-n { display: block; font-family: 'Sora', sans-serif; font-size: 20px; font-weight: 800;
  color: var(--text); letter-spacing: -.5px; line-height: 1.1; }
.price-stats .ps-l { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; }
/* یادداشتِ مدلِ ساعت (per-language / per-session) — تفاوتِ پلن‌ها را شفاف می‌کند */
.price-meter { font-size: 12.5px; line-height: 1.5; color: var(--muted); background: var(--bg-2, rgba(255,255,255,.03));
  border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; margin: 0 0 18px; }
.price-card .btn { margin-top: auto; }
.pricing-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 24px; }

/* ---- سوییچِ خانوادهٔ پکیج (تب‌های بالای صفحهٔ قیمت‌گذاری؛ با کلیک عوض می‌شود) ---- */
.price-tabs { display: flex; width: fit-content; max-width: 100%; gap: 4px; padding: 5px; margin: 4px auto 14px;
  border-radius: 999px; background: var(--panel); border: 1px solid var(--line); flex-wrap: wrap; justify-content: center; }
.price-tabs.hidden { display: none; }
.price-tab { appearance: none; border: none; cursor: pointer; background: transparent; color: var(--muted);
  font-family: inherit; font-size: 14.5px; font-weight: 600; padding: 9px 20px; border-radius: 999px;
  white-space: nowrap; transition: color .15s, background .15s; }
.price-tab:hover { color: var(--text); }
.price-tab.active { color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 6px 18px rgba(91,140,255,.28); }
.price-tab-sub { text-align: center; color: var(--muted); font-size: 14px; margin: 0 auto 26px; max-width: 560px; min-height: 1px; line-height: 1.55; }
.price-tab-sub:empty { margin: 0; }

/* FAQ */
.faq-wrap { max-width: 760px; }
.faq { margin-top: 40px; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); font-size: 15px; padding: 0 0 18px; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; border-top: 1px solid var(--line);
  background:
    radial-gradient(120% 140% at 50% -20%, rgba(123,91,255,.22), transparent 60%),
    linear-gradient(135deg, rgba(91,140,255,.12), rgba(123,91,255,.10));
}
.cta-inner { position: relative; text-align: center; padding: 92px 24px; }
.cta-glow {
  position: absolute; left: 50%; top: 0; width: 620px; max-width: 90%; height: 320px;
  transform: translate(-50%, -45%);
  background: radial-gradient(closest-side, rgba(91,140,255,.45), transparent);
  filter: blur(40px); opacity: .5; pointer-events: none;
}
.cta-eyebrow {
  position: relative; display: inline-block; margin-bottom: 18px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #bcd0ff; padding: 7px 14px; border-radius: 999px;
  background: rgba(91,140,255,.12); border: 1px solid rgba(91,140,255,.28);
}
.cta-inner h2 {
  position: relative; font-family: 'Sora', sans-serif; font-size: clamp(28px, 4vw, 44px);
  font-weight: 800; letter-spacing: -1.2px; line-height: 1.1; max-width: 20ch; margin: 0 auto;
}
.cta-inner p { position: relative; color: var(--muted); margin: 18px auto 30px; font-size: 17.5px; max-width: 58ch; line-height: 1.65; }
.cta-actions { position: relative; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-chips {
  position: relative; list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px;
  justify-content: center; margin: 28px 0 0; padding: 0;
}
.cta-chips li {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 500; color: var(--muted);
}
.cta-chips li::before {
  content: '✓'; display: grid; place-items: center; width: 18px; height: 18px; flex: none;
  border-radius: 50%; font-size: 11px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

/* Footer */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); color: var(--muted); }
.footer-grid {
  display: grid; grid-template-columns: 1fr 1.9fr; gap: 48px;
  padding: 56px 24px 0; align-items: start;
}
.footer-brand .logo { margin-bottom: 16px; text-decoration: none; color: inherit; }
.footer-brand .logo-word { font-size: 22px; }
.footer-tagline { font-size: 14px; line-height: 1.65; color: var(--muted); max-width: 42ch; margin-bottom: 18px; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
.footer-col h4 {
  font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700;
  color: var(--text); margin-bottom: 14px; opacity: .85;
}
.footer-col a { display: block; color: var(--muted); font-size: 14px; text-decoration: none; padding: 5px 0; transition: color .15s; }
.footer-col a:hover { color: var(--accent); }
.footer-langs {
  grid-column: 1 / -1; margin-top: 36px; padding: 16px 0; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 12.5px;
}
.footer-langs-label { color: var(--muted); }
.footer-langs a { color: var(--muted); text-decoration: none; }
.footer-langs a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px;
  padding: 20px 24px 28px; border-top: 1px solid var(--line); font-size: 12.5px;
}
.footer-bottom p { margin: 0; }
.footer-fine { opacity: .65; }
.muted { color: var(--muted); }

/* Language switcher (nav + footer) — custom dropdown so the open list matches the site theme
   (a native <select> renders OS-styled options that look off-brand). */
.lang-switch-wrap { display: inline-flex; align-items: center; }
.lang-dd { position: relative; display: inline-flex; }
.lang-dd-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--panel); border: 1px solid var(--line); color: var(--text);
  font: inherit; font-size: 13.5px; font-weight: 600;
  padding: 7px 11px; border-radius: 10px; cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.lang-dd-btn:hover { border-color: var(--accent); }
.lang-dd.open .lang-dd-btn { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(91,140,255,.18); }
.lang-dd-globe { width: 15px; height: 15px; color: var(--muted); flex: none; }
.lang-dd-label { white-space: nowrap; }
.lang-dd-caret { width: 13px; height: 13px; color: var(--muted); flex: none; transition: transform .18s; }
.lang-dd.open .lang-dd-caret { transform: rotate(180deg); }
.lang-dd-pop {
  position: absolute; top: calc(100% + 8px); inset-inline-start: 0; z-index: 70;
  min-width: 210px; padding: 6px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 18px 44px rgba(0,0,0,.55);
  opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity .14s, transform .14s;
}
.lang-dd.open .lang-dd-pop { opacity: 1; transform: none; pointer-events: auto; }
/* footer instance opens upward so it never spills off the bottom of the page */
.lang-dd--up .lang-dd-pop { top: auto; bottom: calc(100% + 8px); transform: translateY(6px); }
.lang-dd--up.open .lang-dd-pop { transform: none; }
.lang-dd-search {
  width: 100%; box-sizing: border-box; background: var(--bg); border: 1px solid var(--line);
  border-radius: 8px; padding: 9px 11px; color: var(--text); font: inherit; font-size: 14px; margin-bottom: 6px;
}
.lang-dd-search::placeholder { color: #5e6679; }
.lang-dd-search:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(91,140,255,.18); }
.lang-dd-items { list-style: none; margin: 0; padding: 0; max-height: 300px; overflow-y: auto; }
.lang-dd-items li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 11px; border-radius: 8px; font-size: 14px; color: var(--text);
  cursor: pointer; transition: background .12s; white-space: nowrap;
}
.lang-dd-items li:hover { background: var(--bg-2); }
.lang-dd-items li.sel { color: #cdd9ff; }
.lang-dd-items li.sel::after { content: "✓"; color: var(--accent); font-weight: 700; font-size: 13px; }
.footer-brand .lang-dd-btn { background-color: var(--bg-2); }

@media (max-width: 860px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 40px 20px 28px; }
  .footer-cols { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { padding: 18px 20px 24px; }
  .cta-inner { padding: 68px 20px; }
}

/* Register modal */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(6,8,12,.72); backdrop-filter: blur(6px); }
.modal.hidden { display: none; }
.modal-card { position: relative; width: 100%; max-width: 530px; max-height: 92vh; overflow-y: auto;
  background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 0 30px 30px;
  box-shadow: 0 30px 90px rgba(0,0,0,.6); }
/* sticky close bar — always visible even when the form is scrolled */
.modal-topbar { position: sticky; top: 0; z-index: 6; display: flex; justify-content: flex-end;
  margin: 0 -30px 0; padding: 12px 14px 8px; background: var(--panel); border-radius: 20px 20px 0 0; }
.modal-x { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); border: 1px solid var(--line); color: var(--muted); font-size: 16px; cursor: pointer;
  transition: color .15s, border-color .15s; }
.modal-x:hover { color: var(--text); border-color: var(--accent); }
.modal-title { font-family: 'Sora', sans-serif; font-size: 24px; font-weight: 800; letter-spacing: -.5px; }
.modal-sub { color: var(--muted); font-size: 14px; margin: 8px 0 22px; }
.reg-form { display: flex; flex-direction: column; gap: 14px; }
.reg-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.reg-form input, .reg-form select { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 11px;
  padding: 12px 14px; color: var(--text); font-size: 15px; font-family: inherit; transition: border-color .2s, box-shadow .2s; }
.reg-form input::placeholder { color: #5e6679; }
.reg-form input:focus, .reg-form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(91,140,255,.18); }
/* Fully custom dropdown (native <select> can't be themed on macOS) */
.cselect { position: relative; }
.cselect-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 11px; padding: 12px 14px;
  color: var(--text); font-size: 15px; font-family: inherit; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.cselect-btn:hover { border-color: #313850; }
.cselect.open .cselect-btn { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(91,140,255,.18); }
.cselect-arrow { width: 16px; height: 16px; color: var(--muted); flex: none; transition: transform .2s; }
.cselect.open .cselect-arrow { transform: rotate(180deg); }
.cselect-list { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 20;
  list-style: none; margin: 0; padding: 6px; background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: 0 18px 44px rgba(0,0,0,.55); opacity: 0; transform: translateY(-6px);
  pointer-events: none; transition: opacity .15s, transform .15s; }
/* وقتی باز است، لیست داخلِ جریانِ فرم می‌آید (position:static) تا هیچ ظرفی (مودالِ overflow-dar یا
   بدنه) و هیچ مرورگری (بدونِ پشتیبانیِ :has) آن را نبُرد. مطمئن‌ترین راه برای دیده‌شدنِ لیستِ کشور/نوع. */
.cselect.open .cselect-list { position: static; margin-top: 6px; opacity: 1; transform: none; pointer-events: auto; }
.cselect-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 12px; border-radius: 9px; font-size: 15px; color: var(--text); cursor: pointer; transition: background .12s; }
.cselect-list li:hover { background: var(--bg-2); }
.cselect-list li.selected { color: #cdd9ff; }
.cselect-list li.selected::after { content: "✓"; color: var(--accent); font-weight: 700; }
/* country select: search + scrollable items + dial code */
.cselect-search { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
  padding: 9px 11px; color: var(--text); font-size: 14px; margin-bottom: 6px; }
.cselect-search::placeholder { color: #5e6679; }
.cselect-search:focus { outline: none; border-color: var(--accent); }
.cselect-items { list-style: none; margin: 0; padding: 0; max-height: 230px; overflow-y: auto; }
.cc-dial { color: var(--muted); font-size: 13px; flex: none; }
.cselect-placeholder { color: #6b7280; }
/* phone with fixed, non-editable country code */
.phone-group { display: flex; align-items: stretch; background: var(--bg); border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.phone-group:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(91,140,255,.18); }
.phone-code { display: flex; align-items: center; padding: 0 13px; background: rgba(255,255,255,.04);
  border-right: 1px solid var(--line); color: var(--text); font-weight: 700; font-size: 15px; white-space: nowrap; }
.phone-group input { border: none; background: transparent; box-shadow: none; border-radius: 0; flex: 1; }
.phone-group input:focus { box-shadow: none; }
.reg-error { background: rgba(255,82,119,.12); border: 1px solid rgba(255,82,119,.4); color: #ff8aa1;
  font-size: 14px; padding: 10px 14px; border-radius: 10px; }
.reg-error.hidden { display: none; }
.modal-foot { text-align: center; color: var(--muted); font-size: 14px; margin-top: 18px; }
.modal-foot a { color: var(--accent); font-weight: 600; }

/* Plan picker inside the register modal — compact selectable cards (radio on the left) */
.reg-field { display: flex; flex-direction: column; gap: 8px; }
.reg-field-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.reg-plans { display: flex; flex-direction: column; gap: 6px; font-weight: 400; }
/* هر خانوادهٔ پکیج در یک جعبهٔ مجزا با سرخطِ توضیحی → تفکیکِ واضح ولی جمع‌وجور در ثبت‌نام */
.reg-group { border: 1px solid var(--line); border-radius: 12px; padding: 11px 11px 9px; background: rgba(255,255,255,.025); }
.reg-group + .reg-group { margin-top: 10px; }
.reg-group-cards { display: flex; flex-direction: column; gap: 6px; margin-top: 9px; }
.reg-grp { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 0 2px; }
.reg-grp-t { font-weight: 700; font-size: 13.5px; color: var(--text); }
.reg-grp-d { font-size: 12px; color: var(--muted); }
/* override the generic `.reg-form label` (which forces column) so the radio sits on the LEFT */
.reg-plans .plan-card { flex-direction: row; align-items: center; gap: 10px; font-size: 14px; font-weight: 400; color: var(--text); }
.plan-card { position: relative; display: flex; align-items: center; justify-content: flex-start; gap: 10px; background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 7px 12px; cursor: pointer;
  transition: border-color .18s, background .18s, box-shadow .18s, transform .08s; }
.plan-card:hover { border-color: #38415c; }
.plan-card:active { transform: scale(.99); }
.plan-card input { position: absolute; opacity: 0; pointer-events: none; }
.plan-card-radio { order: -1; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line);
  position: relative; transition: border-color .18s; }
.plan-card:has(input:checked) { border-color: var(--accent);
  background: linear-gradient(135deg, rgba(91,140,255,.10), rgba(123,91,255,.07));
  box-shadow: 0 10px 28px rgba(91,140,255,.18); }
.plan-card:has(input:checked) .plan-card-radio { border-color: var(--accent); }
.plan-card:has(input:checked) .plan-card-radio::after { content: ""; position: absolute; inset: 3px;
  border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.plan-card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.plan-card-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.plan-card-name { font-size: 14.5px; font-weight: 700; color: var(--text); display: inline-flex; align-items: center; gap: 7px; }
.plan-card-price { font-family: 'Sora', sans-serif; font-size: 16px; font-weight: 800; color: var(--text); white-space: nowrap; }
.plan-card-price small { font-size: 11px; font-weight: 500; color: var(--muted); margin-left: 2px; }
.plan-card-feats { font-size: 11.5px; color: var(--muted); }
.plan-card-credit { font-size: 11.5px; font-weight: 600; color: #46c98c; margin-top: 3px; }
.plan-card-tax { font-size: 11px; color: var(--muted); margin-top: 2px; }
.plan-tag { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; padding: 3px 8px; border-radius: 999px; }
.plan-tag.popular { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.plan-tag.free { background: rgba(70,201,140,.16); color: #46c98c; }

/* two-column row in the register form */
.reg-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.reg-2col label { gap: 6px; }
/* plan tagline in the pricing cards */
.price-desc { color: var(--muted); font-size: 13.5px; margin-top: 6px; min-height: 38px; }

/* Back-to-top button with scroll-progress ring */
.to-top { position: fixed; right: 26px; bottom: 26px; z-index: 80; width: 54px; height: 54px;
  border: none; border-radius: 50%; padding: 3px; cursor: pointer; display: grid; place-items: center;
  background: conic-gradient(from -90deg, var(--accent) calc(var(--scroll, 0) * 1%), rgba(255,255,255,.10) 0);
  box-shadow: 0 12px 32px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(18px) scale(.7); pointer-events: none;
  transition: opacity .35s cubic-bezier(.2,.8,.2,1), transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .25s; }
.to-top.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.to-top::before { content: ""; position: absolute; inset: 3px; border-radius: 50%;
  background: linear-gradient(135deg, #1b2031, #0e111a); transition: background .25s; }
.to-top svg { position: relative; width: 21px; height: 21px; color: #cdd9ff; transition: transform .25s, color .25s; }
.to-top:hover { box-shadow: 0 16px 44px rgba(91,140,255,.55); }
.to-top:hover::before { background: linear-gradient(135deg, #222a40, #141826); }
.to-top:hover svg { transform: translateY(-3px); color: #fff; }
.to-top:active { transform: scale(.92); }
@media (max-width: 680px) { .to-top { right: 16px; bottom: 16px; width: 48px; height: 48px; } }

/* Hamburger toggle (hidden on desktop) */
.nav-toggle {
  display: none; width: 42px; height: 42px; padding: 0; border-radius: 11px; cursor: pointer;
  background: var(--panel); border: 1px solid var(--line); color: var(--text);
  place-items: center; transition: border-color .15s, background .15s;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle:hover { border-color: var(--accent); }

/* Responsive */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
}

/* نوار → منوی کرکره‌ایِ همبرگری زیرِ ۱۱۲۰px — پیش از اینکه لینک‌ها به هم بچسبند یا دوخطی شوند */
@media (max-width: 1120px) {
  .nav-toggle { display: grid; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 60;
    flex-direction: column; align-items: stretch; gap: 6px;
    padding: 14px 16px 18px; margin: 0;
    background: rgba(11,13,18,.98); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 50px rgba(0,0,0,.5);
    transform-origin: top; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) {
    font-size: 16px; padding: 11px 12px; border-radius: 10px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links a:not(.btn):hover { background: rgba(255,255,255,.04); color: var(--text); }
  .nav-links .btn { width: 100%; text-align: center; padding: 12px; }
  .nav-cta { display: inline-flex; }
  /* زیرمنوی Features در موبایل → آکاردئونِ درون‌خطیِ تمام‌عرض */
  .nav-dd { display: block; width: 100%; order: -1; }
  .nav-dd-btn { width: 100%; justify-content: space-between; padding: 11px 12px; font-size: 16px;
    border-bottom: 1px solid var(--line); }
  .nav-dd-caret { width: 18px; height: 18px; }
  .nav-dd-pop { position: static; transform: none; opacity: 1; pointer-events: auto; min-width: 0;
    box-shadow: none; border: 0; background: none; padding: 2px 0 6px 12px; margin: 0; gap: 0; display: none; }
  .nav-dd.open .nav-dd-pop { display: flex; transform: none; }
  .nav-dd-pop a { font-size: 15px; padding: 10px 12px; border-radius: 8px; }
  /* در منوی همبرگریِ موبایل، سوییچر تمام‌عرض و لیست در جریانِ منو باز شود (نه شناور) */
  .lang-switch-wrap { margin: 6px 0; display: block; }
  .nav-links .lang-dd { display: block; width: 100%; }
  .nav-links .lang-dd-btn { width: 100%; justify-content: space-between; padding: 11px 13px; font-size: 15px; }
  .nav-links .lang-dd-pop { position: static; min-width: 0; margin-top: 6px; box-shadow: none;
    opacity: 1; transform: none; pointer-events: none; }
  .nav-links .lang-dd:not(.open) .lang-dd-pop { display: none; }
  .nav-links .lang-dd.open .lang-dd-pop { pointer-events: auto; }
  .nav-links .lang-dd-items { max-height: 220px; }
  .nav { position: sticky; }
  .nav-inner { position: relative; }
}

/* رضایتِ ذخیرهٔ متن در فرمِ ثبت‌نام (opt-in، پیش‌فرض خاموش) */
/* selectorِ `.reg-form .reg-consent` عمداً اسپسیفیک‌تر از `.reg-form label` است تا `flex-direction`
   را قطعاً row کند؛ وگرنه لیبلِ کانسنت جهتِ ستونیِ لیبل‌های فرم را می‌گیرد و تیک بالای متن می‌افتد. */
.reg-form .reg-consent { display: flex; flex-direction: row; align-items: flex-start; gap: 12px;
  cursor: pointer; padding: 13px 15px; background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 12px; transition: border-color .15s ease; }
.reg-form .reg-consent:hover { border-color: #2f3550; }
/* چک‌باکسِ سفارشی — هم‌شکلِ طراحیِ پریمیومِ سایت (همان گرادیانِ شماره‌های بخشِ Terms).
   selectorِ [type=checkbox] عمداً اسپسیفیک‌تر است تا قانونِ کلیِ `.reg-form input`
   (خطِ ۴۹۳: padding/border/width) را قطعاً ببرد؛ padding:0 حیاتی است چون با box-sizing:border-box
   پدینگِ ۱۲px جعبه را باد می‌کرد و بالا می‌بردش. اندازهٔ ثابت → هرگز کِش نمی‌آید. */
.reg-consent input[type="checkbox"] { appearance: none; -webkit-appearance: none; box-sizing: border-box;
  flex: none; margin: 0; padding: 0; width: 20px; height: 20px; min-width: 20px; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: 6px; background: rgba(255,255,255,.04);
  display: grid; place-items: center; font-size: 0;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease; }
.reg-consent input[type="checkbox"]::after { content: ""; width: 6px; height: 10px; margin-top: -1px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0);
  transform-origin: center; transition: transform .15s ease; }
.reg-consent input[type="checkbox"]:hover { border-color: var(--accent); }
.reg-consent input[type="checkbox"]:checked { background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-color: transparent; }
.reg-consent input[type="checkbox"]:checked::after { transform: rotate(45deg) scale(1); }
.reg-consent input[type="checkbox"]:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(91,140,255,.35); }
.reg-consent-text { display: flex; flex-direction: column; gap: 3px; }
.reg-consent-text b { font-size: 14px; font-weight: 600; color: var(--text); }
.reg-consent-hint { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* ===== Terms & Conditions ===== */
.terms-section { padding: 72px 0; border-top: 1px solid var(--line); background: var(--bg-2); }
.terms-inner { max-width: 860px; }
.terms-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.terms-section h2 { font-size: 30px; font-weight: 800; letter-spacing: -.5px; margin: 0 0 12px; }
.terms-intro { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 0 0 26px; max-width: 680px; }
.terms-list { list-style: none; counter-reset: terms; margin: 0; padding: 0; display: grid; gap: 16px; }
.terms-list li { position: relative; padding: 20px 22px 20px 60px;
  background: rgba(255,255,255,.02); border: 1px solid var(--line); border-radius: 16px; counter-increment: terms; }
.terms-list li::before { content: counter(terms); position: absolute; left: 18px; top: 20px;
  width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-weight: 800; font-size: 14px; }
.terms-list h3 { font-size: 16px; font-weight: 700; margin: 0 0 6px; }
.terms-list p { color: var(--muted); font-size: 14.5px; line-height: 1.7; margin: 0; }
.reg-consent-terms a { color: var(--accent); text-decoration: underline; }

/* Contact section */
.contact-section { padding: 72px 0; border-top: 1px solid var(--line); }
.contact-inner { max-width: 1000px; }
.contact-section h2 { font-size: 30px; font-weight: 800; letter-spacing: -.5px; margin: 0 0 12px; }
.contact-intro { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 0 0 26px; max-width: 640px; }
.contact-grid { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.contact-aside { display: grid; gap: 12px; align-content: start; }
.ci-card { display: flex; align-items: center; gap: 13px; padding: 14px 16px; text-decoration: none; color: var(--text);
  background: rgba(255,255,255,.02); border: 1px solid var(--line); border-radius: 14px; transition: transform .16s, border-color .16s, background .16s; }
.ci-card:not(.ci-static):hover { border-color: var(--accent); background: rgba(91,140,255,.06); transform: translateY(-2px); }
.ci-card.ci-static { cursor: default; }
.ci-ic { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.ci-ic svg { width: 21px; height: 21px; }
.ci-tx { display: flex; flex-direction: column; min-width: 0; line-height: 1.32; }
.ci-tx b { font-size: 15px; font-weight: 700; }
.ci-tx i { font-style: normal; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input, .contact-form textarea {
  width: 100%; box-sizing: border-box; background: var(--bg); border: 1px solid var(--line); border-radius: 11px;
  padding: 13px 15px; color: var(--text); font: inherit; font-size: 15px; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #5e6679; }
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(91,140,255,.18); }
.contact-form .btn { align-self: flex-start; }
.contact-msg { font-size: 14.5px; padding: 11px 14px; border-radius: 11px; margin: 0; }
.contact-msg.hidden { display: none; }
.contact-msg.ok { background: rgba(70,201,140,.12); border: 1px solid rgba(70,201,140,.4); color: #5fe0a6; }
.contact-msg.err { background: rgba(255,82,119,.12); border: 1px solid rgba(255,82,119,.4); color: #ff8aa1; }
@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .contact-section { padding: 52px 0; }
  .contact-section h2 { font-size: 25px; }
  .contact-row { grid-template-columns: 1fr; }
  .contact-form .btn { align-self: stretch; }
}
@media (max-width: 640px) {
  .terms-section { padding: 52px 0; }
  .terms-section h2 { font-size: 25px; }
  .terms-list li { padding: 18px 16px 18px 16px; }
  .terms-list li::before { position: static; display: inline-grid; margin-bottom: 8px; }
}

/* جعبهٔ ویجتِ کپچا (Turnstile) — فقط وقتی فعال باشد نمایش داده می‌شود */
.cf-box { margin: 4px 0 2px; min-height: 0; }
.cf-box:empty { display: none; }
