/* ==========================================================================
   تم روشن، مدرن و گرافیکی برای دوره رایگان آموزش ساخت VPN شخصی
   ========================================================================== */

:root {
  --bg-base: #f6faff;
  --bg-surface: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.82);
  --bg-soft: #eef5ff;

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;

  --sky-50: #f0f9ff;
  --sky-100: #e0f2fe;
  --sky-500: #0ea5e9;
  --sky-600: #0284c7;

  --indigo-50: #eef2ff;
  --indigo-500: #6366f1;
  --indigo-600: #4f46e5;

  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-500: #10b981;
  --emerald-600: #059669;

  --amber-50: #fffbeb;
  --amber-500: #f59e0b;

  --rose-50: #fff1f2;
  --rose-500: #f43f5e;

  --border-subtle: rgba(148, 163, 184, 0.24);
  --border-strong: rgba(99, 102, 241, 0.26);

  --shadow-xs: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 18px 42px rgba(37, 99, 235, 0.09);
  --shadow-lg: 0 28px 64px rgba(15, 23, 42, 0.11);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 32px;

  --transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Vazirmatn", -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   پس‌زمینه روشن با گرادیان‌های شناور و شبکه تعاملی
   ========================================================================== */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 85% 10%, rgba(14, 165, 233, 0.14), transparent 42%),
    radial-gradient(circle at 12% 18%, rgba(99, 102, 241, 0.13), transparent 40%),
    radial-gradient(circle at 50% 85%, rgba(16, 185, 129, 0.11), transparent 45%),
    linear-gradient(180deg, #f9fcff 0%, #f2f7ff 52%, #f8fbff 100%);
}

.aurora-blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(72px);
  opacity: 0.6;
  animation: blobFloat 18s ease-in-out infinite alternate;
}

.blob-1 {
  width: 460px;
  height: 460px;
  top: -120px;
  right: -90px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.38), rgba(14, 165, 233, 0.05));
}

.blob-2 {
  width: 420px;
  height: 420px;
  top: 24%;
  left: -130px;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.3), rgba(79, 70, 229, 0.04));
  animation-delay: -6s;
}

.blob-3 {
  width: 500px;
  height: 500px;
  bottom: -160px;
  right: 22%;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.25), rgba(16, 185, 129, 0.03));
  animation-delay: -11s;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(99, 102, 241, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(99, 102, 241, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 65% at 50% 25%, #000 35%, transparent 100%);
}

#networkCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.72;
}

#confettiCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 999;
}

@keyframes blobFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(28px, -24px, 0) scale(1.08);
  }
}

/* ==========================================================================
   کانتینر و دکمه‌ها
   ========================================================================== */
.container {
  width: min(1160px, calc(100% - 2rem));
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: inherit;
  font-weight: 700;
  border-radius: 14px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-sm {
  padding: 0.55rem 1.05rem;
  font-size: 0.88rem;
  border-radius: 12px;
}

.btn-lg {
  padding: 0.92rem 1.65rem;
  font-size: 1rem;
  border-radius: 16px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--sky-500) 0%, var(--indigo-600) 100%);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(79, 70, 229, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(79, 70, 229, 0.34);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-primary);
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: #ffffff;
  border-color: rgba(14, 165, 233, 0.45);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-ghost {
  background: #f8fafc;
  color: var(--text-secondary);
  border-color: var(--border-subtle);
  padding: 0.78rem 1.35rem;
  font-size: 0.95rem;
}

.btn-ghost:hover:not(:disabled) {
  background: #ffffff;
  color: var(--text-primary);
  border-color: rgba(148, 163, 184, 0.5);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ==========================================================================
   هدر شیشه‌ای بالا
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(248, 251, 255, 0.78);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 14px rgba(14, 165, 233, 0.25));
}

.brand-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.brand-text strong {
  font-size: 1.05rem;
  font-weight: 800;
}

.brand-text small {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 500;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.88rem;
  border-radius: 999px;
  background: var(--emerald-50);
  color: var(--emerald-600);
  border: 1px solid rgba(16, 185, 129, 0.26);
  font-size: 0.82rem;
  font-weight: 700;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--emerald-500);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.65);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* ==========================================================================
   بخش هیرو (Hero)
   ========================================================================== */
.hero {
  padding: 3.4rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: 3rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(14, 165, 233, 0.28);
  color: var(--sky-600);
  font-size: 0.86rem;
  font-weight: 700;
  box-shadow: var(--shadow-xs);
  margin-bottom: 1.25rem;
}

.hero-title {
  margin: 0 0 1.15rem;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 900;
  line-height: 1.38;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

.gradient-text {
  background: linear-gradient(125deg, var(--sky-500), var(--indigo-600), var(--emerald-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.highlight-underline {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.highlight-underline::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0.14em;
  height: 0.34em;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.28), rgba(56, 189, 248, 0.34));
  z-index: -1;
}

.hero-desc {
  margin: 0 0 1.65rem;
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
}

/* بنر هدیه سرور مجازی تستی */
.vps-gift-banner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(236, 253, 245, 0.95) 0%, rgba(240, 249, 255, 0.96) 100%);
  border: 1.5px solid rgba(16, 185, 129, 0.34);
  box-shadow: 0 14px 32px rgba(16, 185, 129, 0.11);
  margin-bottom: 1.8rem;
  position: relative;
  overflow: hidden;
}

.vps-gift-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.65) 50%, transparent 70%);
  transform: translateX(100%);
  animation: shimmer 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0%, 60% {
    transform: translateX(120%);
  }
  100% {
    transform: translateX(-120%);
  }
}

.vps-gift-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 14px;
  padding: 4px;
  box-shadow: var(--shadow-xs);
}

.vps-gift-icon svg {
  width: 100%;
  height: 100%;
}

.vps-gift-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--emerald-600);
  background: rgba(16, 185, 129, 0.14);
  padding: 0.12rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.32rem;
}

.vps-gift-body strong {
  display: block;
  font-size: 1.01rem;
  color: var(--text-primary);
  margin-bottom: 0.22rem;
}

.vps-gift-body p {
  margin: 0;
  font-size: 0.89rem;
  color: var(--text-secondary);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.trust-metrics {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  padding: 0.9rem 1.35rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.metric-item strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
}

.metric-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.metric-divider {
  width: 1px;
  height: 30px;
  background: var(--border-subtle);
}

/* کارت گرافیکی هیرو */
.hero-visual {
  position: relative;
  padding: 1rem 0.4rem;
}

.visual-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.visual-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.9rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background: #fda4af; }
.dot.yellow { background: #fcd34d; }
.dot.green { background: #6ee7b7; }

.visual-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--emerald-600);
  background: var(--emerald-50);
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
}

.status-led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-500);
}

.hero-illustration {
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #f8fbff 0%, #eff6ff 100%);
  border: 1px solid rgba(148, 163, 184, 0.16);
  padding: 0.5rem;
}

.network-svg {
  width: 100%;
  height: auto;
  display: block;
}

.flow-line {
  stroke-dasharray: 10 8;
  animation: dashFlow 2.6s linear infinite;
}

@keyframes dashFlow {
  to {
    stroke-dashoffset: -36;
  }
}

.visual-footer-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-top: 1rem;
}

.mini-stat {
  background: #f8fbff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  padding: 0.65rem 0.75rem;
  text-align: center;
}

.mini-stat-label {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.mini-stat strong {
  font-size: 0.88rem;
  color: var(--text-primary);
}

.text-emerald {
  color: var(--emerald-600) !important;
}

.floating-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.95rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: var(--shadow-md);
  animation: gentleBob 4.8s ease-in-out infinite alternate;
}

.chip-top {
  top: -10px;
  left: -14px;
}

.chip-bottom {
  bottom: -10px;
  right: -12px;
  animation-delay: -2.4s;
}

.chip-icon {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
}

.bg-emerald {
  background: linear-gradient(135deg, #10b981, #059669);
}

.bg-sky {
  background: linear-gradient(135deg, #0ea5e9, #4f46e5);
}

.floating-chip strong {
  display: block;
  font-size: 0.84rem;
  line-height: 1.3;
}

.floating-chip small {
  font-size: 0.74rem;
  color: var(--text-muted);
}

@keyframes gentleBob {
  0% { transform: translateY(0); }
  100% { transform: translateY(-7px); }
}

/* ==========================================================================
   بخش‌ها و تیترهای عمومی
   ========================================================================== */
.section {
  padding: 4.2rem 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.8rem;
}

.section-eyebrow {
  display: inline-block;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  background: var(--indigo-50);
  color: var(--indigo-600);
  font-size: 0.83rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 900;
  line-height: 1.4;
}

.section-header p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ==========================================================================
   بنتو گرید ویژگی‌ها و مسیر ۳ مرحله‌ای
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.bento-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  padding: 1.7rem;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(14, 165, 233, 0.32);
}

.featured-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.97) 0%, rgba(236, 253, 245, 0.85) 100%);
  border-color: rgba(16, 185, 129, 0.32);
}

.bento-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 1.05rem;
}

.icon-emerald {
  background: var(--emerald-100);
  color: var(--emerald-600);
}

.icon-sky {
  background: var(--sky-100);
  color: var(--sky-600);
}

.icon-indigo {
  background: var(--indigo-50);
  color: var(--indigo-600);
}

.icon-amber {
  background: var(--amber-50);
  color: var(--amber-500);
}

.bento-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--emerald-600);
  background: rgba(16, 185, 129, 0.14);
  padding: 0.16rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

.bento-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.14rem;
  font-weight: 800;
}

.bento-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.roadmap-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.45rem 1.7rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
  border: 1.5px solid rgba(14, 165, 233, 0.22);
  box-shadow: var(--shadow-sm);
}

.roadmap-step {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.step-num {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--sky-500), var(--indigo-600));
  color: #ffffff;
  font-weight: 900;
  font-size: 1.05rem;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(79, 70, 229, 0.22);
}

.roadmap-step strong {
  display: block;
  font-size: 0.96rem;
}

.roadmap-step p {
  margin: 0.12rem 0 0;
  font-size: 0.83rem;
  color: var(--text-muted);
}

.roadmap-arrow {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--sky-500);
}

/* ==========================================================================
   پرسش‌نامه تعاملی چندمرحله‌ای
   ========================================================================== */
.survey-shell {
  max-width: 820px;
  margin-inline: auto;
  background: rgba(255, 255, 255, 0.94);
  border: 1.5px solid rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-xl);
  padding: 2rem 2.2rem;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(148, 163, 184, 0.16);
  backdrop-filter: blur(20px);
}

.survey-topbar {
  margin-bottom: 1.8rem;
}

.survey-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.7rem;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.85rem;
  border-radius: 999px;
  background: var(--sky-50);
  color: var(--sky-600);
  font-size: 0.85rem;
  font-weight: 800;
}

.step-percent {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.progress-track {
  height: 10px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
  margin-bottom: 0.9rem;
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sky-500), var(--indigo-600), var(--emerald-500));
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.step-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.step-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #cbd5e1;
  transition: all 0.3s ease;
}

.step-dot.done {
  background: var(--emerald-500);
}

.step-dot.active {
  width: 26px;
  background: linear-gradient(90deg, var(--sky-500), var(--indigo-600));
}

.survey-body {
  min-height: 310px;
  animation: fadeSlideIn 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.question-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--indigo-600);
  margin-bottom: 0.4rem;
}

.question-title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.22rem, 2.4vw, 1.52rem);
  font-weight: 900;
  line-height: 1.45;
  color: var(--text-primary);
}

.question-hint {
  margin: 0 0 1.4rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.options-grid.two-col {
  grid-template-columns: repeat(2, 1fr);
}

.option-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  width: 100%;
  text-align: right;
  font-family: inherit;
  padding: 1.05rem 1.15rem;
  border-radius: var(--radius-md);
  background: #f8fbff;
  border: 2px solid rgba(148, 163, 184, 0.22);
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text-primary);
}

.option-card:hover {
  background: #ffffff;
  border-color: rgba(14, 165, 233, 0.5);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.option-card.selected {
  background: linear-gradient(135deg, rgba(240, 249, 255, 0.98) 0%, rgba(238, 242, 255, 0.95) 100%);
  border-color: var(--indigo-600);
  box-shadow: 0 10px 26px rgba(79, 70, 229, 0.14);
}

.option-emoji {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 13px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.2);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-xs);
}

.option-card.selected .option-emoji {
  background: linear-gradient(135deg, var(--sky-500), var(--indigo-600));
  border-color: transparent;
  color: #ffffff;
}

.option-content {
  flex: 1;
}

.option-title {
  display: block;
  font-size: 0.99rem;
  font-weight: 800;
  margin-bottom: 0.18rem;
}

.option-sub {
  display: block;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.option-check {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  background: #ffffff;
  display: grid;
  place-items: center;
  margin-top: 0.25rem;
  transition: all 0.2s ease;
  color: transparent;
  font-size: 0.82rem;
  font-weight: 900;
}

.option-card.multi .option-check {
  border-radius: 8px;
}

.option-card.selected .option-check {
  background: var(--indigo-600);
  border-color: var(--indigo-600);
  color: #ffffff;
}

/* فیلدهای مرحله پایانی اطلاعات اختیاری */
.form-fields {
  display: grid;
  gap: 1rem;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.input-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.input-group label span {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.input-group label .req-tag {
  color: var(--rose-500);
  font-weight: 700;
}

.bot-status-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.95rem 1.15rem;
  border-radius: 16px;
  margin-bottom: 1.35rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.bot-status-banner.sent {
  background: var(--emerald-50);
  border: 1.5px solid rgba(16, 185, 129, 0.38);
  color: #065f46;
}

.bot-status-banner.error,
.bot-status-banner.offline {
  background: var(--amber-50);
  border: 1.5px solid rgba(245, 158, 11, 0.38);
  color: #92400e;
}

.text-input,
.textarea-input {
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-primary);
  background: #f8fbff;
  border: 1.5px solid rgba(148, 163, 184, 0.34);
  border-radius: 14px;
  padding: 0.82rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.text-input:focus,
.textarea-input:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--sky-500);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.14);
}

.textarea-input {
  resize: vertical;
  min-height: 92px;
}

.vps-toggle-box {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--emerald-50), var(--sky-50));
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  cursor: pointer;
}

.vps-toggle-box input[type="checkbox"] {
  width: 21px;
  height: 21px;
  accent-color: var(--emerald-600);
  margin-top: 0.2rem;
  flex-shrink: 0;
  cursor: pointer;
}

.vps-toggle-box strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.vps-toggle-box small {
  color: var(--text-secondary);
  font-size: 0.83rem;
}

.survey-alert {
  margin-top: 1.1rem;
  padding: 0.78rem 1rem;
  border-radius: 12px;
  background: var(--rose-50);
  border: 1px solid rgba(244, 63, 94, 0.28);
  color: #be123c;
  font-size: 0.88rem;
  font-weight: 700;
}

.survey-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.8rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

/* ==========================================================================
   صفحه نتیجه نهایی و عضویت الزامی کانال و گروه تلگرام
   ========================================================================== */
.result-view {
  animation: fadeSlideIn 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.result-hero {
  text-align: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  margin-bottom: 1.6rem;
}

.result-badge {
  width: 66px;
  height: 66px;
  margin: 0 auto 0.95rem;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--emerald-500), var(--sky-500));
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 2rem;
  box-shadow: 0 14px 30px rgba(16, 185, 129, 0.28);
}

.result-hero h3 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 900;
}

.result-hero p {
  margin: 0 auto;
  max-width: 580px;
  color: var(--text-secondary);
  font-size: 0.96rem;
}

.recommendation-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin-bottom: 1.65rem;
}

.rec-box {
  padding: 1rem 1.15rem;
  border-radius: 16px;
  background: #f8fbff;
  border: 1.5px solid rgba(14, 165, 233, 0.24);
}

.rec-box.emerald {
  background: var(--emerald-50);
  border-color: rgba(16, 185, 129, 0.3);
}

.rec-box span {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.22rem;
}

.rec-box strong {
  font-size: 0.96rem;
  color: var(--text-primary);
}

/* باکس الزامی عضویت در کانال و گروه تلگرام */
.telegram-gate {
  padding: 1.45rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #eff6ff 0%, #eef2ff 55%, #ecfdf5 100%);
  border: 2px solid rgba(79, 70, 229, 0.26);
  margin-bottom: 1.5rem;
}

.gate-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.gate-header h4 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 900;
  color: var(--text-primary);
}

.gate-progress-pill {
  padding: 0.28rem 0.8rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(79, 70, 229, 0.25);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--indigo-600);
}

.gate-progress-pill.complete {
  background: var(--emerald-500);
  border-color: var(--emerald-500);
  color: #ffffff;
}

.telegram-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.tg-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.2rem;
  border: 1.5px solid rgba(148, 163, 184, 0.24);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.95rem;
  transition: all var(--transition);
}

.tg-card.joined {
  border-color: var(--emerald-500);
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.14);
}

.tg-card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tg-logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #ffffff;
  flex-shrink: 0;
}

.tg-logo.channel {
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
}

.tg-logo.group {
  background: linear-gradient(135deg, #6366f1, #10b981);
}

.tg-card h5 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.tg-step-tag {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--sky-600);
}

.tg-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.btn-telegram {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 13px;
  font-size: 0.92rem;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.btn-telegram.group-btn {
  background: linear-gradient(135deg, #4f46e5, #059669);
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

.btn-telegram:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.tg-card.joined .btn-telegram {
  background: var(--emerald-50);
  color: var(--emerald-600);
  border: 1.5px solid var(--emerald-500);
  box-shadow: none;
}

.gate-complete-banner {
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  background: var(--emerald-50);
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  color: #065f46;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

/* خلاصه پاسخ‌ها و دکمه کپی برای ارسال در گروه */
.summary-card {
  background: #f8fbff;
  border: 1.5px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.summary-header h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.summary-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.summary-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem;
  padding: 0.62rem 0.85rem;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.16);
  font-size: 0.88rem;
}

.summary-list li span {
  color: var(--text-muted);
  font-weight: 600;
}

.summary-list li strong {
  color: var(--text-primary);
  font-weight: 800;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.copy-feedback {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--emerald-600);
}

/* ==========================================================================
   سوالات متداول و فوتر
   ========================================================================== */
.faq-grid {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.88);
  border: 1.5px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.35rem;
  box-shadow: var(--shadow-xs);
}

.faq-item summary {
  font-weight: 800;
  font-size: 0.99rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--sky-50);
  color: var(--sky-600);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  content: "−";
  background: var(--indigo-50);
  color: var(--indigo-600);
}

.faq-item p {
  margin: 0.8rem 0 0;
  font-size: 0.93rem;
  color: var(--text-secondary);
}

.site-footer {
  padding: 2rem 0 2.6rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(255, 255, 255, 0.65);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-inner p {
  margin: 0;
}

.footer-link {
  color: var(--indigo-600);
  font-weight: 700;
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   ریسپانسیو موبایل و تبلت
   ========================================================================== */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .hero {
    padding-top: 2.2rem;
  }

  .floating-chip {
    display: none;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .roadmap-strip {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .roadmap-arrow {
    display: none;
  }
}

@media (max-width: 680px) {
  .live-pill {
    display: none;
  }

  .survey-shell {
    padding: 1.35rem 1.15rem;
    border-radius: 22px;
  }

  .options-grid.two-col,
  .field-row,
  .recommendation-strip,
  .telegram-cards {
    grid-template-columns: 1fr;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .trust-metrics {
    width: 100%;
    justify-content: space-between;
  }

  .metric-divider {
    display: none;
  }
}
