/* ==========================================================================
   MergePDF Pro - Modern Dark Glassmorphism Design System
   ========================================================================== */

:root {
  /* Core Color Palette */
  --bg-primary: #090d16;
  --bg-secondary: #0f172a;
  --bg-surface: rgba(21, 30, 50, 0.75);
  --bg-surface-elevated: rgba(30, 41, 67, 0.85);
  --bg-hover: rgba(255, 255, 255, 0.08);
  --bg-active: rgba(99, 102, 241, 0.18);
  --bg-card: rgba(17, 24, 39, 0.8);
  --bg-card-hover: rgba(26, 36, 58, 0.9);

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: #6366f1;
  --border-active: rgba(99, 102, 241, 0.6);

  /* Accents & Brand */
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --primary-active: #4338ca;
  --primary-glow: rgba(99, 102, 241, 0.35);
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  --accent-cyan: #06b6d4;

  /* Typography Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #0f172a;

  /* Elevation & Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 24px rgba(99, 102, 241, 0.25);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);

  /* Dimensions & Radii */
  --nav-height: 64px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  min-height: 100%;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.app-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.12), transparent 50%),
    radial-gradient(circle at 85% 60%, rgba(139, 92, 246, 0.06), transparent 45%),
    radial-gradient(circle at 15% 75%, rgba(16, 185, 129, 0.05), transparent 40%),
    var(--bg-primary);
}

/* Top Navigation Bar */
.top-nav {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: var(--bg-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: #ffffff;
  box-shadow: 0 0 18px var(--primary-glow);
}

.brand-icon {
  width: 20px;
  height: 20px;
}

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

.brand-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #818cf8, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hidden-input {
  display: none !important;
}

/* Common Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  outline: none;
  user-select: none;
  text-decoration: none;
  line-height: 1.4;
}

.btn i {
  width: 16px;
  height: 16px;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #ffffff;
  box-shadow: 0 2px 12px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #4f46e5, #4338ca);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.55);
  transform: translateY(-1px);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

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

.btn-secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

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

.btn-ghost:hover:not(:disabled) {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.text-danger {
  color: #f87171 !important;
}

.text-danger:hover {
  background: rgba(244, 63, 94, 0.12) !important;
  color: #fb7185 !important;
}

/* Main Content Container */
.main-content {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 40px 24px 80px;
}

.merge-container {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Hero Section */
.hero-section {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.12);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.hero-badge i {
  width: 14px;
  height: 14px;
  color: var(--accent-emerald);
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.hero-subtitle {
  max-width: 620px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Dropzone Styles */
.dropzone {
  display: flex;
  width: 100%;
  border-radius: var(--radius-xl);
  outline: none;
  transition: all var(--transition-normal);
}

.dropzone-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 44px 32px;
  background: var(--bg-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px dashed rgba(99, 102, 241, 0.35);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.dropzone:hover .dropzone-card {
  border-color: rgba(99, 102, 241, 0.6);
  background: rgba(25, 36, 62, 0.8);
}

.dropzone.drag-over .dropzone-card {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.16);
  transform: scale(1.015);
  box-shadow: 0 0 35px var(--primary-glow);
}

.dropzone-icon-ring {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #818cf8;
  margin-bottom: 20px;
  animation: pulse-ring 3s infinite ease-in-out;
}

.dropzone-icon {
  width: 36px;
  height: 36px;
}

@keyframes pulse-ring {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(99, 102, 241, 0);
    transform: scale(1.05);
  }
}

.dropzone-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.dropzone-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 24px;
  max-width: 480px;
}

.dropzone-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.dropzone-features {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}

.feature-item i {
  width: 15px;
  height: 15px;
  color: var(--accent-emerald);
}

/* Queue Section */
.queue-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--bg-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

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

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

.queue-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
}

.queue-title i {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.queue-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.queue-pages-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.queue-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Empty Queue State */
.queue-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 20px;
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-lg);
  background: rgba(0, 0, 0, 0.15);
}

.empty-icon-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  margin-bottom: 12px;
}

.empty-icon-wrap i {
  width: 24px;
  height: 24px;
}

.empty-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.empty-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Queue List & Items */
.queue-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 10px;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
  user-select: none;
}

.file-item:hover {
  background: var(--bg-card-hover);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.file-item.dragging {
  opacity: 0.4;
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.1);
}

.file-item.drag-over-item {
  border-top: 2px solid var(--primary);
}

.file-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.drag-handle {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: grab;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast);
}

.drag-handle:hover {
  color: var(--text-primary);
}

.drag-handle i {
  width: 16px;
  height: 16px;
}

.file-order-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.file-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(244, 63, 94, 0.12);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.25);
  flex-shrink: 0;
}

.file-icon-wrap i {
  width: 20px;
  height: 20px;
}

.file-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.file-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 420px;
}

.file-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.file-pages {
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.12);
  padding: 1px 6px;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.file-right {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 12px;
}

.item-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.item-btn i {
  width: 16px;
  height: 16px;
}

.item-btn:hover:not(:disabled) {
  background: var(--bg-hover);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.item-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.item-btn.remove-btn:hover {
  background: rgba(244, 63, 94, 0.15);
  color: #fb7185;
  border-color: rgba(244, 63, 94, 0.3);
}

/* Merge Execution Panel */
.merge-execution-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.execution-settings {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.setting-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.setting-item label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.filename-input-group {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 6px 12px;
  flex: 1;
  max-width: 360px;
  transition: border-color var(--transition-fast);
}

.filename-input-group:focus-within {
  border-color: var(--border-focus);
}

.filename-input-group .input-icon {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  margin-right: 8px;
}

.filename-input-group input {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: 'JetBrains Mono', monospace;
  outline: none;
  width: 100%;
}

.input-suffix {
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  user-select: none;
}

/* Progress Bar */
.progress-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  animation: fadeIn 0.2s ease-out;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.progress-status {
  color: var(--text-secondary);
  font-weight: 500;
}

.progress-percent {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  color: #a5b4fc;
}

.progress-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #a855f7, #06b6d4);
  background-size: 200% 100%;
  border-radius: var(--radius-full);
  transition: width 0.2s ease;
  animation: shimmer 2s infinite linear;
}

@keyframes shimmer {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: -100% 0;
  }
}

/* CTA Merge Button */
.merge-cta-row {
  display: flex;
  justify-content: center;
  width: 100%;
}

.btn-merge {
  width: 100%;
  max-width: 420px;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.01em;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-merge:hover:not(:disabled) {
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.6);
  transform: translateY(-2px);
}

.btn-merge:active:not(:disabled) {
  transform: translateY(0);
}

.btn-merge i {
  width: 20px;
  height: 20px;
}

.merge-helper-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.merge-helper-text i {
  width: 14px;
  height: 14px;
}

/* Toast Notifications */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 300;
  animation: slideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 440px;
}

.toast i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.toast.toast-info i {
  color: #818cf8;
}

.toast.toast-success i {
  color: #34d399;
}

.toast.toast-error i {
  color: #f87171;
}

.toast.toast-warning i {
  color: #fbbf24;
}

/* Utilities & Animations */
.hidden {
  display: none !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .top-nav {
    padding: 0 16px;
  }

  .main-content {
    padding: 24px 16px 60px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .dropzone-card {
    padding: 32px 16px;
  }

  .dropzone-features {
    gap: 14px;
  }

  .file-item {
    padding: 10px 12px;
  }

  .file-name {
    max-width: 180px;
  }

  .execution-settings {
    flex-direction: column;
    align-items: stretch;
  }

  .filename-input-group {
    max-width: 100%;
  }

  .btn-merge {
    max-width: 100%;
  }
}

/* RTL Layout Support */
[dir="rtl"] {
  direction: rtl;
}

[dir="rtl"],
[dir="rtl"] body {
  font-family: 'Segoe UI Arabic', 'Tahoma', 'Cairo', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

[dir="rtl"] .brand-title,
[dir="rtl"] .dropzone-title,
[dir="rtl"] .hero-title,
[dir="rtl"] .queue-title {
  font-family: 'Segoe UI Arabic', 'Tahoma', 'Cairo', 'Outfit', sans-serif;
}

[dir="rtl"] .nav-divider {
  margin-left: 0;
  margin-right: 12px;
}

[dir="rtl"] .file-meta-right {
  margin-left: 0;
  margin-right: auto;
}

/* SEO Rich Content Section - Dark Glassmorphism */
.seo-section {
  max-width: 1040px;
  margin: 3.5rem auto 2.5rem;
  padding: 0 1.5rem;
  width: 100%;
}

.seo-card {
  background: var(--bg-surface, rgba(21, 30, 50, 0.75));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-xl, 20px);
  padding: 2.75rem 2.25rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.seo-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45), 0 0 24px var(--primary-glow, rgba(99, 102, 241, 0.25));
}

.seo-header {
  text-align: center;
  margin-bottom: 2.25rem;
}

.seo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
  border-radius: var(--radius-full, 9999px);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary, #6366f1);
  margin-bottom: 1rem;
}

.seo-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-primary, #f8fafc);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.seo-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary, #94a3b8);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.step-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg, 16px);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.step-number {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary, #6366f1), #8b5cf6);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', 'JetBrains Mono', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 14px var(--primary-glow, rgba(99, 102, 241, 0.3));
}

.step-card h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary, #f8fafc);
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-secondary, #94a3b8);
  line-height: 1.55;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.faq-item {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg, 16px);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.6rem;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--primary, #6366f1);
  flex-shrink: 0;
}

.faq-question h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary, #f8fafc);
}

.faq-answer {
  font-size: 0.88rem;
  color: var(--text-secondary, #94a3b8);
  line-height: 1.6;
  padding-left: 32px;
}

[dir="rtl"] .faq-answer {
  padding-left: 0;
  padding-right: 32px;
}