/* ======================================================================================
 * صفحه‌ی /geolocation — تم «سایبرپانک / HUD / نئون»
 *
 * فقط همین صفحه این فایل را لود می‌کند (partials/head.ejs ← پارامتر extraCss)؛ همه‌ی کلاس‌ها
 * با پیشوند cy- هستند و زیر ‎.geo-cyber‎ محدود شده‌اند تا هیچ اثری روی بقیه‌ی سایت نگذارند.
 * هدر/فوتر مشترک سایت هم فقط وقتی صفحه ‎.geo-cyber‎ دارد (با :has) تیره‌تر/نئونی می‌شوند.
 *
 * فهرست:
 *   ۱. توکن‌ها و پس‌زمینه      ۵. داشبورد (آپلود / کره / HUD)   ۹.  تاریخچه
 *   ۲. هدر/فوتر همین صفحه      ۶. نوار ویژگی‌ها                 ۱۰. محتوای سئو + FAQ
 *   ۳. اجزای پایه (پنل، دکمه)   ۷. کارت نتیجه                    ۱۱. ریسپانسیو
 *   ۴. Hero                    ۸. پلن‌ها + گالری نمونه‌ها        ۱۲. کاهش حرکت
 * ====================================================================================== */

/* ============================== ۱. توکن‌ها و پس‌زمینه ============================== */
.geo-cyber {
  --cy-bg: #03060b;
  --cy-bg-2: #060d16;
  --cy-panel: rgba(7, 17, 27, .78);
  --cy-panel-solid: #08131e;
  --cy-cyan: #22e3f5;
  --cy-cyan-2: #0bb5d6;
  --cy-cyan-soft: rgba(34, 227, 245, .14);
  --cy-cyan-line: rgba(34, 227, 245, .32);
  --cy-magenta: #ff3bd4;
  --cy-magenta-soft: rgba(255, 59, 212, .16);
  --cy-green: #3df5a0;
  --cy-amber: #ffc24b;
  --cy-red: #ff5470;
  --cy-text: #e3f7fb;
  --cy-text-2: #b5cbd3;
  --cy-muted: #7895a1;
  --cy-radius: 16px;
  --cy-radius-sm: 10px;
  --cy-mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, 'Liberation Mono', monospace;
  --cy-glow: 0 0 0 1px var(--cy-cyan-line), 0 0 24px rgba(34, 227, 245, .12), inset 0 0 32px rgba(34, 227, 245, .04);

  position: relative;
  color: var(--cy-text);
  background: var(--cy-bg);
  overflow: hidden; /* المان‌های تزئینی پس‌زمینه بیرون نزنند */
  isolation: isolate;
}

/* شبکه‌ی خطوط + هاله‌های نور + اسکن‌لاین — کاملاً تزئینی (aria-hidden) */
.cy-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 520px at 50% 6%, rgba(34, 227, 245, .13), transparent 60%),
    radial-gradient(700px 500px at 92% 38%, rgba(255, 59, 212, .07), transparent 60%),
    radial-gradient(700px 600px at 6% 62%, rgba(11, 181, 214, .08), transparent 60%),
    linear-gradient(180deg, var(--cy-bg) 0%, var(--cy-bg-2) 45%, var(--cy-bg) 100%);
}
.cy-bg::before { /* شبکه */
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(34, 227, 245, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 227, 245, .055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .55) 40%, rgba(0, 0, 0, .25) 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .55) 40%, rgba(0, 0, 0, .25) 100%);
}
.cy-bg::after { /* اسکن‌لاین خیلی ملایم */
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 4px);
}
.cy-bg-dot {
  position: absolute; width: 5px; height: 5px; border-radius: 50%;
  background: var(--cy-magenta); box-shadow: 0 0 10px 2px rgba(255, 59, 212, .6);
  animation: cy-blink 3.4s ease-in-out infinite;
}
.cy-bg-dot.c { background: var(--cy-cyan); box-shadow: 0 0 10px 2px rgba(34, 227, 245, .6); }
@keyframes cy-blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

.cy-main { position: relative; padding-bottom: 70px; }
.cy-sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ============================== ۲. هدر/فوتر همین صفحه ============================== */
body:has(.geo-cyber) { background: #03060b; }
body:has(.geo-cyber) header.site-header {
  background: rgba(3, 7, 12, .86);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(34, 227, 245, .16);
  box-shadow: 0 1px 0 rgba(34, 227, 245, .06), 0 8px 30px rgba(0, 0, 0, .35);
}
body:has(.geo-cyber) .nav-links a:hover,
body:has(.geo-cyber) .nav-links button:hover { color: #22e3f5; }
body:has(.geo-cyber) .nav-links a[href="/geolocation"] {
  color: #22e3f5; border: 1px solid rgba(34, 227, 245, .45); border-radius: 999px; padding: 5px 12px;
  box-shadow: 0 0 14px rgba(34, 227, 245, .18);
}
body:has(.geo-cyber) .site-footer {
  background: #02050a;
  border-top: 1px solid rgba(34, 227, 245, .14);
}

/* ============================== ۳. اجزای پایه ============================== */
.cy-panel {
  position: relative;
  background: linear-gradient(180deg, rgba(10, 24, 37, .82), rgba(5, 13, 21, .86));
  border: 1px solid var(--cy-cyan-line);
  border-radius: var(--cy-radius);
  box-shadow: 0 0 24px rgba(34, 227, 245, .08), inset 0 0 40px rgba(34, 227, 245, .035);
}
/* گوشه‌های HUD روی پنل‌ها */
.cy-corners::before, .cy-corners::after {
  content: ''; position: absolute; width: 18px; height: 18px; pointer-events: none;
  border-color: var(--cy-cyan); border-style: solid; opacity: .85;
  filter: drop-shadow(0 0 4px rgba(34, 227, 245, .7));
}
.cy-corners::before { top: -1px; right: -1px; border-width: 2px 2px 0 0; border-top-right-radius: var(--cy-radius); }
.cy-corners::after { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; border-bottom-left-radius: var(--cy-radius); }

.cy-label { /* فقط برای برچسب‌های لاتین؛ letter-spacing خط فارسی را از هم می‌پاشد */
  font-family: var(--cy-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cy-cyan); opacity: .9;
}
.cy-kicker {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--cy-cyan);
  padding: 4px 12px; border-radius: 999px; border: 1px solid var(--cy-cyan-line); background: var(--cy-cyan-soft);
}

.cy-btn {
  --b: var(--cy-cyan);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: 14px; font-weight: 700; line-height: 1;
  padding: 12px 22px; border-radius: 999px; cursor: pointer; text-decoration: none;
  color: var(--b); background: rgba(34, 227, 245, .06);
  border: 1.5px solid var(--b);
  box-shadow: 0 0 14px rgba(34, 227, 245, .22), inset 0 0 12px rgba(34, 227, 245, .08);
  white-space: nowrap;
  transition: background .2s, box-shadow .2s, transform .15s, color .2s;
}
.cy-btn:hover { background: rgba(34, 227, 245, .14); box-shadow: 0 0 22px rgba(34, 227, 245, .4), inset 0 0 14px rgba(34, 227, 245, .12); }
.cy-btn:active { transform: translateY(1px); }
.cy-btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.cy-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.cy-btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.cy-btn.block { width: 100%; }
.cy-btn.sm { padding: 8px 14px; font-size: 12.5px; }
.cy-btn.primary {
  color: #03121a; border-color: transparent;
  background: linear-gradient(90deg, var(--cy-cyan), #4aa8ff 50%, var(--cy-magenta));
  box-shadow: 0 0 22px rgba(34, 227, 245, .35), 0 0 26px rgba(255, 59, 212, .25);
}
.cy-btn.primary:hover { filter: brightness(1.08); box-shadow: 0 0 30px rgba(34, 227, 245, .5), 0 0 34px rgba(255, 59, 212, .35); }
.cy-btn.solid { color: #03121a; background: var(--cy-cyan); border-color: var(--cy-cyan); }
.cy-btn.solid:hover { background: #5beefc; }
.cy-btn.ghost { --b: rgba(181, 203, 211, .55); color: var(--cy-text-2); background: transparent; box-shadow: none; }
.cy-btn.ghost:hover { color: var(--cy-text); background: rgba(255, 255, 255, .05); }

.cy-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 999px;
  border: 1px solid currentColor; background: rgba(255, 255, 255, .03); white-space: nowrap;
}
.cy-chip.ok { color: var(--cy-green); background: rgba(61, 245, 160, .08); }
.cy-chip.warn { color: var(--cy-amber); background: rgba(255, 194, 75, .08); }
.cy-chip.bad { color: var(--cy-red); background: rgba(255, 84, 112, .08); }
.cy-chip.info { color: var(--cy-cyan); background: var(--cy-cyan-soft); }
.cy-chip.pink { color: var(--cy-magenta); background: var(--cy-magenta-soft); }
.cy-chip.mute { color: var(--cy-text-2); border-color: rgba(181, 203, 211, .35); }

.cy-alert {
  border-radius: var(--cy-radius-sm); padding: 12px 16px; margin: 18px 0 0; font-size: 14px;
  border: 1px solid; backdrop-filter: blur(6px);
}
.cy-alert.success { color: var(--cy-green); border-color: rgba(61, 245, 160, .45); background: rgba(61, 245, 160, .07); }
.cy-alert.error { color: #ff8da0; border-color: rgba(255, 84, 112, .5); background: rgba(255, 84, 112, .08); }
.cy-alert.info { color: var(--cy-cyan); border-color: var(--cy-cyan-line); background: var(--cy-cyan-soft); }

.cy-spinner {
  width: 40px; height: 40px; border-radius: 50%; margin: 0 auto;
  border: 3px solid rgba(34, 227, 245, .15); border-top-color: var(--cy-cyan);
  box-shadow: 0 0 18px rgba(34, 227, 245, .3);
  animation: cy-spin .9s linear infinite;
}
@keyframes cy-spin { to { transform: rotate(360deg); } }
.cy-loading-line { text-align: center; color: var(--cy-muted); padding: 34px 10px; font-size: 14px; }
.cy-empty { text-align: center; color: var(--cy-muted); padding: 34px 10px; font-size: 14px; }

/* عنوان بخش‌ها با خطوط نئونی دو طرف */
.cy-section { margin-top: 64px; }
.cy-section-head { text-align: center; margin-bottom: 26px; }
.cy-section-title {
  display: inline-flex; align-items: center; gap: 16px;
  font-size: clamp(19px, 2.4vw, 25px); font-weight: 800; margin: 0; color: #fff;
}
.cy-section-title::before, .cy-section-title::after {
  content: ''; width: 64px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--cy-cyan));
  box-shadow: 0 0 8px rgba(34, 227, 245, .7);
}
.cy-section-title::after { background: linear-gradient(90deg, var(--cy-cyan), transparent); }
.cy-section-sub { color: var(--cy-muted); font-size: 14px; margin: 10px 0 0; }

/* ============================== ۴. Hero ============================== */
.cy-hero { text-align: center; padding: 46px 10px 30px; }
.cy-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; direction: ltr;
  font-family: var(--cy-mono); font-size: 11px; letter-spacing: .22em; color: var(--cy-cyan);
  padding: 6px 14px; border: 1px solid var(--cy-cyan-line); border-radius: 999px;
  background: rgba(34, 227, 245, .05); margin-bottom: 18px;
}
.cy-eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--cy-green); box-shadow: 0 0 8px var(--cy-green); animation: cy-blink 1.8s infinite; }
.cy-title {
  font-size: clamp(30px, 5vw, 54px); font-weight: 900; line-height: 1.35; margin: 0 0 16px;
  color: #fff; text-shadow: 0 0 26px rgba(255, 255, 255, .12);
}
.cy-grad {
  background: linear-gradient(90deg, #7ff6ff, var(--cy-cyan) 45%, #33c3ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 14px rgba(34, 227, 245, .45));
}
.cy-sub { max-width: 760px; margin: 0 auto; color: var(--cy-text-2); font-size: 15.5px; line-height: 2; }

/* ============================== ۵. داشبورد ============================== */
.cy-dashboard { position: relative; }
.cy-dash-frame {
  padding: 16px; border-radius: 22px;
  border: 1px solid rgba(34, 227, 245, .22);
  background: linear-gradient(180deg, rgba(34, 227, 245, .04), rgba(34, 227, 245, .01));
  box-shadow: 0 0 40px rgba(34, 227, 245, .08), inset 0 0 60px rgba(34, 227, 245, .03);
}
.cy-dash-grid {
  display: grid; gap: 16px;
  grid-template-columns: minmax(290px, 340px) minmax(0, 1fr) 236px;
  grid-template-areas: "upload globe hud";
  align-items: stretch;
}
.cy-upload-panel { grid-area: upload; scroll-margin-top: 90px; }
.cy-globe-panel { grid-area: globe; scroll-margin-top: 90px; }
.cy-hud-panel { grid-area: hud; }

/* ---------- ۵-الف. پنل آپلود ---------- */
.cy-upload-panel { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.cy-upload-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.cy-tab {
  font-size: 13px; font-weight: 700; color: #03121a; background: var(--cy-cyan);
  padding: 6px 14px; border-radius: 999px; box-shadow: 0 0 14px rgba(34, 227, 245, .45);
}
.cy-hint { font-size: 12px; color: var(--cy-muted); }
.cy-credit {
  display: none; align-items: center; gap: 6px; font-size: 12px; color: var(--cy-green);
  border: 1px solid rgba(61, 245, 160, .4); border-radius: 999px; padding: 4px 10px; background: rgba(61, 245, 160, .07);
}
.cy-upload-panel[data-state="ready"] .cy-credit,
.cy-upload-panel[data-state="selected"] .cy-credit { display: inline-flex; }

.cy-drop {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 10px; min-height: 236px; padding: 22px 16px; cursor: pointer;
  border-radius: 14px; border: 1.5px dashed rgba(34, 227, 245, .55);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(34, 227, 245, .09), transparent 70%),
    rgba(2, 10, 16, .55);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.cy-drop:hover, .cy-drop.drag-over {
  border-color: var(--cy-cyan);
  box-shadow: 0 0 26px rgba(34, 227, 245, .25), inset 0 0 30px rgba(34, 227, 245, .08);
}
.cy-drop input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cy-drop-icon { width: 58px; height: 58px; color: var(--cy-cyan); filter: drop-shadow(0 0 10px rgba(34, 227, 245, .65)); }
.cy-drop-title { font-size: 15.5px; font-weight: 700; color: #fff; margin: 0; }
.cy-drop-meta { font-size: 11.5px; color: var(--cy-muted); font-family: var(--cy-mono); direction: ltr; margin: 0; }
.cy-drop .cy-btn { margin-top: 6px; pointer-events: none; } /* کلیک به label می‌رسد */
.cy-drop-lock {
  display: none; font-size: 12.5px; color: var(--cy-amber); line-height: 1.8; margin: 2px 0 0;
}
.cy-upload-panel[data-state="locked"] .cy-drop-lock { display: block; }
.cy-upload-panel[data-state="locked"] .cy-drop { border-color: rgba(34, 227, 245, .3); }

/* پیش‌نمایش + اسکن */
.cy-preview {
  display: none; position: relative; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--cy-cyan-line); background: #000; aspect-ratio: 4 / 3;
}
.cy-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cy-upload-panel[data-state="selected"] .cy-preview,
.cy-upload-panel[data-state="processing"] .cy-preview { display: block; }
.cy-upload-panel[data-state="selected"] .cy-drop,
.cy-upload-panel[data-state="processing"] .cy-drop { display: none; }
.cy-preview-name {
  position: absolute; inset: auto 0 0 0; padding: 8px 12px; font-size: 11.5px; font-family: var(--cy-mono);
  direction: ltr; text-align: left; color: var(--cy-text-2); background: linear-gradient(0deg, rgba(0, 0, 0, .8), transparent);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cy-scan { display: none; position: absolute; inset: 0; pointer-events: none; }
.cy-upload-panel[data-state="processing"] .cy-scan { display: block; }
.cy-scan::before { /* خط اسکن */
  content: ''; position: absolute; left: 0; right: 0; height: 2px; top: 0;
  background: var(--cy-cyan); box-shadow: 0 0 16px 4px rgba(34, 227, 245, .7);
  animation: cy-scan 2.2s ease-in-out infinite;
}
.cy-scan::after { /* شبکه‌ی روی تصویر */
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(34, 227, 245, .16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 227, 245, .16) 1px, transparent 1px);
  background-size: 28px 28px; background-color: rgba(0, 20, 30, .25);
}
@keyframes cy-scan { 0% { top: 0; } 50% { top: calc(100% - 2px); } 100% { top: 0; } }

.cy-upload-actions { display: none; gap: 8px; }
.cy-upload-panel[data-state="selected"] .cy-upload-actions { display: flex; }
.cy-upload-actions .cy-btn.primary { flex: 1; }
.cy-processing { display: none; text-align: center; }
.cy-upload-panel[data-state="processing"] .cy-processing { display: block; }
.cy-processing p { color: var(--cy-text-2); font-size: 13px; line-height: 1.9; margin: 10px 0 0; }

/* نمونه‌های کوچک زیر آپلود */
.cy-thumbs-head { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.cy-thumbs-head b { color: #fff; font-weight: 700; }
.cy-thumbs-head a { color: var(--cy-cyan); text-decoration: none; font-size: 12px; }
.cy-thumbs-head a:hover { text-decoration: underline; }
.cy-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.cy-thumb {
  position: relative; aspect-ratio: 1 / 1; border-radius: 9px; overflow: hidden; padding: 0; cursor: pointer;
  border: 1px solid var(--cy-cyan-line); background: #000 center / cover no-repeat;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.cy-thumb:hover { transform: translateY(-2px); border-color: var(--cy-cyan); box-shadow: 0 0 16px rgba(34, 227, 245, .35); }

/* ---------- ۵-ب. پنل کره ---------- */
.cy-globe-panel { padding: 0; overflow: hidden; min-height: 520px; display: flex; }
.cy-globe-panel .geo-globe-wrap { position: relative; flex: 1; min-height: 520px; }
.cy-globe-glow { /* هاله‌ی نور پشت کره (کره خودش شفاف رندر می‌شود) */
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(closest-side at 50% 50%, rgba(34, 227, 245, .10) 0 70%, rgba(34, 227, 245, .30) 84%, rgba(34, 227, 245, .08) 90%, transparent 100%),
    radial-gradient(closest-side at 50% 50%, transparent 0 93%, rgba(34, 227, 245, .22) 93.5%, transparent 94.5%),
    linear-gradient(rgba(34, 227, 245, .045) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(34, 227, 245, .045) 1px, transparent 1px) 0 0 / 40px 40px;
}
.geo-globe-container { position: absolute; inset: 0; z-index: 1; }
.geo-globe-container .cesium-viewer,
.geo-globe-container .cesium-widget,
.geo-globe-container canvas { width: 100% !important; height: 100% !important; display: block; background: transparent !important; }
.geo-globe-container .cesium-widget-credits { display: none !important; }

.cy-globe-hud { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.cy-globe-hud .hc { position: absolute; width: 26px; height: 26px; border: 2px solid var(--cy-cyan); opacity: .8; filter: drop-shadow(0 0 4px rgba(34, 227, 245, .8)); }
.cy-globe-hud .hc.tr { top: 12px; right: 12px; border-width: 2px 2px 0 0; }
.cy-globe-hud .hc.tl { top: 12px; left: 12px; border-width: 2px 0 0 2px; }
.cy-globe-hud .hc.br { bottom: 12px; right: 12px; border-width: 0 2px 2px 0; }
.cy-globe-hud .hc.bl { bottom: 12px; left: 12px; border-width: 0 0 2px 2px; }
.cy-readout {
  position: absolute; top: 18px; right: 46px; direction: ltr; text-align: left;
  font-family: var(--cy-mono); font-size: 10.5px; line-height: 1.7; letter-spacing: .06em; color: var(--cy-cyan);
  text-shadow: 0 0 6px rgba(34, 227, 245, .6);
}
.cy-readout span { color: var(--cy-text-2); }
.cy-globe-tag {
  position: absolute; bottom: 18px; left: 46px; direction: ltr;
  font-family: var(--cy-mono); font-size: 10.5px; letter-spacing: .16em; color: var(--cy-muted);
}
.cy-globe-tag b { color: var(--cy-green); font-weight: 400; }

.geo-globe-loading, .geo-globe-fallback {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; text-align: center; padding: 20px; color: var(--cy-text-2); font-size: 13.5px;
}
.geo-globe-loading { background: rgba(3, 8, 13, .92); }
.geo-globe-loading p { font-family: var(--cy-mono); font-size: 11.5px; letter-spacing: .12em; color: var(--cy-cyan); margin: 0; direction: ltr; }
.geo-globe-fallback { background: rgba(4, 10, 16, .95); line-height: 1.9; }

.geo-globe-reset-btn {
  position: absolute; top: 14px; left: 46px; z-index: 4; pointer-events: auto;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(3, 12, 20, .72); color: var(--cy-cyan); border: 1px solid var(--cy-cyan-line);
  border-radius: 999px; padding: 6px 12px; font-family: inherit; font-size: 12px; cursor: pointer;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.geo-globe-reset-btn:hover { border-color: var(--cy-cyan); box-shadow: 0 0 14px rgba(34, 227, 245, .35); }

/* پنل اطلاعات مکان روی کره */
.geo-globe-panel {
  position: absolute; z-index: 4; left: 14px; right: 14px; bottom: 14px;
  background: rgba(4, 13, 21, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--cy-cyan-line); border-radius: 14px; padding: 14px 16px; color: var(--cy-text);
  box-shadow: 0 0 26px rgba(34, 227, 245, .18);
}
@media (min-width: 760px) { .geo-globe-panel { left: auto; right: 16px; bottom: 16px; max-width: 330px; } }
.geo-globe-panel-badge { display: inline-block; font-size: 11.5px; padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; border: 1px solid currentColor; }
.geo-globe-panel-place { margin: 0 0 4px; font-size: 16px; color: #fff; }
.geo-globe-panel-coords { margin: 0 0 8px; font-size: 12px; font-family: var(--cy-mono); color: var(--cy-cyan); direction: ltr; text-align: right; }
.geo-globe-panel-disclaimer { margin: 0 0 10px; font-size: 11px; color: var(--cy-muted); line-height: 1.8; }
.geo-globe-panel-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- ۵-ج. پنل HUD (مراحل تحلیل) ---------- */
.cy-hud-panel { padding: 16px 14px; display: flex; flex-direction: column; gap: 18px; }
.cy-hud-head { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid rgba(34, 227, 245, .18); direction: ltr; }
.cy-hud-head svg { width: 18px; height: 18px; color: var(--cy-cyan); }
.cy-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.cy-steps::before { /* خط عمودی */
  content: ''; position: absolute; top: 10px; bottom: 10px; right: 9px; width: 1px;
  background: linear-gradient(180deg, var(--cy-cyan-line), rgba(34, 227, 245, .06));
}
.cy-step { position: relative; display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 13px; color: var(--cy-muted); }
.cy-step-dot {
  position: relative; z-index: 1; flex: 0 0 auto; width: 19px; height: 19px; border-radius: 50%;
  border: 1.5px solid rgba(120, 149, 161, .6); background: var(--cy-panel-solid);
  display: grid; place-items: center; font-size: 11px; color: transparent;
}
.cy-step.is-done { color: var(--cy-text); }
.cy-step.is-done .cy-step-dot { border-color: var(--cy-green); color: var(--cy-green); box-shadow: 0 0 8px rgba(61, 245, 160, .5); }
.cy-step.is-done .cy-step-dot::after { content: '✓'; }
.cy-step.is-active { color: var(--cy-cyan); font-weight: 700; }
.cy-step.is-active .cy-step-dot { border-color: var(--cy-cyan); box-shadow: 0 0 10px rgba(34, 227, 245, .7); animation: cy-pulse 1.2s ease-in-out infinite; }
.cy-step.is-active .cy-step-dot::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--cy-cyan); }
@keyframes cy-pulse { 0%, 100% { box-shadow: 0 0 4px rgba(34, 227, 245, .5); } 50% { box-shadow: 0 0 14px rgba(34, 227, 245, .95); } }

.cy-status {
  display: flex; align-items: center; justify-content: space-between; direction: ltr;
  font-family: var(--cy-mono); font-size: 11px; letter-spacing: .1em; color: var(--cy-muted);
  padding: 8px 10px; border: 1px solid rgba(34, 227, 245, .18); border-radius: 8px; background: rgba(0, 0, 0, .25);
}
.cy-status b { font-weight: 400; color: var(--cy-green); }
.cy-status b.busy { color: var(--cy-cyan); animation: cy-blink 1s infinite; }
.cy-status b.lock { color: var(--cy-amber); }

.cy-modules { display: flex; flex-direction: column; gap: 9px; direction: ltr; }
.cy-module { display: grid; grid-template-columns: 1fr 64px; align-items: center; gap: 10px; font-family: var(--cy-mono); font-size: 9.5px; letter-spacing: .1em; color: var(--cy-muted); }
.cy-bar { height: 4px; border-radius: 4px; background: rgba(34, 227, 245, .12); overflow: hidden; }
.cy-bar i { display: block; height: 100%; width: var(--w, 30%); border-radius: 4px; background: linear-gradient(90deg, var(--cy-cyan-2), var(--cy-cyan)); box-shadow: 0 0 8px rgba(34, 227, 245, .7); transition: width .6s; }
.cy-hud-panel.is-busy .cy-bar i { animation: cy-bar 1.4s ease-in-out infinite alternate; }
.cy-hud-panel.is-busy .cy-module:nth-child(2) .cy-bar i { animation-delay: .3s; }
.cy-hud-panel.is-busy .cy-module:nth-child(3) .cy-bar i { animation-delay: .6s; }
.cy-hud-panel.is-busy .cy-module:nth-child(4) .cy-bar i { animation-delay: .9s; }
@keyframes cy-bar { from { width: 18%; } to { width: 96%; } }
.cy-target { direction: ltr; font-family: var(--cy-mono); font-size: 10.5px; color: var(--cy-muted); line-height: 1.8; }
.cy-target b { color: var(--cy-magenta); font-weight: 400; }

/* ============================== ۶. نوار ویژگی‌ها ============================== */
.cy-strip {
  margin-top: 16px; display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); align-items: center; gap: 0;
  padding: 14px 18px;
}
.cy-strip-brand { display: flex; align-items: center; gap: 12px; direction: ltr; justify-content: flex-start; }
.cy-strip-brand svg { width: 38px; height: 38px; color: var(--cy-cyan); filter: drop-shadow(0 0 8px rgba(34, 227, 245, .6)); animation: cy-spin 14s linear infinite; }
.cy-strip-brand b { display: block; font-family: var(--cy-mono); font-size: 14px; letter-spacing: .18em; color: #fff; font-weight: 600; }
.cy-strip-brand small { display: block; font-family: var(--cy-mono); font-size: 9.5px; letter-spacing: .2em; color: var(--cy-muted); }
.cy-feature { display: flex; align-items: center; gap: 12px; padding: 4px 16px; border-right: 1px solid rgba(34, 227, 245, .16); }
.cy-feature svg { width: 30px; height: 30px; flex: 0 0 auto; color: var(--cy-cyan); filter: drop-shadow(0 0 6px rgba(34, 227, 245, .6)); }
.cy-feature b { display: block; font-size: 14px; color: #fff; }
.cy-feature small { display: block; font-size: 12px; color: var(--cy-muted); }

/* ============================== ۷. کارت نتیجه ============================== */
.cy-result { margin-top: 26px; scroll-margin-top: 90px; }
.cy-result-card { padding: 22px; }
.cy-result-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.cy-result-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.cy-result-place { font-size: clamp(18px, 2.4vw, 23px); margin: 14px 0 6px; color: #fff; }
.cy-result-coords { font-family: var(--cy-mono); direction: ltr; text-align: right; color: var(--cy-cyan); font-size: 13px; margin: 0 0 10px; }
.cy-result-explain { color: var(--cy-text-2); font-size: 14px; line-height: 2; margin: 0; }
.cy-result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.cy-block { border: 1px solid rgba(34, 227, 245, .18); border-radius: 12px; padding: 14px; background: rgba(0, 0, 0, .22); }
.cy-block h4 { margin: 0 0 10px; font-size: 14px; color: var(--cy-cyan); display: flex; align-items: center; gap: 8px; }
.cy-block h4 svg { width: 18px; height: 18px; flex: 0 0 auto; }
.cy-block ul { margin: 0; padding: 0 18px 0 0; font-size: 13.5px; line-height: 1.95; color: var(--cy-text-2); }
.cy-block li { margin-bottom: 6px; }
.cy-block li strong { color: var(--cy-text); }
.cy-block .muted { color: var(--cy-muted); }
.cy-block.full { grid-column: 1 / -1; }
.cy-src { color: var(--cy-cyan); text-decoration: none; border-bottom: 1px dotted rgba(34, 227, 245, .5); }
.cy-src:hover { border-bottom-style: solid; }

/* نامزدهای جایگزین (با مختصات قابل‌کلیک) */
.cy-block ul.cy-alts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.cy-alt { margin: 0 !important; border: 1px solid rgba(34, 227, 245, .16); border-radius: 10px; padding: 11px 12px; background: rgba(0, 0, 0, .2); display: flex; flex-direction: column; }
.cy-alt-name { color: #fff; font-weight: 700; font-size: 13.5px; display: flex; align-items: center; gap: 8px; }
.cy-alt-num {
  flex: 0 0 auto; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: 12px;
  color: var(--cy-magenta); border: 1px solid rgba(255, 59, 212, .45); background: var(--cy-magenta-soft);
}
.cy-alt-note { color: var(--cy-text-2); font-size: 12.5px; line-height: 1.85; margin: 6px 0 0; }
.cy-alt-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 10px; }
.cy-alt-coords { font-family: var(--cy-mono); direction: ltr; font-size: 11.5px; color: var(--cy-cyan); }
.cy-alt-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.cy-alt .cy-btn.sm { padding: 6px 11px; font-size: 12px; }
.cy-alt-nocoord { font-size: 11.5px; color: var(--cy-muted); }

.cy-refs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.cy-ref { width: 110px; text-decoration: none; color: var(--cy-muted); font-size: 11.5px; text-align: center; }
.cy-ref img { width: 110px; height: 110px; object-fit: cover; border-radius: 10px; border: 1px solid var(--cy-cyan-line); display: block; margin-bottom: 4px; }

/* ============================== ۸. پلن‌ها + گالری نمونه‌ها ============================== */
.cy-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; align-items: stretch; }
.cy-plan {
  position: relative; display: flex; flex-direction: column; gap: 16px; padding: 22px 20px 20px;
  border-radius: 18px; border: 1px solid var(--cy-cyan-line);
  background: linear-gradient(180deg, rgba(10, 26, 40, .9), rgba(4, 11, 18, .92));
  box-shadow: 0 0 22px rgba(34, 227, 245, .1), inset 0 0 36px rgba(34, 227, 245, .04);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.cy-plan:hover { transform: translateY(-4px); border-color: rgba(34, 227, 245, .6); box-shadow: 0 0 34px rgba(34, 227, 245, .22), inset 0 0 36px rgba(34, 227, 245, .06); }
.cy-plan.is-featured {
  border-color: rgba(255, 59, 212, .65);
  background: linear-gradient(180deg, rgba(34, 12, 40, .92), rgba(8, 8, 22, .94));
  box-shadow: 0 0 36px rgba(255, 59, 212, .25), 0 0 60px rgba(34, 227, 245, .08), inset 0 0 40px rgba(255, 59, 212, .06);
}
@media (min-width: 900px) { .cy-plan.is-featured { transform: translateY(-10px); } .cy-plan.is-featured:hover { transform: translateY(-14px); } }
.cy-plan-ribbon {
  position: absolute; top: -13px; left: 18px;
  font-size: 12px; font-weight: 800; color: #fff; padding: 5px 14px; border-radius: 999px;
  background: linear-gradient(90deg, var(--cy-magenta), #a14bff);
  box-shadow: 0 0 18px rgba(255, 59, 212, .6);
}
.cy-plan-banner { margin: -8px -6px 0; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 7; position: relative; border: 1px solid rgba(34, 227, 245, .2); }
.cy-plan-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cy-plan-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3, 10, 16, .75), transparent 60%); }
.cy-plan-head { display: flex; align-items: flex-start; gap: 14px; }
.cy-plan-icon {
  flex: 0 0 auto; width: 60px; height: 60px; border-radius: 14px; display: grid; place-items: center;
  border: 1px solid var(--cy-cyan-line); background: rgba(34, 227, 245, .06); color: var(--cy-cyan);
  box-shadow: inset 0 0 18px rgba(34, 227, 245, .12);
}
.cy-plan-icon svg { width: 32px; height: 32px; filter: drop-shadow(0 0 6px rgba(34, 227, 245, .8)); }
.cy-plan.is-featured .cy-plan-icon { color: #7fd8ff; border-color: rgba(255, 59, 212, .5); }
.cy-plan:nth-child(3n) .cy-plan-icon { color: var(--cy-magenta); border-color: rgba(255, 59, 212, .45); background: var(--cy-magenta-soft); }
.cy-plan:nth-child(3n) .cy-plan-icon svg { filter: drop-shadow(0 0 6px rgba(255, 59, 212, .8)); }
.cy-plan-title { margin: 0 0 6px; font-size: 18px; font-weight: 800; color: #fff; }
.cy-plan-lead { margin: 0; color: var(--cy-text-2); font-size: 13px; line-height: 1.9; }
.cy-plan-price { display: flex; align-items: baseline; gap: 8px; }
.cy-plan-price .num { font-size: 30px; font-weight: 900; color: #fff; text-shadow: 0 0 18px rgba(34, 227, 245, .4); }
.cy-plan-price .unit { font-size: 14px; color: var(--cy-cyan); font-weight: 700; }
.cy-plan.is-featured .cy-plan-price .num { text-shadow: 0 0 18px rgba(255, 59, 212, .45); }
.cy-plan-features {
  list-style: none; margin: 0; padding: 14px;
  border: 1px solid rgba(34, 227, 245, .14); border-radius: 12px; background: rgba(0, 0, 0, .22);
}
.cy-plan-features li { position: relative; padding: 5px 26px 5px 0; font-size: 13.5px; color: var(--cy-text-2); line-height: 1.8; }
.cy-plan-features li::before {
  content: '✓'; position: absolute; right: 0; top: 5px; font-weight: 900; color: var(--cy-green);
  text-shadow: 0 0 8px rgba(61, 245, 160, .8);
}
.cy-plan .spacer { flex: 1; }
.cy-plan .buy-plan-btn { margin-top: auto; }

.cy-samples {
  display: grid; gap: 16px; justify-content: center;
  grid-template-columns: repeat(auto-fit, minmax(220px, 270px)); /* کاشی‌های بزرگ (۴ تا در هر ردیف دسکتاپ)؛ با تعداد کم، وسط‌چین */
}
.cy-sample {
  position: relative; margin: 0; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden;
  background: #000; border: 1px solid var(--cy-cyan-line);
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.cy-sample:hover { transform: translateY(-3px); border-color: var(--cy-cyan); box-shadow: 0 0 24px rgba(34, 227, 245, .32); }
.cy-sample-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.cy-sample:hover .cy-sample-img { transform: scale(1.04); }
.cy-sample::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(2, 8, 14, .88) 0%, rgba(2, 8, 14, .25) 38%, transparent 60%); pointer-events: none; }
.cy-sample-zoom {
  position: absolute; top: 10px; left: 10px; z-index: 1; pointer-events: none;
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-size: 16px;
  color: var(--cy-cyan); background: rgba(3, 12, 20, .7); border: 1px solid var(--cy-cyan-line);
  opacity: .85; transition: opacity .2s;
}
.cy-sample:hover .cy-sample-zoom { opacity: 1; }
.cy-sample-caption {
  position: relative; z-index: 1; pointer-events: none; color: #fff; font-size: 13px; line-height: 1.8;
  padding: 0 14px; margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; /* دو خط؛ متن کامل در لایت‌باکس */
}
.cy-sample .cy-btn { position: relative; z-index: 1; margin: 0 14px 14px; width: fit-content; }

/* ============================== ۹. تاریخچه ============================== */
.cy-history { padding: 18px; }
.cy-history-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.cy-history-head h2 { margin: 0; font-size: 19px; color: #fff; display: flex; align-items: center; gap: 10px; }
.cy-history-head h2 svg { width: 22px; height: 22px; color: var(--cy-cyan); filter: drop-shadow(0 0 6px rgba(34, 227, 245, .7)); }
.cy-history-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cy-search { position: relative; }
.cy-search input {
  width: 240px; max-width: 100%; font-family: inherit; font-size: 13px; color: var(--cy-text);
  background: rgba(0, 0, 0, .3); border: 1px solid var(--cy-cyan-line); border-radius: 999px; padding: 9px 36px 9px 14px;
}
.cy-search input::placeholder { color: var(--cy-muted); }
.cy-search input:focus { outline: none; border-color: var(--cy-cyan); box-shadow: 0 0 12px rgba(34, 227, 245, .3); }
.cy-search svg { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--cy-muted); }

.cy-table-wrap { border: 1px solid rgba(34, 227, 245, .16); border-radius: 12px; overflow: hidden; }
.cy-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.cy-table thead th {
  text-align: right; font-weight: 600; color: var(--cy-text-2); font-size: 12.5px;
  background: rgba(34, 227, 245, .06); padding: 12px 14px; border-bottom: 1px solid rgba(34, 227, 245, .16); white-space: nowrap;
}
.cy-table tbody td { padding: 12px 14px; border-bottom: 1px solid rgba(34, 227, 245, .08); vertical-align: middle; color: var(--cy-text); }
.cy-table tbody tr.cy-row:hover td { background: rgba(34, 227, 245, .04); }
.cy-table tbody tr.cy-row.is-open td { background: rgba(34, 227, 245, .06); }
.cy-date { font-family: var(--cy-mono); font-size: 12px; color: var(--cy-text-2); line-height: 1.7; white-space: nowrap; }
.cy-date small { display: block; color: var(--cy-muted); }
.cy-hthumb { width: 54px; height: 42px; border-radius: 7px; object-fit: cover; border: 1px solid var(--cy-cyan-line); display: block; background: #050b12; }
.cy-res-line { font-weight: 600; color: #fff; }
.cy-res-sub { display: block; font-size: 12px; color: var(--cy-muted); margin-top: 2px; }
.cy-detail-row td { padding: 0 !important; background: rgba(0, 0, 0, .2); }
.cy-detail-row .cy-result-card { border-radius: 0; border: 0; border-bottom: 1px solid rgba(34, 227, 245, .16); box-shadow: none; background: transparent; }

/* ============================== ۱۰. محتوای سئو + FAQ ============================== */
.cy-info { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 26px; padding: 26px; align-items: center; }
.cy-info-text h2 { font-size: clamp(19px, 2.4vw, 24px); color: #fff; margin: 10px 0 14px; line-height: 1.6; }
.cy-info-text p { color: var(--cy-text-2); font-size: 14.5px; line-height: 2.1; margin: 0 0 12px; }
.cy-info-text strong { color: var(--cy-cyan); font-weight: 700; }
.cy-howsteps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; counter-reset: cystep; }
.cy-howsteps li {
  counter-increment: cystep; position: relative; padding: 12px 54px 12px 14px;
  border: 1px solid rgba(34, 227, 245, .16); border-radius: 12px; background: rgba(0, 0, 0, .22);
}
.cy-howsteps li::before {
  content: counter(cystep, persian); position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; font-size: 14px;
  color: var(--cy-cyan); border: 1px solid var(--cy-cyan-line); background: var(--cy-cyan-soft);
}
.cy-howsteps h3 { margin: 0 0 2px; font-size: 14.5px; color: #fff; }
.cy-howsteps p { margin: 0; font-size: 13px; color: var(--cy-muted); line-height: 1.9; }

.cy-layers { position: relative; height: 340px; perspective: 900px; }
.cy-layer {
  position: absolute; left: 10%; right: 10%; height: 54%; border-radius: 14px;
  border: 1px solid rgba(34, 227, 245, .55); background: rgba(6, 22, 34, .55) center / cover no-repeat;
  box-shadow: 0 0 26px rgba(34, 227, 245, .25), inset 0 0 30px rgba(34, 227, 245, .1);
  transform: rotateX(58deg) rotateZ(-38deg);
}
.cy-layer::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background-image:
    linear-gradient(rgba(34, 227, 245, .25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 227, 245, .25) 1px, transparent 1px);
  background-size: 22px 22px;
}
.cy-layer.l1 { top: 4%; opacity: .55; }
.cy-layer.l2 { top: 23%; opacity: .75; }
.cy-layer.l3 { top: 42%; }
.cy-layer.l3::before {
  content: ''; position: absolute; width: 16px; height: 16px; border-radius: 50%; top: 42%; left: 48%;
  background: var(--cy-cyan); box-shadow: 0 0 0 6px rgba(34, 227, 245, .25), 0 0 22px 6px rgba(34, 227, 245, .8); z-index: 1;
}

.cy-faq { margin-top: 18px; display: grid; gap: 10px; }
.cy-faq details {
  border: 1px solid rgba(34, 227, 245, .2); border-radius: 12px; background: rgba(5, 14, 22, .7);
  transition: border-color .2s, box-shadow .2s;
}
.cy-faq details[open] { border-color: rgba(34, 227, 245, .5); box-shadow: 0 0 18px rgba(34, 227, 245, .12); }
.cy-faq summary { cursor: pointer; list-style: none; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cy-faq summary::-webkit-details-marker { display: none; }
.cy-faq summary h3 { margin: 0; font-size: 14.5px; color: #fff; font-weight: 700; }
.cy-faq summary::after { content: '+'; font-size: 20px; color: var(--cy-cyan); line-height: 1; transition: transform .2s; }
.cy-faq details[open] summary::after { transform: rotate(45deg); }
.cy-faq details p { margin: 0; padding: 0 18px 16px; color: var(--cy-text-2); font-size: 14px; line-height: 2; }

/* اعلان‌های شناور (toast) — برای پیام‌هایی که باید هر جای صفحه دیده شوند */
.cy-toasts {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 300;
  display: flex; flex-direction: column; gap: 8px; width: min(92vw, 460px); pointer-events: none;
}
.cy-toast {
  pointer-events: auto; border-radius: 12px; padding: 12px 16px; font-size: 14px; line-height: 1.8;
  background: rgba(4, 12, 20, .95); border: 1px solid var(--cy-cyan-line); color: var(--cy-text);
  box-shadow: 0 0 26px rgba(34, 227, 245, .25), 0 12px 30px rgba(0, 0, 0, .5);
  animation: cy-toast-in .25s ease-out;
}
.cy-toast.success { border-color: rgba(61, 245, 160, .6); color: var(--cy-green); }
.cy-toast.error { border-color: rgba(255, 84, 112, .65); color: #ff8da0; }
@keyframes cy-toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.cy-table tr[hidden] { display: none !important; }

/* ============================== ۱۱. ریسپانسیو ============================== */
@media (max-width: 1100px) {
  .cy-dash-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "globe globe" "upload hud";
  }
  .cy-strip { grid-template-columns: 1fr 1fr; gap: 14px; }
  .cy-strip-brand { grid-column: 1 / -1; justify-content: center; }
  .cy-feature:nth-child(2) { border-right: 0; }
}
@media (max-width: 760px) {
  .cy-hero { padding: 30px 4px 22px; }
  .cy-dash-frame { padding: 10px; border-radius: 18px; }
  .cy-dash-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "globe" "upload" "hud"; gap: 12px; }
  .cy-globe-panel, .cy-globe-panel .geo-globe-wrap { min-height: 0; }
  .cy-globe-panel .geo-globe-wrap { height: min(100vw, 430px); }
  .cy-readout { right: 40px; top: 16px; font-size: 9.5px; }
  .cy-globe-tag { display: none; }
  .geo-globe-reset-btn { left: 40px; }
  .cy-modules { display: none; }
  .cy-strip { grid-template-columns: 1fr; }
  .cy-feature { border-right: 0; border-top: 1px solid rgba(34, 227, 245, .12); padding: 12px 4px 4px; }
  .cy-section { margin-top: 48px; }
  .cy-section-title::before, .cy-section-title::after { width: 26px; }
  .cy-result-grid { grid-template-columns: 1fr; }
  .cy-samples { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cy-sample .cy-btn { margin: 0 10px 10px; padding: 7px 11px; font-size: 12px; }
  .cy-sample-caption { font-size: 12px; padding: 0 10px; }
  .cy-info { grid-template-columns: 1fr; padding: 18px; }
  .cy-layers { height: 230px; order: -1; }
  .cy-search input { width: 100%; }
  .cy-history-tools, .cy-search { width: 100%; }

  /* جدول تاریخچه ← کارت */
  .cy-table thead { display: none; }
  .cy-table, .cy-table tbody, .cy-table tr, .cy-table td { display: block; width: 100%; }
  .cy-table tr.cy-row {
    display: grid; grid-template-columns: 64px 1fr; grid-template-areas: "img res" "img date" "pkg st" "act act";
    gap: 6px 12px; padding: 12px; border-bottom: 1px solid rgba(34, 227, 245, .12);
  }
  .cy-table tbody td { padding: 0; border: 0; }
  .cy-table td.c-img { grid-area: img; }
  .cy-table td.c-res { grid-area: res; }
  .cy-table td.c-date { grid-area: date; }
  .cy-table td.c-pkg { grid-area: pkg; }
  .cy-table td.c-st { grid-area: st; text-align: left; }
  .cy-table td.c-act { grid-area: act; }
  .cy-table td.c-act .cy-btn { width: 100%; }
  .cy-hthumb { width: 64px; height: 64px; }
  .cy-date { white-space: normal; }
  .cy-date small { display: inline; margin-right: 6px; }
}

/* ============================== ۱۲. کاهش حرکت ============================== */
@media (prefers-reduced-motion: reduce) {
  .geo-cyber *, .geo-cyber *::before, .geo-cyber *::after {
    animation: none !important; transition: none !important;
  }
}

/* لایت‌باکس مشترک سایت روی همین صفحه: تیره‌تر و هماهنگ با تم نئونی */
body:has(.geo-cyber) .lightbox-overlay { background: rgba(2, 6, 11, .95); }
body:has(.geo-cyber) .lightbox-img { box-shadow: 0 0 0 1px rgba(34, 227, 245, .35), 0 0 40px rgba(34, 227, 245, .18); }
