/* === MOBILE RESPONSIVE (Tablets & Phones) === */
@media (max-width: 768px) {
  .workspace-section {
    padding: 24px 0 24px;
  }
  .workspace-container {
    padding: 16px;
    border-radius: 14px;
  }
  .workspace-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
  }
  .workspace-tabs {
    width: 100%;
    justify-content: space-between;
    gap: 16px;
  }
  .workspace-tabs .tab-btn {
    flex: 1;
    justify-content: center;
    padding: 4px 0 12px;
    font-size: var(--text-sm);
  }
  .workspace-header-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .workspace-brand-filter__dropdown {
    flex: 1;
    min-width: 0;
  }
  .workspace-brand-filter__trigger {
    width: 100%;
    max-width: none;
  }
  .landing-section-header {
    margin-bottom: 24px;
  }
  .workflow-compare {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-section {
    padding-bottom: 32px;
  }
  .cta-card {
    flex-direction: column;
    text-align: center;
  }
  .cta-actions {
    justify-content: center;
  }
}

/* === MOBILE RESPONSIVE (Small Phones) === */
@media (max-width: 480px) {
  /* Phase 1: Header cleanup - hide progress on landing, compact layout */
  body:not(.editor-mode) .header-progress {
    display: none;
  }
  body:not(.editor-mode) .app-header-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
  }
  .header-divider {
    display: none;
  }
  .app-header {
    padding: 0;
  }

  /* Phase 2: Hero section mobile optimization */
  .hero-section {
    padding-top: 24px;
    min-height: auto;
    padding-bottom: 32px;
  }
  .hero-title {
    font-size: var(--text-3xl);
  }
  .hero-subtitle {
    font-size: var(--text-lg);
    line-height: 1.5;
  }
  .hero-upload.upload-area {
    padding: 2.5rem 1.5rem;
  }
  .hero-upload .upload-icon {
    width: 80px;
    height: 80px;
  }
  .hero-upload .upload-icon svg {
    width: 40px;
    height: 40px;
  }

  /* Phase 3: Touch-friendly sizing */
  .btn {
    min-height: 44px;
    padding: 12px 20px;
  }
  .header-actions .btn {
    min-height: 44px;
  }
  .header-upgrade-btn {
    min-height: 44px;
    padding: 8px 14px 8px 10px;
  }
  .header-upgrade-btn--compact {
    min-height: 36px;
    height: 36px;
    padding: 0 14px 0 12px;
  }
  .header-upgrade-btn__subtitle {
    display: none;
  }
  #login-btn {
    min-height: 44px;
    padding: 10px 20px;
  }

  /* Phase 4: Content sections polish */
  .site-footer {
    padding: 20px 16px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
  }

  /* Phase 5: Global mobile polish */
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  body {
    overflow-x: hidden;
  }
}
