/* ==========================================================================
   دوربُری هوشمند - استایل‌های اختصاصی تم لایت (Light Theme)
   ========================================================================== */

:root {
  --font-family: 'Vazirmatn', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  
  /* پالت رنگی لایت مدرن */
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-hover: #e2e8f0;
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --border-light: #e2e8f0;
  --border-focus: #194bfb;
  
  /* رنگ‌های اصلی اکشن (آبی مدرن 194bfb) */
  --primary: #194bfb;
  --primary-hover: #103ecb;
  --primary-light: #eef3ff;
  --primary-glow: rgba(25, 75, 251, 0.18);
  
  --success: #10b981;
  --success-light: #ecfdf5;
  --danger: #ef4444;
  --danger-light: #fef2f2;
  
  /* سایه‌های مدرن */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 28px -6px rgba(15, 23, 42, 0.09);
  --shadow-float: 0 20px 40px -12px rgba(25, 75, 251, 0.14);
  
  /* ترنسپرنسی شطرنجی */
  --check-color1: #ffffff;
  --check-color2: #e2e8f0;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  direction: rtl;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   هدر سایت
   ========================================================================== */
.site-header {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #194bfb, #3b82f6);
  color: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(25, 75, 251, 0.25);
  flex-shrink: 0;
}

.brand-shape-img,
.brand-favicon-img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

.brand-text {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo-img {
  height: 24px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  display: block;
}

.brand-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background-color: var(--primary-light);
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.header-meta {
  display: flex;
  align-items: center;
}

.meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  background-color: var(--bg-subtle);
  padding: 6px 14px;
  border-radius: 30px;
  border: 1px solid var(--border-light);
}

.meta-dot {
  width: 8px;
  height: 8px;
  background-color: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

/* ==========================================================================
   بخش اصلی و هیرو
   ========================================================================== */
.main-content {
  flex: 1;
  padding: 44px 0 60px;
}

.hero-section {
  text-align: center;
  margin-bottom: 34px;
}

.hero-title {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 12px;
}

.hero-highlight {
  display: inline-block;
  background: linear-gradient(135deg, #194bfb 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}

/* ==========================================================================
   کارت میز کار (Workspace Card)
   ========================================================================== */
.workspace-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), var(--shadow-float);
  overflow: hidden;
  position: relative;
  transition: var(--transition);
}

/* ==========================================================================
   محدوده درگ و دراپ (Dropzone)
   ========================================================================== */
.dropzone {
  padding: 56px 24px;
  text-align: center;
  cursor: pointer;
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-xl);
  margin: 16px;
  background-color: #fafbfc;
  transition: var(--transition);
}

.dropzone:hover,
.dropzone.dragover {
  border-color: var(--primary);
  background-color: var(--primary-light);
  transform: scale(0.995);
}

.upload-icon-wrapper {
  width: 76px;
  height: 76px;
  background-color: #ffffff;
  color: var(--primary);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(25, 75, 251, 0.12);
  margin-bottom: 20px;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.dropzone:hover .upload-icon-wrapper {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(25, 75, 251, 0.2);
}

.dropzone-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.dropzone-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.dropzone-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.dropzone-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--text-light);
  flex-wrap: wrap;
}

.kbd {
  display: inline-block;
  padding: 2px 6px;
  font-size: 0.76rem;
  font-family: inherit;
  background-color: #e2e8f0;
  color: var(--text-main);
  border-radius: 4px;
  box-shadow: inset 0 -1px 0 #cbd5e1;
}

.divider-dot {
  color: #cbd5e1;
}

/* ==========================================================================
   دکمه‌ها
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-family);
  font-size: 0.94rem;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  outline: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(25, 75, 251, 0.28);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(25, 75, 251, 0.35);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--bg-subtle);
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.btn-ghost {
  background-color: transparent;
  color: var(--text-muted);
}

.btn-ghost:hover {
  background-color: var(--bg-subtle);
  color: var(--text-main);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* ==========================================================================
   بخش لودینگ و وضعیت پردازش
   ========================================================================== */
.processing-overlay {
  padding: 70px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-box {
  text-align: center;
  max-width: 440px;
  width: 100%;
}

.spinner-ring {
  display: inline-block;
  position: relative;
  width: 68px;
  height: 68px;
  margin-bottom: 22px;
}

.spinner-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 54px;
  height: 54px;
  margin: 7px;
  border: 5px solid var(--primary);
  border-radius: 50%;
  animation: spinner-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: var(--primary) transparent transparent transparent;
}

.spinner-ring div:nth-child(1) { animation-delay: -0.45s; }
.spinner-ring div:nth-child(2) { animation-delay: -0.3s; }
.spinner-ring div:nth-child(3) { animation-delay: -0.15s; }

@keyframes spinner-ring {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.processing-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.processing-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.steps-progress {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: right;
  background-color: var(--bg-subtle);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.step-item.active {
  color: var(--text-main);
  font-weight: 600;
}

.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #cbd5e1;
  transition: var(--transition);
}

.step-item.active .step-dot {
  background-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

/* ==========================================================================
   کارت خطا (Error Card)
   ========================================================================== */
.error-card {
  margin: 24px;
  padding: 20px;
  background-color: var(--danger-light);
  border: 1px solid #fecaca;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 16px;
}

.error-icon {
  color: var(--danger);
  flex-shrink: 0;
}

.error-info {
  flex: 1;
}

.error-title {
  font-size: 1rem;
  font-weight: 700;
  color: #991b1b;
  margin-bottom: 4px;
}

.error-message {
  font-size: 0.88rem;
  color: #b91c1c;
}

/* ==========================================================================
   میز کار نتیجه (Result Workspace)
   ========================================================================== */
.result-workspace {
  padding: 24px;
}

.result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.result-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.result-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
}

.result-badge {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--success);
  background-color: var(--success-light);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid #a7f3d0;
}

/* ==========================================================================
   اسلایدر مقایسه قبل و بعد
   ========================================================================== */
.comparison-stage-wrapper {
  margin-bottom: 24px;
}

.comparison-container {
  position: relative;
  width: 100%;
  max-height: 540px;
  min-height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: #f1f5f9;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  cursor: ew-resize;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* پترن شطرنجی پس‌زمینه شفاف */
.after-canvas-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  background-image: 
    linear-gradient(45deg, #e2e8f0 25%, transparent 25%), 
    linear-gradient(-45deg, #e2e8f0 25%, transparent 25%), 
    linear-gradient(45deg, transparent 75%, #e2e8f0 75%), 
    linear-gradient(-45deg, transparent 75%, #e2e8f0 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  transition: background-color 0.25s ease;
}

.img-layer {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.img-layer img {
  max-width: 100%;
  max-height: 540px;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

/* لایه بعد با clip-path داینامیک کنترل می‌شود */
.img-after {
  z-index: 2;
  /* پیش‌فرض نصف صفحه */
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.layer-badge {
  position: absolute;
  bottom: 14px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 5;
}

.badge-before {
  right: 14px;
  background-color: rgba(15, 23, 42, 0.75);
  color: #ffffff;
}

.badge-after {
  left: 14px;
  background-color: rgba(25, 75, 251, 0.9);
  color: #ffffff;
}

/* خط دستگیره اسلایدر */
.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 40px;
  margin-left: -20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  cursor: ew-resize;
  pointer-events: none;
}

.handle-line {
  flex: 1;
  width: 2px;
  background-color: #ffffff;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.35);
}

.handle-button {
  width: 40px;
  height: 40px;
  background-color: #ffffff;
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  border: 2px solid var(--primary);
  pointer-events: auto;
  cursor: ew-resize;
}

.handle-button svg {
  margin: 0 -2px;
}

.comparison-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 10px;
}

/* ==========================================================================
   نوار پالت انتخاب رنگ پس‌زمینه
   ========================================================================== */
.customization-bar {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.customization-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-main);
}

.color-presets {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.color-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.swatch-inner {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: block;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: var(--transition);
}

.swatch-transparent {
  background-color: #ffffff;
  background-image: 
    linear-gradient(45deg, #cbd5e1 25%, transparent 25%), 
    linear-gradient(-45deg, #cbd5e1 25%, transparent 25%), 
    linear-gradient(45deg, transparent 75%, #cbd5e1 75%), 
    linear-gradient(-45deg, transparent 75%, #cbd5e1 75%);
  background-size: 10px 10px;
  background-position: 0 0, 0 5px, 5px -5px, -5px 0px;
  border: 1px solid #cbd5e1;
}

.swatch-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}

.color-swatch:hover .swatch-inner {
  transform: scale(1.1);
}

.color-swatch.active .swatch-inner {
  transform: scale(1.15);
  box-shadow: 0 0 0 3px #ffffff, 0 0 0 5px var(--primary);
}

.color-swatch.active .swatch-name {
  color: var(--primary);
  font-weight: 700;
}

.custom-picker-label {
  position: relative;
}

.color-input-native {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* ==========================================================================
   دکمه‌های فوتر نتیجه
   ========================================================================== */
.result-footer-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.result-footer-actions .btn {
  flex: 1;
  min-width: 220px;
}

/* ==========================================================================
   بخش ویژگی‌ها (Features Section)
   ========================================================================== */
.features-section {
  margin-top: 50px;
}

.section-header {
  text-align: center;
  margin-bottom: 28px;
}

.section-title {
  font-size: 1.38rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.section-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.feature-icon-box {
  width: 46px;
  height: 46px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.feature-card.highlight-card {
  border-color: #bfdbfe;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
  box-shadow: 0 4px 16px rgba(25, 75, 251, 0.08);
}

.feature-card.highlight-card .feature-icon-box {
  background-color: #eef3ff;
  color: #194bfb;
}

.feature-tag-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #194bfb;
  background-color: #eef3ff;
  padding: 2px 8px;
  border-radius: 12px;
  margin-bottom: 10px;
}

/* ==========================================================================
   بخش محتوای سئو و مقایسه فنی (SEO Content Section)
   ========================================================================== */
.seo-section {
  margin-top: 50px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
}

.seo-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
  position: relative;
  padding-right: 14px;
}

.seo-title::before {
  content: '';
  position: absolute;
  right: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background-color: var(--primary);
  border-radius: 4px;
}

.seo-paragraph {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 20px;
}

.seo-highlight-box {
  background-color: var(--bg-subtle);
  border-right: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 16px 20px;
  margin: 20px 0;
}

.seo-highlight-box h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.seo-highlight-box p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* کلمات کلیدی ابری */
.keywords-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed var(--border-light);
}

.keyword-badge {
  font-size: 0.78rem;
  color: var(--text-muted);
  background-color: var(--bg-subtle);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
}

/* ==========================================================================
   بخش سوالات متداول (FAQ Accordion)
   ========================================================================== */
.faq-section {
  margin-top: 36px;
  margin-bottom: 20px;
}

.faq-header-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 24px;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: #cbd5e1;
}

.faq-question {
  width: 100%;
  text-align: right;
  background: none;
  border: none;
  padding: 18px 20px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-question-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  padding: 0;
  line-height: 1.5;
  text-align: right;
  flex: 1;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  padding: 0 20px 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* قوانین ضد کپی و ضد بازرسی در CSS */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input, textarea {
  -webkit-user-select: text;
  user-select: text;
}

img {
  -webkit-user-drag: none;
  user-drag: none;
}

/* ==========================================================================
   فوتر
   ========================================================================== */
.site-footer {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-light);
  padding: 24px 0;
  margin-top: auto;
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.status-indicator {
  font-size: 0.8rem;
  color: var(--success);
  font-weight: 600;
  background-color: var(--success-light);
  padding: 4px 12px;
  border-radius: 20px;
}

/* ==========================================================================
   ریسپانسیو موبایل
   ========================================================================== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 1.6rem;
  }
  
  .dropzone {
    padding: 38px 16px;
    margin: 10px;
  }
  
  .upload-icon-wrapper {
    width: 60px;
    height: 60px;
    margin-bottom: 14px;
  }
  
  .dropzone-title {
    font-size: 1.15rem;
  }
  
  .customization-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .result-footer-actions {
    flex-direction: column;
  }
  
  .result-footer-actions .btn {
    width: 100%;
  }
  
  .comparison-container {
    max-height: 380px;
    min-height: 220px;
  }
}

@media (max-width: 580px) {
  .brand-badge {
    display: none;
  }
  .brand-logo-img {
    height: 20px;
  }
  .header-meta .meta-tag {
    font-size: 0.75rem;
    padding: 3px 8px;
  }
}
